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
|
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 |
|