MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / TextEntryComplete

Method TextEntryComplete

Source/NoteCreator.cpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void 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
130void NoteCreator::LoadLayout(const ofxJSONElement& moduleInfo)
131{

Callers

nothing calls this directly

Calls 2

NextBufferTimeFunction · 0.85
FlushMethod · 0.45

Tested by

no test coverage detected