Commit graph

686 commits

Author SHA1 Message Date
Yotam Mann
7eec743b18 WIP moving tests to web-test-runner 2024-05-01 15:55:52 -04:00
Yotam Mann
f2160618aa
Using @see typedoc (#1237) 2024-04-29 12:59:49 -04:00
Yotam Mann
57eacfa13b
Updating link syntax (#1236) 2024-04-29 10:48:37 -04:00
Yotam Mann
f8fcc4cec6
Simplifying oscillator type strings using templates (#1234)
* simplifying interface types using templates

* uploading codecov threshold

* adjusting thresh

* updating checkout
2024-04-28 13:05:42 -04:00
Yotam Mann
a256ae2e6c
Working on getting github actions to run (#1231)
* working on getting actions to run

* running all tests

* run on CHROME only

* Update test.yml

* ignoring node_modules

* updating typedocs

* trying to ignore compiler errors

* Update tsconfig.json

* running doc tests in parallel

* speeding up docs example tests

* Update test.yml

* testing README

* 2 spaces instead of 4

* codecov

* remove travis ci

* adding token

* updating codecov
2024-04-25 14:06:55 -04:00
Jordan Danford
de4dd28ff3 Update standardized-audio-context, fix little lint errors 2023-01-26 11:31:38 -07:00
Marcel Blum
465285bd86
docs typo fix 2022-06-29 12:06:16 -04:00
Yotam Mann
3196b2d68e
Merge pull request #968 from marcelblum/buffer-player-timekeeping
fix attempt #2 for AudioBufferSourceNode stop time miscalculation, with updated tests
2022-01-15 09:53:08 -05:00
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
Marcel Blum
8c47a42290 test fix for #912 2021-12-01 11:54:32 -05:00
Marcel Blum
05a4ef7cf2 better fix for #912 by stopping only the most recently created source on player.restart(); reverting prior fix attempt which didn't address all possible cases adequately 2021-10-29 22:27:55 -04:00
Marcel Blum
6700a3c5f5 fix failing tests to use same (corrected) currentTime as OneShotSource 2021-10-20 22:30:59 -04:00
Marcel Blum
6decb02d9a
the putback 2021-10-18 22:08:40 -04: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