[alsa-devel] [PATCH] emux midi synthesizer doesn't honor SOFT_PEDAL-release event

Clemens Ladisch clemens at ladisch.de
Fri May 9 09:33:56 CEST 2008


maximilian attems wrote:
> The attached patch fixes this problem by analysing the value (0 or 127)
> of the midi control event and resetting the effect register in case of a
> release event.
> ...
> +		if (chan->control[type])

Boolean MIDI controls should interpret 0..63 as false and 64..127 as
true, i.e.:

+		if (chan->control[type] >= 64)


Regards,
Clemens


More information about the Alsa-devel mailing list