Changes between Version 3 and Version 4 of Ticket #13460, comment 4


Ignore:
Timestamp:
05/07/22 14:20:23 (2 years ago)
Author:
AndywinXp

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13460, comment 4

    v3 v4  
    5656{{{
    5757IMUSE_PART_SetDetune(partPtr, partId, relative, increment) {
    58   if ( transpose <= 24 && transpose >= -24 ) {
    59     if ( partId == 16 ) {
    60       for ( curPart = partPtr->next; curPart ; curPart = curPart->next ) {
    61         curPart->effDetune = CLIP(increment + curPart->detune, -128, 127);
    62         IMUSE_PART_SendTransposeToMIDIDevice(curPart);
    63       }
    64     } else { /* Don't care */ }
    65   }
     58
     59  if ( partId == 16 ) {
     60    for ( curPart = partPtr->next; curPart ; curPart = curPart->next ) {
     61      curPart->effDetune = CLIP(increment + curPart->detune, -128, 127);
     62      IMUSE_PART_SendTransposeToMIDIDevice(curPart);
     63    }
     64  } else { /* Don't care */ }
     65
    6666}
    6767}}}