Commit graph

486 commits

Author SHA1 Message Date
Yotam Mann
e3715a634e removing unused tryCallback 2017-05-28 19:42:08 -04:00
Yotam Mann
23c5a10fff offline context has 0 lookahead 2017-05-28 19:39:35 -04:00
Yotam Mann
652c5631cc clock using TickSignal 2017-05-28 19:39:18 -04:00
Yotam Mann
73adc20088 get an event before the given event 2017-05-28 13:57:47 -04:00
Yotam Mann
8081940629 timeline takes optional comparator arg to getters
allows it to do binary search on other attributes, not just time
2017-05-26 17:06:11 -04:00
Yotam Mann
dc0e61c757 Revert "don't update clock time, just tick time"
This reverts commit 6597764434.
2017-05-23 23:29:14 -04:00
Yotam Mann
6597764434 don't update clock time, just tick time 2017-05-23 22:14:50 -04:00
Yotam Mann
0ba7837899 cloning queue to remove items within forEach loop 2017-05-21 21:00:44 -07:00
Yotam Mann
3f6c22ed39 removing unnecessary if statement 2017-05-21 20:41:43 -07:00
Yotam Mann
8d84d67c4a Transport loops when ticks is >= loopEnd
Fixes #223
2017-05-21 19:43:31 -07:00
Yotam Mann
d41c649a5c Buffer onload and onprogress only rely on downloadQueue and not currentDownloads count 2017-05-21 19:12:14 -07:00
Yotam Mann
264e5d0869 pass additional options other than the urls in second constructor argument 2017-05-13 22:16:05 -04:00
Yotam Mann
f87665a52a make sure that the downloads count doesn't go below 0 2017-05-13 22:09:20 -04:00
Yotam Mann
e30e6c5cc9 try/catch block around callback
allows it to recover from errors that are in the callback

fixes #239
2017-05-08 11:45:21 -04:00
Yotam Mann
b0a0ff2a38 removing unnecessary conditional 2017-05-02 20:48:20 -04:00
Yotam Mann
a1a4ad81c3 testing the empty constructor and static fromArray method 2017-05-01 19:10:05 -04:00
Yotam Mann
b1e7c8153a removing hacky chrome fix
No longer needed now that bug is fixed in Chrome.

#163
2017-05-01 16:39:13 -04:00
Yotam Mann
695fd2421f can receive to a specific input number instead of input node 2017-05-01 16:03:04 -04:00
Yotam Mann
ceb209313e fixing disconnect from nonzero input/output 2017-05-01 15:49:35 -04:00
Yotam Mann
c4362c46f8 removing unnecessary arguments.length check 2017-05-01 14:26:11 -04:00
Yotam Mann
0b047ead65 removing unnecessary safety check 2017-05-01 14:19:47 -04:00
Yotam Mann
1b8fdc404d createInsOuts was using input count for output 2017-05-01 14:17:16 -04:00
Yotam Mann
7159700f11 making connectSeries static 2017-05-01 14:06:36 -04:00
Yotam Mann
17510c8f9c latency hint should be "interactive" when set to fastest lookAhead 2017-05-01 13:55:21 -04:00
Yotam Mann
0bd8fbb717 merging dev commits 2017-05-01 11:11:11 -04:00
Yotam Mann
b927395825 making defaultArg static 2017-04-30 15:03:49 -04:00
Yotam Mann
8cd381c2ca mirroring the way that Master is stored on the context 2017-04-30 14:48:57 -04:00
Yotam Mann
15c238a31e don't create unnecessary output 2017-04-30 14:48:39 -04:00
Yotam Mann
867798e55d properly disconnecting constant signals 2017-04-30 14:48:25 -04:00
Yotam Mann
f7b7600ac9 fixing jsdoc errors
[skip ci]
2017-04-30 11:16:35 -04:00
Yotam Mann
4bda177b83 gainToDb, dbToGain, intervalToFrequencyRatio now static functions 2017-04-26 23:21:26 -04:00
Yotam Mann
4bd1044cb4 using only static type queries 2017-04-26 00:27:28 -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
c9d41345b7 bass constructor invoked without options 2017-04-25 23:08:57 -04:00
Yotam Mann
a3f54ce4cd new defaults api 2017-04-25 22:23:22 -04:00
Yotam Mann
4d08462067 type checkers and defaults methods are static 2017-04-25 22:22:29 -04:00
Yotam Mann
58bdbbc82a invoke super constructor first
preparation for moving to es6 modules. also moving to slightly
simplified `default` method
2017-04-24 23:23:15 -04:00
Yotam Mann
4bf55605c8 removing circular dependency 2017-04-24 23:18:53 -04:00
Yotam Mann
e66c515762 setTimeout method which is guaranteed by the clock source
also includes clearTimeout. API is similar to window.setTimeout, but
time is in seconds instead of milliseconds
2017-04-24 23:13:29 -04:00
Yotam Mann
a4a94b63ea callback is invoked with the timeline as the context 2017-04-24 22:59:21 -04:00
Yotam Mann
aea6c80f09 trying out new defaults API 2017-04-24 22:10:13 -04:00
Yotam Mann
741073c17b transitioning defaults->optionsObject
slightly different API. defaults includes the default constructor API
without it needing to be passed in.
2017-04-24 22:08:59 -04:00
Yotam Mann
0befd293c9 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2017-04-20 15:14:44 -04:00
Yotam Mann
12e1fcc272 increment version
[skip ci]
2017-03-28 20:57:04 -04:00
Yotam Mann
5569f7b26f latencyHint has moved to Tone.Context 2017-03-27 11:34:47 -04:00
Yotam Mann
38cc955b66 updating version 2017-03-26 19:26:00 -04:00
Yotam Mann
0df359a92f fixed formatting issue in docs
[skip ci]
2017-03-26 12:32:41 -04:00
Yotam Mann
f3cb7e577c only creating constant sources when required
optimization
2017-03-22 11:43:35 -04:00
Yotam Mann
97c152d989 documenting Offline
[skip ci]
2017-03-22 11:15:50 -04:00
Yotam Mann
971cfc1b93 variable name change 2017-03-18 14:01:23 -04:00