Midi maps-interface inconsistencies and more
  • mowgli_uk
    master
    Posts: 464
    Joined: Tue Nov 15, 2005 10:43 pm
    Location: LONDON

    Midi maps-interface inconsistencies and more

    by mowgli_uk » Fri Mar 11, 2011 3:44 pm

    I'm finally devoting a lot of time to MIDI configuring Ableton and Modul8 with each other fully and (hopefully!) once and for all so I decided to tweak my md8 midi maps directly in the m8mmap file. Once opened I'm finding it quite confusing, maybe it's me, but the code below is supposed to be for triggering media 5 on the top layer which I assumed it would be layer "1" in the m8mmap file yet it appears as "9" :



    <key>(g3_INT)5</key>Is this the midi note?
    <array>
    <dict>
    <key>(g3_ASCII)controlName</key>
    <string>(g3_ASCII)media5</string>
    <key>(g3_ASCII)position</key>
    <string>(g3_INT)9</string>Is this the target layer?
    </dict>
    </array>

    Now, I only have 9 layers in the md8 document so it kind of makes sense, but are the layers in the m8mmap file numbered from the bottom up and only counting existing layers?
    Also, I can't seem to find where to specify the midi channel.
    Any help?
  • mowgli_uk
    master
    Posts: 464
    Joined: Tue Nov 15, 2005 10:43 pm
    Location: LONDON

    by mowgli_uk » Fri Mar 11, 2011 4:04 pm

    Ok, I figured that layers are numbered from 0-9 from bottom to top (slightly odd I must say!)
    Now I still can't figure where to specify midi channel!
  • mowgli_uk
    master
    Posts: 464
    Joined: Tue Nov 15, 2005 10:43 pm
    Location: LONDON

    by mowgli_uk » Fri Mar 11, 2011 4:36 pm

    I think I've sussed it but I can't help but think that this is really odd.
    So midi channel 1 is 0 in the mi8mmap ? midi channel 2 is 1? etc....

    for anyone else doing this, the midi channels are specified in groups using:
    <key>(g3_INT)4</key>
    <dict>
    where 4 means 5etc...
  • vanakaru
    master
    Posts: 669
    Joined: Mon Sep 25, 2006 9:24 pm

    by vanakaru » Fri Mar 11, 2011 11:42 pm

    I have done just a simple midi map tweak in text editor. So I do not have the answers.
    Just wanted to tell you that channels are numbered often this way 0-15. Also media is numbered in M8 the same first=0 in the bins.
    Could you not map a note coming from out source and compare differences before and after in text.
  • vanakaru
    master
    Posts: 669
    Joined: Mon Sep 25, 2006 9:24 pm

    by vanakaru » Fri Mar 11, 2011 11:55 pm

    Here is a quick test

    Code: Select all

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>(g3_ASCII)from</key>
    <string>(g3_ASCII)file</string>
    <key>(g3_ASCII)midiMap</key>
    <dict>
    <key>(g3_INT)0</key>
    <dict>
    <key>(g3_INT)60</key>
    <string>(g3_ASCII)media0</string>
    </dict>
    </dict>
    <key>(g3_ASCII)midiMapContext</key>
    <array>
    <array>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    </array>
    <array>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    <dict/>
    </array>
    </array>
    <key>(g3_ASCII)type</key>
    <string>(g3_ASCII)midimap</string>
    <key>(g3_ASCII)version</key>
    <string>(g3_INT)2</string>
    </dict>
    </plist>

    You see note 60 channel 1 (aka 0) mapped to media 0
    You may need to close midi mapping and reopen to see the result.
  • vanakaru
    master
    Posts: 669
    Joined: Mon Sep 25, 2006 9:24 pm

    by vanakaru » Sat Mar 12, 2011 12:03 am

    And here is a first note changed to 66 and added a note 60 onto layer 3

    Code: Select all

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
       <key>(g3_ASCII)from</key>
       <string>(g3_ASCII)file</string>
       <key>(g3_ASCII)midiMap</key>
       <dict>
          <key>(g3_INT)0</key>
          <dict>
             <key>(g3_INT)60</key>
             <string>(g3_ASCII)ctrl_layer_alpha</string>
             <key>(g3_INT)66</key>
             <string>(g3_ASCII)media0</string>
          </dict>
       </dict>
       <key>(g3_ASCII)midiMapContext</key>
       <array>
          <array>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
          </array>
          <array>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
             <dict/>
          </array>
       </array>
       <key>(g3_ASCII)type</key>
       <string>(g3_ASCII)midimap</string>
       <key>(g3_ASCII)version</key>
       <string>(g3_INT)2</string>
    </dict>
    </plist>

Who is online

Users browsing this forum: No registered users and 4 guests