Yotam Mann
|
a4032ad65c
|
linting
|
2017-08-13 21:46:43 -04:00 |
|
Yotam Mann
|
5fe3e9106c
|
using async callback for getting context
for classes that need it on init
|
2017-08-13 21:37:32 -04:00 |
|
Yotam Mann
|
f5e5cd16f6
|
async callback for getting the context
useful on init when the context isn’t necessarily available
|
2017-08-13 21:36:21 -04:00 |
|
Yotam Mann
|
63fcb4af1e
|
updating private variable
|
2017-08-12 10:45:28 -04:00 |
|
Yotam Mann
|
faee7175e1
|
added link in deprecation notice
|
2017-08-08 20:50:55 -04:00 |
|
Yotam Mann
|
d1af3f71ca
|
connect instead of chain
|
2017-08-08 13:30:38 -04:00 |
|
Yotam Mann
|
486344bb87
|
replacing set curve internals with a series of linear ramps
simplifies code
|
2017-08-08 13:30:38 -04:00 |
|
Jack Anderson
|
1fb225383e
|
no insignificant zeroes in barsBeatsSixteenths (#250)
* no insignificant zeroes in barsBeatsSixteenths
- fixes #246
* restore bpm to orig val in trailing zero test
|
2017-08-08 10:54:47 -04:00 |
|
Yotam Mann
|
bf52df2fdc
|
check that there is an AudioNode before augmenting it
|
2017-07-27 18:06:05 -04:00 |
|
Yotam Mann
|
7050400f32
|
using @private instead of @internal
[skip ci]
|
2017-07-27 18:02:44 -04:00 |
|
Yotam Mann
|
066eb207ad
|
updating Time copy
[skip ci]
|
2017-07-27 18:02:21 -04:00 |
|
Yotam Mann
|
9f31807cf4
|
sampleTime and blockTime should be instance variables not static
|
2017-07-27 17:54:57 -04:00 |
|
Yotam Mann
|
effd317acd
|
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
|
2017-07-27 17:46:15 -04:00 |
|
Yotam Mann
|
4e69013265
|
copyFromChannel shouldn't exceed the destination arrays length
|
2017-07-08 11:54:11 -04:00 |
|
Yotam Mann
|
7734e70421
|
removing unnecessary returnType setting
|
2017-07-08 11:46:27 -04:00 |
|
Yotam Mann
|
3a08d9fd2e
|
return type is always float32
removing byte analysis since it isn’t very useful
|
2017-07-08 11:21:26 -04:00 |
|
Yotam Mann
|
c3c5364397
|
remove unreachable code
|
2017-07-06 10:32:31 -04:00 |
|
Yotam Mann
|
e0fadfcb8e
|
use the timeout callbacks update interval
|
2017-07-05 14:47:27 -04:00 |
|
Yotam Mann
|
9e3e598220
|
passing in options to super constructor
|
2017-07-05 13:59:13 -04:00 |
|
Yotam Mann
|
dfdd665881
|
context takes an options object
|
2017-07-05 13:58:36 -04:00 |
|
Yotam Mann
|
c30b07cbd5
|
terminate web worker on dispose
|
2017-06-30 16:04:10 -04:00 |
|
Yotam Mann
|
3ece282d04
|
removing window debugging reference
|
2017-06-30 15:44:30 -04:00 |
|
Yotam Mann
|
68ce570476
|
Revert "without try/catch"
This reverts commit cf085112fe .
|
2017-06-30 15:38:01 -04:00 |
|
Yotam Mann
|
cf085112fe
|
without try/catch
|
2017-06-30 15:31:30 -04:00 |
|
Yotam Mann
|
dae97143d5
|
using clockSource API
|
2017-06-29 19:49:43 -04:00 |
|
Yotam Mann
|
86698bb5d6
|
use setTimeout if Web Worker is not available
Addresses #208
|
2017-06-29 19:49:25 -04:00 |
|
Yotam Mann
|
8f63e7c3fe
|
using Tone.defaultArg and throwing error directly to help with debugging
|
2017-06-29 15:59:06 -04:00 |
|
Yotam Mann
|
207c4e66e4
|
removing lag checking
|
2017-06-29 15:58:35 -04:00 |
|
Yotam Mann
|
835a3be67d
|
no need to schedule a block in the future since lookAhead is now built into Tone.now()
|
2017-06-29 13:55:36 -04:00 |
|
Yotam Mann
|
2f65397000
|
don't convert to ticks twice
|
2017-06-29 12:33:16 -04:00 |
|
Yotam Mann
|
49b54f3c4c
|
removing unused conditional
`options.events` will always be defined because of `Tone.defaults`
|
2017-06-29 11:02:15 -04:00 |
|
Yotam Mann
|
c22f630182
|
removing unused conditionals
|
2017-06-29 10:43:55 -04:00 |
|
Yotam Mann
|
1f604f3f31
|
update sampler example
Fixes #243
[skip ci]
|
2017-06-28 15:23:49 -04:00 |
|
Yotam Mann
|
96719c8621
|
Clock forwards the caught error
makes the source of the crash easier to find
|
2017-06-28 15:22:26 -04:00 |
|
Yotam Mann
|
62e05f6d57
|
styling
[skip ci]
|
2017-06-26 18:19:30 -04:00 |
|
Yotam Mann
|
da60cbdfea
|
Merge pull request #242 from christopheralcock/patch-1
tiny typo
|
2017-06-23 15:44:27 -05:00 |
|
Christopher Alcock
|
55f489c73b
|
tiny typo
sorry for pedantry
|
2017-06-23 16:33:54 +01:00 |
|
Yotam Mann
|
d69770eea3
|
don't remove all of the Transport synced events with Source.unsync
|
2017-06-21 17:28:50 -04:00 |
|
Yotam Mann
|
2aacd45a0b
|
fixing error in comment
[skip ci]
|
2017-06-21 10:22:10 -04:00 |
|
Yotam Mann
|
dc4acf15c2
|
updating jsdocs
[skip ci]
|
2017-06-21 10:22:00 -04:00 |
|
Yotam Mann
|
28caddede6
|
updating jsdocs
[skip ci]
|
2017-06-21 10:21:49 -04:00 |
|
Yotam Mann
|
775042bbe7
|
removing "lookAhead" from Clock
|
2017-06-21 10:21:38 -04:00 |
|
Yotam Mann
|
22b86333aa
|
putting method in <pre> tag
[skip ci]
|
2017-06-21 10:21:20 -04:00 |
|
Yotam Mann
|
8d7ee0ec5c
|
lookAhead is not static
[skip ci]
|
2017-06-21 10:20:43 -04:00 |
|
Yotam Mann
|
15537e1f19
|
dispose Transport/Master when context is closed
|
2017-06-19 17:51:59 -04:00 |
|
Yotam Mann
|
b670936c67
|
emit an event when a context is closed
to clean up Master/Transport and anything else static on the context
|
2017-06-19 17:51:03 -04:00 |
|
Yotam Mann
|
1c2e9afc0c
|
float is default analyser return type
|
2017-06-19 17:13:46 -04:00 |
|
Yotam Mann
|
f9f1d3544e
|
removing url flattening
little used/unnecessary feature
|
2017-06-19 17:10:36 -04:00 |
|
Yotam Mann
|
e105387072
|
Players can fadeIn/Out
|
2017-06-19 15:18:50 -04:00 |
|
Yotam Mann
|
83866e6492
|
adding fadeIn/Out to Player
|
2017-06-19 15:11:15 -04:00 |
|
Yotam Mann
|
2de449b74c
|
fadeOut is subtracted from end of the sample
instead of the stop time being the beginning of the fade out.
|
2017-06-19 15:03:10 -04:00 |
|
Yotam Mann
|
ff100a1db2
|
provide multiple extension types which are used as fallbacks if the first extension format is not supported
|
2017-06-19 13:02:29 -04:00 |
|
Yotam Mann
|
bdbbc14ad5
|
toggle the Transport state
|
2017-06-16 17:32:04 -04:00 |
|
Yotam Mann
|
0a42b3ef54
|
adding triggerAttackRelease method
Instrument one does not work with MultiSampler since a note is required
as the first argument
|
2017-06-16 17:27:30 -04:00 |
|
Yotam Mann
|
69481fd05b
|
removing comment
[skip ci]
|
2017-05-28 22:19:26 -04:00 |
|
Yotam Mann
|
59a276d8fe
|
including lookAhead in now() removes need for adding blockTime to reduce clicks
|
2017-05-28 21:52:28 -04:00 |
|
Yotam Mann
|
77d404963c
|
lookAhead applied to all scheduled events
by placing it in the ‘now’ method instead of Tone.Clock
|
2017-05-28 21:44:56 -04:00 |
|
Yotam Mann
|
81df4a9a0e
|
deprecating multiplayer
use Tone.Players instead
|
2017-05-28 21:38:31 -04:00 |
|
Yotam Mann
|
edf14cffe4
|
GrainPlayer no longer uses MultiPlayer
uses BufferSource instead
|
2017-05-28 21:27:59 -04:00 |
|
Yotam Mann
|
2328413a8f
|
stops playing if invoked with 'stop' at an earlier time
does not stop playing if `stop` is invoked with a later time
|
2017-05-28 21:20:17 -04:00 |
|
Yotam Mann
|
b9170401b0
|
using unit conversion
|
2017-05-28 20:47:27 -04:00 |
|
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
|
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
|
73adc20088
|
get an event before the given event
|
2017-05-28 13:57:47 -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
|
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
|
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
|
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
|
54b11df1dd
|
simplifying BufferSource playback offset > loopEnd logic
|
2017-05-23 09:30:17 -04:00 |
|
Yotam Mann
|
ea4078348f
|
don't nullify source when stopped
fixes #241
|
2017-05-22 16:11: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
|
c8c436cbf2
|
Tone.Players wraps up multiple Tone.Player objects
fixes #215
fixes #217
|
2017-05-21 20:40:20 -07:00 |
|
Yotam Mann
|
a6bb882758
|
readonly loaded boolean if the buffer is loaded
|
2017-05-21 20:25:35 -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
|
fc1496182a
|
making channel mode explicit
fixes splitting problem in FF
|
2017-05-16 22:51:51 -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
|
f778774401
|
linting
|
2017-05-13 22:14:13 -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
|
5d7bd92d7a
|
MultiSampler instrument
|
2017-05-13 22:08:04 -04:00 |
|
Yotam Mann
|
260d27bbb3
|
instruments depend on Tone.Master
|
2017-05-08 11:49:08 -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
|
b1c5da4234
|
closing paren in docs
[skip ci]
|
2017-05-07 19:42:03 -07:00 |
|
Yotam Mann
|
02ff1b1817
|
changing blockTime refs to static references
|
2017-05-07 19:17:50 -07:00 |
|
Yotam Mann
|
c9203221aa
|
making blockTime and sampleTime static vars
|
2017-05-07 19:15:35 -07:00 |
|
Yotam Mann
|
44a041a027
|
making method as private
[skip ci]
|
2017-05-07 18:45:23 -07:00 |
|
Yotam Mann
|
32842fde3a
|
delayTime is signal of type Time
[skip ci]
|
2017-05-07 18:45:09 -07:00 |
|
Yotam Mann
|
18d9802dd9
|
updating numberOfInputs/Outputs docs
[skip ci]
|
2017-05-07 18:44:44 -07:00 |
|
Yotam Mann
|
cb1937062c
|
throwing error when passed in device is not found
|
2017-05-02 20:58:14 -04:00 |
|
Yotam Mann
|
b0a0ff2a38
|
removing unnecessary conditional
|
2017-05-02 20:48:20 -04:00 |
|