node-web-audio-api
node-web-audio-api copied to clipboard
Web Audio API for Node.js
Remaining todos and ideas following #124 - [x] Review rules and fix number of channels outputs when input change - [x] Use a pool of `Float32Array` channels to avoid allocation...
- `to_byte_slice` can be avoided by doing e.g.: ```rs let mut float32_arr_value = float32_arr.into_value()?; let buffer: &mut [f32] = float32_arr_value.as_mut(); buffer.copy_from_slice(f32_slice); ``` - `get_symbol_for` is silly
When using an audio interface with more than 2 channels, getUserMedia should be able to return a media stream with more than 2 channels by providing a channelCount constraint. Browsers...
The [wpt suite](https://github.com/web-platform-tests/wpt) was introduced to this lib in #42. It runs without crashing now and our aim is to improve the test score over time. This tracking issue lists...
To prevent regressions early and avoid issues such as - #118 - #133 ## Resources - https://joyeecheung.github.io/blog/2024/03/17/memory-leak-testing-v8-node-js-1/ - https://github.com/lachiejames/memory-leak-detection
No need to waste 5mn of resources on 4 docker images on each push...
cf. [`util.inspect.custom`](https://nodejs.org/api/util.html#utilinspectcustom) (as always shortcut is broken on website...)
This function relies on `unsafe` to be able to mutate the returned channel, which may be a problem in some situations > I think this inhibits some undefined behaviour -...
You mention the MediaStreams API is somewhat out of scope for this library, but there is an implementation (wrapper) of the MediaStream Source Node. Also, the upstream/wrapped crate appears to...
- [ ] Check mimalloc has positive impact on performance (?) - [ ] Review / clean build flags + [ ] define what to do with `lto` + [...