| 115 | } |
| 116 | |
| 117 | void NoteCreator::TextEntryComplete(TextEntry* entry) |
| 118 | { |
| 119 | if (entry == mPitchEntry) |
| 120 | { |
| 121 | if (mNoteOn) |
| 122 | { |
| 123 | double time = NextBufferTime(false); |
| 124 | mNoteOutput.Flush(time); |
| 125 | PlayNoteOutput(time + .1f, mPitch, mVelocity * 127, mVoiceIndex); |
| 126 | } |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | void NoteCreator::LoadLayout(const ofxJSONElement& moduleInfo) |
| 131 | { |
nothing calls this directly
no test coverage detected