Commit graph

906 commits

Author SHA1 Message Date
tambien
2780cac504 using Tone.connect for connections with native nodes
addresses #421
2019-01-28 11:02:15 -05:00
tambien
fe10de3eea rewriting exclude version logic again 2019-01-27 13:40:10 -05:00
tambien
33f663c5fc test on Chrome only, but not Chrome 71 2019-01-27 13:33:18 -05:00
tambien
2fbdcec41e exclude specific browser versions 2019-01-27 13:29:59 -05:00
tambien
0edba12e6b FF now supports equal power panning 2019-01-27 13:29:49 -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
f38c87271f Split can optionally handle more than 2 channels 2019-01-26 20:12:07 -05:00
tambien
4c0659a0ed merge optionallly accepts more than 2 channels 2019-01-26 20:06:07 -05:00
tambien
011f02858d removing unused import 2019-01-24 11:47:27 -05:00
tambien
2ef5aa1517 only use only context in chrome >= 72
because of a bug loading blobs in Chrome 71: https://github.com/GoogleChrome/puppeteer/issues/3463
2019-01-23 17:22:46 -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
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