Yotam Mann
a2253bdfd8
Merge pull request #1041 from marcelblum/context-cleanup
...
actually close audio context when disposing it
2022-10-02 10:10:03 -04:00
Yotam Mann
658923b665
Merge pull request #1050 from yifanmai/transport-sync
...
Use reciprocal of tempo when syncing time signals to Transport
2022-10-02 09:56:32 -04:00
Yotam Mann
d6503ab464
Merge pull request #1122 from satelllte/docs-transport-seconds
...
Transport.seconds: docs description small improvement
2022-10-02 09:52:15 -04:00
Yotam Mann
4d8ab82277
Merge pull request #1121 from satelllte/docs-transport-ticks
...
Transport.ticks: docs description small improvement
2022-10-02 09:51:58 -04:00
George
f8e1a5bfa4
Transport.seconds: docs typo fix
2022-09-27 15:53:05 +00:00
George
396dcb2577
Transport.ticks: docs typo fix
2022-09-27 15:49:45 +00:00
George
ac410d0955
Transport.progress: docs typo fix
2022-09-27 15:45:40 +00:00
heycharlieabbott
f021aa21b5
Small typo and broken link removal
2022-05-11 00:17:19 +09:00
Christoph Guttandin
75a802cfb2
Load only a single AudioWorklet
2022-03-21 16:34:23 +01:00
Yifan Mai
a392067b60
Garbage collect nodes used for Transport syncing
2022-03-13 15:12:09 -07:00
Yifan Mai
64c8a29983
Use reciprocal of tempo when syncing time signals to Transport
...
fixes #879
2022-03-06 20:43:03 -08: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
77e89734c2
close audio context when disposing
2022-02-22 17:22:50 -05:00
Yotam Mann
484bfa6dac
removing unused import
2022-02-07 13:14:19 -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
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
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
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
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
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
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
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
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
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
d8c8a85bdf
small ts tweaks
2021-10-13 13:10:36 -04:00
Daniel Fernandes
21b836bfcf
changed yield to await
2021-06-08 16:19:21 +05:30
Daniel Fernandes
f7bdff0244
fix: loading non relative URLs
...
encodeURIComponent() used to encode the URL protocol ("https://" etc.) as well, causing errors when loading external samples and data URIs. Now, it only encodes the file path.
2021-06-08 14:58:10 +05:30
Daniel Fernandes
af00f3768e
fix loading of files with special chars in name
...
file names with special symbols like "C#5.wav" would not get parsed correctly. used encodeURIComponent() for each level of the file path to fix that.
2021-06-07 18:26:51 +05:30
Ilya Apasov
a77181175a
fix: load base64 encoded sounds when baseUrl is not empty
...
Fixes #898
2021-05-26 12:59:44 +02:00
Yotam Mann
c8ec4d75d1
asserts that the buffer should be loaded when trying to slice
...
addresses #886
2021-05-02 22:16:04 -04:00
WofWca
5d6a194458
improvement: add disposeOld
parameter to setContext
...
This makes it harder to introduce a resource leak
2021-04-21 13:03:49 +08:00
garrettmichaelgeorge
809af0fd4f
Implement fanIn with passing tests
2021-04-15 11:43:49 -04:00
garrettmichaelgeorge
aca51b7026
Improve fanIn() API
2021-03-17 21:04:01 -04:00
garrettmichaelgeorge
fdcbea3714
Add failing tests for fanIn
2021-03-17 14:55:45 -04:00
Yotam Mann
646330b485
Merge pull request #847 from vibertthio/fix-docs
...
Fix docs of class Tone
2021-02-26 09:44:43 -05:00
Vibert Thio
d7be64b4d9
remove the typo "@class"
2021-02-25 23:03:45 -05:00
Vibert Thio
63e57fb2e8
Fix comment typo in ContextInitialization.ts
2021-02-25 22:15:42 -05:00
Yotam Mann
f549a45cf7
Merge pull request #790 from sarahBuisson/patch-3
...
Update AdvancedTypeCheck.ts
2021-01-31 15:03:40 -05:00
Vibert Thio
46bd7176f6
fix the wrong variable name 'event' in Emitter.ts
2021-01-20 18:41:55 -05:00