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
|
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
|
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
|
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
|
cb1937062c
|
throwing error when passed in device is not found
|
2017-05-02 20:58:14 -04:00 |
|
Yotam Mann
|
488299a822
|
Player uses BufferSource
|
2017-05-02 12:15:00 -04:00 |
|
Yotam Mann
|
fd25ee83e0
|
fixing linting errors
|
2017-05-01 19:00:31 -04:00 |
|
Yotam Mann
|
b760821234
|
BufferSource.buffer is a Tone.Buffer
|
2017-05-01 18:52:53 -04:00 |
|
Yotam Mann
|
a5a673f6ed
|
scheduling the stop time at buffer.duration - offset
|
2017-05-01 18:00:31 -04:00 |
|
Yotam Mann
|
61cad0f1fc
|
BufferSource uses context's setTimeout method for onended
removed source.stop method. stopping now relies entirely on the gain
node.
fixes #230
fixes #233
|
2017-05-01 17:46:51 -04:00 |
|
Yotam Mann
|
b927395825
|
making defaultArg static
|
2017-04-30 15:03:49 -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
|
c544255953
|
using defaults in last remaining classes
|
2017-04-26 00:07:10 -04:00 |
|
Yotam Mann
|
2030034494
|
sources to new defaults api
and es6 classes prep
|
2017-04-26 00:00:01 -04:00 |
|
Yotam Mann
|
b5d6647c12
|
optimizing noise array creation
only created on initialization
addresses #216
|
2017-03-18 14:03:04 -04:00 |
|
Yotam Mann
|
10431589d2
|
moving shims to their respective files
hopefully simplifies maintenance
|
2017-03-13 01:12:20 -04:00 |
|
Yotam Mann
|
dba464fcca
|
safety checks for drift
fixes #199
|
2017-03-05 12:39:43 -05:00 |
|
Yotam Mann
|
9858dbe563
|
start method takes an optional duration
also includes start method docs
fixes #195
|
2017-02-20 14:03:36 -05:00 |
|
Yotam Mann
|
7549bdaa1a
|
renaming _initAudioContext() -> on("init")
|
2017-02-19 11:50:15 -05:00 |
|
Yotam Mann
|
7f06666729
|
only add a stop event if it's not synced to the Transport
fixes #192
|
2017-01-30 23:17:14 -05:00 |
|
Yotam Mann
|
9669e70d4f
|
using a local instance instead of the class in example
[skip ci]
|
2017-01-08 17:20:55 -05:00 |
|
Yotam Mann
|
7f2608ab06
|
updated example to Promise api
[skip ci]
|
2017-01-08 17:20:07 -05:00 |
|
Yotam Mann
|
31fe050475
|
getStateAtTime -> getValueAtTime
|
2016-12-18 22:14:14 -05:00 |
|
Yotam Mann
|
9c94b89eec
|
renaming addEvent->add, removeEvent->remove, getEvent->get
|
2016-12-18 21:56:22 -05:00 |
|
Yotam Mann
|
7f23302d01
|
linting
|
2016-12-17 16:35:50 -05:00 |
|
Yotam Mann
|
77953eede9
|
ExternalInput -> UserMedia
updated to latest MediaDevice API
|
2016-12-17 16:26:27 -05:00 |
|
Yotam Mann
|
cf69804322
|
uses buffer as string of actual buffer
|
2016-12-15 13:01:48 -05:00 |
|
Yotam Mann
|
423029d4b8
|
managing multiple starts of the same note
|
2016-12-15 12:48:49 -05:00 |
|
Yotam Mann
|
b19a2b5622
|
using setTimeout to trigger the onended callback
|
2016-12-15 12:48:06 -05:00 |
|
Yotam Mann
|
7a1380637e
|
Previous playback is not stopped if retrigger=true
Fixes #186
|
2016-12-05 21:29:55 -05:00 |
|
Yotam Mann
|
3ca0eadafd
|
.load method returns a Promise
|
2016-11-06 19:16:31 -05:00 |
|
Yotam Mann
|
6c222a4b03
|
looping transport emits 'loopStart' / 'loopEnd' instead of 'start' / 'stop'
Fixes #173
|
2016-10-19 14:50:55 -04:00 |
|
Yotam Mann
|
64a33b0c16
|
correcting offset when greater than loopEnd
|
2016-10-11 14:03:10 -04:00 |
|
Yotam Mann
|
da59018fb3
|
convert the offset into seconds
|
2016-10-01 18:31:24 -04:00 |
|
Yotam Mann
|
b07577d53d
|
using Tone.seconds instead of Tone.position in start/stop
so that it can be fed straight into getStateAtTime
|
2016-10-01 16:26:37 -04:00 |
|
Yotam Mann
|
0285b4d83f
|
handle offset greater than the duration when set to loop
|
2016-09-29 09:57:31 -04:00 |
|
Yotam Mann
|
9ebd1dd7f4
|
min duration is 0
|
2016-09-26 21:13:20 -04:00 |
|
Yotam Mann
|
753640bdeb
|
seek to a position in the buffer
|
2016-09-25 22:32:54 -04:00 |
|
Yotam Mann
|
827fda3d00
|
more accurate handling of syncing to Transport start with an offset / duration
|
2016-09-25 12:35:57 -04:00 |
|
Yotam Mann
|
e19e54b072
|
wrapping playbackRate in Tone.Param
|
2016-09-22 18:36:44 -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
|
d8d69ae662
|
changing old docs which used Buffer.onload
[skip ci]
|
2016-09-18 20:05:01 -04:00 |
|