Commit graph

592 commits

Author SHA1 Message Date
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
59060d28f2 testing cancel 2017-06-29 12:33:27 -04:00
Yotam Mann
db9a75705e testing null sets 2017-06-29 10:44:11 -04:00
Yotam Mann
9578b00f60 more test coverage by testing a wider range of values and orders 2017-06-29 10:24:38 -04:00
Yotam Mann
bf37355552 testing that context 'close' event is emitted 2017-06-19 17:52:38 -04:00
Yotam Mann
9a5a7948ab testing error when no url and adding an AudioBuffer
additional test coverage
2017-06-19 17:11:44 -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
bd427b8056 testing multiple extension types 2017-06-19 13:02:45 -04:00
Yotam Mann
56391a8ccc testing Transport state toggle 2017-06-16 17:32:12 -04:00
Yotam Mann
9e353783a6 testing release and triggerAttackRelease 2017-06-16 17:27:40 -04:00
Yotam Mann
91734d23c7 adding portamento test 2017-06-08 13:30:17 -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
ced1c68872 testing that it outputs a signal 2017-05-28 20:47:47 -04:00
Yotam Mann
652c5631cc clock using TickSignal 2017-05-28 19:39:18 -04:00
Yotam Mann
0c5307c3c7 stop time is inclusive of second event 2017-05-28 17:41:27 -04:00
Yotam Mann
2863389be9 loosening values slightly 2017-05-28 17:41:06 -04:00
Yotam Mann
06a3413824 removing start/stop/pause events from TickSignal
adding `getDurationOfTicks`
2017-05-28 16:55:25 -04:00
Yotam Mann
5a8550690f start/stop/pause events to TickSignal 2017-05-28 14:02:15 -04:00
Yotam Mann
73adc20088 get an event before the given event 2017-05-28 13:57:47 -04:00
Yotam Mann
1fcb4392d1 updating with more accurate values 2017-05-26 22:16:25 -04:00
Yotam Mann
6077e18959 testing TickSignal 2017-05-26 16:45:46 -04:00
Yotam Mann
470cc4520f Revert "fixing floating point error in test"
This reverts commit 3c4f03c816.
2017-05-23 23:29:28 -04:00
Yotam Mann
c0677d49f2 player was undefined 2017-05-23 23:02:55 -04:00
Yotam Mann
3c4f03c816 fixing floating point error in test
looks like a floating point error…
2017-05-23 22:15:32 -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
3e58c39f10 organizing Buffer tests 2017-05-21 21:00:56 -07: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
7cd7bb1536 source shouldn't be muted
otherwise it’s not testing the right thing
2017-05-21 20:16:32 -07:00
Yotam Mann
f9dc9fea03 testing looping when ticks >= loopEnd 2017-05-21 19:43:50 -07:00
Yotam Mann
6eaca059cb testing that progress is between 0,1 and reaches 1 2017-05-21 19:12:42 -07:00
Yotam Mann
8a692145f6 simplifying tests using ConstantOutput helper 2017-05-16 22:52:09 -07:00
Yotam Mann
264e5d0869 pass additional options other than the urls in second constructor argument 2017-05-13 22:16:05 -04:00
Yotam Mann
f534e13a7e optionally pass in the options object in the second argument 2017-05-13 22:08:55 -04:00
Yotam Mann
b63a3f3f00 testing multisampler 2017-05-13 22:08:14 -04:00
Yotam Mann
c354c85bb0 removing error in clock test
wasn’t able to recover the audio context
2017-05-08 12:19:43 -04:00
Yotam Mann
187884f5ae testing min/max getter 2017-05-08 11:48:47 -04:00
Yotam Mann
a487395201 testing callback error throwing 2017-05-08 11:45:40 -04: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
c5132d226c testing removing objects the timeline doesn't have
should do nothing
2017-05-02 20:47:08 -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
Yotam Mann
488299a822 Player uses BufferSource 2017-05-02 12:15:00 -04:00
Yotam Mann
a1a4ad81c3 testing the empty constructor and static fromArray method 2017-05-01 19:10:05 -04:00