Skip to content

Commit

Permalink
Tweak ride-cymbal special case: leave ride-shank sound
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Nov 2, 2019
1 parent 6972065 commit 457275e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fluidsynth/src/fluid_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -4412,8 +4412,10 @@ fluid_synth_kill_by_exclusive_class_LOCAL(fluid_synth_t *synth,
if (new_voice->key == 51) { /* ride tip */
return;
}
/* Ride-shank (59) and ride-choke (52) kill
* all other ride sounds */
if (new_voice->key == 59) { /* ride shank */
return;
}
/* only ride-choke (52) kills all other ride sounds */
}
#endif

Expand Down

0 comments on commit 457275e

Please sign in to comment.