Commit graph

3092 commits

Author SHA1 Message Date
heycharlieabbott
f021aa21b5 Small typo and broken link removal 2022-05-11 00:17:19 +09:00
Yotam Mann
92e1ee1ed1
Merge pull request #1065 from LukasOpp/dev
Fix documentation typo `paramter` -> `parameter`
2022-04-24 10:51:51 -04:00
Yotam Mann
75c20b47c4
Merge pull request #1073 from duhrer/GH-1071-1
GH-1071: Fix broken link in sequencer docs (resolves #1071).
2022-04-24 10:51:23 -04:00
Tony Atkins
3a226111f1 GH-1071: Fix broken link in sequencer docs. 2022-04-23 18:23:52 +02:00
Lukas
4d9b3d0bb8
fix typo paramter -> parameter 2022-04-16 17:58:41 +02:00
Christoph Guttandin
75a802cfb2 Load only a single AudioWorklet 2022-03-21 16:34:23 +01:00
Yotam Mann
484bfa6dac removing unused import 2022-02-07 13:14:19 -05:00
Yotam Mann
2c7d4c1ae5
Merge pull request #1018 from yifanmai/meter-channels
Smooth RMS values per channel in Meter
2022-01-24 11:35:51 -05:00
Yifan Mai
45d2009ccb Smooth RMS values per channel in Meter
Fixes #882
2022-01-23 10:49:15 -08:00
Yotam Mann
364040cefe removing Sound On Sound link
fixes #1016
2022-01-21 14:57:04 -05:00
Yotam Mann
0399687863 set in constructor even if AudioBuffer is not from std-audio-context
Fixes #991
2022-01-17 13:11:55 -05: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
fb17cf564f
Merge pull request #987 from marcelblum/context-options-bugfixes
fixes for Context options handling & micro timing bugs
2022-01-15 09:51:35 -05:00
Yotam Mann
032a313da8
Merge pull request #1005 from yifanmai/pattern-index
Add Pattern.index
2022-01-15 09:50:14 -05:00
Yifan Mai
8949efcd21 Minor doc fixes in PatternGenerator 2022-01-04 21:25:26 -08:00
Yifan Mai
205c438511 Add Pattern.index
Pattern.index returns the current index of the pattern. This method
previously existed but was lost after the TypeScript conversion.
2022-01-04 21:19:52 -08:00
Yifan Mai
aaa1654a15 Clear memoized values when events are modified 2021-12-28 20:16:55 -08:00
Yifan Mai
da73385620 Memoize getTicksAtTime and getSecondsAtTime 2021-12-27 16:22:08 -08: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
Yotam Mann
aeaaa1e871 updating threshold 2021-12-18 17:37:31 -05:00
Yotam Mann
69ab1b91c6 Adding triggerAttackRelease example
addresses #989
2021-12-18 17:31:00 -05:00
Marcel Blum
c68903380e
comment correction 2021-12-01 17:44:53 -05:00
Marcel Blum
1295bd4603 docs update 2021-12-01 13:55:28 -05:00
Marcel Blum
fba875c809 include updateInterval check in Context constructor test 2021-12-01 12:19:03 -05:00
Marcel Blum
37bf8e6f40
Merge branch 'Tonejs:dev' into buffer-player-timekeeping 2021-12-01 12:06:47 -05:00
Marcel Blum
8c47a42290 test fix for #912 2021-12-01 11:54:32 -05:00
Marcel Blum
63c958774b another updateInterval tweak 2021-11-29 20:23:15 -05:00
Marcel Blum
2fa6c66b90 tweak default updateInterval for 0 lookAhead 2021-11-29 11:33:59 -05:00
Marcel Blum
0ad8df2445 Merge branch 'context-options-bugfixes' of https://github.com/marcelblum/Tone.js into context-options-bugfixes 2021-11-29 11:14:33 -05:00
Marcel Blum
796fea2d6c prevent Context options overriding, remove unreachable/overridden code, fix Ticker precision
add _minimumUpdateInterval to Ticker, derive from actual context sampleRate instead of assuming 44100; add lookAhead setter to Context so that updateInterval is also adjusted; prevent latencyHint from getting overridden when rolling own context
2021-11-29 11:14:14 -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
Andrew Punnett
5cd3560d46
Parse note strings with three sharps or flats.
Tweaked the note string regexp and the noteToScaleIndex map, so that it can parse note strings with three sharps or flats.

Although rare, notes with three sharps or flats do occur, for example in the B# augmented seventh and Cb diminished seventh chords.
2021-10-29 10:54:30 +13: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
954a4fce37 Allow instrument and PolySynth to be scheduled to the transport stop/loop events
addresses #924
2021-10-13 19:27:34 -04:00
Yotam Mann
6dd22e752f warn if event is scheduled without using the scheduled time.
addresses #959
2021-10-13 19:03:14 -04:00
Yotam Mann
52cf924ee7 linting 2021-10-13 18:42:45 -04:00
Yotam Mann
10c27a99e1 linting 2021-10-13 18:38:30 -04:00
Yotam Mann
3a85eeb500 fixing exponential test 2021-10-13 16:06:42 -04:00
Yotam Mann
07dce2da59 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2021-10-13 15:52:53 -04:00
Yotam Mann
06d94bd3cd simplifying test slightly 2021-10-13 15:52:43 -04:00
Yotam Mann
fba6c14d75
Merge pull request #880 from WofWca/set-context-dispose-old
improvement: add `disposeOld` parameter to `setContext`
2021-10-13 15:30:17 -04:00
Yotam Mann
4f5353e7f0 throws error when polysynth is used with a non monophonic class
fixes #939
2021-10-13 15:29:23 -04:00
Yotam Mann
4af3168436 adjusting test thresh 2021-10-13 13:35:40 -04:00
Yotam Mann
180af57dc7 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2021-10-13 13:32:42 -04:00
Yotam Mann
e055c0b47e correcting typescript issues 2021-10-13 13:32:29 -04:00
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