Commit graph

790 commits

Author SHA1 Message Date
Yotam Mann
de194f24c3 min and max accept two signals 2014-10-22 21:23:47 -04:00
Yotam Mann
fcba9bd62a multiply handles two signals 2014-10-22 21:20:43 -04:00
Yotam Mann
23eaf83935 handles summing two signals
or a signal and a number.
2014-10-22 21:19:04 -04:00
Yotam Mann
7f7e093a4b Subtract class
subtract a signal and a number or a signal and a signal
2014-10-22 21:17:29 -04:00
Kevin Siwoff
054d5ff2e8 fixes buffer initialization in Player.js 2014-10-22 18:24:58 -04:00
Kevin Siwoff
1422a544f9 adds Convolver class, IR, and convolver example 2014-10-22 17:58:03 -04:00
Kevin Siwoff
b45c983152 updates player class and build for Buffer 2014-10-21 14:55:29 -04:00
Kevin Siwoff
d71f83c8fd adds new Buffer class to core 2014-10-21 14:44:02 -04:00
Yotam Mann
167d989828 using bufferTime in Follower 2014-10-19 22:07:18 -04:00
Yotam Mann
68dea5880a 3 band compressor 2014-10-19 21:55:55 -04:00
Yotam Mann
fdae3c0b5b thin DynamicsCompressorNode wrapper 2014-10-19 21:55:18 -04:00
Yotam Mann
425bca36ad Chebyshev effect
applies Chebyshev wave shaper to incoming signal.
2014-10-19 19:39:50 -04:00
Yotam Mann
918be69c6c connectEffect switched to internal 2014-10-19 17:56:41 -04:00
Yotam Mann
6317e02a67 Distortion effect 2014-10-19 17:54:30 -04:00
Yotam Mann
e28f77a683 PolySynth accepts an array of notes for attack/release 2014-10-19 16:17:40 -04:00
Yotam Mann
4a4da6c85b use MasterConstructor on init 2014-10-19 16:08:40 -04:00
Yotam Mann
9f827a8dad short delay to avoid clicks on change OmniOsc type 2014-10-16 14:52:08 -04:00
Yotam Mann
f913c50241 precompute the bufferTime for a single frame
still need to figure out how to find the frame size
2014-10-16 14:51:25 -04:00
Kevin Siwoff
f784f5585f adds Buffer class, refactors Player class to use new Buffer member 2014-10-16 14:48:23 -04:00
Yotam Mann
3eba6e58a4 optimizing initial script loading 2014-10-16 00:49:31 -04:00
Yotam Mann
eb07e84a6e simplified internals of IfElseThen
changes API slightly because false is 0 and not != 1
2014-10-13 19:24:06 -04:00
Yotam Mann
7277a7eb68 wrote Min and Max with IfThenElse
makes the internals much more readable
2014-10-13 19:22:11 -04:00
Yotam Mann
baf1f0162a enforce min time on Tone.Follower 2014-10-13 19:21:34 -04:00
Yotam Mann
d1cf785350 some jsdoc notes on Meter and Recorder 2014-10-13 17:31:07 -04:00
Yotam Mann
4ccc0e08e7 ability to set rolloff of autowah 2014-10-13 17:16:10 -04:00
Yotam Mann
4f9850d315 disconnect method handles output arrays 2014-10-13 15:58:21 -04:00
Yotam Mann
05b2415fa6 wrote EQ in terms of MutibandSplit 2014-10-13 15:58:06 -04:00
Yotam Mann
757c114ede new class MultibandSplit
splits incoming signal into low/mid/high frequency bands
2014-10-13 15:57:53 -04:00
Yotam Mann
a4cc79cfde stopped state doesn't wait for on ended event
the oneneded event is inconsistent when the source is not connected
directly to Master (such as in the case of an LFO).

