Yotam Mann
aad2d8c890
Updating docs on Player.reverse
...
fixes #986
2021-12-20 11:59:20 -05:00
Yotam Mann
444d6179c4
Don't reschedule source when offset is very small
...
This offset is due to floating point error
Fixes #999
Fixes #944
2021-12-19 11:21:27 -05:00
Yotam Mann
e1c66311db
Revert "fix for AudioBufferSourceNode stop time miscalculation"
2021-10-15 15:39:44 -04:00
Yotam Mann
3177cde6ec
Merge pull request #942 from marcelblum/buffer-player-timekeeping
...
fix for AudioBufferSourceNode stop time miscalculation
2021-10-15 15:29:22 -04:00
Yotam Mann
10c27a99e1
linting
2021-10-13 18:38:30 -04:00
Yotam Mann
2667d44fe1
updating dispose
2021-10-13 13:11:20 -04:00
Marcel Blum
9e9b3d23f7
use now() instead of currentTime
2021-09-06 18:02:24 -04:00
Yotam Mann
26392c29a7
Adding Players.add example
...
Fixes #916
2021-07-25 08:43:18 -07: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
Razz21
ff3b4edefd
Fix docs examples. Closes #783
2020-11-15 08:28:51 +01: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
d788183425
removing computedOffset calculation when synced
...
fixes #721
2020-09-23 22:11:38 -04:00
Yotam Mann
0ac1da5aa1
correctly offset phase for each oscillator
...
fixes #733
2020-09-07 22:14:58 -04: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
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
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
acc23128c1
updating example links
2020-07-19 13:22:47 -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
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