[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#970631: Pitch bend of Calf Fluidsynth plugin does not work except on channel 1



Package: calf-plugins
Version: 0.90.3-1

Dear Maintainer,

Pitch bend of Calf Fluidsynth plugin does not work except on channel 1.
I think following patch will do.

--- src/calf/modules_dev.h.orig	2019-07-17 01:57:45.000000000 +0900
+++ src/calf/modules_dev.h	2020-09-20 20:09:53.000000000 +0900
@@ -78,7 +78,7 @@
     /// Handle pitch bend message.
     inline void pitch_bend(int channel, int value)
     {
-        fluid_synth_pitch_bend(synth, 0, value + 0x2000);
+        fluid_synth_pitch_bend(synth, channel, value + 0x2000);
     }
     /// Handle control change messages.
     void control_change(int channel, int controller, int value);


Reply to: