Commit graph

227 commits

Author SHA1 Message Date
Yotam Mann
e7e372d37e removing unused import 2020-10-02 11:53:19 -04:00
Yotam Mann
301f8cd9dc adding createMediaElementSource
fixes #756
2020-10-02 10:28:57 -04:00
Yotam Mann
3ff63aba87 removing old docs 2020-10-02 10:05:23 -04:00
Marcel Blum
0e2b5b942d adding @category definitions for docs, fixing some typos/mistakes along the way 2020-09-02 16:53:38 -04:00
Marcel Blum
5949b77e0e docs example bugfixes, typo corrections, minor additions for clarity, legacy link update 2020-09-02 00:07:45 -04:00
Yotam Mann
a58f326e41 better examples in comments 2020-08-03 18:21:17 -07:00
Yotam Mann
6b5daa7d07 using new way to handle offline tests 2020-07-26 13:55:06 -07:00
Yotam Mann
e673387cbb fixing example links 2020-07-20 11:11:00 -07:00
Yotam Mann
acc23128c1 updating example links 2020-07-19 13:22:47 -07:00
Yotam Mann
f05775b964 correcting example 2020-07-18 17:47:07 -07:00
Yotam Mann
50d03787de correcting example 2020-07-18 08:30:00 -07:00
Yotam Mann
69bc2bbb57 linting 2020-06-16 23:14:19 -04:00
Yotam Mann
fdb306bfce changed sound url 2020-06-07 20:14:58 -04:00
Yotam Mann
353ed3f28c adding more docs and examples 2020-05-26 21:09:32 -04:00
Yotam Mann
23af858ef2 updating doc links 2020-05-18 21:13:22 -04:00
Yotam Mann
ba8e82b1ca feat: latencyHint is now set in constructor
BREAK: the latencyHint can only be set in the constructor, no longer settable after construction

addresses #658
2020-05-12 12:31:17 -04:00
Yotam Mann
9864a79a25 start the gain 2020-05-06 22:10:35 -04:00
Yotam Mann
4ac5c22220 more examples 2020-04-29 18:12:52 -04:00
Yotam Mann
13de3a0ac1 more examples 2020-04-29 17:15:12 -04:00
Yotam Mann
c419a4c1ac moving ToneAudioWorklet to 'worklet' folder
removing tests. typescript + testing elsewhere provides better coverage
2020-04-29 16:59:26 -04:00
Yotam Mann
8bc4deec2b feat: updating the way that AudioWorkletProcessors are handled
They each get their own .worklet.ts file which enables some typescript checking
2020-04-29 16:38:58 -04:00
Yotam Mann
e5c6d606c6 some more examples 2020-04-29 14:54:35 -04:00
Yotam Mann
bebdfac5cf filling out some more examples 2020-04-29 10:06:18 -04:00
Yotam Mann
939c08417c adding some more examples 2020-04-26 18:03:40 -04:00
Yotam Mann
15d5584f97 fixing example 2020-04-16 23:32:10 -04:00
Yotam Mann
f17249691d feat: updating all examples
now in the form Tone.Something instead of using `import { Something } from "tone"`. It makes the example runner on the docs page work much faster
2020-04-16 22:24:18 -04:00
Yotam Mann
f28c4b4a84 exports std-audio-context's isSupported method 2020-04-16 14:44:48 -04:00
Yotam Mann
b217fc45ac adding createMediaStreamDestination 2020-04-14 21:06:21 -04:00
Yotam Mann
b090617c9b removing old tests 2020-04-10 09:13:58 -04:00
Yotam Mann
f317b97d89 testing that slice can also extend the duration 2020-04-08 10:02:33 -04:00
Yotam Mann
627cb3cd45 adding some more simple examples 2020-03-21 21:58:48 -04:00
Yotam Mann
4a0aa07af7 testing if loaded can be created in the same block before adding downloads 2020-03-17 22:46:27 -04:00
Yotam Mann
85f70621ef loaded promise allows for downloads to be added while 'loaded' is awaiting 2020-03-17 22:45:59 -04:00
Yotam Mann
8b58824d75 waiting for all download promises to resolve 2020-03-15 21:54:36 -04:00
Yotam Mann
09943840c4 fixing race condition where loaded was not yet set to true when promise is resolved 2020-03-11 11:41:33 -04:00
Yotam Mann
17ad337c1c get maxChannelCount 2020-03-01 22:03:37 -05:00
Yotam Mann
1539d88ef3 fix: Remove download promise when completed
fixes #620
2020-02-26 16:05:47 -05:00
Yotam Mann
bb6a6fdef6 feat: adding onerror to ToneAudioBuffers and Players 2020-01-30 14:25:06 -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
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
25eb6fce40 removing unused vars 2019-12-17 11:56:56 -05:00
Yotam Mann
2b0c2a64f1 values out of range throw an error
used to fail silently
2019-12-16 17:12:19 -05:00
Yotam Mann
389ccf8722 using assert instead of this.assert
removing this.assert from Tone.js classes
2019-12-16 15:58:31 -05:00
Yotam Mann
caf58ffe0b throws error when set outside of range 2019-12-15 02:19:12 -05:00
Yotam Mann
192b749b85 Gain can also have min/max range 2019-12-14 17:27:54 -05:00
Yotam Mann
fce95bea6e feat: clamp the values to the defined min/maxValue 2019-12-11 10:11:40 -05:00
Yotam Mann
61cfd3ab8c make sure that maxDelay is readonly 2019-12-10 23:34:12 -05:00