Commit graph

4838 commits

Author SHA1 Message Date
Yotam Mann
fbf4345de4 removing debugging code 2019-12-18 18:03:11 -05:00
Yotam Mann
d22747cc69 Adding more range guards 2019-12-17 12:42:40 -05:00
Yotam Mann
32fa0f3eba values can be nested arrays of the generic type 2019-12-17 11:58:45 -05:00
Yotam Mann
ef52e20a1b updating comment 2019-12-17 11:57:02 -05:00
Yotam Mann
25eb6fce40 removing unused vars 2019-12-17 11:56:56 -05:00
Yotam Mann
abcb3bec5c removing out of range value 2019-12-17 11:38:43 -05:00
Yotam Mann
48284d78fb adding decorators which validate the input value range 2019-12-16 17:13:03 -05:00
Yotam Mann
2b0c2a64f1 values out of range throw an error
used to fail silently
2019-12-16 17:12:19 -05:00
Yotam Mann
fc84ec281b adding clamp function 2019-12-16 16:50:07 -05:00
Yotam Mann
51d06bd987 feat: Removing Ctrl classes
breaking changes: Removing CtrlInterpolate, CtrlRandom, CtrlMarkov.
2019-12-16 16:42:40 -05:00
Yotam Mann
389ccf8722 using assert instead of this.assert
removing this.assert from Tone.js classes
2019-12-16 15:58:31 -05:00
Yotam Mann
1255bc6766 feat: Meter can do multichannel analysis
pass in `channels` > 1 into constructor
2019-12-15 16:43:41 -05:00
Yotam Mann
d9a7520eb6 feat: Analyser can handle multiple channels
Can pass in `channels` into constructor which runs a separate analysis on each channel and returns the results as a Float32Array[].
2019-12-15 16:42:50 -05:00
Yotam Mann
6d0e17d3d2 adding the category 2019-12-15 16:02:29 -05:00
Yotam Mann
93fdb9c0f2 documenting output type 2019-12-15 16:02:19 -05:00
Yotam Mann
2625a134b6 feat: meter output can be normalRange in addition to decibels 2019-12-15 16:01:19 -05:00
Yotam Mann
ed93e677a9 setting minValue for harmonicity 2019-12-15 02:19:25 -05:00
Yotam Mann
caf58ffe0b throws error when set outside of range 2019-12-15 02:19:12 -05:00
Yotam Mann
f3022bbb35 not necessary to set frequency in constructor 2019-12-15 02:18:13 -05:00
Yotam Mann
192b749b85 Gain can also have min/max range 2019-12-14 17:27:54 -05:00
Yotam Mann
72d7f37509 removing unused variable 2019-12-14 17:07:13 -05:00
Yotam Mann
a2d5c3d634 adding the intial state at time 0 2019-12-14 16:11:56 -05:00
Yotam Mann
ef0aaec8ee Refactor source
adding `_restart` is an internal protected abstract method for all sources.
2019-12-14 16:09:24 -05:00
Yotam Mann
e709203656 Reverb decay should be at least 1ms 2019-12-14 12:34:44 -05:00
Yotam Mann
276af87a6d decay needs to be at least 1 sample long 2019-12-14 12:33:49 -05:00
Yotam Mann
120d2f6f69 security patch 2019-12-14 11:54:42 -05:00
Yotam Mann
5eb1dffeb1 Merge branch 'typescript' of https://github.com/Tonejs/Tone.js into typescript 2019-12-14 11:53:13 -05:00
Yotam Mann
267f1befc0 Simplifying Freeverb dispose 2019-12-14 11:53:12 -05:00
Yotam Mann
15381c4356 schedule bpm changes starting at time 0
using 'now' can lead to issues if the lookAhead changes

fixes #587
2019-12-13 23:10:46 -05:00
Yotam Mann
dedfe18ac2 open returns this
closes #589
2019-12-13 11:25:28 -05:00
Yotam Mann
f20fdce3a6 making paths relative 2019-12-11 10:35:01 -05:00
Yotam Mann
8eed7bd6ce adding range guards to reverb 2019-12-11 10:13:52 -05:00
Yotam Mann
fce95bea6e feat: clamp the values to the defined min/maxValue 2019-12-11 10:11:40 -05:00
Yotam Mann
61cfd3ab8c make sure that maxDelay is readonly 2019-12-10 23:34:12 -05:00
Yotam Mann
cf8965f921 fixing case where buffer is not set
previously would prefix "/"
2019-12-09 17:43:58 -05:00
Yotam Mann
409fb929af skipping isSilent test 2019-12-06 18:00:26 -05:00
Yotam Mann
d4f47b7cd8 removing unused vars 2019-12-06 17:29:06 -05:00
Yotam Mann
2295ce674e whoops: made it so it only funs one test 2019-12-06 17:23:02 -05:00
Yotam Mann
9f51cb5293 exporting BaseContext 2019-12-06 17:13:22 -05:00
Yotam Mann
c66f2d5e89 feat: ramps must be at least 1 sample long
otherwise just uses a setValueAtTime
2019-12-06 16:38:35 -05:00
Yotam Mann
8a508f2405 feat: Reverb generate is automatically called when decay or preDelay values are changed
`ready` promise resoves when reverb values have been updated.
2019-12-06 16:37:40 -05:00
Yotam Mann
8540c44459 needs to set detune outside of signal being overridden 2019-12-06 14:10:33 -05:00
Yotam Mann
660915680a feat: when the signal is overridden it should not schedule any change in values
fixes #585
2019-12-06 12:55:30 -05:00
Yotam Mann
e955846bb2 moving docs from #584 to typescript 2019-12-04 10:52:40 -05:00
Yotam Mann
71c8b3bbb9 feat: removing bower
Anyone still need bower.json?

addresses #197
2019-12-04 10:34:46 -05:00
Yotam Mann
1a3eaaa595 Merge branch 'dev' into typescript 2019-12-04 10:33:30 -05:00
Yotam Mann
cb888769cc
Merge pull request #584 from neauoire/patch-2
Removed incomplete sentence
2019-12-03 18:44:22 -05:00
Лu Лinveгa
5b9b05b0de
Fixed additional mistake in docs 2019-11-28 22:08:07 -05:00
Лu Лinveгa
d0a7bdb79d
Removed incomplete sentence
A possible artefact from a previous change in documentation perhaps?
2019-11-28 22:06:39 -05:00
Yotam Mann
71c9c5f19e throws error if examples don't compile 2019-11-22 15:48:22 -05:00