Yotam Mann
f08b317f9a
Merge pull request #902 from dannywritescode/dev
...
Fix: Loading samples with special characters in the file name
2021-10-13 13:26:38 -04:00
Yotam Mann
f4bc9f38d2
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
2021-10-13 13:25:00 -04:00
Yotam Mann
e4811bd00d
typescript fix
2021-10-13 13:23:15 -04:00
Yotam Mann
de5dc20252
adding example
2021-10-13 13:11:41 -04:00
Yotam Mann
2667d44fe1
updating dispose
2021-10-13 13:11:20 -04:00
Yotam Mann
d8c8a85bdf
small ts tweaks
2021-10-13 13:10:36 -04:00
Yotam Mann
927ff54166
changing to channelCount to match rest of API
2021-10-13 13:09:09 -04:00
Yotam Mann
ebc0578961
Merge pull request #929 from SkyezerFox/dev
...
improvement: Allow PolySynth voice constructors to extend Monophonic
2021-10-13 09:58:12 -07:00
Marcel Blum
9e9b3d23f7
use now() instead of currentTime
2021-09-06 18:02:24 -04:00
Marcel Blum
afb5284237
Analyser constructor smoothing option bug fix
2021-08-31 23:20:01 -04:00
SkyezerFox
f4474ffd63
allow PolySynth voice constructors to extend Monophonic
2021-08-13 12:11:57 +01:00
Yotam Mann
26392c29a7
Adding Players.add example
...
Fixes #916
2021-07-25 08:43:18 -07:00
Daniel Fernandes
21b836bfcf
changed yield to await
2021-06-08 16:19:21 +05:30
Daniel Fernandes
f7bdff0244
fix: loading non relative URLs
...
encodeURIComponent() used to encode the URL protocol ("https://" etc.) as well, causing errors when loading external samples and data URIs. Now, it only encodes the file path.
2021-06-08 14:58:10 +05:30
Daniel Fernandes
af00f3768e
fix loading of files with special chars in name
...
file names with special symbols like "C#5.wav" would not get parsed correctly. used encodeURIComponent() for each level of the file path to fix that.
2021-06-07 18:26:51 +05:30
Ilya Apasov
a77181175a
fix: load base64 encoded sounds when baseUrl is not empty
...
Fixes #898
2021-05-26 12:59:44 +02:00
Tony Atkins
be22ab8a24
GH-894: Correct 'Karplus-String' typo ( fixes #894 ).
2021-05-11 20:09:05 +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
Yotam Mann
f724be916e
Merge pull request #883 from DavidIsrawi/intrumentTypos
...
Fix: Typos in triggerAttack docs
2021-04-26 09:17:49 -07:00
matt-savvy
1234b7c04d
Fix example for Part
...
The first example for Part doesn't play.
## Changes
- adds start(0) to example code
2021-04-25 11:28:10 -04:00
David
25082eb396
fixed triggerAttack doc typos
2021-04-24 21:51:03 -07:00
WofWca
5d6a194458
improvement: add disposeOld
parameter to setContext
...
This makes it harder to introduce a resource leak
2021-04-21 13:03:49 +08:00
Yotam Mann
51f97dd9e8
Merge pull request #856 from garrettmichaelgeorge/dev
...
Add fanIn()
2021-04-19 09:28:00 -07:00
garrettmichaelgeorge
809af0fd4f
Implement fanIn with passing tests
2021-04-15 11:43:49 -04:00
Ron Yeh
59e484db83
Fix typos and improve comments.
...
"scaler" should be "scalar" but a shorter comment is clearer.
"immediatly" was missing a letter.
2021-03-30 16:46:02 -07:00
Stuart Keith
e3a611ffaa
polysynth does not reschedule event if disposed
2021-03-21 21:00:03 +11:00
Stuart Keith
0346ca0c09
remove unnecessary whitespace after comment
2021-03-21 20:38:53 +11: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
c135ebb57d
Change type name to differentiate with the class
2021-02-25 23:02:05 -05:00
Vibert Thio
63e57fb2e8
Fix comment typo in ContextInitialization.ts
2021-02-25 22:15:42 -05:00
Yotam Mann
38ca13539a
making path relative
2021-02-24 19:22:28 -05:00
Yotam Mann
4f9aecebd8
Chebyshev order must be an integer
...
fixes #844
2021-02-24 19:06:01 -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
ac856bc82b
ability to mute a sequence
...
fixes #823
2021-01-18 23:27:55 -05:00
Yotam Mann
de1dddc5b9
Added additional test for loop iteration
...
addresses #778
2021-01-13 12:21:16 -05:00
Yotam Mann
0b7a352f7a
remove implicit "stop" scheduling
...
fixes #778
2021-01-13 10:18:37 -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
dc9de66401
removing unused variable
2021-01-10 22:36:58 -05:00
Yotam Mann
44d1bc85bb
fixing typescript error in example
2021-01-10 22:19:02 -05:00
Yotam Mann
fdc7eb4e91
pass in partials to LFO
...
addresses #814
2021-01-10 21:48:52 -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
78452c65d2
making sure that the decibel values are propagated through to the filter
...
fixes #807
2020-12-14 18:43:40 -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
Yotam Mann
87cf66d772
setting type for windowSize
2020-12-07 20:56:35 -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
Razz21
ff3b4edefd
Fix docs examples. Closes #783
2020-11-15 08:28:51 +01:00
Yotam Mann
14be0fc84e
removing unused import
2020-11-02 23:04:31 -05:00
Yotam Mann
944fa51466
removing positive number restriction on frequency envelope octaves
2020-11-02 13:47:24 -05:00
Yotam Mann
66b377e1b5
increasing test threshold
2020-10-30 17:37:11 -04:00
Yotam Mann
ccf74922d4
fixing amplitude to it's still centered in the same spot
...
fixes #777
2020-10-30 11:17:27 -04: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
Yotam Mann
b39883e132
increasing attack/release above 0 to avoid distortion
...
fixes #770
2020-10-25 13:06:08 -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
Yotam Mann
aed85b0f47
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
2020-10-21 22:33:03 +02:00
Yotam Mann
8b996bc6ed
exporting Mono
...
fixes #765
2020-10-21 22:32:59 +02: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
d788183425
removing computedOffset calculation when synced
...
fixes #721
2020-09-23 22:11:38 -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
1572dcf67a
adjusting threshold
2020-09-21 10:10:43 -04: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
Yotam Mann
d26ca1b18a
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
2020-09-21 09:24:26 -04:00
Yotam Mann
61d27b93b6
fixing example formatting
2020-09-21 09:23:12 -04:00
sarahBuisson
846e536e4e
Update Defaults.ts
2020-09-21 02:31:29 +02:00
Yotam Mann
ad9dd643a6
fixing envelope example
2020-09-15 08:22:16 -04:00
Yotam Mann
ada9646ed7
starting Transport in Part docs
...
fixes #736
2020-09-09 08:51:36 -04:00
Yotam Mann
0ac1da5aa1
correctly offset phase for each oscillator
...
fixes #733
2020-09-07 22:14:58 -04:00
Yotam Mann
dca2e4fd2b
removing unnecessary category
2020-09-07 09:12:36 -04: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
Yotam Mann
89bdaa59ec
Merge pull request #722 from Astray-git/fix/instrument_sync
...
fix: Instrument sync
2020-09-07 09:08:22 -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
Astray-git
75f591a40a
fix: should set _sync in this.sync
2020-08-26 16:58:14 +08:00
Yotam Mann
826a51d594
clearing the 'implicitEnd' event off the timeline
...
fixes #711
2020-08-22 10:13:32 -04:00
Yotam Mann
ed8bb4ddcf
updating omnioscillator options
2020-08-06 12:58:02 -07:00
Yotam Mann
a58f326e41
better examples in comments
2020-08-03 18:21:17 -07:00
Yotam Mann
a25fd28328
removing toFixed since output might be array
2020-07-26 14:06:00 -07:00
Yotam Mann
6b5daa7d07
using new way to handle offline tests
2020-07-26 13:55:06 -07:00
Yotam Mann
542e8913c6
Merge branch 'master' into dev
2020-07-26 13:54:49 -07:00
Yotam Mann
d357feec24
channelCount as an input option
...
fixes #704
2020-07-25 18:27:50 -07:00
Jack Anderson
998592fa3e
OneShotSource uses requestIdleCallback if avail
...
- This optimization allows the browser to tell Tone a more opportune
time to garbage collect during onended on OneShotSource. Otherwise, the 1
second timeout can trigger at an inopportune time.
2020-07-20 17:43:50 -07:00
Yotam Mann
e673387cbb
fixing example links
2020-07-20 11:11:00 -07:00
Yotam Mann
f20d19beed
updating example
2020-07-19 13:48:48 -07:00