Skip to content

Commit

Permalink
Fluid: always send CC events without checking for value equality
Browse files Browse the repository at this point in the history
For example, there may be several notes with the Sostenuto pedal and we want to reapply it to all the notes
  • Loading branch information
RomanPudashkin committed Jan 7, 2025
1 parent c5a3106 commit 1b3cd6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ bool FluidSynth::handleEvent(const midi::Event& event)
if (event.index() == muse::midi::EXPRESSION_CONTROLLER) {
ret = setExpressionLevel(event.data());
} else {
ret = setControllerValue(event.channel(), event.index(), event.data());
ret = fluid_synth_cc(m_fluid->synth, event.channel(), event.index(), event.data());
}
} break;
case Event::Opcode::ProgramChange: {
Expand Down

0 comments on commit 1b3cd6a

Please sign in to comment.