Commit graph

1769 commits

Author SHA1 Message Date
Yotam Mann
a7e2f603d9 playing sources only while instruments are triggered 2018-02-08 11:11:57 -05:00
Yotam Mann
65f166570b Sources call 'restart' method if already started when 'start' is invoked 2018-02-08 11:10:53 -05:00
Yotam Mann
8f0b5d2279 making onConnect private 2018-02-08 11:02:30 -05:00
Yotam Mann
98d1b8808a adding getter/setter for channelCount, channelCountMode and channelInterpretation 2018-02-05 16:51:04 -05:00
Yotam Mann
56c12fb627 Tone.Mono coerces the incoming mono or stereo signal into a mono signal 2018-02-05 16:40:55 -05:00
Yotam Mann
5eec68f9d0 compare rendered output to previously rendered audio files 2018-02-05 13:55:37 -05:00
Yotam Mann
a99e582c3c correctly handles changing playbackRate after source is started 2018-02-05 13:54:16 -05:00
Yotam Mann
457c7b221c optimizing instrument by only turning on oscillators when active 2018-02-05 13:50:14 -05:00
Yotam Mann
2fe32576ed using OscillatorNode in Oscillator 2018-02-05 00:40:53 -05:00
Yotam Mann
0ee67d8445 proper disposal of timeout 2018-02-05 00:40:42 -05:00
Yotam Mann
9428e6c1b8 relaxing optimization slightly. only when connected to an AudioParam or Param 2018-02-05 00:15:49 -05:00
Yotam Mann
f086f58c75 OscillatorNode is a fire-and-forget Oscillator 2018-02-04 22:55:19 -05:00
Yotam Mann
4914fbe771 optimizing signal connections for basic use case 2018-02-04 17:01:30 -05:00
Yotam Mann
68a0f1ae8c don't convert if value is overridden 2018-02-04 13:03:03 -05:00
Yotam Mann
6076be97af calling connect from this instead of this.output 2018-02-04 11:41:19 -05:00
Yotam Mann
ea5d3880c0 using SignalBase.connect instead of Signal.connect 2018-02-04 11:40:47 -05:00
Yotam Mann
c7728ba738 private onConnect method called on node receiving connection 2018-02-04 11:40:11 -05:00
Yotam Mann
c004145dc0 optimizing basic waveform case 2018-02-04 11:33:54 -05:00
Yotam Mann
169ee8e7db updating jsdocs private unit field 2018-01-30 13:00:50 -05:00
Alexander Leon
7a6f976b68 fix typo (#296) 2018-01-29 12:58:48 -05:00
Yotam Mann
62f38bb021 linting 2018-01-22 16:34:47 -05:00
Yotam Mann
6a0c21a77c using 'includes' instead of 'indexOf' 2018-01-22 16:21:50 -05:00
Yotam Mann
6c087908e3 Allow for multiple tries to render audio on iOS
addresses #237
2018-01-22 16:19:26 -05:00
Yotam Mann
177130ec36 BufferSourceNode shim for OfflineAudioContext on iOS
addresses #237
2018-01-21 22:33:02 -05:00
Yotam Mann
5d85e15f2f check that a param is defined 2018-01-21 22:30:19 -05:00
Yotam Mann
87217d1ab4 does not invoke stop from start in case playbackRate changes
fixes #292
2018-01-17 13:18:51 -05:00
Yotam Mann
9dbb54ff6a AudioNode.connect returns the connected to node
fixes #291
2018-01-11 09:36:08 -08:00
Yotam Mann
fd84c251f7 eslinting 2018-01-03 12:07:06 -05:00
Yotam Mann
ea41ebb599 simple convolution-based reverb 2018-01-03 12:04:27 -05:00
Yotam Mann
3f72fec6f9 returning a promise defers the rendering till the promise has resolved 2018-01-03 12:02:10 -05:00
Yotam Mann
92454266f7 sync/unsync triggerAttack/Release to the Transport 2018-01-02 16:49:41 -05:00
Yotam Mann
d3b2444203 lowering default resonance 2018-01-02 16:48:38 -05:00
Yotam Mann
ec3a2d24e2 using getTicksAtTime to get the most accurate BarsBeatsSixteenths 2018-01-02 12:25:13 -05:00
Yotam Mann
dded291a25 linting 2018-01-02 10:37:27 -05:00
Yotam Mann
077ae6d69a Source sync and start after Transport is already running 2018-01-02 10:35:39 -05:00
Yotam Mann
56aa333ea8 close always returns a Promise 2017-12-30 01:06:23 -05:00
Yotam Mann
08607ad9af linting 2017-12-30 00:21:08 -05:00
Yotam Mann
b0f729c9f1 static fromUrl method. 2017-12-30 00:06:53 -05:00
Yotam Mann
4e26a039bc handling error case when url is passed into constructor 2017-12-30 00:06:27 -05:00
Yotam Mann
7bbba9d453 removing AudioParam shim
moved all functionality to Tone.Param
2017-12-29 23:16:28 -05:00
Yotam Mann
f1cd128e95 documenting cancelAndHoldAtTime 2017-12-29 21:20:29 -05:00
Yotam Mann
b4feef6776 linting 2017-12-29 21:19:57 -05:00
Yotam Mann
e201ca1958 ignore isPast warning for certain classes 2017-12-29 21:15:47 -05:00
Yotam Mann
5b80d1014a get the _param's value if available 2017-12-29 21:15:30 -05:00
Yotam Mann
6687fbbd77 set the value directly instead of setting _param.value 2017-12-29 21:15:10 -05:00
Yotam Mann
8ed7a87b45 correcting spelling 2017-12-29 20:44:16 -05:00
Yotam Mann
dc8111665f Envelope uses Signal not TimelineSignal 2017-12-29 20:42:01 -05:00
Yotam Mann
46df5578d9 removing TimelineSignal 2017-12-29 20:41:49 -05:00
Yotam Mann
3554eebc46 TransportTimelineSignal extends Signal instead of TimelineSignal 2017-12-29 20:41:34 -05:00
Yotam Mann
985ce80a71 updated Transport.syncSignal to new Param values 2017-12-29 20:07:24 -05:00