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
|
f87665a52a
|
make sure that the downloads count doesn't go below 0
|
2017-05-13 22:09:20 -04:00 |
|
Yotam Mann
|
a1a4ad81c3
|
testing the empty constructor and static fromArray method
|
2017-05-01 19:10:05 -04:00 |
|
Yotam Mann
|
b927395825
|
making defaultArg static
|
2017-04-30 15:03:49 -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
|
aea6c80f09
|
trying out new defaults API
|
2017-04-24 22:10:13 -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
|
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
|
4652203066
|
stopDownloads -> cancelDownloads
|
2017-02-19 12:01:15 -05:00 |
|
Yotam Mann
|
b32f2606e7
|
convert the buffer to mono
replaces the existing buffer
|
2017-02-19 11:52:04 -05:00 |
|
Yotam Mann
|
823d6efc16
|
linting
|
2016-11-06 19:41:00 -05:00 |
|
Yotam Mann
|
99dd7717ec
|
don't decrement on error
added method to abort all downloads in progress
|
2016-11-03 14:39:45 -04:00 |
|
Yotam Mann
|
9379165928
|
starts out at 0 progress
fixes NaN issue. Also only goes to 95% bc of loading. the last 5% is
after the file is decoded.
|
2016-09-20 17:24:56 -04:00 |
|
Yotam Mann
|
31ea7abbd5
|
styling the code a bit
[skip ci]
|
2016-09-19 20:21:42 -04:00 |
|
Yotam Mann
|
2f525e74b7
|
will emit 'progress' when there is .lengthComputable is false
|
2016-09-19 00:16:44 -04:00 |
|
Yotam Mann
|
3b8d44d344
|
Buffer.prototype.load returns Promise
Also simplified/removed XHR queuing and other complications
|
2016-09-19 00:08:16 -04:00 |
|
Yotam Mann
|
6a951fa217
|
using 'emit' instead of 'trigger'
more similar to Node.js EventEmitter class
|
2016-09-18 20:07:00 -04:00 |
|
Yotam Mann
|
ceefac97e7
|
adding lengthComputable so that it never divides by 0
|
2016-09-18 19:45:16 -04:00 |
|
Yotam Mann
|
de9f15f1e7
|
fixed another linting error
[skip ci]
|
2016-09-08 21:20:49 -04:00 |
|
Yotam Mann
|
3eaa98ef51
|
fixed some linting errors
[skip ci]
|
2016-09-08 10:29:41 -04:00 |
|
Yotam Mann
|
535ce86179
|
adding error callbacks
|
2016-08-16 15:26:51 -04:00 |
|
Yotam Mann
|
2569bfef8b
|
to/fromArray
plus a few more properties.
|
2016-08-15 10:23:01 -04:00 |
|
Yotam Mann
|
d0b18c5d09
|
test for file type support.
|
2016-07-06 23:09:56 -04:00 |
|
Yotam Mann
|
693867f9be
|
Revert "encoding the URI"
This reverts commit 754e9fc500 .
|
2016-06-14 20:04:28 -04:00 |
|
Yotam Mann
|
754e9fc500
|
encoding the URI
|
2016-06-14 19:57:15 -04:00 |
|
Yotam Mann
|
4628f8c47a
|
prefixing errors with class name.
|
2016-05-25 20:50:46 -04:00 |
|
Yotam Mann
|
78095af046
|
properly handles error on buffer decoding
|
2016-03-05 00:07:42 -05:00 |
|
Yotam Mann
|
12c7426f53
|
baseUrl
useful for various production environments.
|
2016-02-27 17:12:11 -05:00 |
|
Yotam Mann
|
9f785b371e
|
removing deprecated methods
|
2016-01-18 22:45:46 -05:00 |
|
Yotam Mann
|
42dadb6d2d
|
using Emitter style for load/progress/error
The new syntax is `Tone.Buffer.on(“load”, callback);`
|
2015-11-11 12:33:02 -05:00 |
|
Yotam Mann
|
9cbcd5b94e
|
handles case where first argument is a Tone.Buffer
addresses #99
|
2015-10-21 13:51:53 -04:00 |
|
Yotam Mann
|
4a2bd215e7
|
using new type checking methods
|
2015-10-21 13:13:15 -04:00 |
|
Yotam Mann
|
c8cb6c5256
|
buffer accepts Buffer in constructor
|
2015-08-24 11:18:01 -04:00 |
|
Yotam Mann
|
4b78dcbed1
|
buffer accepts AudioBuffer in the constructor
|
2015-08-16 22:22:07 -04:00 |
|
Yotam Mann
|
4e9cb3ce1e
|
doc'ing
|
2015-06-20 15:50:57 -04:00 |
|
Yotam Mann
|
80a28f8554
|
using noOp function for defaults
|
2015-06-14 01:54:36 -04:00 |
|
Yotam Mann
|
6bb7b761a1
|
updating docs
|
2015-06-13 20:52:51 -04:00 |
|
Yotam Mann
|
07264eb05b
|
signal jsdocing
|
2015-06-13 19:29:25 -04:00 |
|
Yotam Mann
|
a2f4a3595b
|
jsdoc'ing
|
2015-05-05 16:40:52 -04:00 |
|
Yotam Mann
|
e797398395
|
buffer is reversed when it's loaded
not every time the buffer is set (as in the case a Sampler’s buffer is
being set).
|
2015-04-28 16:27:11 -04:00 |
|
Yotam Mann
|
3a93d52ee1
|
making source's signal attributes readOnly
this helps avoid a common error which is overwriting a signal property
instead of setting the .value attribute
|
2015-04-05 14:00:52 -04:00 |
|
Yotam Mann
|
ec2bd15ee1
|
can reverse buffer playback
|
2015-03-26 10:51:44 -04:00 |
|
Yotam Mann
|
371e3ce387
|
more jsdoc examples
|
2015-02-25 16:20:12 -05:00 |
|
Yotam Mann
|
3bc48cbb75
|
moving loaded flag to 'set' method
|
2015-02-04 10:16:49 -05:00 |
|
Yotam Mann
|
362afb32eb
|
returning to public dispose method
|
2015-02-01 22:05:24 -05:00 |
|