Commit graph

426 commits

Author SHA1 Message Date
Yotam Mann
827fda3d00 more accurate handling of syncing to Transport start with an offset / duration 2016-09-25 12:35:57 -04:00
Yotam Mann
7565530987 start/stop/pause callbacks are invoked at the moment they occur
Previously they were invoked when the ‘start/stop/pause’ methods were
called.

Fixes #159
2016-09-24 11:48:28 -04:00
Yotam Mann
792f85bebd clock is an event emitter 2016-09-24 11:26:57 -04:00
Yotam Mann
5b9e01be5c Revert "making envelope tests not start on 0"
This reverts commit 244a4188e4.
2016-09-24 10:03:26 -04:00
Yotam Mann
244a4188e4 making envelope tests not start on 0 2016-09-24 00:01:17 -04:00
Yotam Mann
e3ca856764 additional TransportTime validations 2016-09-20 18:35:28 -04:00
Yotam Mann
cc232ce3c3 updated buses to use Gain. clearing send/recv on new AudioContext
testing that a gain can be passed in.
2016-09-19 23:30:43 -04:00
Yotam Mann
ebf0eb4f64 added Promise tests 2016-09-19 00:08:23 -04:00
Yotam Mann
6a951fa217 using 'emit' instead of 'trigger'
more similar to Node.js EventEmitter class
2016-09-18 20:07:00 -04:00
Yotam Mann
86fa6233c3 Time copy/clone tests 2016-09-18 19:41:41 -04:00
Yotam Mann
46fc0c732c testing LFO as value 2016-09-18 19:28:20 -04:00
Yotam Mann
81c65f0bb0 testing loaded 2016-08-19 18:03:13 -04:00
Yotam Mann
a1563b90af removing console log
[skip ci]
2016-08-18 22:35:39 -04:00
Yotam Mann
ff5ef1c045 toMilliseconds test 2016-08-18 11:41:15 -04:00
Yotam Mann
5f38177b9b testing error callbacks 2016-08-16 15:26:56 -04:00
Yotam Mann
e8f7020eaf sync tests 2016-08-15 23:13:09 -04:00
Yotam Mann
2c1e1167a6 buffer length is inconsistent on linux....
might be because it’s block aligned or something. broadening the test
to deal to deal with this.
2016-08-15 11:50:30 -04:00
Yotam Mann
1270727098 testing to/from Array methods 2016-08-15 10:23:01 -04:00
Yotam Mann
682ec0e46e get/set the progress in seconds 2016-08-15 07:28:52 -04:00
Yotam Mann
79a723cf03 removing effects test 2016-08-09 16:47:14 -04:00
Yotam Mann
27ad555987 chrome doesn't seem to like ratios over 20 2016-08-09 15:10:35 -04:00
Yotam Mann
601d89564d updated convolved name
[skip ci]
2016-08-09 14:59:38 -04:00
Yotam Mann
cdf64aeac3 using rest of effects tests on Convolver
using stereo sample for it
2016-08-09 14:25:20 -04:00
Yotam Mann
438abe481a added karma test baseUrl 2016-08-09 01:14:52 -04:00
Yotam Mann
464d64d13b Merge branch 'master' into dev 2016-07-20 15:44:34 -04:00
Yotam Mann
b266902bd7 can set the buffer 2016-07-20 15:42:55 -04:00
Yotam Mann
77e4111e19 adding additional compressor constructor test 2016-07-18 22:54:07 -04:00
Yotam Mann
dee059d4de validating pause->restart fix
addresses #145
2016-07-08 12:27:22 -04:00
Yotam Mann
99d7d2f8bd disconnects from a specific node
(tests this feature only when supported)
2016-07-06 23:39:06 -04:00
Yotam Mann
c08e16087f correctly setting PPQ
wasn’t taking into account that the returns bpm value was dependent on
the PPQ. therefore, need to read the bpm before setting the PPQ.
2016-07-06 23:23:14 -04:00
Yotam Mann
408f142be3 increasing timeout time
for very slow TravisCI server instances
2016-07-06 22:47:30 -04:00
Yotam Mann
3a7e51793e sampler tests
also allowing a constructor argument to be passed into the Instrument
tests
2016-07-06 22:33:07 -04:00
Yotam Mann
b06f50e9c6 removing redundant reverse test
already exists in player and buffer
2016-07-05 21:55:17 -04:00
Yotam Mann
dbc428a197 GrainPlayer tests 2016-07-05 20:33:01 -04:00
Yotam Mann
1ba3733439 interval is exclusive of end point
specifically the repeat time is: [start, start + duration).

so Transport.scheduleRepeat(fn, 1, 0, 2) will repeat twice, not three
times (since it’s exclusive of the end time).
2016-06-22 16:39:48 -04:00
Yotam Mann
ad17849389 testing retrigger with custom curve 2016-06-17 13:15:41 -04:00
Yotam Mann
74ebee4bfe MultiPlayer keeps track of all the BufferSources it's played 2016-06-15 00:48:55 -04:00
Yotam Mann
1f131625de already testing offset in Player 2016-06-14 20:58:22 -04:00
Yotam Mann
1efc061ebd explicitly stop the AudioBufferSource when duration is given 2016-06-14 20:43:26 -04:00
Yotam Mann
96644f37d2 Adjusting the timing of the tests
also using wav’s instead of mp3s
2016-06-14 20:27:12 -04:00
Yotam Mann
e0edb67a75 Wrapper around the basic AudioBufferSourceNode 2016-06-14 19:57:46 -04:00
Yotam Mann
5978d46825 Buffers is a data structure for holding multiple Tone.Buffer 2016-06-14 19:57:01 -04:00
Yotam Mann
cce32d7efc IntervalTimeline.forEachOverlap -> forEachAtTime 2016-06-13 09:02:51 -04:00
Yotam Mann
ed0e2960ad adjusting thresholds for test 2016-06-12 10:06:39 -04:00
Yotam Mann
eea938094c renaming cosine->sine and ease->sine
Fixes #69
2016-06-12 09:56:18 -04:00
Yotam Mann
49fc9d7bb6 renamed SimpleSynth to Tone.Synth 2016-05-23 19:49:41 -04:00
Yotam Mann
06dbbc03b7 testing new attack/release curves 2016-05-23 19:20:30 -04:00
Yotam Mann
10b9e7fa0f adjusting thresholds to accommodate a FF precision 2016-05-23 19:19:38 -04:00
Yotam Mann
f2ccded2e8 speeding up player tests
with shorter samples
2016-05-17 23:03:19 -04:00
Yotam Mann
e22ba03642 testing rampTo with additional time 2016-05-17 21:59:36 -04:00