Commit graph

3595 commits

Author SHA1 Message Date
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
c20f703c40 making sure that the type is never set to custom+partialCount 2018-12-21 15:31:36 -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
Eric Lewis
f675f74eba Add documentation for Tone.Envelope's decay and release minimum values. (#414)
Fixes #411
2018-12-19 11:21:15 -05:00
tambien
f199af1f31 setting gain to 0 initially keeps it from popping 2018-12-17 12:41:14 -05:00
tambien
2cb0d67b67 checking if activeSources still exists before trying to remove elements
fixes #409
2018-12-16 13:26:28 -05:00
tambien
3ce5ab6ab7 expanding testing threshold 2018-12-12 20:41:19 -05:00
tambien
03212616c0 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-12-12 20:33:10 -05:00
tambien
e9ed4ef261 no more online tests
they fail in the latest chrome
2018-12-12 20:33:09 -05:00
Eric Lewis
2886bd10e5 Remove subtle blip on waveform in analysis example (#410) 2018-12-12 11:24:43 -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
85a606d81d documenting partialCount
[skip ci]
2018-12-09 18:58:47 -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
ec3362f89f can pass in a loaded buffer, and also can set the buffer twice
fixes #392
2018-10-21 21:27:35 -04:00
Casey Primozic
ea938af717 Bump webpack-cli version to 3.1.2 (#394)
* This fixes an incompatability in webpack version 4.20.0: https://github.com/webpack/webpack/issues/8082
2018-10-03 19:59:42 -04:00
tambien
ea674c0224 test if waveshaper shim is already installed 2018-09-19 15:40:21 -04:00
Paul Varache
cfa23cfd24 Make noiseArrays generate samples lazily (#386)
* Make noiseArrays generate samples lazily

* getter -> get

* Create noiseBuffers instead of arrays

fixes #384
2018-09-10 14:20:02 -04:00
tambien
982deb3f62 param automation from 'now' instead of currentTime
addresses #385
2018-09-10 14:03:28 -04:00
tambien
9fea022f98 removing broken safari tests 2018-09-10 14:02:24 -04:00
tambien
a201ff01be Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-09-10 12:17:53 -04:00
tambien
8758678f20 exposing "normalize" from native convolver 2018-09-10 12:17:51 -04:00
Yotam Mann
34e26059ca don't invoke onload when setting a loaded buffer
addresses #382 and #376
2018-08-31 00:28:18 -04:00
Yotam Mann
e754799226 updating lint prefs 2018-08-31 00:14:21 -04:00
Yotam Mann
d5b77d0887 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-08-31 00:06:17 -04:00
tambien
c802f34583 noting changes
[skip ci]
2018-08-29 23:19:39 -04:00
tambien
7b60890dbf change logging stye 2018-08-29 23:10:18 -04:00
tambien
7380c78f35 testing the version was correctly added 2018-08-29 23:08:40 -04:00
tambien
745e9b08ad dev version placeholder
overwritten by scrtip/increment_version.js
2018-08-29 23:08:16 -04:00
tambien
ed897dc4fe using precise version number 2018-08-29 23:07:58 -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
c8a7779191 reference to Tone.global instead of window
this allows Tone.js to be loaded in a browser or node.js environment
2018-08-29 13:54:02 -04:00
Yotam Mann
7a7e15c001 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-08-28 10:08:42 -04:00
Yotam Mann
92d2bab2c6 always quote props 2018-08-28 10:07:17 -04:00
tambien
3d1202043a all modules are relative paths
simplifies deep references to individual files
2018-08-26 22:29:17 -04:00
tambien
5027277360 all modules are relative paths
simplifies deep references to individual files
2018-08-26 22:29:17 -04:00
tambien
045a114458 updating linting prefs 2018-08-26 21:57:33 -04:00
tambien
e64c1289f9 updating linting prefs 2018-08-26 21:57:33 -04:00
tambien
2846218f98 incrementing version
collect is alias for collect:deps
2018-08-26 21:55:19 -04:00
tambien
1fd27d5b4c incrementing version
collect is alias for collect:deps
2018-08-26 21:55:19 -04:00
tambien
9c553891c5 scratch is in examples folder 2018-08-26 21:53:15 -04:00
tambien
b4a37966c1 scratch is in examples folder 2018-08-26 21:53:15 -04:00
tambien
e476a46373 build before running puppeteer tests 2018-08-26 20:15:36 -04:00
tambien
56b8f67230 build before running puppeteer tests 2018-08-26 20:15:36 -04:00
tambien
8bb7b11af5 update test to global name change 2018-08-26 20:12:10 -04:00
tambien
5cdb69eab5 update test to global name change 2018-08-26 20:12:10 -04:00
tambien
c846ace268 Revert "creating TONE_CONTEXT and TONE_AUDIO_CONTEXT"
This reverts commit 3ad8ad19fb.
2018-08-26 20:10:34 -04:00
tambien
a3b9426c50 Revert "creating TONE_CONTEXT and TONE_AUDIO_CONTEXT"
This reverts commit 3ad8ad19fb.
2018-08-26 20:10:34 -04:00