pub fn snapshot_audio_node_with_input<N>(
name: &str,
node: N,
input_source: InputSource,
)where
N: AudioUnit,Expand description
Create an SVG snapshot of audio node inputs and outputs
ยงExample
use insta_fun::*;
use fundsp::hacker::prelude::*;
let node = sine_hz::<f32>(440.0);
snapshot_audio_node_with_input("sine_hz_2", node, InputSource::None);