How to remap midi?

Author
aspenleaf
Max Output Level: -88 dBFS
  • Total Posts : 132
  • Joined: 2011/08/09 05:18:12
  • Status: offline
2011/08/09 05:26:16 (permalink)

How to remap midi?

I'd like to remap my keyboard controller volume pedal (07) to sustain (64).  The controller, a Yamaha KX88, is not functioning properly and won't allow me to change the controller assigned to the pedal jack.  Can anyone tell me how to remap the data as it comes into Sonar?  I'm using X1 Producer.
Thanks.
#1

19 Replies Related Threads

    FastBikerBoy
    Forum Host
    • Total Posts : 11326
    • Joined: 2008/01/25 16:15:36
    • Location: Watton, Norfolk, UK
    • Status: offline
    Re:How to remap midi? 2011/08/09 08:34:43 (permalink)
    One way would be to convert the MIDI controller data to an envelope and then reassign the envelope. That's assuming the synth you are trying to control has automatable sustain of course.

    I don't know whether the data can be re-assigned on the fly via Sonar.
    #2
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re:How to remap midi? 2011/08/09 10:09:03 (permalink)
    aspenleaf


    I'd like to remap my keyboard controller volume pedal (07) to sustain (64).  The controller, a Yamaha KX88, is not functioning properly and won't allow me to change the controller assigned to the pedal jack.  Can anyone tell me how to remap the data as it comes into Sonar?  I'm using X1 Producer.
    Thanks.


    Aspenleaf, perhaps you know this, but controller #7 is a continuous controller, while #64 is a momentary on/off switch.  Are you trying to control a piano that responds to more than just 0 (off) and 127 (on) unlike the more common pianos?

    Randy B.

    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #3
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/09 10:29:45 (permalink)
    Yes Randy.  I'm controlling the Galaxy Steinway Vintage D which responds to continuous controller data assigned to 64.  I'm using a Roland DP-10 pedal, and it does work well through my M-Audio Pro 88 keyboard.  On that keyboard I simply assigned the expression pedal jack to transmit 64 instead of 11.  On the Yamaha keyboard, the pedal when plugged into the FC1 jack transmits continuous data, but it is on 07 and I'd like to change it to 64.  On the M-Audio keyboard, it allows you to determine the type of message that is sent, then assign the number.  I should be able to do that on the Yamaha also, but it seems to be malfunctioning.  It is such a simple procedure I assumed  Sonar would be able to remap it as it comes into Sonar before sending it to Kontakt, but I can't find any info in the manual about it.  I used the search function in the .pdf manual and all I get are drum maps and automation, but I need it for real time performance.  Alternatively, does anyone know how to intercept that data and remap it before it goes to Sonar?
    #4
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:How to remap midi? 2011/08/09 10:42:38 (permalink)
    controller #7 is a continuous controller, while #64 is a momentary on/off switch.



    Strictly speaking, all controllers are continuous. It's just a convention that a value of 0 is used for Off, and 127 for On with CC64. Most synths will sustain with any value greater than 63, and release at any value less than 64. So the continuous messages should still work fine with synths that don't respond continuously.


    As to the question, itself, I think a 3rd-party MIDI port monitor like MIDI-OX or maybe one of the virtual MIDI cable solutions might be able to re-write messages, but I haven't tried it. I'm not sure why SONAR has never deigned to add this capability. I'm guessing they just don't see a demand for it that is proportional to the time and effort it would take to write and debug an interface and engine to do it.


    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #5
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re:How to remap midi? 2011/08/09 11:01:37 (permalink)
    brundlefly


    controller #7 is a continuous controller, while #64 is a momentary on/off switch.



    Strictly speaking, all controllers are continuous. It's just a convention that a value of 0 is used for Off, and 127 for On with CC64. Most synths will sustain with any value greater than 63, and release at any value less than 64. So the continuous messages should still work fine with synths that don't respond continuously.


    As to the question, itself, I think a 3rd-party MIDI port monitor like MIDI-OX or maybe one of the virtual MIDI cable solutions might be able to re-write messages, but I haven't tried it. I'm not sure why SONAR has never deigned to add this capability. I'm guessing they just don't see a demand for it that is proportional to the time and effort it would take to write and debug an interface and engine to do it.


    Thanks, Brundle - You're right.  I guess "Momentary switch" should actually refer to the hardware, the simple little on/off foot pedals.  And I understand what you're saying, that CC64 has mostly been used for on/off, but it's still a MIDI controller with the full range of 0-127 potentially available.

    Aspen - Your question made me think of a plug-in I used years ago made by "Ten Crazy."  He produced a series of free MFX (MIDI Effects) - including one for re-mapping in-coming MIDI data.  --But it's likely they won't work in the current Sonar, 64 bit.  The info page with unbroken download links is still up online:

    http://www.tencrazy.com/gadgets/mfx/

    ---The plug-in in question is "MFX CC Map"--It would be easy enough to run a test. 

    Randy B.

    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #6
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:How to remap midi? 2011/08/09 11:14:44 (permalink)
    But it's likely they won't work in the current Sonar, 64 bit.



    Yes, you're right. None of them are compatible with x64, unfortunately.

    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #7
    thomasabarnes
    Max Output Level: -43 dBFS
    • Total Posts : 3234
    • Joined: 2003/11/11 03:19:17
    • Location: Milwaukee, WI USA
    • Status: offline
    Re:How to remap midi? 2011/08/09 11:18:11 (permalink)
    Shouldn't you be able to reassign controllers using your programming feature of the MIDI keyboard controller?

    If you don't have the manual for the kX88, I have found these instruction on the GearSlutz forum here: http://www.gearslutz.com/...x88-tech-question.html

    You might find that thread helpful.

    "I just figured this out. You have to use an arcane hex system to do it.

    Hit MODE once to get into CA mode. You should see a blinking CA.

    Then hold MODE to get to PA Mode. You should now see a blinking PA.

    Next, there are two rows/banks of buttons, one is marked A, the other B. Along the A row, push the button marked 11, it should say "Control Change" underneath it.

    Once you hit this the top displays CC on the top and the bottom two dashes are blinking. Think of this step as creating a preset, but first you must select the preset you wish to program.

    Presets 40 and up are USER Custom, so just program preset 40. Under the B row of numbers, type in 51, this will actually input the numbers 40. There are secondary numbers in grey above the numbered buttons, those are the actual values. ie 1 has a small grey 0 above. Don't even ****ing ask why. Once you do this you will see two values flashing on the top display.

    Next is where you actually assign MIDI CC, and for whatever the **** reason, to get CC11 you need to type 1 and then 12. It should display 0b. I know. WTF. If you're reading the small grey numbers type in 0 followed by B. The bottom display will show a blinking 0. Just hit 1(grey 0), and Mode one more time to exit out.

    Next all you need to do is program Preset 40 to a slider, footswitch whatever. To do that, hit the MODE button followed by wheel 1-Fc2 depending on what you want to program, and then punch in 40."


    "It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

    SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
    #8
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/10 21:11:49 (permalink)
    Thanks to all that have responded.

    Yes, I should be able to reassign the controller.  When I first posted this my programming buttons weren't responding, but it turns out there was a loose wire inside the KX88.  I got it working and was able to reassign the controller and get it to work with my continuous pedal.

    Still seems like a complex program like Sonar should be able to remap midi controllers, though. 
    #9
    thomasabarnes
    Max Output Level: -43 dBFS
    • Total Posts : 3234
    • Joined: 2003/11/11 03:19:17
    • Location: Milwaukee, WI USA
    • Status: offline
    Re:How to remap midi? 2011/08/10 22:44:06 (permalink)
    Good news that you got it working.

    What you can do with SONAR is through Remote Control assign any controller on your MIDI Keyboard/Control Surface to control any GUI controls of the SONAR GUI or SoftSynth GUI controls. If you ask me, that's pretty darn good.

    The programming feature of a MIDI Keyboard controller or Master MIDI Keyboard controller or control surface is typically used, as far as I know, to reassign things such as you originally wanted to do in your first post. Nevertheless, Randy did mention a MIDI FX application that was made and available for free as a work around to do what you wanted to do without using the programming feature of your MIDI keyboard. But x64 contrasted to x86 can make one run into complications with that software.


    "It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

    SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
    #10
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/11 09:16:51 (permalink)
    I agree that Sonar is a powerful program.  I've been using Cakewalk since before PA9, then Sonar 3 and 4, then I couldn't resist the postcard offer for the X1 upgrade.  So far I'm liking X1 but having trouble getting a few things set up.

    Speaking of using the controller as a control surface, that is another area that I need some help with.  My KX88 has 5 momentary switches that I would like to use to control the transport.  The KX88 manual has instructions for assigning MIDI Start and Stop messages to two of the buttons, which I did, but Sonar doesn't respond to them.  I used MidiOx to see if the messages were being sent, and they are.  I tried setting up a generic control surface and using the learn function, but it doesn't appear to be receiving any signal.  According to the KX88 manual, I should be able to send any MIDI data I wish from these buttons, but I think they will be sent via SysEx messages.  I noticed that there is a way to assign a SysEx message to a control on the generic control surface properties page, but I don't know what message is being sent when I press these buttons.  Can anyone knowledgeable about MIDI instruct me?

    Thanks

    #11
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:How to remap midi? 2011/08/11 10:53:44 (permalink)
    The KX88 manual has instructions for assigning MIDI Start and Stop messages to two of the buttons, which I did, but Sonar doesn't respond to them.



    MIDI Start/Stop are MIDI sync messages for use in an environment where devices with independent MIDI clocks need to be synced (see page 1083 of the X1 User Guide).


    If the KX88 offers this functionality, it must have an onboard sequencer, and the intent is to slave other devices (or software applications) to that clock. SONAR can be a slave to a device sending MIDI sync, but I don't think that's what you want.


    The quick and dirty way to get control of SONAR's transport from a MIDI controller is to keybind unused keys (e.g. at the very bottom or top of the keyboard) to the transport functions, using the MIDI part of the Key Bindings dialog.


    Using ACT may be the best way to get transport control from buttons on the keyboard, but someone else will have to step in because I'm not well-versed in that area.


    As thomasbarnes suggested, Remote Control can also be helpful, but it can't be used on transport buttons, and it can't be used on a function that isn't represented by a button or other widget in SONAR, so it wouldn't work for controlling something like sustain. Also, the assignments are per-project so if you want it in every project, you have to add it to a template. I use it to control the Mute button on my metronome bus.

    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #12
    thomasabarnes
    Max Output Level: -43 dBFS
    • Total Posts : 3234
    • Joined: 2003/11/11 03:19:17
    • Location: Milwaukee, WI USA
    • Status: offline
    Re:How to remap midi? 2011/08/11 11:25:47 (permalink)
    Getting familiar with the Cakewak Generic Control Surface and ACT takes some time. The only way is to read the material in the SONAR Help or X1 Manual about these two features.

    It took me and others hours of messing around to get it. I'm afraid there's just no other way to really be able to use these features except reading and hands on application.

    Welcome to one of the real learning curve aspects of SONAR. :) You just have to read and get some hands on experience with the Cakewalk Generic Controller and/or ACT to learn it. What I can say is I think the Cakewalk Generic Controller is suitable to use for the transport functions you want to assign your MIDI keyboard controllers to.
    post edited by thomasabarnes - 2011/08/11 11:28:31


    "It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

    SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
    #13
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/11 12:04:40 (permalink)



    MIDI Start/Stop are MIDI sync messages for use in an environment where devices with independent MIDI clocks need to be synced (see page 1083 of the X1 User Guide).


    If the KX88 offers this functionality, it must have an onboard sequencer, and the intent is to slave other devices (or software applications) to that clock. SONAR can be a slave to a device sending MIDI sync, but I don't think that's what you want.

    Yes, this is correct.  The KX88 manual shows how to assign a midi clock to a slider and use it along with the Start/Stop messages to control a drum machine.  But, like you stated, I want to use the MIDI clock in Sonar.  I've been trying to get the generic control surface to function, but so far no luck.  I tried the ACT dialog box instead, but that seems to be specific to plugins and I didn't see anywhere where you could assign the transport controls.

    I followed the generic control surface instructions step by step, but since it doesn't seem to be receiving a signal, it doesn't work.  In Sonar 4 I had them working with an M-Audio Keystation Pro 88 that I used to use, but it was set up so long ago that I can't remember how I did it.  I had a motherboard failure of my old system, and have been trying to get everything up to speed on a new i7 Sandy Bridge x64 system, but many things seem to be different or non-functional in the x64 environment.
    I also think the old hex programming on the KX88 may be beyond me, but the keyboard feels so good I don't want to give it up.

    I appreciate all the help.  You've pointed me in the right direction, I'll just have to see if I can figure it.


    #14
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:How to remap midi? 2011/08/11 12:57:45 (permalink)
    In Sonar 4 I had them working with an M-Audio Keystation Pro 88 that I used to use, but it was set up so long ago that I can't remember how I did it.



    My guess is the buttons on the Keystation were sending some generic MIDI Control Change (CC) messages, whereas the KX88 is sending MMC messages. If you can program the KX to send CCs from those buttons, you should be able to get them working.


    Somewhere out there is a KX-owning SONAR user who's got it all figured out. If you don't find one here, you might try a Yamaha forum.

    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #15
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/11 16:21:59 (permalink)
    Yes, the Keystation in factory default programming had the transport buttons mapped already.  I seem to remember a MMC choice when setting up a control surface in Sonar 4, but I don't see that in X1.

    I could program the buttons on the KX88 to send CC messages, but in the charts I looked at I didn't see any that were reserved for the transport controls.  Do you know what they are?

    Good idea about the Yamaha forum.  I've been trying google searches for KX88 but not finding much help on the programing.
    #16
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/11 17:24:29 (permalink)
    I think I've got it.  I programmed the buttons with the hex numbers from the Yamaha manual, and I could see that Sonar was receiving the signal on my active midi channel.  I recorded the signal and checked the controller pane to see what the controller numbers were in decimal form and in the generic controller surface properties page I was able to assign that controller to the transport function and it works.

    I appreciate all of the help.  This forum is a great resource.
    #17
    thomasabarnes
    Max Output Level: -43 dBFS
    • Total Posts : 3234
    • Joined: 2003/11/11 03:19:17
    • Location: Milwaukee, WI USA
    • Status: offline
    Re:How to remap midi? 2011/08/11 18:25:30 (permalink)
    Great!

    brundlefly is a bundle of help. :)


    "It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

    SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
    #18
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:How to remap midi? 2011/08/11 19:42:00 (permalink)
    aspenleaf


    I think I've got it.  I programmed the buttons with the hex numbers from the Yamaha manual, and I could see that Sonar was receiving the signal on my active midi channel.  I recorded the signal and checked the controller pane to see what the controller numbers were in decimal form and in the generic controller surface properties page I was able to assign that controller to the transport function and it works.

    I appreciate all of the help.  This forum is a great resource.
    Cool. Good work. Just out of curiosity, what CCs and values is the KX sending now?



    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #19
    aspenleaf
    Max Output Level: -88 dBFS
    • Total Posts : 132
    • Joined: 2011/08/09 05:18:12
    • Status: offline
    Re:How to remap midi? 2011/08/11 23:45:26 (permalink)
    Start is 50, Stop is 52, Rec is 54 Decimal.  Velocity on all is 127.  I haven't set up rewind and fast forward yet.
    post edited by aspenleaf - 2011/08/11 23:49:38
    #20
    Jump to:
    © 2024 APG vNext Commercial Version 5.1