Yotam Mann
|
b9170401b0
|
using unit conversion
|
2017-05-28 20:47:27 -04:00 |
|
Yotam Mann
|
06a3413824
|
removing start/stop/pause events from TickSignal
adding `getDurationOfTicks`
|
2017-05-28 16:55:25 -04:00 |
|
Yotam Mann
|
7afa2c578c
|
cancel->cancedScheduledValues
|
2017-05-28 14:14:22 -04:00 |
|
Yotam Mann
|
5a8550690f
|
start/stop/pause events to TickSignal
|
2017-05-28 14:02:15 -04:00 |
|
Yotam Mann
|
aa5b81f8d1
|
linting
|
2017-05-26 22:25:12 -04:00 |
|
Yotam Mann
|
323eb3000a
|
using inverse integral technique described in WAC paper
|
2017-05-26 22:16:09 -04:00 |
|
Yotam Mann
|
8727ca4383
|
linting
|
2017-05-26 17:39:45 -04:00 |
|
Yotam Mann
|
bed6181b70
|
no input node on TimelineSignal
that way nothing could be connected to it which would overwrite its
computed values
|
2017-05-26 17:17:32 -04:00 |
|
Yotam Mann
|
686a591219
|
linting
|
2017-05-26 16:55:03 -04:00 |
|
Yotam Mann
|
f86639fc8e
|
Tone.TickSignal calculates elapsed ticks
sums area under scheduling curve. approximates exponential and target
curves using multiple linear ramps
|
2017-05-26 16:45:30 -04:00 |
|
Yotam Mann
|
b927395825
|
making defaultArg static
|
2017-04-30 15:03:49 -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
|
a48a980861
|
moving signals to static defaults
invoking super constructor in prep for es6 classes
|
2017-04-25 23:45:37 -04:00 |
|
Yotam Mann
|
af58fd34de
|
updating to new getConstant API
|
2017-03-22 11:43:36 -04:00 |
|
Yotam Mann
|
662951cff9
|
uses constant from context
|
2017-02-19 23:56:04 -05:00 |
|
Yotam Mann
|
19a41080ba
|
moving constants to Context
|
2017-02-19 11:48:23 -05:00 |
|
Yotam Mann
|
998444c528
|
removing silent node connection
seems like gain of 0 is optimized out in most cases anyways
|
2017-01-30 22:35:27 -05:00 |
|
Yotam Mann
|
9c94b89eec
|
renaming addEvent->add, removeEvent->remove, getEvent->get
|
2016-12-18 21:56:22 -05:00 |
|
Yotam Mann
|
07ba833ded
|
making sure it has the time before passing it into Timeline classes
|
2016-09-20 19:35:07 -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
|
66c344de38
|
using Tone.Gain for Multiply
|
2016-09-19 21:44:41 -04:00 |
|
Yotam Mann
|
810ee8530e
|
uses the units value when ramping
previously there was an issue that it would start ramping from the
unconverted value.
|
2016-07-06 23:00:07 -04:00 |
|
Yotam Mann
|
4628f8c47a
|
prefixing errors with class name.
|
2016-05-25 20:50:46 -04:00 |
|
Yotam Mann
|
29df1b2293
|
setValueCurveAtTime now implemented with a series of linearRampToValue
this is more cross-platform and easier to work with.
|
2016-05-23 19:19:06 -04:00 |
|
Yotam Mann
|
8e3d3264dd
|
setting a value will cancel scheduled values
so that it gets set immediately.
|
2016-05-14 19:18:33 -04:00 |
|
Yotam Mann
|
733b49bcd5
|
using new types
|
2016-04-18 00:36:08 -04:00 |
|
Yotam Mann
|
d47cc0fa9d
|
fixed precedence bug
|
2016-04-13 12:29:02 -04:00 |
|
Yotam Mann
|
52186f6d31
|
noting polyfill
[skip ci]
|
2016-03-20 18:58:08 -04:00 |
|
Yotam Mann
|
e18ed2e677
|
polyfill for browsers that don't support interpolate value curves
Required by [the
spec](http://webaudio.github.io/web-audio-api/#widl-AudioParam-setValueC
urveAtTime-AudioParam-Float32Array-values-double-startTime-double-durati
on), but not currently implemented by Safari and FF.
|
2016-03-20 18:36:59 -04:00 |
|
Yotam Mann
|
40d739fc4d
|
More waveshaper points
works better on Safari
|
2016-03-16 13:09:46 -04:00 |
|
Yotam Mann
|
04614a2948
|
added setCurveAtTime to Timeline
|
2016-03-05 10:44:03 -05:00 |
|
Yotam Mann
|
18b2136148
|
.value returns the scheduled value at time=now
|
2016-03-03 13:04:02 -05:00 |
|
Yotam Mann
|
93d70a3a9e
|
waveshaper goes between -1 and 1 inclusive
|
2016-02-27 17:08:53 -05:00 |
|
Yotam Mann
|
23c70cbc93
|
disposing fully
|
2016-02-27 11:22:26 -05:00 |
|
Yotam Mann
|
0441bc5008
|
pruning away unused signal classes
|
2016-02-27 11:18:59 -05:00 |
|
Yotam Mann
|
c4f85780f2
|
using sampleTime variable
|
2016-02-27 11:16:51 -05:00 |
|
Yotam Mann
|
a427070904
|
Outputs 0 at audio-rate
This is to get around an optimization in most browsers which stops
processing when the gain is equal 0 in the Signal.
|
2016-02-27 11:16:25 -05:00 |
|
Yotam Mann
|
ecd15808c2
|
simplified Abs
now only accepts signals in the range [-1,1]
|
2016-02-06 15:06:03 -05:00 |
|
Yotam Mann
|
c72a5f25c9
|
makes sure that exponential ramping is never from or to 0
when trying to ramp from 0, it does a setValueAtTime to a near zero
value, then ramps exponentially. And the reverse when ramping to 0.
|
2016-01-31 23:33:36 -05:00 |
|
Yotam Mann
|
3bbd66c5d2
|
constrain TimelineSignal's memory
|
2015-12-07 00:19:38 -05:00 |
|
Yotam Mann
|
ae669e7fa6
|
making sure the ramp time constant is above 0
|
2015-12-06 13:14:36 -05:00 |
|
Yotam Mann
|
1b10f4e47b
|
reverting. getValueAtTime should return unconverted units
Making a note of this in the docs
|
2015-11-26 01:24:34 -05:00 |
|
Yotam Mann
|
093d2e3a36
|
getValueAtTime returns converted values
|
2015-11-23 23:49:54 -05:00 |
|
Yotam Mann
|
2c215ce703
|
setting ramp point cancels next values so they don't interfere with the next ramp
|
2015-11-16 11:11:01 -05:00 |
|
Yotam Mann
|
858c815640
|
docing
|
2015-11-02 20:09:19 -05:00 |
|
Yotam Mann
|
2d6d733008
|
signal uses regular gain node
|
2015-11-01 17:49:14 -05:00 |
|
Yotam Mann
|
4bb7f2928a
|
inherit connect SignalBase
|
2015-10-21 12:12:17 -04:00 |
|
Yotam Mann
|
7fc477b746
|
removing circular dependency
|
2015-10-21 12:11:41 -04:00 |
|