Commit graph

364 commits

Author SHA1 Message Date
Yotam Mann
1bde88a19b linting 2019-09-14 18:12:44 -04:00
Yotam Mann
61c9f191b6 removing calls to tslint
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
261a5f4c3b normalizing whitespace in comments 2019-09-14 16:39:18 -04:00
Yotam Mann
81d53ac6e6 remove old js files 2019-09-05 23:53:34 -04:00
Yotam Mann
c27a426daf converting distortion to typescript 2019-09-05 22:11:02 -04:00
Yotam Mann
736106de5f accidentally put extra tab before name 2019-09-04 19:18:44 -04:00
Yotam Mann
2289f3c67f renaming OscillatorNode file to ToneAudioNode 2019-09-04 18:40:28 -04:00
Yotam Mann
75a35108af name is a readonly string 2019-09-04 18:38:04 -04:00
Yotam Mann
3e2de8f259 fixing spacing
typedoc wants one space before the "@"
2019-08-30 09:06:38 -07:00
Yotam Mann
1dba46a822 removing converting files 2019-08-27 10:06:34 -07:00
Yotam Mann
1bf6fb0d51 updating docs 2019-08-27 09:00:59 -07:00
Yotam Mann
3fc30c4884 Merge branch 'dev' into typescript 2019-08-26 11:05:12 -07:00
Yotam Mann
f1a5c839b9 adding effects tests 2019-08-20 22:23:01 -07:00
Yotam Mann
1bfdf190d7 FrequencyShifter
whoops forgot to include the file in the last commit
2019-08-20 22:02:34 -07:00
Yotam Mann
77a745e09e FrequencyShifter Effect
thanks @Foaly
2019-08-20 21:57:45 -07:00
Yotam Mann
1439c988e8 Merge branch 'pr/521' into typescript 2019-08-19 19:02:07 -07:00
Maximilian Wagenbach
bb8296d890 Mention antialiasing of the FrequencyShifter in the documentation. 2019-08-19 17:18:27 -07:00
Yotam Mann
cf6a4a8e69 export reverb 2019-08-16 16:17:27 -04:00
Yotam Mann
86b2848378 total time = decay + predelay
summing instead of subtracting fixes potential range issues when preDelay is larger than decay

fixes #512
2019-08-07 11:48:11 -04:00
Yotam Mann
56db8b3a7a simplifying _internalChannels
channelCount/Mode/Interpretation check the input/output nodes, which removes the need for many classes to have _internalChannels
2019-08-03 12:00:14 -04:00
Yotam Mann
52bcac2599 setting name to readonly 2019-08-02 21:09:35 -04:00
Yotam Mann
0b6ae165e0 updating toDestination 2019-08-02 16:31:20 -04:00
Yotam Mann
b77f696412 converting Reverb to typescript 2019-08-02 16:29:09 -04:00
Yotam Mann
be4542b5b1 adding a name 2019-08-02 16:28:57 -04:00
Maximilian Wagenbach
b3392308aa Improved documentation of FrequencyShifter and PhaseShiftAllpass.
Removed unneeded code.
2019-08-01 11:48:06 +02:00
Maximilian Wagenbach
7193f721b8 Added FrequencyShifter, a single side band modulation based frequency shifter. 2019-07-31 14:01:51 +02:00
Yotam Mann
6e5e8b3399 using specific types
importing them so there are not multiple import type errors
2019-07-30 15:35:27 -04:00
Yotam Mann
e3f5940afd only relative imports 2019-07-25 13:32:34 -04:00
Yotam Mann
aaa0ba2b69 updating tests and thresholds 2019-07-25 13:17:21 -04:00
Yotam Mann
bfc3d7ed15 toMaster() -> toDestination()
more consistent with the Web Audio API
2019-07-25 11:32:56 -04:00
Yotam Mann
9a49c873df exporting modules from main entry 2019-07-25 11:29:36 -04:00
Yotam Mann
4a93121e40 doc'ing 2019-07-25 11:19:53 -04:00
Yotam Mann
68b557f441 additional FeedbackDelay tests 2019-07-25 11:17:11 -04:00
Yotam Mann
c5505cb4dc doc'ing 2019-07-25 10:46:34 -04:00
Yotam Mann
40727ee650 converting FeedbackDelay to ts 2019-07-25 10:46:28 -04:00
Yotam Mann
1874662060 converting Convolver to ts 2019-07-25 00:10:46 -04:00
tambien
34405caeb1 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2019-03-08 11:36:29 -05:00
Stephan Lagerwaard
2f9d21006c Removed linear ramp from the reverb pre-delay (#454)
fixes #450
2019-03-07 09:48:00 -05:00
tambien
0e94a0f046 correction in docs 2019-03-03 20:37:18 -05:00
Pirmin Schneider
a0be597564 update documentation examples of FeedbackDelay and PingPongDelay (#442)
rename DrumSynth->MembraneSynth
2019-02-08 09:29:10 -06:00
tambien
2ca9d89424 using Tone.connect/disconnect everywhere
no more overwritten connect/disconnect

closes #421
2019-02-02 13:20:53 -05:00
tambien
2780cac504 using Tone.connect for connections with native nodes
addresses #421
2019-01-28 11:02:15 -05:00
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
tambien
fd26f6a6b9 making field as private
[skip ci]
2019-01-09 00:02:27 -05:00
tambien
ec3362f89f can pass in a loaded buffer, and also can set the buffer twice
fixes #392
2018-10-21 21:27:35 -04:00
tambien
8758678f20 exposing "normalize" from native convolver 2018-09-10 12:17:51 -04:00
tambien
3d1202043a all modules are relative paths
simplifies deep references to individual files
2018-08-26 22:29:17 -04:00
Yotam Mann
5af549bb0e linting 2018-08-06 23:46:41 -04:00
tambien
70c5c0e289 fixing docs
[skip ci]
2018-06-05 16:56:14 -04:00
Yotam Mann
a5503e02d2 linting 2018-03-05 12:25:33 -05:00
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