diff options
author | Tim E. Real <termtech@rogers.com> | 2012-11-13 08:36:20 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-11-13 08:36:20 +0000 |
commit | a247e60904516800a3874688e368979b9b1e7bf8 (patch) | |
tree | 0df00fdfbc69e919234a4ad65369c4787c934d9c /muse2/synti/libsynti | |
parent | 33250e6a085d51efab1b061e13bd635c804209d0 (diff) |
Added aftertouch controller to fluidsynth, and aftertouch/poly-aftertouch to DSSI.
Diffstat (limited to 'muse2/synti/libsynti')
-rw-r--r-- | muse2/synti/libsynti/mess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/synti/libsynti/mess.cpp b/muse2/synti/libsynti/mess.cpp index 027a30c1..de24ac00 100644 --- a/muse2/synti/libsynti/mess.cpp +++ b/muse2/synti/libsynti/mess.cpp @@ -145,8 +145,10 @@ bool Mess::processEvent(const MusECore::MidiPlayEvent& ev) return sysex(ev.len(), ev.data()); case MusECore::ME_CONTROLLER: return setController(ev.channel(), ev.dataA(), ev.dataB()); - case MusECore::ME_PITCHBEND: // Tim. + case MusECore::ME_PITCHBEND: return setController(ev.channel(), MusECore::CTRL_PITCH, ev.dataA()); + case MusECore::ME_AFTERTOUCH: + return setController(ev.channel(), MusECore::CTRL_AFTERTOUCH, ev.dataA()); } return false; } |