665 |
RTList<Event>::Iterator itNoteOffEventOnKeyList = itNoteOffEvent.moveToEndOf(pKey->pEvents); |
RTList<Event>::Iterator itNoteOffEventOnKeyList = itNoteOffEvent.moveToEndOf(pKey->pEvents); |
666 |
|
|
667 |
// spawn release triggered voice(s) if needed |
// spawn release triggered voice(s) if needed |
668 |
if (pKey->ReleaseTrigger) { |
if (pKey->ReleaseTrigger && itNoteOffEventOnKeyList->Param.Note.Velocity) { |
669 |
// first, get total amount of required voices (dependant on amount of layers) |
// first, get total amount of required voices (dependant on amount of layers) |
670 |
::gig::Region* pRegion = pEngineChannel->pInstrument->GetRegion(itNoteOffEventOnKeyList->Param.Note.Key); |
::gig::Region* pRegion = pEngineChannel->pInstrument->GetRegion(itNoteOffEventOnKeyList->Param.Note.Key); |
671 |
if (pRegion) { |
if (pRegion) { |
1195 |
} |
} |
1196 |
|
|
1197 |
String Engine::Version() { |
String Engine::Version() { |
1198 |
String s = "$Revision: 1.38 $"; |
String s = "$Revision: 1.39 $"; |
1199 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
1200 |
} |
} |
1201 |
|
|