Fixes #34
2014-10-08 11:59:31 -04:00
Yotam Mann
231d803848 IfThenElse class
convenience on using the selector for signal switching logic.
2014-10-03 17:20:35 -04:00
Yotam Mann
fe96656d2a AND and OR classes
Fixes #22
2014-10-03 17:20:00 -04:00
Yotam Mann
7972f0db34 Pulse, PWM, and Omni extend Oscillator 2014-10-03 16:07:30 -04:00
Yotam Mann
a8e156fcaf made Oscillator.oscillator _private 2014-10-03 16:06:42 -04:00
Yotam Mann
4eaa4f75df es5 getter/setter on Tone.Signal value
#33
2014-10-03 15:50:21 -04:00
Yotam Mann
2daa8c64ad Oscillators inherit Tone.Oscillator setFrequency 2014-10-03 15:16:32 -04:00
Yotam Mann
e2c0e47f2f Noise getType method 2014-10-03 14:54:09 -04:00
Yotam Mann
0270b3c9e0 deprecating Tone.Threshold 2014-10-03 13:07:53 -04:00
Yotam Mann
f94034345d rewrote GreaterThan and LessThan in terms of GreaterThanZero 2014-10-03 13:07:26 -04:00
Yotam Mann
93eace9694 new GreaterThanZero class
Fixes #20. Also deprecates the need for Tone.Threshold
2014-10-03 13:06:26 -04:00
Yotam Mann
b310136dee JCReverb: constructor takes room size as parameter 2014-10-03 11:34:47 -04:00
Yotam Mann
1ed4f5288c allowing for loopEnd to be a Tone.Time 2014-10-03 01:00:48 -04:00
Yotam Mann
02c21fed73 switches types without a pop 2014-10-03 01:00:37 -04:00
Yotam Mann
35bdca0568 default Player loop is still the end of the file 2014-10-02 18:58:24 -04:00
Yotam Mann
666d8f96c1 removed reference to global 'define' with build
gets rid of the problem of having the global ‘define’ left defined in
the window which may have adverse effects on other AMD shim modules.
2014-10-02 18:55:24 -04:00
Yotam Mann
d1d155f58d envelope stays tempo relative until triggered 2014-10-02 13:23:04 -04:00
Yotam Mann
93d9dd24c0 can start the transport at a specific offset 2014-10-02 13:22:44 -04:00
Yotam Mann
d743e1eb17 reveals player attributes through set in Sampler
and through the constructor options object
2014-10-02 13:22:29 -04:00
Yotam Mann
7d26a67910 loop attributes can be passed in options object
also attributes can remain tempo relative. #27
2014-10-02 13:21:22 -04:00
Yotam Mann
bb17651349 MultiSampler accepts the sample names as numbers 2014-10-02 13:16:17 -04:00
Yotam Mann
527ce958cf cleaning up PingPongDelay 2014-10-02 13:15:38 -04:00
Yotam Mann
30e71b1c82 Added pre delay in left channel
Fixes #32
2014-10-01 19:45:30 -04:00
Yotam Mann
0233abf40e cool color console printing 2014-10-01 14:48:05 -04:00
Yotam Mann
ef80d1e81c light styling. 2014-10-01 14:47:45 -04:00
Yotam Mann
d3f9834ca0 typo in Noise 2014-10-01 00:55:31 -04:00
Yotam Mann
ff57f046f3 synths use OmniOscillator 2014-09-30 22:49:48 -04:00
Yotam Mann
f5ff008170 changing Oscillator JSON description 2014-09-30 22:49:17 -04:00
Yotam Mann
452983920f using OmniOscType enum type 2014-09-30 22:48:21 -04:00
Yotam Mann
14d254fd97 altering default values 2014-09-30 22:48:00 -04:00
Yotam Mann
be4f132aef changed load to unload in Sampler 2014-09-30 00:29:02 -04:00
Yotam Mann
18bab7da59 setters and options objects for Sources
Fixes #27
2014-09-30 00:28:48 -04:00
Yotam Mann
1e7f46ff61 jsdoc addition 'const' 2014-09-29 23:45:31 -04:00
Yotam Mann
23128469ca combination oscillator class 2014-09-29 23:44:59 -04:00
Yotam Mann
014c5e5db2 new PWMOscillator class 2014-09-29 23:44:43 -04:00
Yotam Mann
c67468cab6 PulseOscillator setters 2014-09-29 23:44:35 -04:00
Yotam Mann
1dcaccdb4c defaults to loopStart offset if offset is not given 2014-09-29 23:44:15 -04:00
Yotam Mann
0c6383c49c change swing to default to 16th note 2014-09-29 23:42:56 -04:00
Yotam Mann
704593b655 swing control on the Transport 2014-09-24 23:46:57 -04:00
Yotam Mann
c569670689 setters on the PluckSynth 2014-09-24 23:43:44 -04:00
Yotam Mann
26d2e1ef59 making a note of where methods get defined.
makes it easier to know which files to include.
2014-09-24 23:43:10 -04:00
Yotam Mann
2e753b80dc renamed Tone.Not -> Tone.NOT
much clearer this way.
2014-09-24 14:44:56 -04:00
Yotam Mann
a99ff1d48e removed Tone.Not
renaming it Tone.NOT
2014-09-24 14:44:01 -04:00
Yotam Mann
d99de46c26 started r3-dev version. 2014-09-24 14:43:11 -04:00
Yotam Mann
04359f6dbb documenting Tone.Not 2014-09-23 22:23:58 -04:00
Yotam Mann
e0228e38d8 jsdoc tweaks 2014-09-23 22:07:16 -04:00
Yotam Mann
4427463013 release candidate 2 2014-09-23 21:57:32 -04:00
Yotam Mann
b59978d5fa note<-->midi methods 2014-09-21 15:18:04 -04:00
Yotam Mann
6fc65ff1a3 added options object to freeverb 2014-09-21 14:43:38 -04:00
Yotam Mann
eacfce111c new class JCReverb
John Chowning
2014-09-21 13:39:18 -04:00
Yotam Mann
2205375f40 some free verb presets 2014-09-21 13:38:54 -04:00
Yotam Mann
c7f7fbd31b fixed deps and description
used to say AutoWah incorrectly.
2014-09-21 13:38:43 -04:00
Yotam Mann
71dd2b11c0 Freeverb setters 2014-09-21 13:38:13 -04:00
Yotam Mann
176cd0d563 fixed AutoWah deps 2014-09-21 13:38:00 -04:00
Yotam Mann
2cabd2bd3e new class FeedbackCombFilter 2014-09-21 13:37:45 -04:00
Yotam Mann
f8ae02b5f9 made Mono into it's own component 2014-09-21 13:37:08 -04:00
Yotam Mann
9fb1f4d637 Freeverb implementation
with simple test
2014-09-20 21:19:06 -04:00
Yotam Mann
018498b22a start out with the min delay time 2014-09-20 21:18:37 -04:00
Yotam Mann
007c1f0bbd gain reduction to compensate for the signal split
otherwise the volume is doubled
2014-09-20 21:18:20 -04:00
Yotam Mann
b4d2ad9bc7 put bufferSize back to 2048
need a solution where i can determiner he buffer size of the sound
card.
2014-09-20 21:17:24 -04:00
Yotam Mann
4f3cca312f instrument has Note as a dep 2014-09-20 19:24:12 -04:00
Yotam Mann
817a7a7d40 extends Instrument 2014-09-20 19:24:04 -04:00
Yotam Mann
d42cf9d698 filled out dispose method 2014-09-20 19:23:41 -04:00
Yotam Mann
198678d06b Monophonic extends Instrument 2014-09-20 19:23:28 -04:00
Yotam Mann
49341e2eae lowered buffer size 2014-09-20 19:23:07 -04:00
Yotam Mann
f076dec1e1 fixed dispose method 2014-09-20 19:22:35 -04:00
Yotam Mann
39f5e808f6 MultiSampler uses new Sampler interface
also extends Instrument
2014-09-20 18:58:02 -04:00
Yotam Mann
5059786389 Sampler extends Instrument 2014-09-20 18:57:44 -04:00
Yotam Mann
d6a2991526 Sampler attack accepts a note value in semitones
also using AmplitudeEnvelope.
2014-09-20 18:47:07 -04:00
Yotam Mann
1306d45884 PluckSynth uses LowpassCombFilter 2014-09-20 18:06:52 -04:00
Yotam Mann
760c397bfd new class LowpassCombFilter 2014-09-20 18:06:41 -04:00
Yotam Mann
efd2def64b triggerAttackRelease on Envelope 2014-09-20 15:18:36 -04:00
Yotam Mann
d612dd8705 AmplitudeEnvelope
new class
2014-09-20 15:18:08 -04:00
Yotam Mann
d9fa029569 Karplus-Strong first commit 2014-09-17 00:21:04 -04:00
Yotam Mann
65b0b5c660 Instrument base-class 2014-09-17 00:19:30 -04:00
Yotam Mann
603bc03d62 deferring on clock tick
to not block the audio thread
2014-09-15 21:45:31 -04:00
Yotam Mann
dff5852607 greater than equal to on threshold. 2014-09-14 15:34:37 -04:00
Yotam Mann
b27cebda3b disposing of amplitude 2014-09-14 15:34:27 -04:00
Yotam Mann
ef12e6e5d0 fixed bugs with context setting and stop method 2014-09-14 15:34:17 -04:00
Yotam Mann
f2ae3bd594 include an onend function for stop 2014-09-14 15:33:32 -04:00
Yotam Mann
e3dc3a2f6a modulo comments 2014-09-14 15:33:02 -04:00
Yotam Mann
41225430aa started r2-dev 2014-09-12 11:53:07 -04:00
Yotam Mann
a0fe662dcd more modulus optimization 2014-09-12 01:03:48 -04:00
Yotam Mann
5b178359fd optimizing modulo operator 2014-09-12 00:55:10 -04:00
Yotam Mann
01003bc9d5 fixed note comment. 2014-09-11 20:45:02 -04:00
Yotam Mann
2ebd70b09b release 1 candidate. 2014-09-11 20:37:40 -04:00
Yotam Mann
1d20c32bba small default change 2014-09-11 20:36:17 -04:00
Yotam Mann
0ea25ec615 triggerAttackRelease 2014-09-11 20:36:07 -04:00
Yotam Mann
ebca621fc7 this will improve performance.
may cause issues when setting bits which are larger than the initial
value.
2014-09-11 20:35:39 -04:00
Yotam Mann
ad703e51d1 eq in db now 2014-09-11 20:31:37 -04:00
Yotam Mann
8f54007335 modulo starts at the maximum bits 2014-09-11 13:39:06 -04:00
Yotam Mann
669c52ee60 jsdoc'ing. 2014-09-11 13:38:41 -04:00
Yotam Mann
7850bdabc1 changed Master class to Tone.Master
this is for jsdoc purposes.
2014-09-11 13:00:59 -04:00
Yotam Mann
f51f7370a4 moved note stuff to Tone.Note 2014-09-11 13:00:09 -04:00
Yotam Mann
b3af62fa4a documented Transport and Tone.Time 2014-09-10 22:37:57 -04:00
Yotam Mann
576383d34b more extreme phasing. 2014-09-10 22:17:16 -04:00
Yotam Mann
50dcc6ccb0 jshint wants constructors to be Capitalized 2014-09-10 13:51:37 -04:00
Yotam Mann
cc95ee6caf instrument tests
fixed dispose methods bc of tests.
2014-09-09 15:30:36 -04:00
Yotam Mann
894ced3755 fixed polysynth velocity bug 2014-09-09 12:58:07 -04:00
Yotam Mann
6637833ed4 added detune parameter 2014-09-09 12:36:14 -04:00
Yotam Mann
c3cb6af859 added setPreset to PolySynth 2014-09-09 00:40:25 -04:00
Yotam Mann
06987ea9e6 class tag on Tone 2014-09-09 00:24:51 -04:00
Yotam Mann
a49061ac9a rewrote bit crusher without ScriptProcessorNode
wow. and it works well.
2014-09-08 11:54:03 -04:00
Yotam Mann
08c6d3d4b2 Modulus operator on incoming signal
the cost of the operation is proportional to the number of bits the
incoming signal has
2014-09-08 11:49:21 -04:00
Yotam Mann
8552833330 refactored GT and LT to get rid of redundant code
Fixes #21
2014-09-07 22:16:19 -04:00
Yotam Mann
820b9e8005 readded min...?
dunno what happened there.
2014-09-07 21:43:24 -04:00
Yotam Mann
253884d19e renamed Tone.Selector to Tone.Select 2014-09-07 21:42:31 -04:00
Yotam Mann
71af6ca206 testing dispose methods for all classes.
a few classes were not being disposed correctly and leaving some
garbage attached.
2014-09-06 18:55:11 -04:00
Yotam Mann
270c01cbaf put follower after greater than 2014-09-06 18:10:42 -04:00
Yotam Mann
938c979b8d added freq and Q setter 2014-09-06 18:09:52 -04:00
Yotam Mann
cca2d84387 renamed Rego to Unicorn 2014-09-06 18:09:25 -04:00
Yotam Mann
bf0b738ca2 bits in integers 2014-09-06 18:09:15 -04:00
Yotam Mann
925e9b19a6 slight refactor + firefox exponential ramp bug 2014-09-06 15:57:01 -04:00
Yotam Mann
818797712c made the sawtooth private in pulse oscillator 2014-09-06 15:56:41 -04:00
Yotam Mann
0b4c8f6037 removed unneeded default value 2014-09-06 15:56:23 -04:00
Yotam Mann
be1c230d54 fixed Tone.Filter construction error 2014-09-06 15:55:43 -04:00
Yotam Mann
26e45a9e63 fixed no Q bug 2014-09-06 15:37:44 -04:00
Yotam Mann
d6806a02ea setLoopPoint -> setLoopPoints 2014-09-06 15:37:33 -04:00
Yotam Mann
2016778123 checks if part is array 2014-09-06 15:37:15 -04:00
Yotam Mann
a01dbb8518 setVolume in db like other set volumes 2014-09-06 15:36:59 -04:00
Yotam Mann
46a567c7f0 range test when setting rolloff 2014-09-06 15:36:10 -04:00
Yotam Mann
28f57c76bb removed doc links
they were breaking jsdocs.
2014-09-05 11:40:55 -04:00
Yotam Mann
d71f1cb5b7 jsdocs updates. 2014-09-05 11:32:35 -04:00
Yotam Mann
856d88d88e effects presets 2014-09-05 00:36:55 -04:00
Yotam Mann
fe6af882eb AutoWah presets 2014-09-04 23:56:48 -04:00
Yotam Mann
ef90be0e95 preset setting in Monophonic class 2014-09-04 19:14:11 -04:00
Yotam Mann
042343bfd7 put presets in the prototype 2014-09-04 19:13:55 -04:00
Yotam Mann
f378b81fcf can set context with master as well
Fixes #7
2014-09-04 19:04:16 -04:00
Yotam Mann
1cfa016026 fixes jsdoc error 2014-09-04 15:22:25 -04:00
Yotam Mann
2c414097a8 fixed jsdoc tag 2014-09-04 14:04:58 -04:00
Yotam Mann
f27fcc3123 updated README 2014-09-04 14:04:02 -04:00
Yotam Mann
af85ae7e19 Added "use strict" to all classes
Fixes #17
2014-09-04 00:41:40 -04:00
Yotam Mann
560359cf21 tweaking defaults 2014-09-04 00:32:44 -04:00
Yotam Mann
39c7da2ab1 styling examples 2014-09-04 00:06:01 -04:00
Yotam Mann
03bec5cb05 new score format. 2014-09-03 22:37:05 -04:00
Yotam Mann
935fa9ea38 envelopes accept velocity on attack 2014-09-03 22:36:56 -04:00
Yotam Mann
936424b356 parse the frequency from a note 2014-09-03 22:35:38 -04:00
Yotam Mann
338f0f683c same function signature as Monophonics 2014-09-03 22:35:27 -04:00
Yotam Mann
0c0543db0b fixed Sampler/MultiSampler bugs 2014-09-03 22:35:03 -04:00
Yotam Mann
71b475de60 monophonic instruments extend a base class 2014-09-03 19:05:09 -04:00
Yotam Mann
dc525e90ce fixed setTargetAtTime typo 2014-09-03 17:31:51 -04:00
Yotam Mann
fbb7345f72 exponential release proved too difficult
couldn’t set values in the future. now using setTargetAtTime for all
envelopes
2014-09-03 17:31:29 -04:00
Yotam Mann
f34b6414f2 min set when min is set 2014-09-03 14:54:58 -04:00
Yotam Mann
02ffa25555 FM Synth with example
Fixes #26
2014-09-03 14:54:46 -04:00
Yotam Mann
0ba1224541 renamed voiceRatio -> harmonicity 2014-09-03 14:53:05 -04:00
Yotam Mann
8fc8505c43 updated presets 2014-09-02 17:10:33 -04:00
Yotam Mann
aa45c4402c DuoSynth example first commit 2014-09-02 16:57:46 -04:00
Yotam Mann
c1bdba8cf4 WaveTable -> PeriodicWave for old browsers 2014-09-02 16:57:25 -04:00
Yotam Mann
70c27c7c89 a couple more presets 2014-09-02 12:11:25 -04:00
Yotam Mann
e6a15f8f7a removed unison controls 2014-09-02 12:10:43 -04:00
Yotam Mann
e4d3aaab2b optional input arg to receive. 2014-09-02 12:09:16 -04:00
Yotam Mann
62b5bfffed flexible function signature if define is not defined 2014-09-02 12:08:52 -04:00
Yotam Mann
0bb2dcff80 Some MonoSynth presets 2014-09-02 00:26:34 -04:00
Yotam Mann
d69c5b940e exponential decay and ability to setMin/Max 2014-09-02 00:26:17 -04:00
Yotam Mann
ba29f3b2c4 MonoSynth Example 2014-09-02 00:25:38 -04:00
Yotam Mann
9adbcc3c4d getType 2014-09-02 00:25:20 -04:00
Yotam Mann
d381d9e210 PingPongDelay uses new StereoXFeedbackEffect 2014-09-01 13:09:33 -04:00
Yotam Mann
3fe7633604 can set phase on LFO 2014-09-01 12:52:32 -04:00
Yotam Mann
84135a4d1e Chorus and Phaser are stereo effects
made a few intermediate classes to save on code.
2014-09-01 12:52:13 -04:00
Yotam Mann
c88826e979 setPhase method on Oscillator
This method uses not DelayNode so sample accurate start/stop are
maintained.

