Commit graph

855 commits

Author SHA1 Message Date
Yotam Mann
07264eb05b signal jsdocing 2015-06-13 19:29:25 -04:00
Yotam Mann
99c7067f54 sets initial volume of source 2015-06-07 14:05:59 -04:00
Yotam Mann
d29ecdad36 parameter can be passed in 2015-06-07 13:16:50 -04:00
Yotam Mann
807db1640c made filter public 2015-06-07 12:58:21 -04:00
Yotam Mann
37286c3d23 better rolloff validation. 2015-06-07 12:57:50 -04:00
Yotam Mann
9505bf77b6 setting parameters of LFO 2015-06-07 12:12:03 -04:00
Yotam Mann
3bf65cddb3 type annotation 2015-06-07 12:09:08 -04:00
Yotam Mann
3ee0ab2e3e adding typedefs to Tone.Type 2015-05-31 10:54:23 -04:00
Yotam Mann
b3f7babcca respelling the enum types 2015-05-24 09:53:53 -04:00
Yotam Mann
68a47a9d58 Normal->NormalRange & Number->Default 2015-05-24 09:45:15 -04:00
Yotam Mann
38f66d92ad get can use "." to access deeper props 2015-05-24 09:34:17 -04:00
Yotam Mann
1f69151c5f renamed Tone.Frequency -> Tone.Type.Frequency 2015-05-23 19:07:28 -04:00
Yotam Mann
6ef3dd2f51 renamed Tone.Time -> Tone.Type.Time 2015-05-23 19:01:05 -04:00
Yotam Mann
f0bcd68812 renamed Tone.Signal.Units to Tone.Type
also renamed Tone.Source.State to Tone.State
2015-05-23 18:57:05 -04:00
Yotam Mann
17e76b0642 3 new Simplified Synths 2015-05-23 18:26:16 -04:00
Yotam Mann
17143cf777 Tone.Frequency type 2015-05-23 18:16:53 -04:00
Yotam Mann
176ddcb52b Instrument default value 2015-05-23 18:16:34 -04:00
Yotam Mann
fdf8da421c gain gets the default value 2015-05-23 18:16:14 -04:00
Yotam Mann
f765c6127f chain and mute 2015-05-23 18:15:39 -04:00
Yotam Mann
dbf992d195 LFO takes on unit values
it also starts at min value instead of jumping to the middle value on
start
2015-05-23 18:15:19 -04:00
Yotam Mann
a53c7b8eec moving typedefs into Tone core 2015-05-23 18:14:39 -04:00
Yotam Mann
0667feae49 removing unneeded connections 2015-05-22 10:13:05 -04:00
Yotam Mann
dfc04af754 adding Q control to Multiband split 2015-05-22 10:12:50 -04:00
Yotam Mann
9bd56c89c6 removing panner references 2015-05-21 13:53:04 -04:00
Yotam Mann
4bb78b0fa2 passing options to base class 2015-05-21 13:52:44 -04:00
Yotam Mann
e2ed3b4350 volume is first parameter of constructor 2015-05-21 13:52:06 -04:00
Yotam Mann
3f3cbe5f04 detune value in cents 2015-05-21 13:51:40 -04:00
Yotam Mann
b7864d1c4d correctly sets resonance and dampening
it was set at 0 before, making it silent.
2015-05-13 12:13:25 -04:00
Yotam Mann
d63290f4ee returning to original get method
gets everything, not just the defaults of the parent
2015-05-13 12:13:00 -04:00
Yotam Mann
02ec3215df new oscillator types
sine[partialsCount] i.e. sine6, triangle2, square3, etc.
2015-05-12 23:49:03 -04:00
Yotam Mann
0b00db3ec6 defaults 2015-05-12 23:48:13 -04:00
Yotam Mann
d8575a38ba get crawls defaults correctly 2015-05-12 23:46:12 -04:00
Yotam Mann
2e36740b9b fixing deps 2015-05-05 16:40:58 -04:00
Yotam Mann
a2f4a3595b jsdoc'ing 2015-05-05 16:40:52 -04:00
Yotam Mann
eec1c3135d option not to convert units
that would make the .units attribute only for labelling and
non-functional.
2015-05-05 16:38:46 -04:00
Yotam Mann
2fdaa36d1f Clock onended callback similar to Sources
Fixes #65
2015-05-05 15:36:06 -04:00
Yotam Mann
4818c14faa fixes AudioSourceNode looping bug in Chrome 42
This should be addressed in Chrome 43.

