Expand description

Defines an API for easy DSP chain building with the hexagonal crate::Matrix.

The crate::MatrixCellChain abstractions allows very easy placement of DSP signal chains:

 use hexodsp::*;
 let mut chain = MatrixCellChain::new(CellDir::BR);
 chain.node_out("sin", "sig")
     .set_denorm("freq", 220.0)
     .node_io("amp", "inp", "sig")
     .set_denorm("att", 0.5)
     .node_inp("out", "ch1");

 // use crate::nodes::new_node_engine;
 let (node_conf, _node_exec) = new_node_engine();
 let mut matrix = Matrix::new(node_conf, 7, 7);

 chain.place(&mut matrix, 2, 2).expect("no error in this case");

Structs

A DSP chain builder for the crate::Matrix.

Enums