Mercurial > hg > svapp
comparison audioio/ClipMixer.cpp @ 322:4fdf70be6671 tonioni
changed max frequency for note playback from 2000 to 5000 such that all piano notes can be played
author | matthiasm |
---|---|
date | Thu, 16 Jan 2014 17:27:42 +0000 |
parents | 1bc4b56885bd |
children | a4b8f0864835 |
comparison
equal
deleted
inserted
replaced
321:1bc4b56885bd | 322:4fdf70be6671 |
---|---|
121 std::vector<NoteStart> newNotes, | 121 std::vector<NoteStart> newNotes, |
122 std::vector<NoteEnd> endingNotes) | 122 std::vector<NoteEnd> endingNotes) |
123 { | 123 { |
124 foreach (NoteStart note, newNotes) { | 124 foreach (NoteStart note, newNotes) { |
125 if (note.frequency > 20 && | 125 if (note.frequency > 20 && |
126 note.frequency < 2000) { | 126 note.frequency < 5000) { |
127 m_playing.push_back(note); | 127 m_playing.push_back(note); |
128 } | 128 } |
129 } | 129 } |
130 | 130 |
131 std::vector<NoteStart> remaining; | 131 std::vector<NoteStart> remaining; |