Commit graph

230 commits

Author SHA1 Message Date
tambien
011f02858d removing unused import 2019-01-24 11:47:27 -05:00
tambien
ab4e677c9d adding start method to simplify starting AudioContext 2019-01-09 22:30:22 -05:00
tambien
01a01bec1f correcting get tests with oscillator 2019-01-08 00:11:01 -05:00
tambien
1cfdc1ddef no online testing with safari 2018-08-26 20:06:17 -04:00
tambien
93d67133f0 moving tests to separate folder 2018-08-26 15:20:13 -04:00
Yotam Mann
fa89f6de93 removing test
for now
2018-08-18 17:23:32 -04:00
tambien
1e37bcc9ff testing two instances of tone running on the same page 2018-08-16 11:03:03 -04:00
tambien
b7545bb4ec removing faulty same_context test
for now
2018-08-13 22:46:12 -04:00
tambien
2dc10c7432 moving global AudioContext reference to Tone.Context
and also making it an unwrapped AudioContext
2018-08-13 22:41:22 -04:00
tambien
a66aefbf8b testing destination alias 2018-08-09 15:18:10 -04:00
tambien
76b685698f removing transport test for now 2018-07-30 13:17:39 -04:00
tambien
d38fefb2cd toMaster uses the instance connected to the context 2018-07-30 13:07:46 -04:00
tambien
0b50aca977 testing that the Transport is the same after Tone.Offline
resolves #314
2018-07-30 13:07:23 -04:00
tambien
5ca79dfb58 tests in HTML file 2018-07-29 23:33:15 -04:00
tambien
a17e7b152d running basic tests on Gain 2018-07-29 09:39:22 -04:00
tambien
55eed8c295 removing sinon 2018-06-13 19:03:17 -04:00
tambien
dd808e5f7c restoring the debug state 2018-06-13 17:08:07 -04:00
tambien
a4156cb630 testing Tone debugging tools 2018-06-13 17:00:25 -04:00
tambien
a1e782df4a using resume instead of ready 2018-06-13 15:56:00 -04:00
Yotam Mann
296af2cbde testing for Promise by checking for 'then' 2018-05-19 13:11:11 -04:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
Yotam Mann
dd9135033e updating Draw tests
now testing correct synchronization with AudioContext.currentTime
2018-04-25 11:50:37 -04:00
Yotam Mann
433cd78689 fixing infinite loop when stop and start are scheduled at the same time
validating change with test
2018-03-30 13:15:53 -04:00
Yotam Mann
43f8725eff Transport.cancel disposes the events not just removes them from the timeline
Fixes #303
2018-03-30 11:54:56 -04:00
Yotam Mann
cd1e7fff12 forEachAfter -> forEachFrom, more consistent with Timeline 2018-03-30 11:52:52 -04:00
Yotam Mann
d2e82bab51 using online testing only where supported 2018-03-05 23:09:36 -05:00
Yotam Mann
cf585cbfd5 testing lookAhead compared to currentTime instead of 'now' 2018-03-05 22:28:43 -05:00
Yotam Mann
3d0a8005b7 removing isPast warning
clutters up tests, rarely helpful for debugging
2018-03-01 14:38:40 -05:00
Yotam Mann
e5a6788de1 getNextState returns the next instance of the given state after the given time 2018-03-01 14:11:07 -05:00
Yotam Mann
740131e062 Transport exposes getTicksAtTime
uses clock.nextTickTime to compute quantization
2018-02-27 17:03:18 -05:00
Yotam Mann
b14e51f9e9 Clock uses TickSource to track ticks 2018-02-27 17:02:41 -05:00
Yotam Mann
836a173cf8 forEachBetween is exclusive of endTime 2018-02-25 15:08:43 -05:00
Yotam Mann
ebb7aac407 getLastState returns the last event with the given state 2018-02-18 16:01:27 -05:00
Yotam Mann
44512cee0a get the readonly maxDelay time 2018-02-15 11:41:01 -05:00
Yotam Mann
98d1b8808a adding getter/setter for channelCount, channelCountMode and channelInterpretation 2018-02-05 16:51:04 -05:00
Yotam Mann
c91c1354e0 using a stereo signal to test PassAudioStereo and splitting 2018-02-05 16:25:43 -05:00
Yotam Mann
a228deb862 increasing testing threshold 2018-02-01 09:56:32 -05:00
Yotam Mann
dfe269d60c testing loading un-decodable audio 2018-01-18 12:50:45 -05:00
Yotam Mann
9dbb54ff6a AudioNode.connect returns the connected to node
fixes #291
2018-01-11 09:36:08 -08:00
Yotam Mann
1e5606a003 testing cancelAndHold during exponential ramp 2018-01-03 15:38:04 -05:00
Yotam Mann
3f72fec6f9 returning a promise defers the rendering till the promise has resolved 2018-01-03 12:02:10 -05:00
Yotam Mann
ec3a2d24e2 using getTicksAtTime to get the most accurate BarsBeatsSixteenths 2018-01-02 12:25:13 -05:00
Yotam Mann
15229d7c7e linting 2017-12-30 11:26:29 -05:00
Yotam Mann
b0f729c9f1 static fromUrl method. 2017-12-30 00:06:53 -05:00
Yotam Mann
9fe0d1546a increasing threshold slightly 2017-12-29 22:17:44 -05:00
Yotam Mann
985ce80a71 updated Transport.syncSignal to new Param values 2017-12-29 20:07:24 -05:00
Yotam Mann
1104f3cfc0 moving automation logic to Param instead of AudioParam shim 2017-12-29 20:05:57 -05:00
Yotam Mann
b4c81f7115 misspelled Approach in exponentialApproachValueAtTime 2017-12-29 20:04:46 -05:00
Yotam Mann
bb8bbe6390 simplifying test
passes on Safari which still has 0-1 as min/max for gain
2017-12-28 18:51:18 -05:00
Yotam Mann
40891fb865 using clock seconds
they are accurate even during bpm automation curves
2017-12-27 16:24:27 -05:00