diff options
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/input_lv2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/input_lv2.cc b/lv2/input_lv2.cc index 3092347..23e2c78 100644 --- a/lv2/input_lv2.cc +++ b/lv2/input_lv2.cc @@ -39,7 +39,7 @@ InputLV2::~InputLV2() bool InputLV2::init(Instruments &instruments) { - MidiMapParser p("/home/deva/docs/c/drumgizmo/kits/test/midimap.xml"); + MidiMapParser p(getenv("DRUMGIZMO_MIDIMAP")); if(p.parse()) {/*return false;*/} mmap.midimap = p.midimap; @@ -88,7 +88,7 @@ event_t *InputLV2::run(size_t pos, size_t len, size_t *nevents) int key = data[1]; int velocity = data[2]; - //printf("Event key:%d vel:%d\n", key, velocity); + printf("Event key:%d vel:%d\n", key, velocity); int i = mmap.lookup(key); if(velocity && i != -1) { |