web-audio-api-rs
web-audio-api-rs copied to clipboard
A Rust implementation of the Web Audio API, for use in non-browser contexts
Hey, Reviewed the algorithm to access memory in a more aligned way (same idea as for delay node and audio buffer source node) **before** ``` - 18 | Stereo panning...
Hey, Quite a big refactoring here: - simplified all the code - implemented tail-time (#34) and actively processing (#147, TBC) - added tests against frequency responses gathered from Chrome and...
This check is wrong in some situations: https://github.com/orottier/web-audio-api-rs/blob/53b1dc0b643d65e1695cff30ce0137e95538990e/src/param.rs#L918 For example if we do something like: ```rs param.linear_ramp_to_value_at_time(1., context.current_time() + 1.); std::thread::sleep(std::time::Duration::from_secs(4)); // first event has ended thus the timeline is...
AudioRenderQuantum has a method `modify_channels` that modifies each channel in the buffer with the same function. This allows for an optimization when all channels in the buffer are identical. In...
from #20 > `set_target_at_time` can run forever as it as no "real" end time or value, a possible performance improvement would be to internally cancel the event when `intrisic_value` is...
Nodes: - [x] DelayNode - [ ] BiquadFilterNode - [ ] IIRFilterNode - [x] WaveShaperNode - [ ] DynamicsCompressorNode - [ ] (wip) ConvolverNode From the spec at https://webaudio.github.io/web-audio-api/#iirfilternode ```...
Connection to the audio hardware is made through `io::build_output` and `io::build_input` functions. - `build_output` instantiates the output stream. - `build_input` instantiates the input stream. A rewrite of `io::build_output` has been...
- [x] Setup `benches` folder to run - https://doc.rust-lang.org/1.12.1/book/benchmark-tests.html - [ ] Split the `example/benchmarks.rs` file to separate benchmarks - [ ] Use criterion to run benchmarks locally - [x]...
- [ ] Fix occasional segfaults when interacting with the `stream` (suspend, resume, get latency) - [x] Support other output channel configs than STEREO - [ ] Validate 4.1 output...
You can specify the requested sample rate via `AudioContextOptions.sample_rate` If this sample rate is not available at the audio output device, we fall back to a value that is supported....