Commit graph

3128 commits

Author SHA1 Message Date
Marcel Blum
f06ff17f06
allow worklet-based effects to be used with native contexts (#1131)
* check for native context when creating AudioWorkletNode

* better context check per @chrisguttandin

---------

Co-authored-by: Yotam Mann <hi@yotammann.info>
2024-05-06 11:25:17 -04:00
Yotam Mann
56fea7cb70
Refactor options before super (#1244) 2024-05-06 10:55:55 -04:00
Yotam Mann
aaf880c925
Using web-test-runner for tests, updating import paths (#1242)
* WIP moving tests to web-test-runner

* updating thresholds

* Adding file extensions

* Testing integrations

* linting

* fixing dep

* moving back to root dir

* prettier all of the files

* updating eslint rules to use with prettier

* remove import package

* moving tsignore around

* removing unneeded ignores

* all tests run on puppeteer, no need for testing guards

* linting

* import type syntax

* cleaning up

* Update package.json
2024-05-03 14:31:14 -04:00
Yotam Mann
066e46f4c3
Small doc updates and tweaks (#1239) 2024-04-30 09:44:57 -04:00
Yotam Mann
4b3d371fdd
updating link to Context instead of BaseContext (#1238) 2024-04-29 13:34:53 -04:00
Yotam Mann
f2160618aa
Using @see typedoc (#1237) 2024-04-29 12:59:49 -04:00
Yotam Mann
57eacfa13b
Updating link syntax (#1236) 2024-04-29 10:48:37 -04:00
Yotam Mann
080856221c
organizing docs (#1235) 2024-04-29 10:48:28 -04:00
Yotam Mann
f8fcc4cec6
Simplifying oscillator type strings using templates (#1234)
* simplifying interface types using templates

* uploading codecov threshold

* adjusting thresh

* updating checkout
2024-04-28 13:05:42 -04:00
Yotam Mann
3d42017f50
Deprecating singleton variables, use singleton getter instead (#1233)
* Deprecating singleton variables, use singleton getter instead

* updating references

* moving over to getters instead of global vars
2024-04-28 13:05:26 -04:00
Yotam Mann
7882bed066 reverting isNote test, fixing workflow 2024-04-25 17:19:50 -04:00
Yotam Mann
9353d33435
Less verbose unit types (#1181)
Co-authored-by: IntGrah <intgrah@gmail.com>
2024-04-25 17:05:51 -04:00
Yotam Mann
a256ae2e6c
Working on getting github actions to run (#1231)
* working on getting actions to run

* running all tests

* run on CHROME only

* Update test.yml

* ignoring node_modules

* updating typedocs

* trying to ignore compiler errors

* Update tsconfig.json

* running doc tests in parallel

* speeding up docs example tests

* Update test.yml

* testing README

* 2 spaces instead of 4

* codecov

* remove travis ci

* adding token

* updating codecov
2024-04-25 14:06:55 -04:00
Jordan Danford
de4dd28ff3 Update standardized-audio-context, fix little lint errors 2023-01-26 11:31:38 -07:00
PRITAM CHOWDHURY
40994f4cc6 fixed missing initialization for humanize attribute 2022-12-24 01:19:50 +05:30
Yotam Mann
bd1c604131
Merge pull request #1133 from quargsgreene/dev
small doc enhancements for chorus, distortion, and FFT
2022-10-23 11:01:27 -04:00
Quargs Greene
34f4c149d2 small doc enhancements for chorus, distortion, and FFT 2022-10-22 15:47:23 -07:00
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
3de6c81637
Merge pull request #766 from cjwit/add-docs
Add docs
2022-10-02 10:08:29 -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
aa58bf7fd1
Merge pull request #1126 from quargsgreene/dev
custom decay curve issue #1107
2022-10-02 09:52:54 -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
Quargs Greene
d463286891 custom decay curve #1107 2022-10-01 22:38:20 -07: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
Marcel Blum
465285bd86
docs typo fix 2022-06-29 12:06:16 -04:00
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
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
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