Commit graph

283 commits

Author SHA1 Message Date
Yotam Mann
8c1bf599d0 reverting : gain no longer extends Tone.Param 2015-11-01 17:48:52 -05:00
Yotam Mann
b90db92749 parses quantized values with toSeconds 2015-10-27 21:08:02 -04:00
Yotam Mann
026501144d better accuracy by using the clock's next tick time. 2015-10-27 20:58:06 -04:00
Yotam Mann
681c38182d can quantize to a subdivision 2015-10-27 17:46:34 -04:00
Yotam Mann
bfa4f1ada2 renaming EventEmitter to just Emitter 2015-10-27 17:40:52 -04:00
Yotam Mann
1a8ccff5a0 removing shallowCopy from optionsObject
addresses #99
2015-10-21 15:27:52 -04:00
Yotam Mann
9cbcd5b94e handles case where first argument is a Tone.Buffer
addresses #99
2015-10-21 13:51:53 -04:00
Yotam Mann
61fc3b298d isObject checks only for Object literals 2015-10-21 13:51:23 -04:00
Yotam Mann
4a2bd215e7 using new type checking methods 2015-10-21 13:13:15 -04:00
Yotam Mann
0ba977456d removing shallowCopy
adding more type check methods
2015-10-21 13:12:51 -04:00
Yotam Mann
61fb1df660 adding strict mode 2015-10-21 12:11:19 -04:00
Yotam Mann
1c00c650db updating to new Volume API 2015-10-21 10:33:13 -04:00
Yotam Mann
dd3667a234 no need for getType 2015-10-21 10:29:47 -04:00
Yotam Mann
1c7e9483e9 updating syncing for Params 2015-10-21 10:29:29 -04:00
Yotam Mann
796da24d9e connect method accommodates Tone.Param
also better way of testing for object literals instead of `typeof` in
`optionsObject`
2015-10-21 10:29:04 -04:00
Yotam Mann
11b4995b25 moving overridden flag to Param 2015-10-21 10:27:44 -04:00
Yotam Mann
c2311b0794 Delay extends Param 2015-10-21 10:04:55 -04:00
Yotam Mann
532a8e6745 Gain class wraps native GainNode 2015-10-21 10:02:23 -04:00
Yotam Mann
386acdbb03 Param base class wraps native AudioParam 2015-10-21 10:01:40 -04:00
Yotam Mann
36d09dacc7 additional type-checking helpers 2015-10-11 16:04:14 -04:00
Yotam Mann
3fe5ef2b6c after-inclusive search 2015-10-11 16:03:20 -04:00
Yotam Mann
bd7168825e normalized loop progress
Fixes #75
2015-10-09 19:09:02 -04:00
Yotam Mann
db904f0510 updating parameter order in docs 2015-10-09 11:01:03 -04:00
Yotam Mann
8efd9b9c64 allowing for shallow copies with defaults 2015-10-08 11:36:15 -04:00
Yotam Mann
4b29736ba2 don't do recurse defaultArg if it's an array 2015-09-05 19:17:00 -04:00
Yotam Mann
615c120688 getNextEvent -> getEventAfter and getEventBefore method
also fixed bug in forEachAfter method
2015-09-05 16:27:19 -04:00
Yotam Mann
42134d7ac3 scheduleRepeat implemented with IntervalTimeline 2015-09-05 15:15:04 -04:00
Yotam Mann
c66557a2cb Removes all events when no callback with off` 2015-09-05 15:06:58 -04:00
Yotam Mann
6a21b231ff the BSD now balances itself. 2015-09-05 14:26:19 -04:00
Yotam Mann
eccdb659c2 renamed Tone/core/Types -> Tone/core/Type 2015-09-04 16:48:21 -04:00
Yotam Mann
3e2ebfcc05 IntervalTimeline which implements an interval tree
used to keep track of events with a time and duration
2015-09-04 16:17:56 -04:00
Yotam Mann
7393a59410 cancel <-> clear
clear removes an ID and cancel cancels events after the given time. API
is now more consistent with the Web Audio’s cancelScheduledValues
2015-09-03 16:56:05 -04:00
Yotam Mann
c222d7752d clean up events array. 2015-08-31 16:42:54 -04:00
Yotam Mann
94e4c882fd Milliseconds type 2015-08-31 15:47:25 -04:00
Yotam Mann
56eca9b690 "loop" event when the transport loops 2015-08-31 15:19:03 -04:00
Yotam Mann
ec5504c8c3 off can take multiple event names. 2015-08-31 15:16:05 -04:00
Yotam Mann
80b938a4d1 removed old comment 2015-08-31 15:15:53 -04:00
Yotam Mann
3a6bc7adbd Source Syncing using events.
Signal syncing refactored.
2015-08-31 15:15:44 -04:00
Yotam Mann
155f83d948 making bpm readOnly
keeps people from overwriting it.
2015-08-28 18:42:08 -04:00
Yotam Mann
ba87494ee7 bpm is a readOnly attribute 2015-08-28 18:33:20 -04:00
Yotam Mann
117337e5e1 make sure signal is defined before checking instanceof 2015-08-28 18:33:02 -04:00
Yotam Mann
4712580937 handles case where there is no Transport loaded 2015-08-24 17:29:35 -04:00
Yotam Mann
c8cb6c5256 buffer accepts Buffer in constructor 2015-08-24 11:18:01 -04:00
Yotam Mann
180c7fc943 Better docs for some math functions 2015-08-21 17:05:09 -04:00
Yotam Mann
74a63110da NewClock -> Clock 2015-08-18 18:15:19 -04:00
Yotam Mann
e5b0fb49d3 NewClock -> Clock 2015-08-18 18:14:26 -04:00
Yotam Mann
d64fe31df7 doc'ing the clock 2015-08-18 18:13:30 -04:00
Yotam Mann
dff1e43239 fixes bug when clear time was before any events 2015-08-18 18:07:35 -04:00
Yotam Mann
ad57ad2bcb fixing tick offset on start method 2015-08-18 18:06:45 -04:00
Yotam Mann
36e8002e85 fixed clearBefore to do what it says 2015-08-18 17:33:39 -04:00