Commit graph

111 commits

Author SHA1 Message Date
Yotam Mann
03ebb8af41 adjusting test thresholds 2018-05-28 18:19:27 -04:00
Yotam Mann
4ea1c7c617 testing for discontinuities when using setValueAtTime 2018-05-28 18:06:28 -04:00
Yotam Mann
4d40fe8a2a testing that source always increments by 1 2018-05-28 18:01:40 -04:00
Yotam Mann
c93a16dfe2 CompareToFile averages across all samples 2018-05-28 18:01:03 -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
8c2acd03d5 removing retrigger, maintaining array of activeSources 2018-03-05 22:26:37 -05:00
Yotam Mann
103f01bdc7 getState at time, does not throw error if already stopped 2018-03-05 22:25:12 -05:00
Yotam Mann
21e0d35d67 temporarily removing onended test 2018-03-01 14:27:25 -05:00
Yotam Mann
4dd5c0a464 get the playback position of the playing buffer
integrates TickSource to track position even with playbackRate changes

Fixes #292 and Fixes #307
2018-03-01 14:15:37 -05:00
Yotam Mann
23932cbfa6 can cancel scheduled stop and setTick events 2018-03-01 14:06:03 -05:00
Yotam Mann
373af11bbc testing stop and cancelStop 2018-03-01 14:02:29 -05:00
Yotam Mann
515973302b expanding pulse oscillator threshold 2018-02-27 17:05:05 -05:00
Yotam Mann
f06516d76d TickSource handles pause events
more flexible and accurate timing calculations
2018-02-27 17:02:17 -05:00
Yotam Mann
cf138c03b4 TickSource tracks elapsed ticks can start/stop
no pause yet
2018-02-25 17:25:32 -05:00
Yotam Mann
92c11091b5 increasing test coverage 2018-02-14 12:18:41 -05:00
Yotam Mann
bcdaa8196e increasing test threshold 2018-02-05 14:37:07 -05:00
Yotam Mann
bc558a1386 increasing threshold 2018-02-05 14:24:26 -05:00
Yotam Mann
5eec68f9d0 compare rendered output to previously rendered audio files 2018-02-05 13:55:37 -05:00
Yotam Mann
e767d618d2 only testing online when supported 2018-02-04 23:01:24 -05:00
Yotam Mann
f086f58c75 OscillatorNode is a fire-and-forget Oscillator 2018-02-04 22:55:19 -05:00
Yotam Mann
82c7a109de updating threshold 2018-01-17 13:30:24 -05:00
Yotam Mann
87217d1ab4 does not invoke stop from start in case playbackRate changes
fixes #292
2018-01-17 13:18:51 -05:00
Yotam Mann
077ae6d69a Source sync and start after Transport is already running 2018-01-02 10:35:39 -05:00
Yotam Mann
c4abd54719 ignoring UserMedia tests on Safari 2017-12-28 18:44:14 -05:00
Yotam Mann
e4380a048b player can be constructed with unloaded Tone.Buffer
onload callback is invoked when the Buffer parameter is loaded

fixes #273
2017-12-15 23:06:06 -05:00
Yotam Mann
ba55239032 only running when devices are available 2017-11-29 16:04:09 -05:00
Yotam Mann
ff505adf22 use 'fake' flag for Firefox tests 2017-11-29 15:06:46 -05:00
Yotam Mann
903c87ff72 user media does not look for 'default'
instead takes the first device if nothing is specified
2017-10-26 00:50:22 -04:00
Yotam Mann
2410728e9f adjusting test ranges for FF 2017-10-26 00:49:42 -04:00
Yotam Mann
10af9eaa6f testing stopping multiple sources 2017-10-21 13:44:30 -04:00
Yotam Mann
b8648cc8ac removing deprecated MultiPlayer class 2017-09-17 12:31:25 -04:00
Yotam Mann
33e7bd0c13 adding "curve" to BufferSource fades 2017-09-13 18:30:43 -04:00
Yotam Mann
43ae923359 coverage test for modulationType 2017-06-29 14:20:34 -04:00
Yotam Mann
5efe448c7a setting spread/count should make no difference 2017-06-29 14:11:57 -04:00
Yotam Mann
a03ee982a7 getting/setting values while the wrong type is set has no effect 2017-06-29 14:04:37 -04:00
Yotam Mann
f188d2cc2e testing getting/setting attributes for each oscillator type 2017-06-29 13:55:50 -04:00
Yotam Mann
f178bb17c0 testing players fade 2017-06-19 15:19:16 -04:00
Yotam Mann
942e0b650b testing fades 2017-06-19 15:11:26 -04:00
Yotam Mann
d0adedee0a testing fadeOut 2017-06-19 15:03:27 -04:00
Yotam Mann
d9d9938b25 testing seek method 2017-05-28 21:28:07 -04:00
Yotam Mann
2328413a8f stops playing if invoked with 'stop' at an earlier time
does not stop playing if `stop` is invoked with a later time
2017-05-28 21:20:17 -04:00
Yotam Mann
c0677d49f2 player was undefined 2017-05-23 23:02:55 -04:00
Yotam Mann
7331a68104 additional seek test 2017-05-23 09:31:07 -04:00
Yotam Mann
0b916bb4d0 testing stopping twice
second stop is sooner than previous stop. should stop on the sooner
one.

addresses #241
2017-05-22 16:12:35 -04:00
Yotam Mann
c8c436cbf2 Tone.Players wraps up multiple Tone.Player objects
fixes #215
fixes #217
2017-05-21 20:40:20 -07:00
Yotam Mann
a6bb882758 readonly loaded boolean if the buffer is loaded 2017-05-21 20:25:35 -07:00
Yotam Mann
91056ef978 testing passing in device ids/index
returning a promise instead of invoking done
2017-05-02 20:58:44 -04:00
Yotam Mann
45f7360e7d setting buffer after construction 2017-05-02 20:31:18 -04:00
Yotam Mann
81ccab27c8 setting attributes after player is already started 2017-05-02 20:27:58 -04:00