Fixes #18
2014-08-31 16:35:02 -04:00
Yotam Mann
76ee2b5540 Tone.PulseOscillator first commit
fixes #25
2014-08-31 16:29:56 -04:00
Yotam Mann
a713502784 fixed typo 2014-08-29 17:14:47 -04:00
Yotam Mann
7f7493105a added set method
#27

also fixed dispose method
2014-08-29 17:14:41 -04:00
Yotam Mann
b45fc88ed0 removing base class set method.
it did nothing…
2014-08-29 16:40:20 -04:00
Yotam Mann
5a5e9be1f8 adds ability to set rolloff amount
AudioParams are now Tone.Signals

the wrapping is no longer paper thin
2014-08-29 16:39:09 -04:00
Yotam Mann
f6addd6b64 gets Signal.connect for use as a control signal 2014-08-29 16:36:52 -04:00
Yotam Mann
59b69a8d3a has an initial bpm of 120 2014-08-29 16:36:31 -04:00
Yotam Mann
9d337cb101 fixed wave shaper curve length 2014-08-27 15:22:21 -04:00
Yotam Mann
e783e87834 borrows setVolume from Tone.Source 2014-08-25 21:47:58 -04:00
Yotam Mann
4567298b00 small ramp on vibrato delay 2014-08-25 21:47:45 -04:00
Yotam Mann
42288c5942 setVolume in db now 2014-08-25 21:47:22 -04:00
Yotam Mann
aa893180c0 Tone.DuoSynth first commit 2014-08-25 21:34:09 -04:00
Yotam Mann
f0d99afc16 added detune
this is separate from unison detuning
2014-08-25 21:19:18 -04:00
Yotam Mann
1dae08f874 switching to releases instead of versions 2014-08-25 18:43:37 -04:00
Yotam Mann
b4b3b46521 Note values should be JSONable 2014-08-25 18:40:15 -04:00
Yotam Mann
95c6e13995 first PolySynth version 2014-08-25 13:26:26 -04:00
Yotam Mann
1b94e8aa0c feedback wasn't connect to the gain AudioParam 2014-08-25 10:36:07 -04:00
Yotam Mann
8b316762eb _defaults -> defaults
made it not private
2014-08-25 10:23:37 -04:00
Yotam Mann
223a599f66 All effects have a 'set' method
#16
2014-08-25 09:57:36 -04:00
Yotam Mann
43206cbf29 ability to take options object AND parameters 2014-08-24 19:28:42 -04:00
Yotam Mann
f2bfabcc4a first try on Tone.Phaser 2014-08-24 17:51:01 -04:00
Yotam Mann
6e2ba460d2 change default detune 2014-08-24 17:48:39 -04:00
Yotam Mann
4b085fd32e privatize internals 2014-08-24 17:48:28 -04:00
Yotam Mann
3cd76459e5 link to parent's dispose method
Fixes #15
2014-08-24 16:24:16 -04:00
Yotam Mann
ccc24fb21b fan out connections 2014-08-24 15:58:02 -04:00
Yotam Mann
595f81283e updated Tone.dispose to handle input/output arrays
#15
2014-08-24 15:51:24 -04:00
Yotam Mann
b612f7839c Added Signal dep to all Signals
#11
2014-08-24 15:47:59 -04:00
Yotam Mann
7890e74ac0 moved Merge and Split to components 2014-08-24 15:46:55 -04:00
Yotam Mann
b2c85eaf44 signals inherit Signal.connect method
this is so that params and signals they connect to don’t need to be
manually zeroed out after connecting.

