Commit graph

3317 commits

Author SHA1 Message Date
tambien
7bc8677887 updating test 2018-07-29 09:52:11 -04:00
tambien
6e0c37c0fe placeholder test for allowing different AudioContext to be passed into constructor 2018-07-29 09:39:58 -04:00
tambien
c752183f05 running basic tests on Gain 2018-07-29 09:39:22 -04:00
tambien
169662a13a fixing comment 2018-07-29 09:36:54 -04:00
tambien
48f4633e61 reverting change 2018-07-29 09:36:02 -04:00
tambien
e52ce0d965 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
tambien
99de3295da updating jsdoc comment 2018-07-28 10:21:02 -04:00
tambien
f61f17034a pass the options object to the next class 2018-07-28 10:20:36 -04:00
tambien
bc8dc5ff7f removing onConnect method 2018-07-27 07:32:31 -04:00
tambien
092ffc60a1 updating deploy script 2018-06-20 15:37:09 -04:00
Yotam Mann
7b4b1b3cea don't allow assignment in conditional 2018-06-20 15:12:02 -04:00
Yotam Mann
17a7eae139 updating version 2018-06-20 15:11:13 -04:00
Yotam Mann
6e0f885c1e using file/dir config args in tests 2018-06-20 15:11:05 -04:00
Yotam Mann
da0e118dfd moving to updated BufferSource fade out api
Player still fades from the end
2018-06-20 15:08:16 -04:00
Yotam Mann
a83a31d5b0 testing updated BufferSource api 2018-06-20 15:07:32 -04:00
Yotam Mann
05058f6e88 comparing to file, removing seek test 2018-06-20 15:05:10 -04:00
Yotam Mann
dd405bc406 refactoring test 2018-06-20 15:04:25 -04:00
Yotam Mann
16c96c4486 release happens after stop time
as per new BufferSource api
2018-06-20 15:03:52 -04:00
Yotam Mann
2fe5452add validating that velocity affects sampler playback
fixes #363
2018-06-20 15:03:38 -04:00
Yotam Mann
adbcbdd41e stops clock after 1 iteration when loop = false
removing seek method. adjusts for playbackRate when scheduling grain duration
2018-06-20 14:57:42 -04:00
Yotam Mann
d31c0e2ec1 logging cancel and hold for debugging 2018-06-20 14:56:49 -04:00
Yotam Mann
0e89ddf854 AudioContext resume does not apply to OfflineAudioContext 2018-06-20 14:56:35 -04:00
Yotam Mann
488b84c954 making logs more descriptive 2018-06-20 14:56:11 -04:00
Yotam Mann
4a47d68cde stop method is beginning of fadeOut curve instead of end
simplifies code

fixes #328
2018-06-20 14:55:43 -04:00
Yotam Mann
b94b016415 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-06-20 10:37:54 -04:00
Yotam Mann
0f629a68fd additional build and example deps 2018-06-20 10:37:49 -04:00
tambien
730b138773 increasing test thresholds 2018-06-18 17:03:05 -04:00
tambien
2cacafbb04 adding gulp cli 2018-06-18 16:36:52 -04:00
tambien
9df5253ed6 expanding threshold 2018-06-18 16:12:54 -04:00
tambien
cbddc81dd4 adding PolySynth tests 2018-06-18 15:49:47 -04:00
tambien
ce8b72b91c adding MembraneSynth test 2018-06-18 15:49:38 -04:00
tambien
43bf4e30b5 calling resume on clock start
since it relies on the context clock being started
2018-06-18 11:23:31 -04:00
tambien
c6c6cb8014 optimization to turn off oscillator after play 2018-06-13 19:04:02 -04:00
tambien
b8d867324e removing sinon 2018-06-13 19:03:17 -04:00
tambien
13c2fa7360 restoring the debug state 2018-06-13 17:08:07 -04:00
tambien
571a62bf06 testing Tone debugging tools 2018-06-13 17:00:25 -04:00
tambien
990d5d05e4 use onstatechange instead of addEventListener
in Safari < 10 AudioContext does not extend EventEmitter
2018-06-13 16:42:33 -04:00
tambien
e3cf01aeae no noise supression 2018-06-13 15:57:05 -04:00
tambien
68688c326e using resume instead of ready 2018-06-13 15:56:00 -04:00
Yotam Mann
b9efb432ad linting 2018-06-13 00:20:23 -04:00
Yotam Mann
2bc56340a5 increasing test threshold 2018-06-12 23:51:30 -04:00
Yotam Mann
eb9f7157b1 increasing threshold 2018-06-12 23:49:01 -04:00
Yotam Mann
9c11b21ce6 using exponentialApproach instead of targetRampTo
reduces call to cancelScheduledValuesAtTime
2018-06-12 23:48:51 -04:00
Yotam Mann
6f021eb345 handles start/stop/restart better in many situations
less prone to errors where the OscillatorNode is silent after starting
2018-06-12 23:48:15 -04:00
Yotam Mann
3fcea01d66 log and assert help in debugging classes 2018-06-12 23:47:30 -04:00
Yotam Mann
5babc8e75d simplifying the way that free voices are selected 2018-06-12 23:44:15 -04:00
Yotam Mann
c338310acd removing signal proxies
added too much difficulty with garbage collection, too many edge cases
2018-06-09 12:55:29 -04:00
tambien
7b6c628552 increasing test threshold 2018-06-07 15:32:54 -04:00
Yotam Mann
9325ba4d15 fixing order of gate connections
had wrong behavior bc of connection order.

fixes #298
2018-06-07 12:49:32 -04:00
Yotam Mann
139a3a004e adjusting test thresholds 2018-06-07 12:28:31 -04:00