From a247e60904516800a3874688e368979b9b1e7bf8 Mon Sep 17 00:00:00 2001
From: "Tim E. Real" <termtech@rogers.com>
Date: Tue, 13 Nov 2012 08:36:20 +0000
Subject: Added aftertouch controller to fluidsynth, and
 aftertouch/poly-aftertouch to DSSI.

---
 muse2/synti/libsynti/mess.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'muse2/synti/libsynti')

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;
       }
-- 
cgit v1.2.3