| 106 | } |
| 107 | |
| 108 | float NoteStreamDisplay::GetYPos(int pitch, float noteHeight) const |
| 109 | { |
| 110 | return ofMap(pitch, mPitchMin, mPitchMax + 1, mHeight - noteHeight, -noteHeight); |
| 111 | } |
| 112 | |
| 113 | void NoteStreamDisplay::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 114 | { |