This release mainly updates the internals of the main PhaseCalculator
class (which has been renamed to PhaseCalculator::Node
to make the state of channels easier to manage. Instead of having many arrays of various objects, with one entry either for each input or each active input depending on the purpose, there is just one array of ChannelInfo
structs. Each "active" (i.e, selected in the Params tab) channel also has an ActiveChannelInfo
struct owned by its ChannelInfo
, which stores information pertaining to an ongoing acquisition/processing session.
This release also changes the way the length of the Hilbert transform for visualizing phases is calculated. Firstly, it halves the length at 30 kHz, since the previous length was overkill, and secondly, the length in samples is now proportional to sample rate (i.e. the length in time is constant).