Commit graph

1065 commits

Author SHA1 Message Date
Ilya Apasov
a77181175a
fix: load base64 encoded sounds when baseUrl is not empty
Fixes #898
2021-05-26 12:59:44 +02:00
Yotam Mann
c8ec4d75d1 asserts that the buffer should be loaded when trying to slice
addresses #886
2021-05-02 22:16:04 -04:00
garrettmichaelgeorge
809af0fd4f Implement fanIn with passing tests 2021-04-15 11:43:49 -04:00
garrettmichaelgeorge
aca51b7026 Improve fanIn() API 2021-03-17 21:04:01 -04:00
garrettmichaelgeorge
fdcbea3714 Add failing tests for fanIn 2021-03-17 14:55:45 -04:00
Yotam Mann
646330b485
Merge pull request #847 from vibertthio/fix-docs
Fix docs of class Tone
2021-02-26 09:44:43 -05:00
Vibert Thio
d7be64b4d9 remove the typo "@class" 2021-02-25 23:03:45 -05:00
Vibert Thio
63e57fb2e8 Fix comment typo in ContextInitialization.ts 2021-02-25 22:15:42 -05:00
Yotam Mann
f549a45cf7
Merge pull request #790 from sarahBuisson/patch-3
Update AdvancedTypeCheck.ts
2021-01-31 15:03:40 -05:00
Vibert Thio
46bd7176f6 fix the wrong variable name 'event' in Emitter.ts 2021-01-20 18:41:55 -05:00
Yotam Mann
33e14d06eb feat: sub-tick scheduling
values are no longer rounded to the nearest tick, they can happen between tick values.
2021-01-12 22:54:45 -05:00
Yotam Mann
f04581863c moving toJSON implementation to the BaseContext 2021-01-04 09:57:52 -05:00
Jack Anderson
16859ff2e2 allow JSON.stringify(context) 2020-12-31 17:56:02 -08:00
Yotam Mann
bfa600399f Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2020-12-14 18:45:09 -05:00
Yotam Mann
8f90504c02 example with ramping destination volume
addresses #794
2020-12-14 18:44:56 -05:00
Yotam Mann
92b70176a1 enabling the value to ramp exponentially ramp below 0 2020-12-14 18:44:09 -05:00
Yotam Mann
7c8af8cd99
Merge pull request #768 from bryanbraun/dev
Address an edge-case for "Interrupted" states in Safari.
2020-12-10 19:21:02 -05:00
sarahBuisson
284db72d43
Update AdvancedTypeCheck.ts
fix https://github.com/Tonejs/Tone.js/issues/788

It was 'working" before my update because there is another classe AudioBuffer define in a file of the typescript lib d.ts who do something else, and don't need import to be used ( because it's "inside" typescript)
2020-11-15 13:00:41 +01:00
Yotam Mann
5a52c9f1bf updating the tickTime _after_ computing the loop boundries
this way the loop boundry is not thrown off by the swing parameter.

fixes #774
2020-10-29 12:31:50 -04:00
Bryan Braun
249fdf4f10
Update Context.resume() to more closely match AudioContext.resume()
Closes Tonejs/Tone.js#767
2020-10-23 16:43:17 -04:00
Marcel Blum
09a524994d Update ToneAudioBuffer.ts
improving url parsing regexp to avoid hangs in edge case filepaths
2020-10-14 23:45:40 -04:00
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
Yotam Mann
530a997a07 compute the start of the next tick using the tickDuration instead of getTimeOfTick
fixes #706
2020-09-23 22:01:03 -04:00
Yotam Mann
9c1b303bcf updating the type of _timeout 2020-09-23 21:24:53 -04:00
sarahBuisson
00135f82bd
Update Ticker.ts
fix small ts error
2020-09-23 20:10:43 +02:00
Yotam Mann
840c77cfe1 import Draw for side-effects 2020-09-21 09:44:20 -04:00
Yotam Mann
0ca04b9ac5 making sure that classes doesn't re-export globals
addresses #699
2020-09-21 09:34:29 -04:00
Yotam Mann
7ec918e5b4 making arguments generic 2020-09-21 09:26:22 -04:00
sarahBuisson
846e536e4e
Update Defaults.ts 2020-09-21 02:31:29 +02:00
Yotam Mann
f6f164ac6d
Merge pull request #732 from marcelblum/docs-fix3
adding @category definitions for docs, fixing some typos/mistakes alo…
2020-09-07 09:10:12 -04:00
Jouni Airaksinen
d5c8a25a08 Add test for duplicate events 2020-09-07 14:14:53 +03:00
Jouni Airaksinen
b5f582ee1a Reverse Emitter off callback loop for correct removal of duplicate events 2020-09-07 14:06:24 +03:00
Marcel Blum
3715149b8b un-categorizing some internal-use-only classes so they don't surface to the docs 2020-09-02 18:01:49 -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
5771eb4383 removing RecursiveOmit (never used)
addresses #700
2020-07-19 12:23:18 -07:00
Yotam Mann
a78fba072a make sure the defaults belong to the template 2020-07-19 12:04:03 -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
007cdc5a66 fixing typos and adding examples 2020-06-25 08:26:50 -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