assert_dsp_net_snapshot

Macro assert_dsp_net_snapshot 

Source
macro_rules! assert_dsp_net_snapshot {
    ($name:expr, $net:expr) => { ... };
}
Expand description

Macro to snapshot a fundsp Net as a Graphviz DOT binary using snapshot_dsp_net.

§Usage:

assert_dsp_net_snapshot!(name_expr, net_expr);

  • name_expr: used to name the snapshot file (e.g., “my_net”)
  • net_expr: expression that evaluates to a fundsp::net::Net

Produces a single binary snapshot (.dot content) under the given name.