| 45 | } |
| 46 | |
| 47 | void NoteFlusher::ButtonClicked(ClickButton* button, double time) |
| 48 | { |
| 49 | if (button == mFlushButton) |
| 50 | { |
| 51 | mNoteOutput.Flush(time); |
| 52 | for (int i = 0; i < 127; ++i) |
| 53 | mNoteOutput.PlayNote(time, i, 0); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | void NoteFlusher::LoadLayout(const ofxJSONElement& moduleInfo) |
| 58 | { |