Exemple #1
0
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;
}
Exemple #2
0
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;
}
Exemple #3
0
float Group::get_phase() const
{
   return phase_slider.get_cur_value() / 100.0 - PI;
}
Exemple #4
0
float Group::get_frequency() const
{
   return freq_slider.get_cur_value();
}