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 |
|
Yotam Mann
|
dd57603003
|
loaded flag
|
2015-02-01 21:32:49 -05:00 |
|
Yotam Mann
|
0551f451d0
|
getter/setter and new dispose
|
2015-02-01 20:02:54 -05:00 |
|
Yotam Mann
|
2e15f03490
|
Revert Tone.Volume representation
|
2015-01-05 23:33:05 -05:00 |
|
Yotam Mann
|
a965c520f0
|
make buffer private
reset download count after the download is complete
|
2015-01-05 21:47:07 -05:00 |
|
Yotam Mann
|
c11d66f2c3
|
Tone.Buffer has static progress and load event
|
2015-01-04 20:59:08 -05:00 |
|
Yotam Mann
|
e1ba3a4487
|
returns an array when given an array
|
2014-10-22 22:27:01 -04:00 |
|
Kevin Siwoff
|
d71f83c8fd
|
adds new Buffer class to core
|
2014-10-21 14:44:02 -04:00 |
|
Kevin Siwoff
|
f784f5585f
|
adds Buffer class, refactors Player class to use new Buffer member
|
2014-10-16 14:48:23 -04:00 |
|