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
|
94c3844fe2
|
fixing example
|
2020-07-18 21:13:41 -07:00 |
|
Yotam Mann
|
127a62da5a
|
making example more descriptive
|
2020-06-17 10:31:26 -04:00 |
|
Yotam Mann
|
69bc2bbb57
|
linting
|
2020-06-16 23:14:19 -04: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
|
6ed48a9f96
|
updating examples
|
2020-06-07 20:14:48 -04:00 |
|
Yotam Mann
|
dd10bfa4b5
|
trying out 'as const'
|
2020-05-18 21:13:44 -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
|
12f0d5b332
|
adding some more examples
|
2020-04-29 23:34:01 -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
|
1686236d3f
|
offline example
|
2020-04-26 18:04:51 -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 |
|
Yotam Mann
|
f3d651272c
|
skipping test in firefox
|
2020-04-14 23:54:22 -04:00 |
|
Yotam Mann
|
0f47174272
|
increasing duration of test
was failing in FF
|
2020-04-14 23:44:37 -04:00 |
|
Yotam Mann
|
989abb9697
|
setting parameters as readonly
|
2020-04-14 22:01:00 -04:00 |
|
Yotam Mann
|
165569cefd
|
updating tests for slightly different oscillator sound
|
2020-04-13 23:13:28 -04:00 |
|
Yotam Mann
|
3e8120baa2
|
interface for PulseOscillator to set the carrier type in PWMOscillator
|
2020-04-13 22:40:53 -04:00 |
|
Powerlated
|
0636c28517
|
Use Triangle instead of Sawtooth for PulseOscillator source
Using Sawtooth for the source wave produces an inaccurate tone at pulse widths other than 50% (0). The fix is to use a Triangle wave for the source.
|
2020-04-12 15:21:57 -04: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
|
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
|
b86aaede46
|
updating relative path
|
2020-01-05 17:59:29 -05:00 |
|
Yotam Mann
|
3df7942908
|
keeping the loopStart/End within range
|
2019-12-24 00:17:25 -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
|
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
|
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
|
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
|
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
|
fc84ec281b
|
adding clamp function
|
2019-12-16 16:50:07 -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
|
72d7f37509
|
removing unused variable
|
2019-12-14 17:07:13 -05:00 |
|
Yotam Mann
|
ef0aaec8ee
|
Refactor source
adding `_restart` is an internal protected abstract method for all sources.
|
2019-12-14 16:09:24 -05:00 |
|
Yotam Mann
|
dedfe18ac2
|
open returns this
closes #589
|
2019-12-13 11:25:28 -05:00 |
|
Yotam Mann
|
fce95bea6e
|
feat: clamp the values to the defined min/maxValue
|
2019-12-11 10:11:40 -05:00 |
|
Yotam Mann
|
8540c44459
|
needs to set detune outside of signal being overridden
|
2019-12-06 14:10:33 -05:00 |
|
Yotam Mann
|
e955846bb2
|
moving docs from #584 to typescript
|
2019-12-04 10:52:40 -05:00 |
|
Yotam Mann
|
ba311dbe7b
|
putting settings into constructor object
slight optimization over setting them all individually
|
2019-11-22 13:26:16 -05:00 |
|
Yotam Mann
|
c80f8a89f9
|
optimization: also storing the wave
turns out that the call to `createPeriodicWave` is the most expensive part.
|
2019-11-22 11:18:49 -05:00 |
|