Commit graph

272 commits

Author SHA1 Message Date
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
Yotam Mann
d85c973a83 added index to iterator.
removeEvent uses iterator
2015-08-18 17:08:14 -04:00
Yotam Mann
ac2d078afd using clock's ticks 2015-08-18 16:30:50 -04:00
Yotam Mann
673abf3649 clock counts its own ticks 2015-08-18 16:30:33 -04:00
Yotam Mann
72ee2dcc37 renamed Schedulable to Timeline 2015-08-18 16:28:55 -04:00
Yotam Mann
5fd98c2064 doc'ing the EventEmitter 2015-08-17 14:57:54 -04:00
Yotam Mann
f380627628 updating to new Schedulable API 2015-08-17 01:02:06 -04:00
Yotam Mann
257c313f58 events are no longer private
added getNextEvent
2015-08-17 01:01:38 -04:00
Yotam Mann
4b78dcbed1 buffer accepts AudioBuffer in the constructor 2015-08-16 22:22:07 -04:00
Yotam Mann
1bd7f72b04 SchedulableState extends Schedulable 2015-08-16 22:21:54 -04:00
Yotam Mann
57402b289c updated Schedulable API 2015-08-16 22:21:42 -04:00
Yotam Mann
4076c24b82 fixed midi to note conversion octave problem 2015-08-16 22:21:28 -04:00