Commit graph

894 commits

Author SHA1 Message Date
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
be077fb59c can pass in oscillator options to constructor 2019-01-09 23:19:56 -05:00
tambien
ab4e677c9d adding start method to simplify starting AudioContext 2019-01-09 22:30:22 -05:00
tambien
7e4e04b5d2 Revert "trying out online testing with Chrome flag"
This reverts commit 68bb4faa31.
2019-01-09 22:22:02 -05:00
tambien
68bb4faa31 trying out online testing with Chrome flag 2019-01-09 22:12:45 -05:00
tambien
41183dfe2e removing logging from test
whoops
[skip ci]
2019-01-09 18:34:47 -05:00
tambien
b971ef94da changing part removing behavior
if a part is at the given time, it will remove the entire part instead of recursively checking and removing an event from the subpart.

fixes #269
2019-01-09 18:30:42 -05:00
tambien
1c971ac51c removing old example tests 2019-01-08 22:22:09 -05:00
tambien
999e984497 running local server for tests 2019-01-08 22:08:00 -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
01a01bec1f correcting get tests with oscillator 2019-01-08 00:11:01 -05:00
tambien
68f1c78d9a get the frequency response curve 2018-12-28 16:07:39 -05:00
tambien
1ca4242323 'get' does not return partials array for basic types 2018-12-28 16:00:03 -05:00
tambien
7be27c65d8 Tone.Channel combines Tone.Solo and Tone.PanVol
provides a channel strip interface similar to DAWs
2018-12-26 17:16:31 -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
2d7879a32e fix linear decayCurve cancelling attack curve
schedule the decay curve to start 1 sample after the attack curve ends
2018-12-21 15:17:39 -05:00
tambien
3ce5ab6ab7 expanding testing threshold 2018-12-12 20:41:19 -05:00
tambien
e9ed4ef261 no more online tests
they fail in the latest chrome
2018-12-12 20:33:09 -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
tambien
1664b9489c testing setting convolver buffer twice 2018-10-21 21:28:26 -04:00
tambien
8758678f20 exposing "normalize" from native convolver 2018-09-10 12:17:51 -04:00
tambien
7380c78f35 testing the version was correctly added 2018-08-29 23:08:40 -04:00
tambien
baa9460383 testing that it's able to load in Node.js
doesn't do any audio processing, but doesn't throw an error
2018-08-29 13:54:55 -04:00
tambien
8bb7b11af5 update test to global name change 2018-08-26 20:12:10 -04:00
tambien
1cfdc1ddef no online testing with safari 2018-08-26 20:06:17 -04:00
tambien
a908f8ef88 adding flag to chrome 2018-08-26 20:02:58 -04:00
tambien
5e565b3a7b adding html tests
using puppeteer
2018-08-26 19:43:28 -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
Yotam Mann
f09b5d0372 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-07-30 22:57:09 -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
9ba77ffec3 moving to test/html/ 2018-07-29 23:31:07 -04:00
tambien
84f2162098 updating test 2018-07-29 09:52:11 -04:00
tambien
4ced626c14 placeholder test for allowing different AudioContext to be passed into constructor 2018-07-29 09:39:58 -04:00
tambien
a17e7b152d running basic tests on Gain 2018-07-29 09:39:22 -04:00
tambien
9edafa8be4 removing source when sample has finished
prevents error where the BufferSource.stop is attempted after the source has already finished
2018-07-29 09:28:45 -04:00
Yotam Mann
49b1f41517 testing polyphonic voice handling 2018-06-20 23:12:45 -04:00
Yotam Mann
35171ded9d testing updated BufferSource api 2018-06-20 15:07:32 -04:00