snapshot_audio_node_with_input

Function snapshot_audio_node_with_input 

Source
pub fn snapshot_audio_node_with_input<N>(
    node: N,
    input_source: InputSource,
) -> String
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);
let svg = snapshot_audio_node_with_input(node, InputSource::None);
println!("{svg}");