Commit graph

1814 commits

Author SHA1 Message Date
Yotam Mann
621242c17d removing log 2016-03-03 01:37:07 -05:00
Yotam Mann
0ed5591338 slicker syntax than other Offline test 2016-03-03 01:36:46 -05:00
Yotam Mann
ac9c4a3360 offline test adjusts 'now' method to allow for offline testing
previously these things needed to be tested in real-time. now can be
tested faster than real time
2016-03-03 01:36:31 -05:00
Yotam Mann
7a23c08703 LFO outputs 0 value when stopped
gets around 0 gain optimization
2016-03-03 01:35:29 -05:00
Yotam Mann
724ac4090c removing threshold value
making _worker static
2016-03-03 01:34:48 -05:00
Yotam Mann
89711b336e process single occurrence events first
Fixes #114
2016-02-27 17:23:38 -05:00
Yotam Mann
e8eb147935 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2016-02-27 17:19:26 -05:00
Yotam Mann
bfbf567d98 Clocks uses Workers instead of requestAnimationFrame
Fixes #124
2016-02-27 17:14:39 -05:00
Yotam Mann
12c7426f53 baseUrl
useful for various production environments.
2016-02-27 17:12:11 -05:00
Yotam Mann
93d70a3a9e waveshaper goes between -1 and 1 inclusive 2016-02-27 17:08:53 -05:00
Yotam Mann
ac5841d8ad removing startMobile
use StartAudioContext to accomplish the same thing.
2016-02-27 16:46:13 -05:00
Yotam Mann
115b9376ab Panner is now between -1 and 1
Same as the Web Audio API.
2016-02-27 11:31:15 -05:00
Yotam Mann
ba2ee5deff merge needs both sides connected
updating test to reflect that.
2016-02-27 11:27:59 -05:00
Yotam Mann
acd0f89d83 updating tests to compensate for 0 gain optimization 2016-02-27 11:27:17 -05:00
Yotam Mann
5389ad0add removing unused tests 2016-02-27 11:26:48 -05:00
Yotam Mann
553b11a4d9 Zero tests 2016-02-27 11:22:49 -05:00
Yotam Mann
23c70cbc93 disposing fully 2016-02-27 11:22:26 -05:00
Yotam Mann
ed7e4839f2 removing tests of old signal classes 2016-02-27 11:19:41 -05:00
Yotam Mann
0441bc5008 pruning away unused signal classes 2016-02-27 11:18:59 -05:00
Yotam Mann
c4f85780f2 using sampleTime variable 2016-02-27 11:16:51 -05:00
Yotam Mann
a427070904 Outputs 0 at audio-rate
This is to get around an optimization in most browsers which stops
processing when the gain is equal 0 in the Signal.
2016-02-27 11:16:25 -05:00
Yotam Mann
670e3ef92b static 'now' function
updated description.
2016-02-25 17:58:26 -05:00
Yotam Mann
3fe43687fd typo in the score.
whoops!
2016-02-18 16:17:45 -05:00
Yotam Mann
faf434400b pull in Master like the rest of the sources 2016-02-18 14:12:30 -05:00
Yotam Mann
35e065ca80 adding error callback on open 2016-02-18 14:11:47 -05:00
Yotam Mann
1e4a2375ff sanity checks on MultiPlayer 2016-02-08 13:44:49 -05:00
Yotam Mann
9049857b80 fire-and-forget buffer player 2016-02-08 13:44:49 -05:00
Yotam Mann
64dbebeb67 triggers oldest note
no more control over retriggering.
2016-02-08 13:44:49 -05:00
Yotam Mann
4a9f39a62b keeps track of release times
so it’s able to trigger the voice that has already been release, or
retrigger the oldest voice (if stealVoices) is true.
2016-02-08 13:44:49 -05:00
Yotam Mann
ce148de513 basic sanity checks for PolySynth 2016-02-08 13:44:49 -05:00
Yotam Mann
ecd15808c2 simplified Abs
now only accepts signals in the range [-1,1]
2016-02-06 15:06:03 -05:00
Yotam Mann
abc62d3962 Merge pull request #115 from hiddedejong/PartOffset
fixed start offset in Tone.Part, now behaves like Tone.Player
2016-02-01 22:28:59 -05:00
Yotam Mann
f622ce79fe testing for discontinuities.
addresses #116
2016-01-31 23:41:10 -05:00
Yotam Mann
af6babf8d8 shortens attack time if the envelope is already active
this retains the attack slope.
2016-01-31 23:40:50 -05:00
Yotam Mann
c72a5f25c9 makes sure that exponential ramping is never from or to 0
when trying to ramp from 0, it does a setValueAtTime to a near zero
value, then ramps exponentially. And the reverse when ramping to 0.
2016-01-31 23:33:36 -05:00
Yotam Mann
79ab31603a cache the time in seconds of 1 sample 2016-01-31 23:13:00 -05:00
Hidde de Jong
523634106c added test for starting Tone.Part with an offset before loopStart 2016-01-31 23:05:03 +01:00
Yotam Mann
de37b6798d adding Master as a dependency
Addresses #112
2016-01-31 12:20:55 -05:00
Hidde de Jong
75628b53e8 fixed start offset in Tone.Part, now behaves like Tone.Player 2016-01-31 14:45:34 +01:00
Yotam Mann
9e7dd15e46 removed unused enum 2016-01-30 20:24:53 -05:00
Yotam Mann
d69e619ed3 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2016-01-30 20:23:32 -05:00
Yotam Mann
d73387b1bc added examples to list 2016-01-30 16:19:03 -05:00
Yotam Mann
d2d8515a00 https only for WebRTC access 2016-01-30 16:18:55 -05:00
Yotam Mann
07edee5448 updating outdated copy 2016-01-30 16:18:40 -05:00
Yotam Mann
de34fc3710 updated examples to new synth names/APIs 2016-01-30 16:18:28 -05:00
Yotam Mann
4fbd1b692d added MetalSynth example 2016-01-30 16:13:44 -05:00
Yotam Mann
1a51c5b787 noting changes 2016-01-30 15:58:07 -05:00
Yotam Mann
995a12d765 Making sure the envelope is active before triggering the release
This keeps FF from throwing an error when trying to exponentially ramp
from 0.
2016-01-30 15:56:56 -05:00
Yotam Mann
7338775540 removing SimpleAM and SimpleFM
These synths are very similar to AM/FMSynth. Plus, the new FMOscillator
type available in SimpleSynth makes it already a Simple FM/AM Synth.
2016-01-30 15:54:59 -05:00
Yotam Mann
46919e7c86 Simplifying the API of FMSynth and AMSynth
uses SimpleSynth instead of MonoSynth. API more flat.
2016-01-30 15:53:40 -05:00