Commit graph

548 commits

Author SHA1 Message Date
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
Yotam Mann
b760821234 BufferSource.buffer is a Tone.Buffer 2017-05-01 18:52:53 -04:00
Yotam Mann
1c8cecae57 widening Meter margin of error
fixes failed build when sampleRate=48k
2017-05-01 18:17:05 -04:00
Yotam Mann
f846e97571 testing state and onended callback 2017-05-01 18:02:02 -04:00
Yotam Mann
79a0e22fd7 fixed timing error in Meter
was always passing in NaN
2017-05-01 17:44:25 -04:00
Yotam Mann
90aa3265c0 clear a random ID
shouldn’t cause any errors
2017-05-01 16:43:19 -04:00
Yotam Mann
4577973063 testing toString method
should return the class name
2017-05-01 16:14:55 -04:00
Yotam Mann
695fd2421f can receive to a specific input number instead of input node 2017-05-01 16:03:04 -04:00
Yotam Mann
4154c3a4af testing disconnect from node with input/output channel number 2017-05-01 15:49:54 -04:00
Yotam Mann
110dc5c5bb testing disconnect API more fully 2017-05-01 14:45:06 -04:00
Yotam Mann
ebd49415a6 testing case where receive is made before send 2017-05-01 14:35:30 -04:00
Yotam Mann
9c1365a52f testing numberOfInputs/Outputs 2017-05-01 14:18:19 -04:00
Yotam Mann
42065b8609 testing other latencyHints 2017-05-01 13:55:26 -04:00
Yotam Mann
b358e41ddc returning panner support at the end of the tests 2017-04-30 15:24:20 -04:00
Yotam Mann
10d2224bfd timeline throws error with no time argument 2017-04-30 15:19:48 -04:00
Yotam Mann
e3d0baa471 removing unused files from test deps 2017-04-30 15:04:28 -04:00
Yotam Mann
b927395825 making defaultArg static 2017-04-30 15:03:49 -04:00
Yotam Mann
cf744c2db8 invoking dispose instead of 'close' 2017-04-30 14:49:25 -04:00
Yotam Mann
55379211e6 testing toMaster on audio nodes 2017-04-30 14:49:07 -04:00
Yotam Mann
212e7e193f testing state and labels from the user media device 2017-04-30 14:25:44 -04:00
Yotam Mann
ce2005193d testing triggerRelease and triggerAttackRelease
testing in all instruments that have that method
2017-04-30 14:18:50 -04:00
Yotam Mann
b93f0e2e20 testing fallback StereoPanner
forces to branch without stereo panner support
2017-04-30 14:12:07 -04:00
Yotam Mann
ab282061d5 running Karma tests with user media flag turned on 2017-04-30 13:49:04 -04:00
Yotam Mann
4e6dfaf89e Solo tests 2017-04-30 12:39:14 -04:00
Yotam Mann
25591ab4ba replacing remaining static methods to new API 2017-04-27 00:54:11 -04:00
Yotam Mann
4bda177b83 gainToDb, dbToGain, intervalToFrequencyRatio now static functions 2017-04-26 23:21:26 -04:00
Yotam Mann
d5253b6fce testing static type queries 2017-04-26 00:27:49 -04:00
Yotam Mann
3834f32932 optionsObject -> defaults
with slight API updates
2017-04-26 00:16:12 -04:00
Yotam Mann
a6a8e63bc7 testing passing in values to PolySynth 2017-04-26 00:08:33 -04:00
Yotam Mann
2030034494 sources to new defaults api
and es6 classes prep
2017-04-26 00:00:01 -04:00
Yotam Mann
4057252566 applying defaults API to control classes 2017-04-25 22:37:01 -04:00
Yotam Mann
2c71a7d08f testing that the order is maintained 2017-04-24 23:18:42 -04:00
Yotam Mann
282fdc31ab testing Context.setTimeout methods 2017-04-24 23:13:41 -04:00
Yotam Mann
9e4e091f33 test the forEach callback context 2017-04-24 23:01:45 -04:00
Yotam Mann
a53357c505 removing input/output creation from Tone constructor 2017-04-24 22:09:26 -04:00
Yotam Mann
c9994afcd6 testing that volume is muted when -Infinity is passed into constructor 2017-03-26 16:42:35 -04:00
Yotam Mann
0d59653501 throw error if URL doesn't exist 2017-03-26 15:21:45 -04:00
Yotam Mann
1f9fad3604 test all examples for execution errors 2017-03-26 14:51:25 -04:00
Yotam Mann
4cec0fb7a3 mute is true when volume === -Infinity and false otherwise
fixes #221
2017-03-24 17:27:40 -04:00
Yotam Mann
343e90fa86 testing getConstant 2017-03-22 11:43:35 -04:00
Yotam Mann
55d6bc739c testing Tone.loaded 2017-03-14 16:49:13 -04:00
Yotam Mann
66f1f4343f testing getChannelData 2017-03-13 22:09:08 -04:00
Yotam Mann
d037c28d6f eval -> valueOf
thanks for the suggestion @JackCA
fixes #205
2017-03-12 21:31:23 -04:00
Yotam Mann
f0520d9722 using native sampleRate for tests 2017-02-28 18:59:21 -05:00
Yotam Mann
21d225e322 returning to old test style 2017-02-20 23:32:10 -05:00