122 |
itControlChangeEvent->Param.Note.Velocity = 127; |
itControlChangeEvent->Param.Note.Velocity = 127; |
123 |
itControlChangeEvent->Param.Note.pRegion = region; |
itControlChangeEvent->Param.Note.pRegion = region; |
124 |
if (!itNewNote) { |
if (!itNewNote) { |
125 |
const note_id_t noteID = LaunchNewNote(pEngineChannel, &*itControlChangeEvent); |
const note_id_t noteID = LaunchNewNote(pEngineChannel, itControlChangeEvent); |
126 |
itNewNote = GetNotePool()->fromID(noteID); |
itNewNote = GetNotePool()->fromID(noteID); |
127 |
if (!itNewNote) { |
if (!itNewNote) { |
128 |
dmsg(1,("sfz::Engine: Note pool empty!\n")); |
dmsg(1,("sfz::Engine: Note pool empty!\n")); |