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
b3f1e17223
Merge pull request #1012 from Tonejs/dependabot/npm_and_yarn/follow-redirects-1.14.7
...
Bump follow-redirects from 1.4.1 to 1.14.7
2022-01-15 09:54:15 -05:00
Yotam Mann
df5e310e23
Merge pull request #1013 from Tonejs/dependabot/npm_and_yarn/engine.io-6.1.1
...
Bump engine.io from 6.1.0 to 6.1.1
2022-01-15 09:54:02 -05:00
Yotam Mann
58aaeec73d
Merge pull request #1014 from Tonejs/dependabot/npm_and_yarn/shelljs-0.8.5
...
Bump shelljs from 0.8.4 to 0.8.5
2022-01-15 09:53:42 -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
dependabot[bot]
8d1752f679
Bump shelljs from 0.8.4 to 0.8.5
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:56:32 +00:00
dependabot[bot]
28c24c1a6c
Bump engine.io from 6.1.0 to 6.1.1
...
Bumps [engine.io](https://github.com/socketio/engine.io ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/socketio/engine.io/releases )
- [Changelog](https://github.com/socketio/engine.io/blob/master/CHANGELOG.md )
- [Commits](https://github.com/socketio/engine.io/compare/6.1.0...6.1.1 )
---
updated-dependencies:
- dependency-name: engine.io
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 16:25:46 +00:00
dependabot[bot]
c603cba833
Bump follow-redirects from 1.4.1 to 1.14.7
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.4.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.4.1...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 04:33:34 +00: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
Yotam Mann
6903a77fbf
Merge pull request #1004 from yifanmai/yifanmai/tick-source-memoize
...
Memoize getTicksAtTime and getSecondsAtTime
Fixes #370
2022-01-03 20:35:32 -05: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
d6a23a134c
fixing typo
2021-12-18 17:36:57 -05:00
Yotam Mann
69ab1b91c6
Adding triggerAttackRelease example
...
addresses #989
2021-12-18 17:31:00 -05:00
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