Commit graph

3372 commits

Author SHA1 Message Date
tambien
a17e7b152d running basic tests on Gain 2018-07-29 09:39:22 -04:00
tambien
2542f55727 fixing comment 2018-07-29 09:36:54 -04:00
tambien
91652ff2ff reverting change 2018-07-29 09:36:02 -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
tambien
36f037ad56 updating jsdoc comment 2018-07-28 10:21:02 -04:00
tambien
38897d7bae pass the options object to the next class 2018-07-28 10:20:36 -04:00
tambien
1507fe25db removing onConnect method 2018-07-27 07:32:31 -04:00
Yotam Mann
16b0263b7b deferring onload callback
fixes #376
2018-07-25 21:54:13 -04:00
Yotam Mann
b3e0af15da updating test info 2018-07-25 21:53:32 -04:00
Yotam Mann
cdf38a723c simplifying unpkg links
since unpkg looks at the "main" file, not necessary to pass in the build file path.
2018-07-21 10:20:09 -04:00
Yotam Mann
b081a9e656 fixing typos 2018-07-21 09:06:28 -04:00
Yotam Mann
49b1f41517 testing polyphonic voice handling 2018-06-20 23:12:45 -04:00
Yotam Mann
ea218c2921 adding logging 2018-06-20 23:12:17 -04:00
Yotam Mann
0173e31c91 adding an index to each voice 2018-06-20 23:02:44 -04:00
tambien
8ca7873045 updating deploy script 2018-06-20 15:37:09 -04:00
Yotam Mann
0c084e137f don't allow assignment in conditional 2018-06-20 15:12:02 -04:00
Yotam Mann
3ab0b67859 updating version 2018-06-20 15:11:13 -04:00
Yotam Mann
9694d55f1a using file/dir config args in tests 2018-06-20 15:11:05 -04:00
Yotam Mann
f76beaf916 moving to updated BufferSource fade out api
Player still fades from the end
2018-06-20 15:08:16 -04: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
Yotam Mann
ad1e362d7c release happens after stop time
as per new BufferSource api
2018-06-20 15:03:52 -04:00
Yotam Mann
4e5e686516 validating that velocity affects sampler playback
fixes #363
2018-06-20 15:03:38 -04:00
Yotam Mann
fec49b6936 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
9ece80d1f4 logging cancel and hold for debugging 2018-06-20 14:56:49 -04:00
Yotam Mann
36c19e3762 AudioContext resume does not apply to OfflineAudioContext 2018-06-20 14:56:35 -04:00
Yotam Mann
8a74995f2e making logs more descriptive 2018-06-20 14:56:11 -04:00
Yotam Mann
405a841db0 stop method is beginning of fadeOut curve instead of end
simplifies code

fixes #328
2018-06-20 14:55:43 -04:00
Yotam Mann
56a13f2619 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-06-20 10:37:54 -04:00
Yotam Mann
0cd10af9cb additional build and example deps 2018-06-20 10:37:49 -04:00
tambien
f69913ae15 increasing test thresholds 2018-06-18 17:03:05 -04:00
tambien
4b34eb64c7 adding gulp cli 2018-06-18 16:36:52 -04:00
tambien
8b8a4e5223 expanding threshold 2018-06-18 16:12:54 -04:00
tambien
7bf6e1d11d adding PolySynth tests 2018-06-18 15:49:47 -04:00
tambien
feb010946c adding MembraneSynth test 2018-06-18 15:49:38 -04:00
tambien
cbe1588662 calling resume on clock start
since it relies on the context clock being started
2018-06-18 11:23:31 -04:00
tambien
031dc98898 optimization to turn off oscillator after play 2018-06-13 19:04:02 -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
081e995983 use onstatechange instead of addEventListener
in Safari < 10 AudioContext does not extend EventEmitter
2018-06-13 16:42:33 -04:00
tambien
2d1c2dc705 no noise supression 2018-06-13 15:57:05 -04:00
tambien
a1e782df4a using resume instead of ready 2018-06-13 15:56:00 -04:00
Yotam Mann
45e40a8498 linting 2018-06-13 00:20:23 -04:00
Yotam Mann
8e0c626149 increasing test threshold 2018-06-12 23:51:30 -04:00
Yotam Mann
cf6d1f27fe increasing threshold 2018-06-12 23:49:01 -04:00
Yotam Mann
4dbd48943e using exponentialApproach instead of targetRampTo
reduces call to cancelScheduledValuesAtTime
2018-06-12 23:48:51 -04:00
Yotam Mann
26df78b0db 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
ebbb1ef8bb log and assert help in debugging classes 2018-06-12 23:47:30 -04:00