diff options
author | Tim E. Real <termtech@rogers.com> | 2012-10-23 07:10:16 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-10-23 07:10:16 +0000 |
commit | b297348e8e2cd76be6f1d546fb458865cc4d263b (patch) | |
tree | d8ac87282dbdf1b51944ad84ef38083a3b2b40f2 /muse2/muse/driver | |
parent | b6cb5a7a97c4959ddd6ef4fabdf0ddf0b3604d1b (diff) |
Added ALSA driver aftertouch (chan pressure) controller output
Diffstat (limited to 'muse2/muse/driver')
-rw-r--r-- | muse2/muse/driver/alsamidi.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/muse2/muse/driver/alsamidi.cpp b/muse2/muse/driver/alsamidi.cpp index 978cca98..80595fb0 100644 --- a/muse2/muse/driver/alsamidi.cpp +++ b/muse2/muse/driver/alsamidi.cpp @@ -327,6 +327,11 @@ bool MidiAlsaDevice::putMidiEvent(const MidiPlayEvent& e) snd_seq_ev_set_pitchbend(&event, chn, b); break; } + else if(a == CTRL_AFTERTOUCH) + { + snd_seq_ev_set_chanpress(&event, chn, b); + break; + } } #if 1 |