summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
authordeva <deva>2008-07-22 21:00:01 +0000
committerdeva <deva>2008-07-22 21:00:01 +0000
commitf6cabfe8fe888e00388a815541084b0fa332a462 (patch)
treed39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/drumgizmo.cc
parent14309bc447960536c34a438dffb93f520dad40fa (diff)
DrumKit parser. Internal drumkit now used in events. This is the first milestone.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 936c231..649b364 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -26,6 +26,8 @@
*/
#include "jackclient.h"
+#include "drumkitparser.h"
+
#include <jack/jack.h>
#include <jack/midiport.h>
@@ -79,7 +81,10 @@ void sendMidi()
int main(int argc, char *argv[])
{
- JackClient client;
+ DrumKitParser parser("/tmp/aasimonster/aasimonster.xml");
+ if(parser.parse()) return 1;
+
+ JackClient client(parser.getDrumkit());
client.activate();