Commit graph

139 commits

Author SHA1 Message Date
tambien
15182279fc removing old JS files 2019-06-19 10:18:43 -04:00
tambien
3c2d1250ea passes in the player to the callback
fixes #460
2019-03-25 11:53:57 -07:00
tambien
ad61d1b2ae increasing test threshold 2019-03-12 13:03:55 -04:00
tambien
023758425b use the playbackRate when computing the offset of a synced player
fixes #349
2019-03-12 11:25:33 -04:00
tambien
655b3310d3 setting reverse value which is passed into through an object
fixes #456
2019-03-09 16:14:51 -05:00
tambien
1c87026ee4 should have an empty partials array 2019-02-01 11:49:47 -05:00
tambien
0d1e4fc69a testing last sourceType setting 2019-02-01 11:44:05 -05:00
tambien
5cddcbcd52 testing changing count on started oscillator 2019-02-01 11:41:37 -05:00
tambien
2a7dd21d03 testing getting partials 2019-02-01 11:38:39 -05:00
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
tambien
436da03264 moving tests to online context 2019-01-23 17:21:37 -05:00
tambien
0ba72ac93a clamping start/stop time to currentTime
this way if someone passes in start(0), it will just play immediately and not break things.

addresses #424
2019-01-23 16:19:07 -05:00
tambien
ffe3d434c6 closes the stream before reopening it 2019-01-08 11:26:57 -05:00
tambien
e739c4f1f3 adding baseType to all oscillators
makes getting/setting through interface easier
2019-01-08 00:13:48 -05:00
tambien
1ca4242323 'get' does not return partials array for basic types 2018-12-28 16:00:03 -05:00
tambien
fd62e31a94 loaded boolean indicates when GrainPlayer is loaded
consistent with Tone.Player
2018-12-23 18:13:57 -05:00
tambien
9178798993 computed duration can be longer than the buffer length
because of playback rate changes, the duration can be longer than the buffer duration.

fixes #375
2018-12-23 13:50:02 -05:00
tambien
795e0d90d7 removing position tracking from player
fixes #361
2018-12-23 13:46:52 -05:00
tambien
6c748e3e9d get and set the sourceType
this allows slight decoupling from combining everything in the 'type' string
2018-12-21 15:29:08 -05:00
tambien
81f6ae1144 testing that a type can be passed into the constructor as an object
and gotten with the 'get()' method
2018-12-09 20:40:46 -05:00
tambien
761de621d8 adding partialCount parameter
offers alternative "non string" way to set the partials to an osc type
2018-12-09 18:45:01 -05:00
Yotam Mann
35171ded9d testing updated BufferSource api 2018-06-20 15:07:32 -04:00
Yotam Mann
a63d01fd9c comparing to file, removing seek test 2018-06-20 15:05:10 -04:00
Yotam Mann
7afbc16747 refactoring test 2018-06-20 15:04:25 -04:00
tambien
f69913ae15 increasing test thresholds 2018-06-18 17:03:05 -04:00
Yotam Mann
cf6d1f27fe increasing threshold 2018-06-12 23:49:01 -04:00
tambien
0d82a1632f using var instead of const 2018-06-01 22:02:05 -04:00
Yotam Mann
bbf2929b6f rotating the phase of the oscillator group
addresses #354
2018-05-29 10:35:12 -04:00
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