[LAU] Echo MIDI note number being played

Yassin Philip philcm at gnu.org
Wed Jun 8 23:24:54 UTC 2016



On 08/06/16 23:01, Yassin Philip wrote:
> Hi all!
>
> I'm trying to find out what MIDIKEY number this weird controller I 
> have is sending. Sure enough, I can try them all from 1 to 127, but I 
> seem to remember an utility to do that?
> It would speed up the process a lot :)
I found a gmidimonitor that says, for each hit on the pads:

Channel    Message
10             Drum: Hi mid Tom (C, octave 3, velocity 43)
1               Note on, C, octave 3, velocity 43

But what I need is the number to use in the DrumGizmo's midimap.xml file:


<?xml version="1.0" encoding="UTF-8"?>
<midimap>
     <map note="44" instr="Hihat_foot"/>
     <map note="37" instr="Snare_rim"/>
     <map note="49" instr="Crash_left_shank"/>
     <map note="57" instr="Crash_right_shank"/>
     <map note="42" instr="Hihat_closed_shank"/>
     <map note="46" instr="Hihat_semi_open"/>
     <map note="35" instr="Kdrum_without_contact"/>
     <map note="36" instr="Kdrum_with_contact"/>
     <map note="51" instr="Ride_tip"/>
     <map note="53" instr="Ride_shank_bell"/>
     <map note="38" instr="Snare"/>
     <map note="40" instr="Snare_rest"/>
     <map note="47" instr="Tom1"/>
     <map note="43" instr="Tom2"/>
     <map note="41" instr="Tom3"/>
</midimap>


>
>
> yPhil
>

-- 
Yassin "xaccrocheur" Philip
http://manyrecords.com
http://bitbucket.org/xaccrocheur / https://github.com/xaccrocheur



More information about the Linux-audio-user mailing list