tambien
|
66d6dad002
|
reverse buffer when setting
This way when the buffer is loaded or set in any way, reverse will be applied.
fixes #456
|
2019-03-12 10:53:03 -04:00 |
|
tambien
|
655b3310d3
|
setting reverse value which is passed into through an object
fixes #456
|
2019-03-09 16:14:51 -05:00 |
|
tambien
|
ed71d8141b
|
amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
|
2019-01-27 13:05:20 -05:00 |
|
Yotam Mann
|
34e26059ca
|
don't invoke onload when setting a loaded buffer
addresses #382 and #376
|
2018-08-31 00:28:18 -04:00 |
|
Yotam Mann
|
e754799226
|
updating lint prefs
|
2018-08-31 00:14:21 -04:00 |
|
tambien
|
5027277360
|
all modules are relative paths
simplifies deep references to individual files
|
2018-08-26 22:29:17 -04:00 |
|
Yotam Mann
|
2fe24f7043
|
don't defer callback
|
2018-08-06 23:46:52 -04:00 |
|
Yotam Mann
|
6005162263
|
deferring onload callback
fixes #376
|
2018-07-25 21:54:13 -04:00 |
|
Yotam Mann
|
2841fefe40
|
Revert "Encode URL when loading buffer (#318)"
This reverts commit e6db1daed8 .
|
2018-03-29 15:43:44 -04:00 |
|
David Su
|
e6db1daed8
|
Encode URL when loading buffer (#318)
* encode url in request when loading buffer
* separate components by slash when encoding url
* match indentation style
* fix lint errors
|
2018-03-20 09:16:05 -05:00 |
|
Yotam Mann
|
a5503e02d2
|
linting
|
2018-03-05 12:25:33 -05:00 |
|
Yotam Mann
|
08607ad9af
|
linting
|
2017-12-30 00:21:08 -05:00 |
|
Yotam Mann
|
b0f729c9f1
|
static fromUrl method.
|
2017-12-30 00:06:53 -05:00 |
|
Yotam Mann
|
4e26a039bc
|
handling error case when url is passed into constructor
|
2017-12-30 00:06:27 -05:00 |
|
Yotam Mann
|
b929b26ca4
|
can pass in an unloaded Tone.Buffer into Convolver constructor
fixes #277
|
2017-12-15 23:36:39 -05:00 |
|
Yotam Mann
|
4c783c9b09
|
buffer can be constructed with an unloaded Buffer
load callback is invoked when parameter Buffer is loaded
|
2017-12-15 23:04:22 -05:00 |
|
Yotam Mann
|
7d1b06f1bb
|
promise-based decodeAudioData
|
2017-12-15 12:48:58 -05:00 |
|
Yotam Mann
|
7f148b5c34
|
moving shim to another file
|
2017-10-25 23:01:26 -04:00 |
|
Yotam Mann
|
cb2a982c39
|
linting
|
2017-10-21 19:02:46 -04:00 |
|
Yotam Mann
|
effd317acd
|
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
|
2017-07-27 17:46:15 -04:00 |
|
Yotam Mann
|
4e69013265
|
copyFromChannel shouldn't exceed the destination arrays length
|
2017-07-08 11:54:11 -04:00 |
|
Yotam Mann
|
8f63e7c3fe
|
using Tone.defaultArg and throwing error directly to help with debugging
|
2017-06-29 15:59:06 -04:00 |
|
Yotam Mann
|
22b86333aa
|
putting method in <pre> tag
[skip ci]
|
2017-06-21 10:21:20 -04:00 |
|
Yotam Mann
|
ff100a1db2
|
provide multiple extension types which are used as fallbacks if the first extension format is not supported
|
2017-06-19 13:02:29 -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
|
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 |
|