diff --git a/src/dsp/mod.rs b/src/dsp/mod.rs index e8bbd8f..d6b03b5 100644 --- a/src/dsp/mod.rs +++ b/src/dsp/mod.rs @@ -513,8 +513,6 @@ macro_rules! r_lfot { ($x: expr, $coarse: expr) => { n_lfot!((denv / 500.0).round() * 500.0) }; - println!("ROUND C {} => {}", d_lfot!($x), d_lfot!(o)); - o } } } @@ -1889,7 +1887,7 @@ mod tests { for i in 1..999 { let x = (((i as f32) / 1000.0) - 0.5) * 2.0; let r = d_pit!(x); - println!("x={:8.5} => {:8.5}", x, r); + //d// println!("x={:8.5} => {:8.5}", x, r); assert_eq!( (n_pit!(r) * 10000.0).round() as i32, (x * 10000.0).round() as i32); diff --git a/src/dsp/node_map.rs b/src/dsp/node_map.rs index 95eab08..19e8dcc 100644 --- a/src/dsp/node_map.rs +++ b/src/dsp/node_map.rs @@ -50,7 +50,7 @@ impl Map { pub const sig : &'static str = "Map sig\nMapped signal output\nRange: (-1..1)\n"; pub const DESC : &'static str = -r#"Signal Range Mapper +r#"Range Mapper This node allows to map an input signal range to a precise output signal range. It's mostly useful to map control signals to modulate inputs. @@ -58,7 +58,7 @@ It's mostly useful to map control signals to modulate inputs. See also the 'SMap' node, which is a simplified version of this node. "#; pub const HELP : &'static str = -r#"Map - Signal Range Mapper +r#"Map - Range Mapper This node allows to map an input signal range to a precise output signal range. It's main use is for precise control of an input of another node. diff --git a/src/dsp/node_smap.rs b/src/dsp/node_smap.rs index 772c0c6..f26843e 100644 --- a/src/dsp/node_smap.rs +++ b/src/dsp/node_smap.rs @@ -58,14 +58,14 @@ impl SMap { pub const sig : &'static str = "SMap sig\nMapped signal output\nRange: (-1..1)\n"; pub const DESC : &'static str = -r#"Simple Signal Range Mapper +r#"Simple Range Mapper This node allows to map an unipolar (0..1) or bipolar signal (-1..1) to a defined 'min'/'max' signal range. See also the 'Map' node for a more sophisticated version of this. "#; pub const HELP : &'static str = -r#"SMap - Simple Signal Range Mapper +r#"SMap - Simple Range Mapper This node allows to map an unipolar (0..1) or bipolar signal (-1..1) to a defined 'min'/'max' signal range.