Fixes #64
2015-04-28 22:12:59 -04:00
Yotam Mann
e797398395 buffer is reversed when it's loaded
not every time the buffer is set (as in the case a Sampler’s buffer is
being set).
2015-04-28 16:27:11 -04:00
Yotam Mann
15ebac4c37 Player autostart
Plays as soon as the buffer is loaded.
2015-04-28 16:17:54 -04:00
Yotam Mann
274bab6336 removing Tone.Stereo
changing the `channelCountMode` is much simpler.
2015-04-28 14:42:40 -04:00
Yotam Mann
c7ff31caf9 sources are explicitly stereo
makes it easier to go through stereo effects.
2015-04-28 14:33:59 -04:00
Yotam Mann
632c22b9e5 set PolySynth with rampTime 2015-04-24 19:34:26 -04:00
Yotam Mann
f0861838fc mute boolean so that you can't double mute the master output 2015-04-24 17:45:32 -04:00
Yotam Mann
3ae799fc6e onload callback 2015-04-24 17:45:12 -04:00
Yotam Mann
295901e383 new LowpassCombFilter interface 2015-04-24 17:45:03 -04:00
Yotam Mann
ef5ef5fed9 dampening in hertz rather than normalized 2015-04-24 17:44:42 -04:00
Yotam Mann
1be27628c4 simplifying comb filters
128 samples is defined in the spec as the block size and minimum delay
time for cyclic delayNodes. this makes it unnecessary to string
together multiple delays for small delay times.
2015-04-24 17:44:10 -04:00
Yotam Mann
e069787697 Keeping the lfo min above 0
addresses #59
2015-04-24 13:46:12 -04:00
Yotam Mann
f7c6c1cd95 slimming down compressor code 2015-04-24 13:13:20 -04:00
Yotam Mann
68685f0fc8 renaming "amount" -> "depth" 2015-04-24 13:13:00 -04:00
Yotam Mann
dd3676d5a8 Tremolo Effect 2015-04-24 13:10:16 -04:00
Yotam Mann
0ff1962d51 MidSideCompressor 2015-04-20 15:41:49 -04:00
Yotam Mann
b3bd168b1f defined MidSideEffect in terms of MidSideSplit/Merge 2015-04-20 15:41:42 -04:00
Yotam Mann
8ad222d94f MidSide Split and Merge components 2015-04-20 15:41:30 -04:00
Yotam Mann
bbdeffb7f7 attackType -> attackCurve 2015-04-20 10:42:27 -04:00
Yotam Mann
e79c9a33e4 optimizing Tone.Stereo 2015-04-20 10:42:09 -04:00
Yotam Mann
1b72e91b32 renamed EQ to EQ3 2015-04-20 10:41:55 -04:00
Yotam Mann
8fed8ee52b DrumSynth instrument 2015-04-20 10:39:47 -04:00
Yotam Mann
90a3aeb151 removing setValueAtTime in exponential ramp 2015-04-18 20:24:07 -04:00
Yotam Mann
0b3528c2fe setting min output 2015-04-18 20:23:14 -04:00
Yotam Mann
2f9a304acf Envelope has exponential or linear attack 2015-04-18 14:54:51 -04:00
Yotam Mann
8e69627ad1 making attributes readOnly 2015-04-18 10:54:08 -04:00
Yotam Mann
ba3a7556a7 new AutoFilter effect 2015-04-18 10:52:33 -04:00
Yotam Mann
9e98e9078a stricter interface for components 2015-04-05 15:13:15 -04:00
Yotam Mann
a85b72727f setting read/write as an array 2015-04-05 14:53:27 -04:00
Yotam Mann
4be776955d private _writable method
inverse of readOnly
2015-04-05 14:42:32 -04:00
Yotam Mann
c0de630442 fixing dispose methods 2015-04-05 14:42:14 -04:00
Yotam Mann
81670122d3 completely disposing readOnly properties
need to set them writable first
2015-04-05 14:41:43 -04:00
Yotam Mann
7f984464bd properly disposing readonly objects
first making them writable
2015-04-05 14:35:32 -04:00
Yotam Mann
550ceb5038 stricter interface on signal attributes 2015-04-05 14:25:01 -04:00
Yotam Mann
6b1373e431 cosmetics 2015-04-05 14:01:05 -04:00
Yotam Mann
3a93d52ee1 making source's signal attributes readOnly
this helps avoid a common error which is overwriting a signal property
instead of setting the .value attribute
2015-04-05 14:00:52 -04:00
Yotam Mann
bcb7dad795 panner uses GainToAudio 2015-04-05 12:13:19 -04:00
Yotam Mann
da1d03b616 inverse of AudioToGain
maps values in the gain range [0, 1] to the audio range [-1, 1]
2015-04-05 12:13:03 -04:00
Yotam Mann
7be93abc0a correctly maps values in Safari
Fixes #59
2015-04-05 12:12:32 -04:00
Yotam Mann
e6602d561d fixing bug when updating phase
previously wouldn’t update because the type was still the same. thanks
@mindofmatthew
2015-04-05 10:38:17 -04:00
Yotam Mann
33bedd3fbe applying @mindofmatthew patch 2015-03-27 09:42:20 -04:00
Yotam Mann
a572df7a88 Merge pull request #61 from mindofmatthew/phase-patch
Phase patch
2015-03-27 09:32:59 -04:00
Matthew Kaney
5576c3db22 Fix phase bug for complex waveforms
Fix bug where phase is applied to partials relative to the partial,
rather than the fundamental, frequency
2015-03-26 13:18:41 -04:00
Yotam Mann
ec2bd15ee1 can reverse buffer playback 2015-03-26 10:51:44 -04:00
Yotam Mann
f60a0ea947 implementing PanVol with Volume 2015-03-26 10:51:08 -04:00
Yotam Mann
b093dd4d73 deleting deprecated classes 2015-03-26 10:50:48 -04:00
Yotam Mann
2be3f1dcbb Merge pull request #58 from kirbysayshi/ksh/fx-bug-decrease
prevent SyntaxError(s) in Firefox
2015-03-24 16:32:39 -04:00
Yotam Mann
de7a22aecd Simple Volume control in decibels 2015-03-24 16:30:04 -04:00
Yotam Mann
e0d7ac212b uses StereoPannerNode when available 2015-03-24 16:29:48 -04:00
Yotam Mann
788c703aa3 Tone.Stereo coerces mono signal into stereo 2015-03-24 16:29:36 -04:00
Yotam Mann
52b113a611 optimizing Split components 2015-03-24 16:29:11 -04:00
Yotam Mann
470e8063e3 fix unused playback rate in Noise 2015-03-24 16:28:48 -04:00
Yotam Mann
829934d0e6 send values in decibels 2015-03-24 16:28:36 -04:00
Andrew Petersen
a2aeffe2a2 prevent SyntaxError(s) in Firefox 2015-03-21 23:24:54 -04:00
Yotam Mann
28a86eeba1 removed console log 2015-03-12 17:45:00 -04:00
Yotam Mann
940f92b5a0 convolver buffer not being set correctly
Fixes #54
2015-03-10 14:08:16 -04:00
Yotam Mann
a61860c826 fixed panning bug 2015-03-09 22:52:08 -04:00
Yotam Mann
56e178af76 incremented version 2015-03-09 10:47:44 -04:00
Luke Phillips
237202c049 updated typescript definitions and fixed a few type errors 2015-03-07 19:17:16 +00:00
Luke Phillips
e706e0ad5e remove getOversample 2015-03-07 19:04:40 +00:00
Luke Phillips
f4fc005a57 new typescript definitions 2015-03-07 18:45:11 +00:00
Luke Phillips
db5c6eb865 remove old get and set functions 2015-03-07 18:41:10 +00:00
Luke Phillips
17df3dc4bb es5 getters and setters used in multiband eq 2015-03-07 18:26:08 +00:00
Luke Phillips
d2755e10de Merge Tone r4 2015-03-05 16:06:27 +00:00