Commit graph

240 commits

Author SHA1 Message Date
tambien
730a818bcb organizing into sub folders 2019-05-23 14:00:49 -04:00
tambien
39cf110fe4 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into typescript 2019-05-21 23:53:46 -04:00
tboie
ba1900dab6 Tone.Disconnect Fix (#483)
-use while loop with a flag
-fixes #461
2019-05-14 21:40:23 -04:00
tambien
df08425a70 started retooling with typescript 2019-04-12 10:37:47 -04:00
tambien
45e4bf11c8 shim to ensure that AudioNode.connect returns the destination node
as per the spec.
2019-02-02 14:24:51 -05:00
tambien
eb8bdc0f37 disconnecting from all of the inputs 2019-02-02 14:03:53 -05:00
tambien
8cd464fdb6 removing log 2019-02-02 13:19:49 -05:00
tambien
aa0d90256d removing rampTime from 'set'
seemed rarely used
2019-01-28 21:04:43 -05:00
tambien
887bed1092 using ua-parser from npm
instead of local version. Also debugging Draw tests
2019-01-27 13:21:05 -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
011f02858d removing unused import 2019-01-24 11:47:27 -05:00
tambien
ab4e677c9d adding start method to simplify starting AudioContext 2019-01-09 22:30:22 -05:00
tambien
01a01bec1f correcting get tests with oscillator 2019-01-08 00:11:01 -05:00
tambien
1cfdc1ddef no online testing with safari 2018-08-26 20:06:17 -04:00
tambien
93d67133f0 moving tests to separate folder 2018-08-26 15:20:13 -04:00
Yotam Mann
fa89f6de93 removing test
for now
2018-08-18 17:23:32 -04:00
tambien
1e37bcc9ff testing two instances of tone running on the same page 2018-08-16 11:03:03 -04:00
tambien
b7545bb4ec removing faulty same_context test
for now
2018-08-13 22:46:12 -04:00
tambien
2dc10c7432 moving global AudioContext reference to Tone.Context
and also making it an unwrapped AudioContext
2018-08-13 22:41:22 -04:00
tambien
a66aefbf8b testing destination alias 2018-08-09 15:18:10 -04:00
tambien
76b685698f removing transport test for now 2018-07-30 13:17:39 -04:00
tambien
d38fefb2cd toMaster uses the instance connected to the context 2018-07-30 13:07:46 -04:00
tambien
0b50aca977 testing that the Transport is the same after Tone.Offline
resolves #314
2018-07-30 13:07:23 -04:00
tambien
5ca79dfb58 tests in HTML file 2018-07-29 23:33:15 -04:00
tambien
a17e7b152d running basic tests on Gain 2018-07-29 09:39:22 -04:00
tambien
55eed8c295 removing sinon 2018-06-13 19:03:17 -04:00
tambien
dd808e5f7c restoring the debug state 2018-06-13 17:08:07 -04:00
tambien
a4156cb630 testing Tone debugging tools 2018-06-13 17:00:25 -04:00
tambien
a1e782df4a using resume instead of ready 2018-06-13 15:56:00 -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
dd9135033e updating Draw tests
now testing correct synchronization with AudioContext.currentTime
2018-04-25 11:50:37 -04:00
Yotam Mann
433cd78689 fixing infinite loop when stop and start are scheduled at the same time
validating change with test
2018-03-30 13:15:53 -04:00
Yotam Mann
43f8725eff Transport.cancel disposes the events not just removes them from the timeline
Fixes #303
2018-03-30 11:54:56 -04:00
Yotam Mann
cd1e7fff12 forEachAfter -> forEachFrom, more consistent with Timeline 2018-03-30 11:52:52 -04:00
Yotam Mann
d2e82bab51 using online testing only where supported 2018-03-05 23:09:36 -05:00
Yotam Mann
cf585cbfd5 testing lookAhead compared to currentTime instead of 'now' 2018-03-05 22:28:43 -05:00
Yotam Mann
3d0a8005b7 removing isPast warning
clutters up tests, rarely helpful for debugging
2018-03-01 14:38:40 -05:00
Yotam Mann
e5a6788de1 getNextState returns the next instance of the given state after the given time 2018-03-01 14:11:07 -05:00
Yotam Mann
740131e062 Transport exposes getTicksAtTime
uses clock.nextTickTime to compute quantization
2018-02-27 17:03:18 -05:00
Yotam Mann
b14e51f9e9 Clock uses TickSource to track ticks 2018-02-27 17:02:41 -05:00
Yotam Mann
836a173cf8 forEachBetween is exclusive of endTime 2018-02-25 15:08:43 -05:00
Yotam Mann
ebb7aac407 getLastState returns the last event with the given state 2018-02-18 16:01:27 -05:00
Yotam Mann
44512cee0a get the readonly maxDelay time 2018-02-15 11:41:01 -05:00
Yotam Mann
98d1b8808a adding getter/setter for channelCount, channelCountMode and channelInterpretation 2018-02-05 16:51:04 -05:00
Yotam Mann
c91c1354e0 using a stereo signal to test PassAudioStereo and splitting 2018-02-05 16:25:43 -05:00
Yotam Mann
a228deb862 increasing testing threshold 2018-02-01 09:56:32 -05:00
Yotam Mann
dfe269d60c testing loading un-decodable audio 2018-01-18 12:50:45 -05:00
Yotam Mann
9dbb54ff6a AudioNode.connect returns the connected to node
fixes #291
2018-01-11 09:36:08 -08:00
Yotam Mann
1e5606a003 testing cancelAndHold during exponential ramp 2018-01-03 15:38:04 -05:00