Testing a USB MIDI controller is working #36
-
I currently have a Raspberry Pi Model B 4GB setup with Raspberry Pi OS 64 bit (Bullseye). I have downloaded and can run without issue the the Now I am attempting to use an existing USB MIDI controller (M-Audio Oxygen 8 v1) to control the DAW. I can rebind the controls to the MIDI input the DAW expects but nothing is happening in the DAW (and there is no additional MIDI Input in the settings to select, other than the loopback interface used by the Emulator). I've downloaded this project ReceiveMIDI and am attempting to build it for However, it requires Projucer which also needs to be built for I noticed in your repositories you have a project called Any chance of adding a bit of documentation on how to utilize this toolchain and Also if you know of a easier way to debug a USB MIDI controller is being registered and working correctly with a Pi and sending the expected MIDI input. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm super new to all of this so I'll share what I had came across when trying to do the same thing in Windows (So I could debug in Visual Studio and see values that were populating) In MidiCommandManager.cpp around the switch statement, it is expecting certain values to come in after it notices that the message.isController()
If the midi message was value ("static constexpr int ENCODER_4_BUTTON = 23;"), 23, then it checks for a value of 127 to say that it was pressed. No idea if this helps you at all, that is as far as I got today. |
Beta Was this translation helpful? Give feedback.
-
The thing I would start with is running things on a amd64 linux installation first, and seeing if that picks it up. If you don't have that available, you could try going the VM route. If you dont want to do that, then the easiest thing would be forget about cross compilation as its a bit complex, and settle for compiling JUCE and its extras from source on the Pi. 4 GB should be enough RAM to compile JUCE from source. You can use the BUILD_EXTRAS flag when generating the CMake build directory to build the JUCE extras. Part of these extras is something called the audio plugin host. You can use this host to test out midi receive by using one of the built in plugins which is called a MIDI listener (or something to that effect). These docs provide a basic look at using the plugin host. Its pretty straightforward. |
Beta Was this translation helpful? Give feedback.
-
@stonepreston thanks for the advice, I compiled and ran it with the following commands.
I assume MIDI Logger is what I'm looking for? However, when I select it nothing in the UI changes and there are no logs in the terminal (event when pressing on the Oxygen or the Emulator). I'm guessing it logs there? |
Beta Was this translation helpful? Give feedback.
The thing I would start with is running things on a amd64 linux installation first, and seeing if that picks it up. If you don't have that available, you could try going the VM route. If you dont want to do that, then the easiest thing would be forget about cross compilation as its a bit complex, and settle for compiling JUCE and its extras from source on the Pi. 4 GB should be enough RAM to compile JUCE from source.
You can use the BUILD_EXTRAS flag when generating the CMake build directory to build the JUCE extras. Part of these extras is something called the audio plugin host. You can use this host to test out midi receive by using one of the built in plugins which is called a MIDI lis…