Author Topic: Help with midi over usb  (Read 1183 times)

matramurena

  • Newbie
  • *
  • Posts: 5
    • View Profile
Help with midi over usb
« on: June 25, 2022, 08:03:56 PM »
Hello
I made an Arduino midi switch that sends CC commands (switches and pots)by USB. I can control effects with it on Bias FX  or Amplitube but on mod when I put the effects on midi learning mode it not detect the midi message that the controller is sending to the USB input plug on the raspberry board.
 Maybe I am missing something?
Witch midi channel should the controller be sending the commands?
 I tried ch midi 16 and 1 but nothing happens.
What I need to do ?
 All the help about this topic from forum members is welcome.
Thanks

Randall (Admin)

  • Administrator
  • Full Member
  • *****
  • Posts: 222
    • View Profile
Re: Help with midi over usb
« Reply #1 on: June 26, 2022, 01:57:43 PM »
Cool.  You might first want to confirm that the device is recognized by Alsa as a midi device.

Run:
amidi -l

That should list all current MIDI devices known to Alsa.  If nothing is listed, then you'll need to figure out why.

Once it is showing, the MIDI channel doesn't matter.  MOD should be able to learn a MIDI CC coming in on any channel.  Know this though, once a pedalboard has a given MIDI CC message mapped to a control, it cannot be mapped to another.  So for testing, you might want to start with a super simple pedalboard which you know has no mappings, then try to MIDI learn your CC.

Feel free to post back what you find, and we will try to help you from there.

Ariesh

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Help with midi over usb
« Reply #2 on: August 07, 2023, 12:00:24 PM »
what did you use to send the midi messages?
what midi board did you use?

i had some trouble with overlapping adrresses at some point

Peetem

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Help with midi over usb
« Reply #3 on: August 26, 2023, 03:03:48 PM »
I built two MIDI controllers using both a Arduino Mega and Teensy (see attached).

The Mega (and also the UNO) don't send MIDI via USB, but serial.  You can flash the firmware with a mod that allows you to send via MIDI USB, but its a real pain.  And once you do, you can't upload updates to the program you created.  You have to re-flash with the original firmware, upload the modded code, refresh with the new firmware, and then test it.

The Teensy allows for MIDI via USB.

What Ardunio did you use?

matramurena

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Help with midi over usb
« Reply #4 on: March 17, 2024, 12:15:04 PM »
I appreciate your help, I tried with several Arduinos including the Micro but I failed, so I chose to make a traditional Midi controller for din 5 pins connection with an  Arduino Nano.
In the future, I will try to do it with the Teensy but the problem is that the Teensy is much more expensive and difficult to get hold of than an Arduino, at least where I live.

Peetem

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Help with midi over usb
« Reply #5 on: March 20, 2024, 07:26:57 AM »
I appreciate your help, I tried with several Arduinos including the Micro but I failed, so I chose to make a traditional Midi controller for din 5 pins connection with an  Arduino Nano.
In the future, I will try to do it with the Teensy but the problem is that the Teensy is much more expensive and difficult to get hold of than an Arduino, at least where I live.

I would be happy to send you my sketches if that helps (or post here).  Just let me know.