Commit graph

5347 commits

Author SHA1 Message Date
dependabot[bot]
ba0ddccc22
Bump karma from 6.3.14 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:42:26 +00:00
Marcel Blum
a8ac712abf ensuring close() is never called more than once on a context even before the async process completes; removing superfluous close() call on raw context in a test 2022-03-01 12:38:26 -05:00
Marcel Blum
7913b22f8f
Merge branch 'Tonejs:dev' into context-cleanup 2022-03-01 11:27:57 -05:00
Yotam Mann
1bedd96b84
Merge pull request #1035 from Tonejs/dependabot/npm_and_yarn/karma-6.3.14
Bump karma from 6.3.9 to 6.3.14
2022-02-28 23:56:09 -05:00
Marcel Blum
77e89734c2 close audio context when disposing 2022-02-22 17:22:50 -05:00
dependabot[bot]
141fa576d1
Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 02:12:03 +00:00
dependabot[bot]
d9fc011b0a
Bump karma from 6.3.9 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.9 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.9...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 05:12:09 +00:00
Yotam Mann
b91b34d792 reverting update to typedoc 2022-02-08 10:00:09 -05:00
Yotam Mann
f34a963f1b updating deps 2022-02-07 13:15:33 -05:00
Yotam Mann
484bfa6dac removing unused import 2022-02-07 13:14:19 -05:00
Yotam Mann
31dba1e5a8
Merge pull request #1017 from Tonejs/dependabot/npm_and_yarn/log4js-6.4.0
Bump log4js from 6.3.0 to 6.4.0
2022-02-07 11:55:37 -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
dependabot[bot]
a5f4a3af5a
Bump log4js from 6.3.0 to 6.4.0
Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/log4js-node/log4js-node/releases)
- [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.0)

---
updated-dependencies:
- dependency-name: log4js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 20:45:08 +00: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
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