add binaural beats to processing and UI

This commit is contained in:
essej
2022-04-27 22:52:40 -04:00
parent 313de42d6c
commit 57b62141f5
10 changed files with 187 additions and 39 deletions

View File

@ -95,6 +95,18 @@ struct BinauralBeatsParameters{
FreeEdit free_edit;
//void add2XML(XMLwrapper *xml);
//void getfromXML(XMLwrapper *xml);
bool operator == (const BinauralBeatsParameters& other) const noexcept
{
return stereo_mode == other.stereo_mode &&
mono == other.mono &&
free_edit.get_enabled() == other.free_edit.get_enabled() &&
// todo proper equality test for filter
free_edit.get_posy(0) == other.free_edit.get_posy(0) &&
free_edit.get_posy(1) == other.free_edit.get_posy(1)
;
}
};
class BinauralBeats{