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
cjwit
fb4904da65
Revise DCMeter doc changes
2020-10-25 19:39:14 -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
cjwit
cb14344b8f
Add link from Meter to DCMeter
2020-10-23 13:51:08 -04:00
cjwit
b5128769c8
Add detail and link to Meter in DCMeter
2020-10-23 13:50:00 -04:00
cjwit
7799b0ede4
Add output description and example link to Meter
2020-10-23 13:42:01 -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
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
37c9f638de
clamp the overlap range
2020-07-19 10:16:30 -07:00
Yotam Mann
6337227155
updating example using Array instead of Float32Array
2020-07-19 10:12:39 -07:00
Yotam Mann
e40cb97e43
including MonoSynth in PolySynth types
2020-07-19 10:12:26 -07:00
Yotam Mann
94c3844fe2
fixing example
2020-07-18 21:13:41 -07:00
Yotam Mann
f05775b964
correcting example
2020-07-18 17:47:07 -07:00
Yotam Mann
a9f99e8fb3
corrected fft example
2020-07-18 17:21:24 -07:00
Yotam Mann
742a965d33
fixing example
2020-07-18 10:41:36 -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
1b23c84e08
adding deprecated Destination name
...
will reduce errors in upgrading
2020-06-25 08:26:38 -07:00
Yotam Mann
4435329b03
feat: sampler no longer quantizes to nearest semitone but can work between pitches
...
fixes #447
2020-06-17 17:15:56 -04:00
Yotam Mann
de95b27af0
don't clear the activeVoices array when releasing all
...
actives voices will be cleared on it's own
fixes #676
2020-06-17 14:08:25 -04:00
Yotam Mann
127a62da5a
making example more descriptive
2020-06-17 10:31:26 -04:00
Yotam Mann
c7ac90f2f7
fixing test
2020-06-16 23:27:05 -04:00
Yotam Mann
dbed4d27fe
adding note recommending Reverb over FeedbackCombFilter-based classes
2020-06-16 23:15:06 -04:00
Yotam Mann
08aa0f5419
adding getters for global singletons
...
addresses #679
2020-06-16 23:14:34 -04:00
Yotam Mann
69bc2bbb57
linting
2020-06-16 23:14:19 -04:00
Jack Anderson
73ba8c1138
export new BiquadFilter
2020-06-08 15:01:01 -07:00
Yotam Mann
50a888c8c0
start the source only if the transport is already past the given start time
...
fixes #525
2020-06-07 23:18:33 -04:00
Yotam Mann
22cecdc281
feat: adding ability to get the frequency at the FFT index
...
`getFrequencyOfIndex`
2020-06-07 20:46:01 -04:00
Yotam Mann
d72580cd48
removing unused variable
2020-06-07 20:42:34 -04:00
Yotam Mann
75617d341f
feat: adding BiquadFilter
...
Simplified Filter class without the "rolloff" param
closes #686
2020-06-07 20:17:18 -04:00
Yotam Mann
fdb306bfce
changed sound url
2020-06-07 20:14:58 -04:00
Yotam Mann
6ed48a9f96
updating examples
2020-06-07 20:14:48 -04:00
Yotam Mann
353ed3f28c
adding more docs and examples
2020-05-26 21:09:32 -04:00
Yotam Mann
9d8bc5fe06
setting params as k-rate
...
gives much better performance
addresses #672
2020-05-26 21:09:10 -04:00
Yotam Mann
dd10bfa4b5
trying out 'as const'
2020-05-18 21:13:44 -04:00
Yotam Mann
23af858ef2
updating doc links
2020-05-18 21:13:22 -04:00
Yotam Mann
510a08df4e
Revert "feat: Sampler can be loaded with ToneAudioBuffers"
...
This reverts commit 368a7f43cb
.
2020-05-12 22:57:13 -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
368a7f43cb
feat: Sampler can be loaded with ToneAudioBuffers
2020-05-11 15:37:14 -04:00
Yotam Mann
51106320b5
converting worklets back into strings
...
fixes #663
2020-05-07 09:23:48 -04:00
Yotam Mann
f0926193c4
render the amplitude offline
2020-05-06 22:11:07 -04:00
Yotam Mann
9864a79a25
start the gain
2020-05-06 22:10:35 -04:00
Yotam Mann
c4e4b61d93
grainSize should be grainSize property not the elapsed time
...
fixes #665
2020-05-03 12:13:11 -04:00
Yotam Mann
72857fbbcc
don't warn on sync'ed start
2020-05-01 17:58:23 -04:00
Yotam Mann
8656f37eff
updating Envelope examples
2020-04-29 23:44:01 -04:00
Yotam Mann
12f0d5b332
adding some more examples
2020-04-29 23:34:01 -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
c2d6eb4a7f
fixing tests
...
everything is delayed by 1 more sample
2020-04-29 16:55:09 -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
dffe6ac151
showing more of the waveform
2020-04-29 14:41:09 -04:00
Yotam Mann
cde3e53761
updating examples
2020-04-29 14:40:59 -04:00
Yotam Mann
bebdfac5cf
filling out some more examples
2020-04-29 10:06:18 -04:00
Yotam Mann
bcf7547808
better pan example
2020-04-27 00:35:46 -04:00
Yotam Mann
7429604d3d
ability to pass in channelCount
...
addresses #609
2020-04-26 18:07:31 -04:00
Yotam Mann
1686236d3f
offline example
2020-04-26 18:04:51 -04:00
Yotam Mann
939c08417c
adding some more examples
2020-04-26 18:03:40 -04:00
Yotam Mann
5ddfce9df7
updating polyfill recomendation
...
#655
2020-04-26 18:02:18 -04:00
Yotam Mann
7167fa3a81
Merge pull request #655 from sanderwapstra/mediarecorder-polyfill
...
Changes to make Recorder work with polyfill
2020-04-26 17:59:54 -04:00
Sander Wapstra
c7aed6199f
Use addEventListener for start and stop
2020-04-26 21:38:14 +02:00
Yotam Mann
dbc3db6692
fixing issue where input might be undefined
2020-04-21 22:11:31 -04:00
Yotam Mann
379e464618
updated examples
2020-04-16 23:32:39 -04:00
Yotam Mann
8b62ceddac
additional examples
2020-04-16 23:32:31 -04:00
Yotam Mann
15d5584f97
fixing example
2020-04-16 23:32:10 -04:00
Yotam Mann
0771798aac
adding more examples
2020-04-16 23:08:21 -04:00
Yotam Mann
66bbf4fbaf
skipping test for now
2020-04-16 23:01:08 -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
e4156eec8d
linting
2020-04-16 21:46:55 -04:00
Yotam Mann
9f5ed8ef2e
testing synced player source
2020-04-16 21:45:51 -04:00