Commit graph

57 commits

Author SHA1 Message Date
Yotam Mann
2626b19469 setValueAtTime makes the attack less prone to clicks
not sure why.
2015-12-06 21:39:59 -05:00
Yotam Mann
1cf6910796 Using exponentialRamp for decay and release
This normalizes things across browsers because it seems that FF
setTargetAtTime always starts from 0

addresses #91
2015-12-06 13:14:36 -05:00
Yotam Mann
0c3cd6a305 Set a ramp point before the release curve 2015-11-11 23:41:17 -05:00
Yotam Mann
eccdb659c2 renamed Tone/core/Types -> Tone/core/Type 2015-09-04 16:48:21 -04:00
Yotam Mann
80abf87292 reflecting rename 2015-08-18 16:29:39 -04:00
Yotam Mann
66a9991ede Envelope uses new SchedulableSignal 2015-08-16 15:17:35 -04:00
Yotam Mann
24f1ddf4b9 Offset 'now' one block (128 samples) when triggering attack/release
Fixes #79
2015-07-21 10:31:37 -04:00
Yotam Mann
7eead0913b ramp to a smaller value
addresses #79
2015-07-20 10:47:52 -04:00
Yotam Mann
01060f13db removing old API test 2015-07-18 14:59:18 -04:00
Yotam Mann
3ccc0683bf changing doc links to markdown style 2015-07-04 15:25:37 -04:00
Yotam Mann
00e0ba7273 read envelope value 2015-07-04 13:36:38 -04:00
Yotam Mann
64212d90f3 doc'ing components
merging seth's doc changes
2015-07-04 12:32:18 -04:00
Seth Kranzler
d599761f2e more doc'ing 2015-07-02 15:45:40 -04:00
Yotam Mann
5ea8eaa35d doc'ing components 2015-06-20 19:25:49 -04:00
Yotam Mann
b2fa7a065e jsdocing 2015-06-13 23:56:32 -04:00
Yotam Mann
23cc2408b2 changing link tag 2015-06-13 21:54:20 -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
b3f7babcca respelling the enum types 2015-05-24 09:53:53 -04:00
Yotam Mann
6ef3dd2f51 renamed Tone.Time -> Tone.Type.Time 2015-05-23 19:01:05 -04:00
Yotam Mann
bbdeffb7f7 attackType -> attackCurve 2015-04-20 10:42:27 -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
e6718e4781 jsdoc'ing effects and components 2015-02-27 16:53:10 -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
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
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
cf2cb263b2 chain -> connectSeries, fan -> connectParallel 2014-11-30 17:37:29 -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
a830f4b711 handles exponential scaling 2014-11-01 21:54:40 -04:00
Yotam Mann
d1d155f58d envelope stays tempo relative until triggered 2014-10-02 13:23:04 -04:00
Yotam Mann
efd2def64b triggerAttackRelease on Envelope 2014-09-20 15:18:36 -04:00
Yotam Mann
d71f1cb5b7 jsdocs updates. 2014-09-05 11:32:35 -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
8b316762eb _defaults -> defaults
made it not private
2014-08-25 10:23:37 -04:00
Yotam Mann
43206cbf29 ability to take options object AND parameters 2014-08-24 19:28:42 -04:00
Yotam Mann
a63c4f42b6 added setters and constructor API 2014-08-24 12:12:40 -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
2bac71da75 styling comments. more cleanup in dispose method 2014-08-20 16:50:07 -04:00
Yotam Mann
d9aa476a3f some linting 2014-07-22 12:48:22 -04:00
Yotam Mann
b79327d19b jsdoc'ing and default values 2014-06-21 15:55:13 -04:00
Yotam Mann
e4496dac8c docing 2014-06-20 01:23:35 -04:00