joelle-o-world / naive-instruments

Clueless audio synthesis library in C++
0 stars 0 forks source link

Signal:: `unit()`, `min()`, `max()` and `scale()` #61

Open joelle-o-world opened 1 year ago

joelle-o-world commented 1 year ago

Add meta data function to describe the units of a signal, its minimum/maximum value and its scale (ie "linear", "logarithmic")

This is going to require more thought

SignalReaders will also have matching methods, perhaps called expectedUnit() etc

For some processes (eg Sum) the unit/min/max/scale will be computed from the inputs.

Definitely try to make this a separate base class layer.