Commit graph

5362 commits

Author SHA1 Message Date
Yotam Mann
dd12f771ab Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2021-12-08 22:20:36 -05:00
Yotam Mann
0aa8639668 updating devDeps
typescript can't be updated bc of this issue it seems like: https://github.com/monounity/karma-typescript/issues/499
2021-12-08 22:20:31 -05:00
Yotam Mann
1555102f92 updating deps 2021-12-08 22:18:09 -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
Yotam Mann
cd7bcdbe4d
Merge pull request #972 from andypea/patch-1
Parse note strings with three sharps or flats.
2021-11-20 15:06:38 -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
5c15c9517d
Merge pull request #963 from Tonejs/revert-942-buffer-player-timekeeping
Revert "fix for AudioBufferSourceNode stop time miscalculation"
2021-10-15 15:40:14 -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
8d75c16f20
Merge pull request #914 from benmccann/patch-2
Fix browser entry point
2021-10-13 16:27:51 -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
3f835efce6 removing node test for now 2021-10-13 14:26:02 -04:00
Yotam Mann
2d1e48f04f increasing the disconnect time 2021-10-13 14:21:23 -04:00
Yotam Mann
cf9edc5992 moving to .cjs scripts 2021-10-13 13:56:57 -04:00
Yotam Mann
a0e7f99bcc updating webpack cli api 2021-10-13 13:44:08 -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
Yotam Mann
8ff5c60311
Merge pull request #928 from Tonejs/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-10-13 13:25:43 -04:00
Yotam Mann
f4bc9f38d2 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2021-10-13 13:25:00 -04:00
Yotam Mann
dbbb0d1fff updating deps 2021-10-13 13:24:51 -04:00
Yotam Mann
6185cecec5 additional cleanup checks 2021-10-13 13:24:41 -04:00
Yotam Mann
e4811bd00d typescript fix 2021-10-13 13:23:15 -04:00
Yotam Mann
de5dc20252 adding example 2021-10-13 13:11:41 -04:00
Yotam Mann
2667d44fe1 updating dispose 2021-10-13 13:11:20 -04:00
Yotam Mann
d8c8a85bdf small ts tweaks 2021-10-13 13:10:36 -04:00
Yotam Mann
927ff54166 changing to channelCount to match rest of API 2021-10-13 13:09:09 -04:00
Yotam Mann
dbd77be2ef moving to karma cjs 2021-10-13 13:07:18 -04:00
Yotam Mann
0ccdab762f upgrading to node version 14 2021-10-13 13:06:00 -04:00
Yotam Mann
ebc0578961
Merge pull request #929 from SkyezerFox/dev
improvement: Allow PolySynth voice constructors to extend Monophonic
2021-10-13 09:58:12 -07:00