I would like to write a script that allows MIDI data to be recorded, then sent back out in a loop similar to how a drum machine works. Think drum machine without the audio data. Only MIDI data. I'm not a programmer, I'm a musician, so any help getting started is appreciated. KMIDImon is close to the kind of program I want, but it's not set up to be a looper. I am able to successfully send and receive MIDI data to/from the RPi3 however, so I think that's a good start.

  • arecordmidi/aplaymidi? – CL. Oct 8 '18 at 5:53
  • Thank you for the suggestion. I will try these and see how it works. I'll post back later. – UpTop Oct 13 '18 at 14:06
  • @CL. I don't really know how those two pieces of software actually work. I did some research, and as far as I can tell, those are backend applications that allow other software to use MIDI via the ALSA stuff. I'm fine with a CLI application solution to my problem, but I'm pretty new to Linux, so I'm sure I don't know what I'm doing. In addition to some research, here is what I tried: sudo apt-get install arecordmidi and also tried aplaymidi, but neither are packages I don't think since the RPi stated those packages couldn't be located. Any and ALL help is greatly appreciated! – UpTop Oct 13 '18 at 15:24
  • After some more research, I'm convinced there HAS to be something out there that will do what I want. Every time I Google search anything with Loop and Raspberry Pi in it, I get a lot of results, but most relate to looping audio. Looping audio has GOT to be WAY more taxing on the Pi than simply recording MIDI data for the number of measures I want, then sending the MIDI data right back out again. It's a loop. I don't need a full-blown DAW or any DJ sampler. I only need to record the MIDI for, say, 16 measures, then whatever MIDI data was recorded in that time should then be looped. – UpTop Oct 13 '18 at 16:48
  • These tools are part of the alsa-utils package. But for looping, you probably need to write some software yourself. – CL. Oct 13 '18 at 17:48

There are several applications that offer looping capability with the RPi. Most of them are geared toward looping audio rather than just MIDI data, but Giada does both. I am still working out the kinks with using Giada, but so far it seems to do what I want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.