# HG changeset patch # User matthiasm # Date 1389889962 0 # Node ID 1bc4b56885bd494170a9369be7b0b434927d67be # Parent 7105604e9803368843e238402c7df1325d46668d added constraint on note sonification (ok between 20 and 2000 Hz) diff -r 7105604e9803 -r 1bc4b56885bd audioio/ClipMixer.cpp --- a/audioio/ClipMixer.cpp Tue Jan 14 17:51:53 2014 +0000 +++ b/audioio/ClipMixer.cpp Thu Jan 16 16:32:42 2014 +0000 @@ -122,7 +122,10 @@ std::vector endingNotes) { foreach (NoteStart note, newNotes) { - m_playing.push_back(note); + if (note.frequency > 20 && + note.frequency < 2000) { + m_playing.push_back(note); + } } std::vector remaining;