Commit graph

4886 commits

Author SHA1 Message Date
tpltnt
d7c3b85cc3
fixing TypeError 2020-02-28 18:13:10 +01:00
Yotam Mann
52bf3414a4 fix: reconnecting convolver after creating new one when setting buffer
fixes #616
2020-02-26 18:26:18 -05:00
Yotam Mann
bdd66ef8ba cleaning up code a little 2020-02-26 17:18:08 -05:00
Yotam Mann
7adda98875 perf: optimizing forEachAtTime to iterate over a smaller range
fixes #618
2020-02-26 16:54:35 -05:00
Yotam Mann
1539d88ef3 fix: Remove download promise when completed
fixes #620
2020-02-26 16:05:47 -05:00
Yotam Mann
e68fe68e4c bug: cancel next event with very short attacks as well
fixes #614
2020-02-02 21:57:23 -05:00
Yotam Mann
e15194821b perf: don't schedule curve when there is no decay necessary. 2020-02-02 21:55:47 -05:00
Yotam Mann
5d1b29f4b3 feat: changed the name Buffer, Buffers and BufferSource so that it doesnt conflict with native naming
Buffer -> ToneAudioBuffer
Buffers -> ToneAudioBuffers
BufferSource -> ToneBufferSource
2020-02-02 11:41:24 -05:00
Yotam Mann
d966735bd9 feat: option to pass in the number of input channels to Panner
fixes #609
2020-01-30 18:22:36 -05:00
Yotam Mann
3c9dfff161 updating to latest standardized-audio-context
fixes #601
2020-01-30 17:18:10 -05:00
Yotam Mann
7236600182 feat: adding onerror to Sampler
fixes #605
2020-01-30 16:42:32 -05:00
Yotam Mann
766ef638d3 making sure that the onerror returns the error 2020-01-30 16:15:28 -05:00
Yotam Mann
bb6a6fdef6 feat: adding onerror to ToneAudioBuffers and Players 2020-01-30 14:25:06 -05:00
Yotam Mann
dc53f9272b feat: adding onerror to GrainPlayer when url can't load 2020-01-29 23:37:36 -05:00
Yotam Mann
0bc28e742a using url instead of buffer makes it more consistent with other url loading APIs
feat: adding onerror to ToneBufferSource and Player
2020-01-29 23:34:05 -05:00
Yotam Mann
a45c9f117e checking against 'next' version instead of 'typescript' 2020-01-19 23:40:12 -05:00
Yotam Mann
8df0c7a73e removing typescript specific build 2020-01-19 23:40:00 -05:00
Yotam Mann
295e4571c6 Merge branch 'typescript' into dev 2020-01-19 23:08:37 -05:00
Yotam Mann
88dae77c90 removing 'Connect.ts' and updating dependencies
was a pass through and caused other problems of redefining the variable
2020-01-08 14:12:11 -05:00
Yotam Mann
40e5d7d046 fixing path 2020-01-05 18:34:22 -05:00
Yotam Mann
910c6b2a57 updating license year 2020-01-05 17:59:36 -05:00
Yotam Mann
b86aaede46 updating relative path 2020-01-05 17:59:29 -05:00
Yotam Mann
cd180bfd90 updating readme 2019-12-30 19:10:59 -05:00
Yotam Mann
7eb1eaf625 setting range limits 2019-12-30 18:49:55 -05:00
Yotam Mann
3526b9c42c Adding note about performance with recent upgrade
closes #571
2019-12-30 18:46:35 -05:00
Yotam Mann
266576b44f recieve returns 'this' 2019-12-30 18:30:00 -05:00
Yotam Mann
970f7fbaef
Merge pull request #598 from Tonejs/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3
2019-12-27 10:11:52 -05:00
dependabot[bot]
bb1a1eb2af
Bump handlebars from 4.1.2 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 04:54:23 +00:00
Yotam Mann
3df7942908 keeping the loopStart/End within range 2019-12-24 00:17:25 -05:00
Yotam Mann
9853f44e8c test setting reverb values 2019-12-23 23:58:40 -05:00
Yotam Mann
c82a2aafb0 updating synth options
fixes scenario where "custom" is passed in
2019-12-23 23:00:27 -05:00
Yotam Mann
a90669d87e invoking callback slight further in the future 2019-12-23 19:17:06 -05:00
Yotam Mann
a7f1ad36a4 updating sequence description to account for greater depth 2019-12-22 11:07:57 -05:00
Yotam Mann
0f9c14575d return the progress computed by the internal part 2019-12-22 01:31:27 -05:00
Yotam Mann
bbef5f5dec fixing edge case where computed offset is equal to the duration of the buffer
sets it to 0 in this case.
2019-12-22 00:38:21 -05:00
Yotam Mann
4e1b385a48 fixing typos 2019-12-22 00:37:51 -05:00
Yotam Mann
f6db774f4c updating standarized-audio-context 2019-12-21 22:08:16 -05:00
Yotam Mann
dd73c2128c importing listener when panner is imported 2019-12-21 22:07:05 -05:00
Yotam Mann
015e4c7a30 correcting default value 2019-12-21 22:06:40 -05:00
Yotam Mann
ed5f7876c2 fixing typo 2019-12-21 22:05:31 -05:00
Yotam Mann
24fe9acc18 using standardized-audio-context in tests 2019-12-21 22:05:24 -05:00
Yotam Mann
7391cf6d3c wrapping native AudioListener with Listener 2019-12-21 21:01:45 -05:00
Yotam Mann
f1cda064b5 only set the player as stopped when it's still scheduled as playing
addresses #594
2019-12-21 15:27:10 -05:00
Yotam Mann
e077f1810b export panner3D 2019-12-21 14:32:00 -05:00
Yotam Mann
7606a5d28b updating test name 2019-12-19 17:13:14 -05:00
Yotam Mann
daae4aef7c ensure start is not scheduled twice at the same time
subsequent start times must be greater than the previous time

fixes #594
2019-12-19 17:13:05 -05:00
Yotam Mann
4da8eba715
Merge pull request #591 from reed-jones/patch-1
minor typo: columne => column
2019-12-18 20:27:23 -05:00
Yotam Mann
fbf4345de4 removing debugging code 2019-12-18 18:03:11 -05:00
Yotam Mann
d22747cc69 Adding more range guards 2019-12-17 12:42:40 -05:00
Yotam Mann
32fa0f3eba values can be nested arrays of the generic type 2019-12-17 11:58:45 -05:00