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 |
|
Yotam Mann
|
488299a822
|
Player uses BufferSource
|
2017-05-02 12:15:00 -04:00 |
|
Yotam Mann
|
a1a4ad81c3
|
testing the empty constructor and static fromArray method
|
2017-05-01 19:10:05 -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
|
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
|
0354a87dab
|
hasStereoPanner is now static
|
2017-04-30 14:11:44 -04:00 |
|
Yotam Mann
|
3a0a55be7b
|
Solo makes it easier to solo one of many sources
will mute all other instances of Tone.Solo when an instance.solo=true
|
2017-04-30 12:39:09 -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
|
2e807dde30
|
light styling
|
2017-04-26 00:08:41 -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
|
a48a980861
|
moving signals to static defaults
invoking super constructor in prep for es6 classes
|
2017-04-25 23:45:37 -04:00 |
|
Yotam Mann
|
aa54db39fe
|
using static defaultArg/defaults methods
|
2017-04-25 23:22:34 -04:00 |
|
Yotam Mann
|
4019b49c12
|
effects moved to new defaults API
|
2017-04-25 23:18:08 -04:00 |
|
Yotam Mann
|
c9d41345b7
|
bass constructor invoked without options
|
2017-04-25 23:08:57 -04:00 |
|
Yotam Mann
|
6e585e8f82
|
components using new defaults api
also invoking super constructor first in preparation for es6 migration
|
2017-04-25 23:08:23 -04:00 |
|
Yotam Mann
|
4057252566
|
applying defaults API to control classes
|
2017-04-25 22:37:01 -04:00 |
|
Yotam Mann
|
b3dd6513b9
|
using new defaults API
|
2017-04-25 22:31:06 -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
|
b82f2bd6d7
|
surfaced returnType in docs
[skip ci]
|
2017-04-20 15:13:30 -04:00 |
|
Yotam Mann
|
88c0ea4fb6
|
fixed example to new UserMedia API
[skip ci]
|
2017-04-20 15:12:16 -04:00 |
|
Yotam Mann
|
2073ccdf8c
|
fixing panning in example
[skip ci]
|
2017-03-28 21:14:48 -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
|
4499e80b2e
|
uses passed in volume for _unmutedVolume
|
2017-03-26 16:40:00 -04:00 |
|
Yotam Mann
|
0df359a92f
|
fixed formatting issue in docs
[skip ci]
|
2017-03-26 12:32:41 -04:00 |
|
Yotam Mann
|
4cec0fb7a3
|
mute is true when volume === -Infinity and false otherwise
fixes #221
|
2017-03-24 17:27:40 -04:00 |
|
Yotam Mann
|
bef5457c01
|
using Math.SQRT1_2
I didn’t know this existed
|
2017-03-22 15:21:21 -04:00 |
|
Yotam Mann
|
af58fd34de
|
updating to new getConstant API
|
2017-03-22 11:43:36 -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
|
b5d6647c12
|
optimizing noise array creation
only created on initialization
addresses #216
|
2017-03-18 14:03:04 -04:00 |
|
Yotam Mann
|
971cfc1b93
|
variable name change
|
2017-03-18 14:01:23 -04:00 |
|
Yotam Mann
|
f859074254
|
catch block removes event listeners and throws error
|
2017-03-14 16:49:04 -04:00 |
|
Yotam Mann
|
1a1cb621e8
|
wrapping native getChannelData
|
2017-03-13 22:08:59 -04:00 |
|
Yotam Mann
|
10431589d2
|
moving shims to their respective files
hopefully simplifies maintenance
|
2017-03-13 01:12:20 -04:00 |
|
Yotam Mann
|
d81ad3e8c7
|
polyfilling getFloatTimeDomainData
|
2017-03-13 00:56:04 -04:00 |
|
Yotam Mann
|
3089f09083
|
also polyfilling copyFromChannel
|
2017-03-13 00:50:00 -04:00 |
|
Yotam Mann
|
5ab8f82d3e
|
copyToChannel polyfill
|
2017-03-13 00:40:30 -04:00 |
|
Yotam Mann
|
84bbdb5c04
|
optimizing slice call
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functi
ons/arguments
|
2017-03-13 00:38:40 -04:00 |
|
Yotam Mann
|
d037c28d6f
|
eval -> valueOf
thanks for the suggestion @JackCA
fixes #205
|
2017-03-12 21:31:23 -04:00 |
|
Yotam Mann
|
ea1b92e75a
|
only set the clock ticks when the value has changed
optimization
|
2017-03-12 21:09:57 -04:00 |
|
Yotam Mann
|
a48b58eb95
|
removing old initAudioContext
replaced by Context.on(‘init’)
|
2017-03-12 21:03:17 -04:00 |
|
Yotam Mann
|
752a0a6bc4
|
Duration argument must be greater than 0
fixes #203
[skip ci]
|
2017-03-05 13:19:55 -05:00 |
|
Yotam Mann
|
dba464fcca
|
safety checks for drift
fixes #199
|
2017-03-05 12:39:43 -05:00 |
|
Yotam Mann
|
39e923480f
|
decibels also ramps exponentially
|
2017-03-01 15:46:21 -05:00 |
|
Yotam Mann
|
83a019c987
|
moving context dependency from Transport to Type
|
2017-02-28 19:01:09 -05:00 |
|
Yotam Mann
|
9919667467
|
shouldn't zero out next tick time
|
2017-02-28 18:09:53 -05:00 |
|
Yotam Mann
|
8e5d5e9872
|
fixing typo in comments
[skip ci]
|
2017-02-28 17:43:04 -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
|
662951cff9
|
uses constant from context
|
2017-02-19 23:56:04 -05:00 |
|
Yotam Mann
|
4652203066
|
stopDownloads -> cancelDownloads
|
2017-02-19 12:01:15 -05:00 |
|
Yotam Mann
|
d82918a6ce
|
referring to listener on the Context
instead of creating a local copy which can become out of sync with the
current AudioContext
|
2017-02-19 11:55:08 -05:00 |
|
Yotam Mann
|
b32f2606e7
|
convert the buffer to mono
replaces the existing buffer
|
2017-02-19 11:52:04 -05:00 |
|
Yotam Mann
|
4e5ff9d41d
|
_initAudioContext -> "init"
|
2017-02-19 11:50:53 -05:00 |
|
Yotam Mann
|
91bdd210cd
|
render offline audio
|
2017-02-19 11:50:34 -05:00 |
|
Yotam Mann
|
7549bdaa1a
|
renaming _initAudioContext() -> on("init")
|
2017-02-19 11:50:15 -05:00 |
|
Yotam Mann
|
19a41080ba
|
moving constants to Context
|
2017-02-19 11:48:23 -05:00 |
|
Yotam Mann
|
a74e84fa26
|
moving Clock worker to Context
offline clocks can be more easily rendered by the offline context
|
2017-02-19 11:45:43 -05:00 |
|
Yotam Mann
|
7aa336bee5
|
moving context creation to Tone.Context
|
2017-02-18 19:49:06 -05:00 |
|
Yotam Mann
|
5ceef2a227
|
OfflineContext extends Context
|
2017-02-18 19:48:15 -05:00 |
|
Yotam Mann
|
e08b7bc8fc
|
AudioContext wrapping class
|
2017-02-18 19:47:28 -05:00 |
|
Yotam Mann
|
c3158bbcf7
|
fixing docs
fixes #202
[skip ci]
|
2017-02-16 12:04:12 -05:00 |
|
Yotam Mann
|
05765aae66
|
only create audio context when web audio is supported
otherwise logs a warning
|
2017-02-11 13:56:51 -05:00 |
|
Yotam Mann
|
29d6fdd3b3
|
only schedule animation frame when something is scheduled
fixes #194
|
2017-02-07 22:26:08 -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
|
998444c528
|
removing silent node connection
seems like gain of 0 is optimized out in most cases anyways
|
2017-01-30 22:35:27 -05:00 |
|
Yotam Mann
|
0818f4f133
|
incrementing version
|
2017-01-30 22:12:53 -05:00 |
|
Yotam Mann
|
5d7c95b806
|
removing deprecated SimpleSynth
[skip ci]
|
2017-01-08 18:35:04 -05:00 |
|
Yotam Mann
|
3203b45d81
|
updating copyright year
|
2017-01-08 17:53:23 -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
|
4f292a4897
|
updating version
[skip ci]
|
2017-01-08 17:19:03 -05:00 |
|
Yotam Mann
|
68ac2bb0da
|
latencyHint example
[skip ci]
|
2017-01-08 17:18:41 -05:00 |
|
Yotam Mann
|
3c8d77d02b
|
Merge branch 'master' into dev
|
2017-01-08 17:08:24 -05:00 |
|
Yotam Mann
|
11d6da77cc
|
updating docs to UserMedia instead of Microphone
[skip ci]
|
2017-01-08 15:58:58 -05:00 |
|
Bobby Brennan
|
47d5299e9e
|
Update FMSynth.js
|
2016-12-31 20:36:24 -05:00 |
|
Bobby Brennan
|
1b9d82b189
|
Update AMSynth.js
|
2016-12-31 20:35:57 -05:00 |
|
Yotam Mann
|
a416eafc97
|
documenting expiration and anticipation more clearly
[skip ci]
|
2016-12-28 15:39:24 -08:00 |
|
Yotam Mann
|
27739ca795
|
changing name of private lookAhead member and adding 'lag' member
‘lag’ is the amount that the clock is falling behind the desired update
interval
|
2016-12-25 19:38:19 -05:00 |
|
Yotam Mann
|
f70825fa17
|
start no longer starts one lookAhead in the future
made testing more difficult and inconsistent with other behavior of Time
|
2016-12-20 22:49:20 -05:00 |
|