MCPcopy Create free account
hub / github.com/RustAudio/dsp-chain / audio_requested

Method audio_requested

examples/synth.rs:104–115  ·  view source on GitHub ↗

Here we'll override the audio_requested method and generate a sine wave.

(&mut self, buffer: &mut [[Output; CHANNELS]], sample_hz: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.45

Calls 1

sine_waveFunction · 0.70

Tested by

no test coverage detected