MIDI Controller via SysEx issues

  • The Profiler Model referred to in this thread is ...
    ☑️ Profiler Head/Rack

    I'm trying to modify my midi controller (it used to send CCs via midi cable) to send CCs and SysEx messages via usb, so i can request some info (effect status, rig/performance/slot names...) and for some reason my kemper freezes when i send a message.



    I'm new to programming and SysEx and all, but i find weird that it only crashes when i send a message.
    The idea is to send CC and SysEx, so far I send SysEx every X time (the one in the code is just for testing, I don't know how often i caa request it without the kemper having issues) and send CCs when pressing the buttons, but the kemper "randoml"y freezes some times.

    I'm using the front USB A port, right now i don't have any other way to test it.

    I tried many things and i changed the code many times, this is the closest i've been to make it work, but for some reason the unit keeps freezing...
    Any idea why could it be or what could cause It?

    I'd also like to make some buttons to request stomps status (mostly X, Mod, Delay, and Reverb, but if I could find the ones for the other stack it would be great too) and act accordingly, if it's off turn it on and so, but I can't find the SysEx messages for that, I only have the Mod one and only cause I got it from support.

    EDIT: I changed the code, it'sstill freezing, not all the times, but it still happens

    Edited once, last by Erikcb (May 17, 2024 at 1:53 AM).

  • I'm having a similar problem with MIDI command interaction with the KPA via USB-A, whether it's CC or PC or SYSEX commands, as long as it's Rig or Slot switching via midi commands, it inevitably crashes, and there's no workaround for that at the moment


    OS11 public beta, system crashes when external midi pedal is connected - Issues - Get help solving your problem - Kemper Profiler Forum (kemper-amps.com)

    Yea, I already saw your post, I guess it's a bug of the beta?? (first bug I experience in a beta so far)

    Hope it can be solved fast, thanks!

    And hope someone knows about the sysex for effects too ^^

  • Yea, I already saw your post, I guess it's a bug of the beta?? (first bug I experience in a beta so far)

    Hope it can be solved fast, thanks!

    And hope someone knows about the sysex for effects too ^^

    Maybe.

    In the OS11 public beta, KEMPER added midi communication to the USB-A port of the Profiler Head/Rack for the first time, and I'm not sure what happened in between, and so far I haven't gotten any official clarification on the matter

  • I managed to get some SysEx messages using some i had and checking the midi documentation, the info about this on the documentation could be simplier tbh :D.

    EFFECT MODULE AEFFECT MODULE BEFFECT MODULE CEFFECT MODULE DEFFECT MODULE XEFFECT MODULE MODEFFECT MODULE DELAYEFFECT MODULE REVERBCURRENT RIG NAMECURRENT PERFORMANCE NAMECURRENT SLOT NAME
    REQUEST STATUS
    (ON/OFF)
    F0 00 20 33 00 00 41 00 32 03 F7F0 00 20 33 00 00 41 00 33 03 F7F0 00 20 33 00 00 41 00 34 03 F7F0 00 20 33 00 00 41 00 35 03 F7F0 00 20 33 00 00 41 00 38 03 F7F0 00 20 33 00 00 41 00 3A 03 F7F0 00 20 33 00 00 41 00 3C 03 F7F0 00 20 33 00 00 41 00 3D 03 F7F0 00 20 33 02 7F 43 00 00 01 F7F0 00 20 33 00 00 47 00 00 00 01 00 00 F7F0 00 20 33 02 7F 47 00 00 00 00 00 01 F7
    TOGGLE ONF0 00 20 33 00 00 01 00 32 03 00 01 F7F0 00 20 33 00 00 01 00 33 03 00 01 F7F0 00 20 33 00 00 01 00 34 03 00 01 F7F0 00 20 33 00 00 01 00 35 03 00 01 F7F0 00 20 33 00 00 01 00 38 03 00 01 F7F0 00 20 33 00 00 01 00 3A 03 00 01 F7F0 00 20 33 00 00 01 00 3C 03 00 01 F7F0 00 20 33 00 00 01 00 3D 03 00 01 F7
    TOGGLE OFFF0 00 20 33 00 00 01 00 32 03 00 00 F7F0 00 20 33 00 00 01 00 33 03 00 00 F7F0 00 20 33 00 00 01 00 34 03 00 00 F7F0 00 20 33 00 00 01 00 35 03 00 00 F7F0 00 20 33 00 00 01 00 38 03 00 00 F7F0 00 20 33 00 00 01 00 3A 03 00 00 F7F0 00 20 33 00 00 01 00 3C 03 00 00 F7F0 00 20 33 00 00 01 00 3D 03 00 00 F7


    Maybe for others it's not that hard to find out, but it took me quite some time, so i rather sharing it here so people can see it.
    There's many other things you can do with SysEx messages, but those are the ones i need so far so this are the ones i have.

    Now i need to do some changes in the code so the buttons request the status and act accordingly.

    And the most important thing, get to know what's causing the Kemper to freeze when i connect the controller and if it's a bug of the beta wait for it to get fixed...

    Hope that those SysEx messages help someone!!

  • I tested it via software (MIDI-OX) and when i send a CC or a SysEx having both the arduino and the Kemper as input and output (so the arduino can receive the sysex frome the Kemper and act accordingly) it seems like it enters in a loop where it keeps sending the CCs or SysEx messages until i disable the inputs and outputs in MIDI-OX. That might be what's causing it to freeze/act weird?? I'm not sure if that's a problem from MIDI-OX or maybe the beta is buggy and the Kemper goes nuts and starts looping...

    • Official Post

    I tested with a PROFILER Head with 11 OS public beta and MIDI OX

    a. via a normal USB cable connected to the Head's USB B socket,

    b. with an OTraki USB to MIDI interface plugged into the Head's MIDI IN socket.

    In both cases the PROFILER executes the incoming MIDI comands correctly. No loops no hangs.

    I made sure, Pedals to MIDI and UI to MIDI are not activated.

    I suggest you take the other device out of the equation, so you know, the PROFILER used standalone with MIDI OX is not he trouble maker.

    I guess, there is a risk, that you are building a MIDI loop, where MIDI comands get bounced in circles.

  • I'll make sure to check that thanks!
    So having UI to MIDI enabled is not necessary to get the SysEx responses as i need?
    I thought it was necessary so the kemper sends the rig, slot, performance names and everything...if it's not necessary that might be the issue?

  • Mr. Burkhard, your help is also needed regarding the problems encountered with the KPA's MIDI communication via the USB-A port :)

    OS11 public beta, system crashes when external midi pedal is connected - Issues - Get help solving your problem - Kemper Profiler Forum (kemper-amps.com)

  • Apparently yes, that was the issue, i had MIDI to UI enabled, so when i sent a message and the kemper reacted, he sent another message back, causing an infinite loop causing the KPA to freeze/act weird.

    That's the code i ended up using, it's basically buttons 1 to 4 requesting the effects status on press and acting accordingly (turning the effect on/off depending on the status) button 5 toggles the tuner on and off, buttons 6 to 9 change slot, 10 and 11 go performance up/down, also it requests the performance and slot names every 500ms and prints it on the screen, buttons 1 to 4 also send a message like "Delay On" or "Delay Off" when enabling/disabling each effect.

    I added a delay of 37'5 seconds to avoid the controller to start sending SysEx messages while the Kemper is booting (i had to do it cause if not the Kemper crashed on boot).

    I found a way to get the SysEx messages, just connect the Kemper via USB to your PC, get a MIDI sniffer (like MIDIview/MIDI-OX) and set the profiler as input/output. Then just tweak the kemper as desired and you'll see the SysEx on the PC (i know this works for enabling/disabling stuff, not sure about changing values like volume, mix, etc.).
    Of course i found this when i already gathered the SysEx by myself. || :D

    Now i'd love to know if there is a way to make the screen show the tuner info via MIDI or SysEX or whatever, like the other controllers do, but so far i only found the Sysex to enable or disable it...

  • From the MIDI Parameter Documentation:

    CC31 (Value 1/0) (1: Show Tuner, 0: Hide Tuner)

    Yea, i already know that, the button does that, what i wanted is to show the tuner info in the screen, like the pitch and so so i can use the screen as a tuner (it's not like it's completely necessary for me, but i just like to learn new stuff hahaha)