Commit graph

374 commits

Author SHA1 Message Date
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
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
9e98e9078a stricter interface for components 2015-04-05 15:13:15 -04:00
Yotam Mann
bcb7dad795 panner uses GainToAudio 2015-04-05 12:13:19 -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
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
a61860c826 fixed panning bug 2015-03-09 22:52:08 -04:00
Luke Phillips
237202c049 updated typescript definitions and fixed a few type errors 2015-03-07 19:17:16 +00:00
Luke Phillips
f4fc005a57 new typescript definitions 2015-03-07 18:45:11 +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
Yotam Mann
edbcffc505 simplified components 2015-03-03 10:26:46 -05:00
Yotam Mann
e6718e4781 jsdoc'ing effects and components 2015-02-27 16:53:10 -05:00
Yotam Mann
4ca5d26848 updating docs 2015-02-26 11:47:44 -05:00
Yotam Mann
76973cda7d changed internal tag to private tag
JSDoc stuff
2015-02-25 16:19:43 -05:00
Yotam Mann
c5b2cdae3e low/mid/high uses Signals 2015-02-23 19:46:28 -05:00
Yotam Mann
4a3d443936 throws error when not valid filter type 2015-02-17 00:58:17 -05:00
Yotam Mann
c0f87b1202 volume control in decibels 2015-02-11 23:10:14 -05:00
Yotam Mann
89495c8635 fixing follower error 2015-02-11 23:09:20 -05:00
Yotam Mann
54bc36cb98 clean up. 2015-02-11 23:08:53 -05:00
Yotam Mann
cbcbdf11b1 fixing attack/release time values 2015-02-11 16:44:50 -05:00
Yotam Mann
baf00519fa crossfade is now equalPower 2015-02-11 15:28:33 -05:00
Yotam Mann
e74cfdf41e added amplitude to LFO 2015-02-11 14:37:48 -05:00
Yotam Mann
9be7113fff added setDelayTimeAtTime to allow for note timing
the note timing is used in Tone.PluckSynth
2015-02-10 12:04:57 -05:00
Yotam Mann
110afb7531 deprecated Tone.Recorder
using it just for testing
2015-02-10 12:02:48 -05:00
Yotam Mann
b1ba37d8d6 migrating components to ES5 getter/setter 2015-02-06 17:49:04 -05:00
Yotam Mann
0fa6b6cdaf components' methods return this 2015-02-02 12:49:13 -05:00
Yotam Mann
11ef065861 renamed DryWet to CrossFade 2015-02-02 12:48:04 -05:00
Yotam Mann
b6875955e4 add type getter/setter 2015-02-01 13:32:39 -05:00
Luke Phillips
1f52e24c95 MultibandEQ setters and getters 2015-01-22 13:24:10 +00:00
Luke Phillips
7dad7adfa7 getGain() for Filter class 2015-01-21 09:15:39 +00:00
Luke Phillips
ea5febc95a DryWet getDry and getWet 2015-01-21 09:07:14 +00:00
Luke Phillips
a99325b01a DryWet getter function description added 2015-01-20 21:08:26 +00:00
Luke Phillips
4c93abb315 DryWet getter functions added 2015-01-20 21:06:38 +00:00
Luke Phillips
c0ba518f30 MultibandEQ getter functions 2015-01-20 14:03:58 +00:00
Luke Phillips
4cdd3a30da Filter getter functions 2015-01-20 13:45:12 +00:00
Luke Phillips
a48c7a759d Envelope getter functions 2015-01-20 13:41:48 +00:00
Luke Phillips
bc7c76998b LFO getter functions 2015-01-20 12:31:28 +00:00
Yotam Mann
2e15f03490 Revert Tone.Volume representation 2015-01-05 23:33:05 -05:00
Yotam Mann
a60ec836db migrating to Tone.Volume representation 2015-01-05 22:46:19 -05:00
Yotam Mann
3a0845f009 sync/unsync the LFO 2014-12-19 16:40:06 -05:00
Yotam Mann
6ddf1b372f single 'setVolume' definition in Master 2014-12-19 16:27:50 -05:00
Luke Phillips
9b4e69eaed added MultibandEQ 2014-12-17 14:22:58 +00:00
Yotam Mann
63876cafe2 LFO, changing 'rate'->'frequency' 2014-12-08 11:02:47 -05:00
Yotam Mann
daf428b23b fixed velocity bug 2014-12-08 11:02:22 -05:00
Yotam Mann
ba90b842a1 Envelope no longer has an exponent 2014-12-06 16:48:57 -05:00
Yotam Mann
f7a14f2b37 all frequency values accept a note name as well 2014-12-06 16:48:36 -05:00
Yotam Mann
1b9cc1483b jsdoc'ing 2014-12-03 17:20:23 -05:00
Yotam Mann
902f1fa24d updating Envelope ADR types 2014-12-02 10:39:19 -05:00
Yotam Mann
2d0bcffc9f adding defaults to jsdocs 2014-12-02 01:42:08 -05:00
Yotam Mann
25496dea77 switched to updated chain method 2014-11-30 21:32:09 -05:00
Yotam Mann
152f0cdda5 using updated fan method 2014-11-30 21:20:12 -05:00
Yotam Mann
cf2cb263b2 chain -> connectSeries, fan -> connectParallel 2014-11-30 17:37:29 -05:00
Yotam Mann
310231dbd1 using Tone.WaveShaper instead of native node 2014-11-30 13:20:35 -05:00
Yotam Mann
ffd5ac875a LFO has a defaults object 2014-11-29 21:54:29 -05:00
Yotam Mann
574c75f7c6 Tone.Limiter is a compressor with limiter settings 2014-11-29 21:47:28 -05:00
Yotam Mann
5fdc2cfd38 updated to new Tone.Scale API 2014-11-29 21:36:32 -05:00
Yotam Mann
f1593c1a29 new class PanVol. combined Pan and Vol
useful for making stereo mixer-type things
2014-11-04 01:27:36 -05:00
Yotam Mann
adcf3a0c74 small object count optimization 2014-11-04 01:23:59 -05:00
Yotam Mann
f7a0590ec5 optimizing comb filters
also trying to get them to crash less often. (i think it worked)
2014-11-04 00:46:31 -05:00
Yotam Mann
4272e051ee created ScaledEnvelope as its own class
factors out the scaling from the amplitude env and normal envelope
2014-11-04 00:44:16 -05:00
Yotam Mann
043172df7c keeping reference to Float32Array
potentially causing crashes (trying to debug)
2014-11-03 19:22:17 -05:00
Yotam Mann
d0bcc2f931 max delay time on feedback comb filter 2014-11-03 11:34:02 -05:00
Yotam Mann
d3866bcf51 using new Envelope internals 2014-11-01 21:55:19 -04:00
Yotam Mann
a830f4b711 handles exponential scaling 2014-11-01 21:54:40 -04:00
Yotam Mann
264c56a343 small dry/wet optimization 2014-11-01 16:17:27 -04:00
Yotam Mann
7f4b873aa8 Follower uses subtract 2014-10-30 19:44:05 -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
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
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
d1d155f58d envelope stays tempo relative until triggered 2014-10-02 13:23:04 -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
018498b22a start out with the min delay time 2014-09-20 21:18:37 -04:00
Yotam Mann
f076dec1e1 fixed dispose method 2014-09-20 19:22:35 -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
ad703e51d1 eq in db now 2014-09-11 20:31:37 -04:00
Yotam Mann
cc95ee6caf instrument tests
fixed dispose methods bc of tests.
2014-09-09 15:30:36 -04:00
Yotam Mann
6637833ed4 added detune parameter 2014-09-09 12:36:14 -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
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
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
935fa9ea38 envelopes accept velocity on attack 2014-09-03 22:36:56 -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
d69c5b940e exponential decay and ability to setMin/Max 2014-09-02 00:26:17 -04:00
Yotam Mann
3fe7633604 can set phase on LFO 2014-09-01 12:52:32 -04:00
Yotam Mann
a713502784 fixed typo 2014-08-29 17:14:47 -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
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
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
595f81283e updated Tone.dispose to handle input/output arrays
#15
2014-08-24 15:51:24 -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
9121c5db59 3 band EQ
low/mid/high gain controls and control of crossover frequencies
2014-08-24 12:46:45 -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
58e6e4532c Tone.Envelope can take args as an Object
Fixes #12
2014-08-23 16:38:06 -04:00
Yotam Mann
3f40e26c14 fixed typo 2014-08-23 15:18:51 -04:00
Yotam Mann
adf8c9fbbb consistent spacing 2014-08-23 14:24:06 -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
9819c07390 updated description in dry wet 2014-08-20 20:46:10 -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
7c8c505b9d exposed smoothTime in constructor 2014-07-30 13:57:05 -04:00
Yotam Mann
d01cb52bf4 Volume Gate 2014-07-23 15:50:45 -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
d9aa476a3f some linting 2014-07-22 12:48:22 -04:00
Yotam Mann
18e79bba9e attack / release frequency shifting 2014-07-02 18:20:34 -04:00
Yotam Mann
b43bb9c10d started envelope follower (doesn't work yet) 2014-06-30 11:34:52 -04:00
Yotam Mann
0b4def6155 Tone.Sources can sync to the Transport 2014-06-25 12:47:47 -04:00
Yotam Mann
b13afa1d19 panControl->pan 2014-06-23 13:30:00 -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
c3ab9a7b0d renamed effects->effect. jsdocs on effects 2014-06-21 17:34:31 -04:00
Yotam Mann
542668a93e new connect. optimized component count 2014-06-21 15:55:15 -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
6cea4cffde initial value setting 2014-06-21 15:55:12 -04:00
Yotam Mann
1813f74fa5 dry wet with working example 2014-06-20 01:46:10 -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
c9713d46dd renamed tests/WebAudio to tests/Core
added tests to core
2014-06-20 00:57:56 -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
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
7d0463324f udpated panner API 2014-06-18 17:01:31 -04:00
Yotam Mann
5aba8dd6de component to record anything from it's input 2014-06-18 12:06:29 -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
Yotam Mann
773297dacc jsdoc and Tone.Time handling 2014-06-16 19:59:58 -04:00
Yotam Mann
d8ca578f12 meter needs at least one output on the jsnode
otherwise it doesn’t work at all
2014-06-16 19:18:09 -04:00
Yotam Mann
020ff3a747 Merge pull request #1 from yourfriendtk/master
jshint and jsdoc
2014-06-16 01:50:26 -04:00
Yotam Mann
982fd3b407 jsdoc + jshint. some name changes 2014-06-15 21:18:29 -04:00
T.K. Broderick
61fa477aa0 jshint and jsdoc 2014-06-15 19:35:00 -04:00
T.K. Broderick
9d70303ad5 jshint and jsdoc 2014-06-15 19:08:32 -04:00
Yotam Mann
916c87345d some linting. 2014-06-15 18:19:05 -04:00
Yotam Mann
a70917e7ce started Sync 2014-06-15 17:38:07 -04:00
Yotam Mann
d43e769594 Started JSHinting 2014-06-15 17:37:55 -04:00
Yotam Mann
84b0d6c6c9 Tone.Timing -> Tone.Time 2014-06-15 17:37:45 -04:00
Yotam Mann
481b728d18 added named buses. 2014-04-16 00:23:58 -04:00
Yotam Mann
e37052fdfa removed require & jquery dependency from examples 2014-04-15 20:05:11 -04:00
Yotam Mann
85e0201371 integrated Transport and musical timing for all methods that take times 2014-04-11 19:17:01 -04:00
Yotam Mann
cf86342a45 updated method names. fixed LFO 2014-04-06 20:12:40 -04:00
Yotam Mann
7fe5c47b8a major rename. sorry again. 2014-04-06 16:51:30 -04:00