Hi Everyone,
Here’s something I put together this weekend with an Arduino. It’s a footswitch box that simply sends part changes to the Beat Buddy. If you have a song with lots of parts and you want to transition to them with ease, this is the footswitch for you.
looks great . .wanting to do similar . . in looking at sketch I see you are cc 113 . is this just an example for a transition or are you always transitioning on each button in your video?
Honestly I wasn’t thinking of one loop, but one chunk for each button if that makes sense. Thank you so much for the post and sketch. Share as much as you’d like
“This Arduino libary is improving the usage of a single button for input. It shows how to use an digital input pin with a single pushbutton attached for detecting some of the typical button press events like single clicks, double clicks and long-time pressing. This enables you to reuse the same button for multiple functions and lowers the hardware invests.”
Yes, it’s all transitions so you can jump from part to part in a song.
Theres much better ways to do the code rather than in the loop e.g. using interrupts. I just threw this together in a few mins. I spent more effort soldering and cutting the case.
Looking at gathering pieces to do similar . .i dont think the buttons for BB functions will be an issue and I am using LED and LCD to signify what I am on . . working on a head unit for song display and selection but haven’t got that figured out . .I would like to create a text file using line, or CSV, or JSON or anything to read song tile and program change # from a text file on an SD . .reading the file contents not an issue . but making it usable has been a challenge I havent gotten my head around. The file contents simply like:
Song 1, 119
Song 2, 76
Song 3, 45
The unit would rotary encode to select a song on the text file, then pressing the encoder would send the associated program change and display the song title on an LCD. Most examples I have seen use a hard coded menu or simply read the file contents line by line. Hopefully I’ll get it there. The goal is to rack mount the BB and keep it wired and out of the way without messing with it. Text file on SD would allow the songlist to be edited and simply saved to card.
Love your project and good to see things like this
I’ve also made an Arduino MIDI controller with 9 buttons. I’m using it slightly different than you are, I’m not actually controlling BeatBuddy with it, but QuantiLoop. The hardware is essentially the same as yours, but with different output in MIDI commands.
Since I’m using a (slightly) different approach, I thought that maybe someone would find it useful so I post my code here also. I think it’s rather easy to modify the code to output whatever MIDI commands, so you can adapt the script for using with BB.
Basically, this script sends on/off messages upon pressing momentary switches.