Fixed #11
2014-08-24 13:19:49 -04:00
Yotam Mann
e3973aeead started MonoSynth.preset 2014-08-24 13:06:45 -04:00
Yotam Mann
9121c5db59 3 band EQ
low/mid/high gain controls and control of crossover frequencies
2014-08-24 12:46:45 -04:00
Yotam Mann
3afd45f987 has 'set' interface
#16
2014-08-24 12:26:04 -04:00
Yotam Mann
e4ae6afb32 set interface for all internal Tone.Samplers 2014-08-24 12:20:16 -04:00
Yotam Mann
534b23f5cd accepts options object
uses Tone.Filter internally
2014-08-24 12:19:25 -04:00
Yotam Mann
a63c4f42b6 added setters and constructor API 2014-08-24 12:12:40 -04:00
Yotam Mann
7fe3d61858 Tone.Filter
paper thin wrapper around the native BiquadFilter
2014-08-24 12:11:58 -04:00
Yotam Mann
f12fb5caa2 made lfo private 2014-08-23 17:04:01 -04:00
Yotam Mann
58e6e4532c Tone.Envelope can take args as an Object
Fixes #12
2014-08-23 16:38:06 -04:00
Yotam Mann
8f0d49db29 fixed dispose method 2014-08-23 16:08:08 -04:00
Yotam Mann
c92c76fef3 added an abstract set method to the base class
#16
2014-08-23 16:07:55 -04:00
Yotam Mann
dc98641558 dispose method calls parent's dispose method
related to issue #15. finished for all effects.
2014-08-23 15:51:21 -04:00
Yotam Mann
f6f0a35f57 started chorus effect 2014-08-23 15:19:01 -04:00
Yotam Mann
3f40e26c14 fixed typo 2014-08-23 15:18:51 -04:00
Yotam Mann
5d7807bede description of _merger 2014-08-23 14:25:20 -04:00
Yotam Mann
127f5d52c9 updated doc 2014-08-23 14:24:54 -04:00
Yotam Mann
b6938ec10b privatized panner 2014-08-23 14:24:20 -04:00
Yotam Mann
adf8c9fbbb consistent spacing 2014-08-23 14:24:06 -04:00
Yotam Mann
52fca548b6 bit crusher extends Tone.Effect 2014-08-23 14:23:54 -04:00
Yotam Mann
3b08ef6997 AutoWah effect 2014-08-23 14:23:43 -04:00
Yotam Mann
63bce969c1 effects default to 100% wet 2014-08-23 14:22:51 -04:00
Yotam Mann
5f29b82d3b privatized the _scalar 2014-08-23 14:22:18 -04:00
Yotam Mann
0cf82e94e8 more consistent spacing 2014-08-23 13:51:02 -04:00
Yotam Mann
e6e4586f70 renamed delay to delayTime 2014-08-23 13:50:30 -04:00
Yotam Mann
dbafb63b14 updated description on Effect 2014-08-23 13:50:13 -04:00
Yotam Mann
c37902cdfe updated docs on LFO 2014-08-23 13:49:50 -04:00
Yotam Mann
151ca08a21 EnvelopeFollower with independent attack / decay 2014-08-23 13:48:52 -04:00
Yotam Mann
833132643e Tone.ScaleExp scales values with an exponent
Fixes #14
2014-08-23 13:11:01 -04:00
Yotam Mann
6f6d0ea91b recursively handles nested objects 2014-08-21 20:55:00 -04:00
Yotam Mann
be344b7963 unused argument 2014-08-21 14:20:55 -04:00
Yotam Mann
be9ad6ee5f fixed deps 2014-08-21 01:03:51 -04:00
Yotam Mann
2f46a0f50a fire version of MonoSynth 2014-08-21 00:59:11 -04:00
Yotam Mann
b26f313bd7 defaultArgs can do defaults on objects 2014-08-21 00:58:44 -04:00
Yotam Mann
6f0008b3d7 consistent whitespacing 2014-08-20 20:46:57 -04:00
Yotam Mann
4b12221812 updated jsdoc description 2014-08-20 20:46:40 -04:00
Yotam Mann
41e3e877d2 notes start at C instead of A 2014-08-20 20:46:28 -04:00
Yotam Mann
9819c07390 updated description in dry wet 2014-08-20 20:46:10 -04:00
Yotam Mann
5dce8e4958 added dispose method 2014-08-20 17:10:12 -04:00
Yotam Mann
343b54b784 reflects new connect method with indexing
changed the input/output to be arrays so that they can be used with the
new connect method
2014-08-20 17:09:58 -04:00
Yotam Mann
8425b1bd4d updated description 2014-08-20 17:09:13 -04:00
Yotam Mann
9bb8df60a8 sync inherited from Tone.Source 2014-08-20 16:54:26 -04:00
Yotam Mann
535ef8133b Sampler and MultiSampler instruments 2014-08-20 16:52:14 -04:00
Yotam Mann
5f383d1f03 Tone.Note registers note events
makes it easy to write JSON scores for multiple instruments.
2014-08-20 16:51:56 -04:00
Yotam Mann
d26147aa52 spacing and jsdoc 2014-08-20 16:51:02 -04:00
Yotam Mann
c86353d8dd jsdoc'ing and sync 2014-08-20 16:50:27 -04:00
Yotam Mann
2bac71da75 styling comments. more cleanup in dispose method 2014-08-20 16:50:07 -04:00
Yotam Mann
ffcd6807df simplified version number 2014-08-18 07:50:58 -04:00
Yotam Mann
66bf461ebf sync -> syncSource 2014-07-30 15:12:47 -04:00
Yotam Mann
474b51ddd8 a single Transport object which doesn't get replaced 2014-07-30 15:12:21 -04:00
Yotam Mann
7c8c505b9d exposed smoothTime in constructor 2014-07-30 13:57:05 -04:00
Yotam Mann
935161a31e can set context 2014-07-30 13:56:44 -04:00
Yotam Mann
4e531dc06f fixed deps. ability to setContext 2014-07-30 13:56:32 -04:00
Yotam Mann
a9714afbc2 setContext 2014-07-30 13:55:59 -04:00
Yotam Mann
7081619bcf doesn't expose Buses anymore 2014-07-30 13:55:36 -04:00
Yotam Mann
9afc03afa7 fixed typo, can now set context 2014-07-30 13:55:24 -04:00
Yotam Mann
cd4388fe89 refactored out clock from Transport 2014-07-30 13:54:55 -04:00
Yotam Mann
d01cb52bf4 Volume Gate 2014-07-23 15:50:45 -04:00
Yotam Mann
ded3f1a61a formerly Tone.Gate 2014-07-23 15:47:46 -04:00
Yotam Mann
b09fc13dc2 rename Gate to Switch and Switch to Selector 2014-07-23 15:47:00 -04:00
Yotam Mann
4147c3e734 cleaned up deps 2014-07-23 15:28:06 -04:00
Yotam Mann
9ca1e1286e timing setter 2014-07-23 15:25:46 -04:00
Yotam Mann
cdd0d3d610 simplified envelope follower 2014-07-23 15:22:46 -04:00
Yotam Mann
73c10a90c4 works. sort of. 2014-07-22 19:17:45 -04:00
Yotam Mann
86c3b6e261 uses Tone.Switch now 2014-07-22 18:54:23 -04:00
Yotam Mann
8e646f033f route a single input to multiple outputs
select the open output. (similar to Switch)
2014-07-22 13:39:53 -04:00
Yotam Mann
738f1c8c5d api change from open to select 2014-07-22 13:39:28 -04:00
Yotam Mann
1ce8c653a8 fixed output connection bug 2014-07-22 13:38:42 -04:00
Yotam Mann
3494326f65 min and max using the new Tone.Switch 2014-07-22 12:48:37 -04:00
Yotam Mann
d9aa476a3f some linting 2014-07-22 12:48:22 -04:00
Yotam Mann
524bae2e60 accepts input/output number selection 2014-07-22 12:48:04 -04:00
Yotam Mann
fe418cbe89 switch that accepts multiple inputs 2014-07-22 12:47:28 -04:00
Yotam Mann
18fca530c8 invalid constraint 2014-07-22 11:31:32 -04:00
Yotam Mann
1a9a5fae2b min / max setters 2014-07-22 11:31:14 -04:00
Yotam Mann
bd05a1c1ed startMobile. connect to array of inputs 2014-07-22 11:30:18 -04:00
Yotam Mann
fca7b0eba3 clip the incoming signal 2014-07-20 18:26:33 -04:00
Yotam Mann
69294ce410 switch between two sources 2014-07-20 18:18:43 -04:00
Yotam Mann
505bad1674 signal min and max 2014-07-20 18:18:29 -04:00
Yotam Mann
e6bcb3b10c doc updates 2014-07-20 18:17:24 -04:00
Yotam Mann
2ee294b278 fixed logic.
now nearly the same as greater than
2014-07-20 18:17:01 -04:00
Yotam Mann
d91f177fb5 fixed dep and doc 2014-07-20 18:15:17 -04:00
Yotam Mann
10e2acdea9 class description for signals 2014-07-04 13:47:56 -04:00
Yotam Mann
2f027cfd50 updated docs 2014-07-04 13:36:13 -04:00
Yotam Mann
2bab21a9f5 rename 2014-07-03 22:59:35 -04:00
Yotam Mann
465d83f308 signal comparison 2014-07-03 22:59:16 -04:00
Yotam Mann
ce4d75db50 signal absolute value 2014-07-03 22:57:04 -04:00
Yotam Mann
343ab3dee4 code cleanup a bit 2014-07-02 23:38:20 -04:00
Yotam Mann
63f264ad6f compare a signal to a number 2014-07-02 23:37:19 -04:00
Yotam Mann
67a1f7e76a absolute value of any input signal 2014-07-02 23:36:59 -04:00
Yotam Mann
1436aa2990 renamed EqualsZero 2014-07-02 19:18:00 -04:00
Yotam Mann
18e79bba9e attack / release frequency shifting 2014-07-02 18:20:34 -04:00
Yotam Mann
95113267c5 absolute value of incoming signal
between -1 and 1. can update this to work with all values if i use
Tone.Switch
2014-07-02 18:20:02 -04:00
Yotam Mann
bb9d4b9603 updated docs 2014-07-02 17:33:00 -04:00
Yotam Mann
89593b6dbc optimizing the component count 2014-07-02 17:26:27 -04:00
Yotam Mann
b848ee9f9b incremented version 2014-07-02 17:11:50 -04:00
Yotam Mann
793eb1ce39 negate an incoming signal 2014-07-02 17:08:59 -04:00
Yotam Mann
fbf7b189c0 open and close a switch 2014-07-02 17:08:50 -04:00
Yotam Mann
07a96711e5 update thresh value 2014-07-02 17:08:03 -04:00
Yotam Mann
8aa3e06085 moved bit crusher to effects 2014-07-02 17:07:53 -04:00
Yotam Mann
e0bbf3b460 threshold a signal between -1 and 1 2014-07-02 17:07:40 -04:00
Yotam Mann
2d32b38bb7 fixed deps in Multiply 2014-07-02 16:00:39 -04:00
Yotam Mann
f840861496 added a version number 2014-07-02 15:59:11 -04:00
Yotam Mann
072709f5b3 license in JSDocs 2014-07-02 15:51:55 -04:00
Yotam Mann
113e103514 dispose methods 2014-07-02 15:47:05 -04:00
Yotam Mann
5098ab8e10 Threshold ToneNode 2014-07-02 15:37:17 -04:00
Yotam Mann
070da78981 EqualsZero ToneNode 2014-07-02 15:37:08 -04:00
Yotam Mann
0af07289fd recursive connect if the input is also a ToneNode 2014-07-02 15:36:41 -04:00
Yotam Mann
88336c50bb cleaner looking alias 2014-06-30 17:11:46 -04:00
Yotam Mann
3391d0d08d added notes to frequency and updated connect method 2014-06-30 17:09:55 -04:00
Yotam Mann
b43bb9c10d started envelope follower (doesn't work yet) 2014-06-30 11:34:52 -04:00
Yotam Mann
ceb84b548f no echo cancellation on microphone 2014-06-28 22:13:35 -04:00
Yotam Mann
97e60e11cf updated looping API
removed “loop” method
2014-06-25 13:11:29 -04:00
Yotam Mann
0b4def6155 Tone.Sources can sync to the Transport 2014-06-25 12:47:47 -04:00
Yotam Mann
265b604e83 small doc changes 2014-06-23 23:18:19 -04:00
Yotam Mann
9ea64668cc new docs theme. 2014-06-23 14:52:33 -04:00
Yotam Mann
5ff3b1e4ee working on docs 2014-06-23 14:20:20 -04:00
Yotam Mann
4cd751e541 transportTicks and timelineTicks are separate
this allows for timeouts and intervals to go on independent of timeline
loop points.
2014-06-23 13:30:38 -04:00
Yotam Mann
b13afa1d19 panControl->pan 2014-06-23 13:30:00 -04:00
Yotam Mann
1f922516e7 aesthetic improvements 2014-06-23 00:53:59 -04:00
Yotam Mann
55f4ab5120 purged half-finished or unnecessary stuff 2014-06-23 00:53:35 -04:00
Yotam Mann
12f661c147 fixed single line docs 2014-06-22 12:33:27 -04:00
Chris Deaner
00b1bf25e7 First commit with the DocStrap template truely in effect ( in effect ) 2014-06-21 22:56:51 -04:00
Yotam Mann
a0bdadc927 fixed error in API 2014-06-21 18:39:45 -04:00
Yotam Mann
d82129f995 fixed doc error 2014-06-21 18:39:09 -04:00
Yotam Mann
4059c891e5 updated player api 2014-06-21 18:39:01 -04:00
Yotam Mann
ff5d967dc7 some updated to the microphone
still untested
2014-06-21 17:37:17 -04:00
Yotam Mann
c3ab9a7b0d renamed effects->effect. jsdocs on effects 2014-06-21 17:34:31 -04:00
Yotam Mann
07c247ea8b updated docs 2014-06-21 15:55:15 -04:00
Yotam Mann
494cd5576f new connect method. signal now has an input 2014-06-21 15:55:15 -04:00
Yotam Mann
542668a93e new connect. optimized component count 2014-06-21 15:55:15 -04:00
Yotam Mann
beee9c2a74 fixed error in dispose method 2014-06-21 15:55:15 -04:00
Yotam Mann
e1647e2031 don't garbage collect the generator 2014-06-21 15:55:14 -04:00
Yotam Mann
fd75f7e167 updated initial tempo value and toSeconds API 2014-06-21 15:55:14 -04:00
Yotam Mann
275b05b96e updated toSeconds api and throws error if no web audio 2014-06-21 15:55:14 -04:00
Yotam Mann
63278d6042 set master volume 2014-06-21 15:55:14 -04:00
Yotam Mann
b35f68f996 works now 2014-06-21 15:55:14 -04:00
Yotam Mann
b79327d19b jsdoc'ing and default values 2014-06-21 15:55:13 -04:00
Yotam Mann
9795140cbe switch control from dry to wet 2014-06-21 15:55:13 -04:00
Yotam Mann
8670efc10a updated recorder 2014-06-21 15:55:13 -04:00
Yotam Mann
736b3aa358 set volume can take a fade time 2014-06-21 15:55:12 -04:00
Yotam Mann
6cea4cffde initial value setting 2014-06-21 15:55:12 -04:00
Yotam Mann
5a5858641f Merge pull request #6 from jffng/master
linting + documentation for Effects Unit
2014-06-21 14:40:41 -04:00
Yotam Mann
c9cbcaa3e5 fixed doc error 2014-06-20 01:46:39 -04:00
Yotam Mann
ec39ce3985 fixed error in setting frequency detune 2014-06-20 01:46:29 -04:00
Yotam Mann
1813f74fa5 dry wet with working example 2014-06-20 01:46:10 -04:00
Yotam Mann
eec6e154a2 can set the sync ratio 2014-06-20 01:23:47 -04:00
Yotam Mann
e4496dac8c docing 2014-06-20 01:23:35 -04:00
Yotam Mann
d48849bd11 jsdoc on DryWet 2014-06-20 01:12:15 -04:00
Yotam Mann
e859706ef9 more disposing 2014-06-20 00:58:02 -04:00
Yotam Mann
c9713d46dd renamed tests/WebAudio to tests/Core
added tests to core
2014-06-20 00:57:56 -04:00
Yotam Mann
812691a95b added dispose methods to signals 2014-06-20 00:38:14 -04:00
Yotam Mann
c40531f0d4 better dispose method 2014-06-20 00:25:10 -04:00
Yotam Mann
a3abf8e979 better noise! with test and example 2014-06-20 00:25:00 -04:00
Yotam Mann
4b319a0690 new docs. 2014-06-19 21:48:16 -04:00
Yotam Mann
2201089ebd working on docs 2014-06-19 13:38:21 -04:00
Yotam Mann
8c9c236bf1 Merge branch 'master' of https://github.com/TONEnoTONE/Tone.js
Conflicts:
	Tone/source/Player.js
2014-06-19 01:41:04 -04:00
Yotam Mann
5c7b3b5c18 uniform API for sources 2014-06-19 01:40:16 -04:00
Jeff Ong
8dc56e993a linting + documentation for pingpongdelay 2014-06-18 23:45:23 -04:00
Jeff Ong
0c7ab617d4 linting + documentation for feedback 2014-06-18 23:37:32 -04:00
Jeff Ong
af208b9fbe linting + documentation for Effects Unit 2014-06-18 23:20:41 -04:00
Yotam Mann
0d16ca01ae handling Garbage Collection more explicitly
surfacing memory management methods so that users can control when
things get garbage collected
2014-06-18 22:35:31 -04:00
Chris Deaner
9e1c46a85d merged transport.js with yotam 2014-06-18 17:41:39 -04:00
Chris Deaner
ab776cca3c Added Grunt Buid system for building the lib as well as generating jsdocs.modified files in accordance with the grunt jsdoc specs 2014-06-18 17:39:05 -04:00
Yotam Mann
410814505c Merge branch 'master' of https://github.com/TONEnoTONE/Tone.js
Conflicts:
	Tone/source/Player.js
2014-06-18 17:04:59 -04:00
Yotam Mann
2b1899792d some docs on Player 2014-06-18 17:01:39 -04:00
Yotam Mann
7d0463324f udpated panner API 2014-06-18 17:01:31 -04:00
Yotam Mann
ceab837993 Merge pull request #4 from therewasaguy/master
added documentation for Player.js and tests for Sources.js
2014-06-18 17:00:43 -04:00
Yotam Mann
8c39cd08a0 can pass in a 'now' in setCurrentValueNow 2014-06-18 16:56:50 -04:00
Yotam Mann
ded174c20a ability to clear all timeline events 2014-06-18 16:45:25 -04:00
Yotam Mann
7ca876d24a jshint 2014-06-18 15:46:31 -04:00
Jason Sigal
24c8d2babe added documentation for Player.js and tests for Sources.js 2014-06-18 15:42:08 -04:00
Yotam Mann
6566a32531 jshint + jsdoc 2014-06-18 15:39:10 -04:00
Yotam Mann
13f6e3df8a added transport state
stopped/started/paused
2014-06-18 15:10:18 -04:00
Yotam Mann
a43e745464 transport events added correctly 2014-06-18 14:44:30 -04:00
Yotam Mann
4322ace9c6 updated time in feedback delay 2014-06-18 14:44:10 -04:00
Yotam Mann
13eca51a08 corrected API issue 2014-06-18 12:50:00 -04:00
Yotam Mann
5aba8dd6de component to record anything from it's input 2014-06-18 12:06:29 -04:00
Yotam Mann
7602ad162a doc update 2014-06-18 01:36:40 -04:00
Yotam Mann
78ee81a256 ramp a value starting from the current time and value 2014-06-18 01:36:22 -04:00
Yotam Mann
93d053aec5 removed ability to set new AudioContext
for now…
2014-06-18 01:35:56 -04:00
Yotam Mann
7d02476732 setBpm after start working 2014-06-18 01:35:34 -04:00
Yotam Mann
164252cf0c moved frequency timing to Transport
now all timing is in Tone.Transport
2014-06-17 18:46:24 -04:00
Yotam Mann
b66b3e73ef updated doc 2014-06-17 13:46:11 -04:00
Yotam Mann
3d6353e9f5 doc + lint 2014-06-17 13:01:06 -04:00