Commit graph

364 commits

Author SHA1 Message Date
Yotam Mann
cd31c5b3e9 pass maxDelay in the options object
addresses #280
2018-02-15 11:42:59 -05:00
Yotam Mann
ea41ebb599 simple convolution-based reverb 2018-01-03 12:04:27 -05:00
Yotam Mann
dded291a25 linting 2018-01-02 10:37:27 -05:00
Yotam Mann
6b19803d5f syncing tremolo frequency to Transport 2017-12-29 13:48:01 -05:00
Yotam Mann
b929b26ca4 can pass in an unloaded Tone.Buffer into Convolver constructor
fixes #277
2017-12-15 23:36:39 -05:00
Yotam Mann
4316530b16 linting 2017-10-26 16:03:00 -04:00
Yotam Mann
f446185eb7 removing Expr from StereoWidener 2017-10-26 13:51:51 -04:00
Yotam Mann
72200b530f effect is no longer a feedback effect.
fixes #226
2017-10-25 23:30:07 -04:00
Yotam Mann
a82ab45132 linting 2017-10-25 17:57:52 -04:00
Yotam Mann
cb2a982c39 linting 2017-10-21 19:02:46 -04:00
Yotam Mann
1d18b1c53b removing Tone.Expr from classes 2017-10-21 18:29:50 -04:00
Yotam Mann
e6faa39dba classes which generate or process sound extend Tone.AudioNode 2017-08-27 17:50:31 -04:00
Yotam Mann
b849b68132 updating extends jsdoc to reflect inheritance 2017-08-27 16:30:26 -04:00
Alan Russell
bd0b36b9ab Point links to Synth Secrets on archive.org (#254)
* point Cymbal Synthesis link to archive.org

* point to Synth Secrets Amplitude Modulation article on archive.org

* point to pair of Synth Secrets FM articles on archive.org

* point to Synth Secrets Reverb article on archive.org

* Revert "point Cymbal Synthesis link to archive.org"

This reverts commit f621d8ecec.

* point to Synth Secrets Cymbal Synthesis article on archive.org
2017-08-15 01:02:00 -04:00
Yotam Mann
7159700f11 making connectSeries static 2017-05-01 14:06:36 -04:00
Yotam Mann
4bda177b83 gainToDb, dbToGain, intervalToFrequencyRatio now static functions 2017-04-26 23:21:26 -04:00
Yotam Mann
edfa168713 moving to static type queries
i.e. this.isString -> Tone.isString
2017-04-26 00:24:19 -04:00
Yotam Mann
c544255953 using defaults in last remaining classes 2017-04-26 00:07:10 -04:00
Yotam Mann
4019b49c12 effects moved to new defaults API 2017-04-25 23:18:08 -04:00
Yotam Mann
8e5d5e9872 fixing typo in comments
[skip ci]
2017-02-28 17:43:04 -05:00
Yotam Mann
d386ffed97 Convolver.load returns a Promise 2016-11-22 10:31:06 -08:00
Yotam Mann
8a88acd735 linting 2016-11-06 20:13:18 -05:00
Yotam Mann
c0cb8945a6 AutoPanner LFO goes between -1 and 1
Fixes #165
2016-09-20 19:39:12 -04:00
Yotam Mann
372053a029 using Tone.Delay everywhere instead of DelayNode 2016-09-20 00:01:27 -04:00
Yotam Mann
a60328345e using Tone.Gain everywhere instead of GainNode 2016-09-19 23:53:07 -04:00
Yotam Mann
76ad44360d updating to new API 2016-09-19 23:02:42 -04:00
Yotam Mann
d8d69ae662 changing old docs which used Buffer.onload
[skip ci]
2016-09-18 20:05:01 -04:00
Yotam Mann
75d6126615 Convolved takes callback as second parameter
also accepts no arguments now
2016-08-09 14:24:59 -04:00
Yotam Mann
7984819753 update the octaves when changing the baseFrequency
this way the `lfo.max` also gets updated
2016-08-08 16:20:30 -04:00
Yotam Mann
49fc9d7bb6 renamed SimpleSynth to Tone.Synth 2016-05-23 19:49:41 -04:00
Yotam Mann
cfc33cf39c doc'ing 2015-12-08 00:07:16 -05:00
Yotam Mann
7fd1ad026e removing effect presets
Presets have been moved to their own repo
2015-12-07 19:14:12 -05:00
Yotam Mann
eda4553169 using baseFrequency and octaves for AutoFilter 2015-12-07 11:46:34 -05:00
Yotam Mann
d29995a42a phaser uses octaves instead of depth.
more consistent with rest of API.
2015-12-07 01:04:09 -05:00
Yotam Mann
298799dee9 added 'spread' to Chorus 2015-12-06 20:53:36 -05:00
Yotam Mann
1d7385d819 spread is initialized with the constructor. 2015-12-06 17:37:37 -05:00
Luke Phillips
1cbe390d8d Give tremolo a stereo spread option 2015-12-06 13:29:08 +13:00
Yotam Mann
ac693eac4b doc'ing 2015-11-17 23:21:55 -05:00
Yotam Mann
c8cfe33864 doc'ing 2015-11-17 22:52:22 -05:00
Yotam Mann
825e3cd757 updating to new Delay API 2015-11-02 09:39:31 -05:00
Yotam Mann
31a9f8b426 Tremolo is now a StereoEffect 2015-11-01 17:52:02 -05:00
Yotam Mann
61fb1df660 adding strict mode 2015-10-21 12:11:19 -04:00
Yotam Mann
2b670482c6 added feedback delay 2015-10-21 10:55:31 -04:00
Yotam Mann
a3a7175f41 pass Frequency to AutoFilter's min/max 2015-10-20 17:31:10 -04:00
Yotam Mann
94e4c882fd Milliseconds type 2015-08-31 15:47:25 -04:00
Yotam Mann
c72bcb250a auto panner starts at the middle of the cycle 2015-08-27 22:56:35 -04:00
Yotam Mann
908ee2606f Vibrato Effect
LFO attached to a Delay
2015-08-26 10:28:53 -04:00
Yotam Mann
5b4f93db48 updating docs 2015-08-26 10:00:32 -04:00
Yotam Mann
9438b84f34 pass arguments to the base class 2015-08-26 10:00:24 -04:00
Yotam Mann
302c40c30d corrected pass through.
LFO refactor
2015-08-26 10:00:15 -04:00
Yotam Mann
cd8712c65f passes arguments to base class 2015-08-26 09:59:37 -04:00
Yotam Mann
29d3a1166a uses defaults 2015-08-26 09:59:11 -04:00
Yotam Mann
1d8726c614 Tone.PitchShift
real time pitch shifting using sawtooth waves connected to DelayNodes.
Addresses #56. Ask and you shall receive.
2015-07-21 11:21:48 -04:00
Yotam Mann
3ccc0683bf changing doc links to markdown style 2015-07-04 15:25:37 -04:00
Yotam Mann
6757aef9e3 added Q value to phaser 2015-07-04 13:48:18 -04:00
Yotam Mann
6e15da9223 doc'ing effects
mergine @polyrhythmatic changes
2015-07-04 12:40:33 -04:00
Yotam Mann
42d3ee84b9 remove dry signal feedback
this caused it to fail after the feedback gain was above 0.5.

Fixes #70
2015-06-28 21:07:27 -04:00
Yotam Mann
690ddd69fc updated units 2015-06-27 17:25:19 -04:00
Yotam Mann
8ffd6e538f fixed doc bugs 2015-06-22 01:21:25 -04:00
Yotam Mann
07b4516974 doc'ing effects 2015-06-22 01:20:57 -04:00
Yotam Mann
80a28f8554 using noOp function for defaults 2015-06-14 01:54:36 -04:00
Yotam Mann
dff77a9944 doc'ing effects 2015-06-14 00:54:17 -04:00
Yotam Mann
b2fa7a065e jsdocing 2015-06-13 23:56:32 -04:00
Yotam Mann
20ad29dc61 removing types from array notation 2015-06-13 20:56:41 -04:00
Yotam Mann
a81ba071f3 changing the styling of this in return statements 2015-06-13 20:54:29 -04:00
Yotam Mann
571183bf27 removing Tone.Type prefix in docs 2015-06-13 20:20:36 -04:00
Yotam Mann
f2f838b630 using signal jsdoc 2015-06-13 19:50:39 -04:00
Yotam Mann
807db1640c made filter public 2015-06-07 12:58:21 -04:00
Yotam Mann
9505bf77b6 setting parameters of LFO 2015-06-07 12:12:03 -04:00
Yotam Mann
68a47a9d58 Normal->NormalRange & Number->Default 2015-05-24 09:45:15 -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
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
3ae799fc6e onload callback 2015-04-24 17:45:12 -04:00
Yotam Mann
ef5ef5fed9 dampening in hertz rather than normalized 2015-04-24 17:44:42 -04:00
Yotam Mann
e069787697 Keeping the lfo min above 0
addresses #59
2015-04-24 13:46:12 -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
b3bd168b1f defined MidSideEffect in terms of MidSideSplit/Merge 2015-04-20 15:41:42 -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
940f92b5a0 convolver buffer not being set correctly
Fixes #54
2015-03-10 14:08:16 -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
d2755e10de Merge Tone r4 2015-03-05 16:06:27 +00:00
Yotam Mann
b796d3ef1e more presets 2015-03-03 11:19:53 -05:00
Yotam Mann
41e55e138c clean up 2015-03-03 10:30:42 -05:00
Yotam Mann
a03541c41a fixed problem with sensitivity 2015-03-03 10:27:34 -05:00
Yotam Mann
649c2df574 delay works with stereo signals too 2015-03-01 19:49:01 -05:00
Yotam Mann
e6718e4781 jsdoc'ing effects and components 2015-02-27 16:53:10 -05:00
Yotam Mann
0c4a67296a simplified modulo by constraining input range
only handles inputs between -1 and 1
2015-02-27 13:00:20 -05:00
Yotam Mann
76973cda7d changed internal tag to private tag
JSDoc stuff
2015-02-25 16:19:43 -05:00
Yotam Mann
62cd815563 made dryWet private in effects
still expose wet control
2015-02-25 00:57:00 -05:00
Yotam Mann
c7cf0d0823 setting a preset moved to core 2015-02-23 00:32:33 -05:00
Yotam Mann
4a93f5e53d convolver buffer setter 2015-02-23 00:28:07 -05:00
Yotam Mann
b224499df3 fixed bug in pingpongdelay 2015-02-13 16:10:45 -05:00
Yotam Mann
54bc36cb98 clean up. 2015-02-11 23:08:53 -05:00
Yotam Mann
e74cfdf41e added amplitude to LFO 2015-02-11 14:37:48 -05:00
Yotam Mann
5cf420838e updated to new API 2015-02-10 16:44:27 -05:00
Yotam Mann
532edf7bfb ES5 getter/setter on effects 2015-02-10 11:40:27 -05:00
Yotam Mann
754a9b77ca effects' methods return this 2015-02-02 13:22:16 -05:00
Yotam Mann
11ef065861 renamed DryWet to CrossFade 2015-02-02 12:48:04 -05:00
Luke Phillips
4c93abb315 DryWet getter functions added 2015-01-20 21:06:38 +00:00
Luke Phillips
16ee304d48 Chebyshev getter functions 2015-01-20 13:55:28 +00:00
Luke Phillips
96dab0cdcc StereoWidener getter functions 2015-01-20 13:38:08 +00:00
Luke Phillips
b22804a06f StereoWidener getter functions 2015-01-20 13:36:57 +00:00
Luke Phillips
3ec811b2b7 PingPongDelay getter functions 2015-01-20 13:35:11 +00:00
Luke Phillips
c5695f3efd Phaser getter functions 2015-01-20 13:33:50 +00:00
Luke Phillips
7faee048c8 JCReverb getter functions 2015-01-20 13:30:36 +00:00
Luke Phillips
55a7c628a6 Freeverb getter functions 2015-01-20 13:29:37 +00:00
Luke Phillips
67dbaf203b FeedbackEffect getter functions 2015-01-20 13:17:33 +00:00
Luke Phillips
49a2a6a37e FeedbackDelay getter functions 2015-01-20 13:15:56 +00:00
Luke Phillips
a5d6ae61dc Distortion getter functions 2015-01-20 13:11:43 +00:00
Luke Phillips
0717c194ae BitCrusher getter functions 2015-01-20 13:05:27 +00:00
Luke Phillips
782d7731cf AutoPanner getter functions 2015-01-20 13:00:23 +00:00
Luke Phillips
c670988f6b AutoWah getter functions 2015-01-20 12:42:31 +00:00
Luke Phillips
1371f2522a Chorus getter functions 2015-01-20 12:30:31 +00:00
Luke Phillips
e651a6a62e set functions for bitcrusher 2015-01-18 16:09:31 +00:00
Luke Phillips
dca25ae204 fixed sensitivity error 2015-01-14 14:06:54 +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
22d29c42e3 removing onload callbacks
fits better into the Tone.Buffer.onload scheme
2015-01-05 21:49:21 -05:00
Yotam Mann
080b8f5854 updated Player and Convolver with new Buffer 2015-01-04 21:46:10 -05:00
Yotam Mann
3316ea381f StereoEffect deps clean up 2014-12-19 12:21:02 -05:00
Yotam Mann
62dbec1937 Distortion setter 2014-12-19 12:20:47 -05:00
Yotam Mann
e1ce5f54a9 default args 2014-12-08 11:02:55 -05:00
Yotam Mann
809dc99091 no feedback in phaser 2014-12-03 22:24:36 -05:00
Yotam Mann
c2d320ce8d renamed MidSide -> MidSideEffect 2014-12-03 22:11:23 -05:00
Yotam Mann
da014bf954 better presets 2014-12-03 21:37:58 -05:00
Yotam Mann
1b9cc1483b jsdoc'ing 2014-12-03 17:20:23 -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
efe69616bd changing presets 2014-11-30 21:20:22 -05:00
Yotam Mann
152f0cdda5 using updated fan method 2014-11-30 21:20:12 -05:00
Yotam Mann
7fcddeb000 removed feedback from phaser 2014-11-30 21:18:58 -05:00
Yotam Mann
cf2cb263b2 chain -> connectSeries, fan -> connectParallel 2014-11-30 17:37:29 -05:00
Yotam Mann
d1839dc1b6 output is 0 when input is 0 2014-11-30 17:36:56 -05:00
Yotam Mann
cd4121ef41 removed feedback divisor
Fixes #42
2014-11-30 17:17:50 -05:00
Yotam Mann
a25c106565 removing unnecessary comments 2014-11-30 14:53:32 -05:00
Yotam Mann
310231dbd1 using Tone.WaveShaper instead of native node 2014-11-30 13:20:35 -05:00
Yotam Mann
5fdc2cfd38 updated to new Tone.Scale API 2014-11-29 21:36:32 -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
58338bef23 removing Mono from stereo effect
(will need to run single channel signals through a panner or mono node
if connecting to stereo effect)
2014-11-03 11:45:33 -05:00
Yotam Mann
d0bcc2f931 max delay time on feedback comb filter 2014-11-03 11:34:02 -05:00
Yotam Mann
bf20552449 using new string replacement syntax 2014-11-01 21:54:53 -04:00
Yotam Mann
7a8c8d168b Merge branch 'expr' into dev
Conflicts:
	.gitignore
	CHANGELOG.md
	Tone/signal/Modulo.js
	test/tests/Effect.js
2014-11-01 18:34:22 -04:00
Yotam Mann
680b2cd8ee MidSide and StereoWidener 2014-11-01 18:17:03 -04:00
Yotam Mann
866bb5cd65 simplified BitCrusher further 2014-11-01 16:16:14 -04:00
Yotam Mann
2a65eb3ce7 rewrote floor in BitCrusher with Expr 2014-10-30 18:06:13 -04:00
Yotam Mann
e1d27c5525 Convolver style and formatting 2014-10-23 11:42:41 -04:00
Yotam Mann
477eef29c7 making distortion curve length smaller
trying to fix occasional crashes in chrome.
2014-10-23 11:42:07 -04:00
Yotam Mann
f36b185517 rearranging dispose methods for readability 2014-10-23 11:41:38 -04:00
Yotam Mann
3b10b93eca Merge pull request #39 from indefinit/unicode-fix
Unicode fix
2014-10-22 21:55:21 -04:00
Kevin Siwoff
1422a544f9 adds Convolver class, IR, and convolver example 2014-10-22 17:58:03 -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
4ccc0e08e7 ability to set rolloff of autowah 2014-10-13 17:16:10 -04:00
Yotam Mann
b310136dee JCReverb: constructor takes room size as parameter 2014-10-03 11:34:47 -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
e0228e38d8 jsdoc tweaks 2014-09-23 22:07:16 -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
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
007c1f0bbd gain reduction to compensate for the signal split
otherwise the volume is doubled
2014-09-20 21:18:20 -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
8f54007335 modulo starts at the maximum bits 2014-09-11 13:39:06 -04:00
Yotam Mann
576383d34b more extreme phasing. 2014-09-10 22:17:16 -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
bf0b738ca2 bits in integers 2014-09-06 18:09:15 -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
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
2c414097a8 fixed jsdoc tag 2014-09-04 14:04:58 -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
d381d9e210 PingPongDelay uses new StereoXFeedbackEffect 2014-09-01 13:09:33 -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
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
7890e74ac0 moved Merge and Split to components 2014-08-24 15:46:55 -04:00
Yotam Mann
f12fb5caa2 made lfo private 2014-08-23 17:04:01 -04:00
Yotam Mann
8f0d49db29 fixed dispose method 2014-08-23 16:08:08 -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
5d7807bede description of _merger 2014-08-23 14:25:20 -04:00