Commit f749d30b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fluidsynth: implement channel aftertouch event

parent 2bca1281
...@@ -191,12 +191,16 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block) ...@@ -191,12 +191,16 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
case 0x90: case 0x90:
fluid_synth_noteon (p_sys->synth, channel, p1, p2); fluid_synth_noteon (p_sys->synth, channel, p1, p2);
break; break;
/*case 0xA0: note aftertouch not implemented */
case 0xB0: case 0xB0:
fluid_synth_cc (p_sys->synth, channel, p1, p2); fluid_synth_cc (p_sys->synth, channel, p1, p2);
break; break;
case 0xC0: case 0xC0:
fluid_synth_program_change (p_sys->synth, channel, p1); fluid_synth_program_change (p_sys->synth, channel, p1);
break; break;
case 0xA0:
fluid_synth_channel_pressure (p_sys->synth, channel, p1);
break;
case 0xE0: case 0xE0:
fluid_synth_pitch_bend (p_sys->synth, channel, (p2 << 7) | p1); fluid_synth_pitch_bend (p_sys->synth, channel, (p2 << 7) | p1);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment