bool Group::get_pan_if_changed(float *pan) { *pan = pan_slider.get_cur_value() / 100.0 - 1.0; bool changed = (last_pan != *pan); last_pan = *pan; return changed; }
bool Group::get_gain_if_changed(float *gain) { *gain = gain_slider.get_cur_value() / 100.0; bool changed = (last_gain != *gain); last_gain = *gain; return changed; }
float Group::get_phase() const { return phase_slider.get_cur_value() / 100.0 - PI; }
float Group::get_frequency() const { return freq_slider.get_cur_value(); }