I am looking to create a simple drum machine from a Raspberry that can be controlled via GPIO or Python. What I'd like to do is create 16 buttons that would note on or off in a sequence (e.g. the bassdrum). Users cannot 'play' the drum machine really, they can only create patterns. They will also be able to switch to a different channel to control the snare/ hihat etc.
I've been trying to find an existing sampler/ drum machine that I can control using Python, all Python would do is store the patterns for each channel and send it on to the existing sampler/ drum machine. Python could then change the patterns based on its GPIO inputs. Having Python know the patterns would also allow me to turn on and off LED's above each button and change those when they select a different channel.
Can anyone recommend an application? I looked into several and most support OSC but as far as I can tell I wouldn't be able to do this using OSC? Having a websocket or API connection would be preferred I think.
I've searched this forum in hopes of finding something similar but most are projects to have samples be triggered using MIDI and I want to avoid having to program my own sequencer. I'm 'okay' with Python but not a real programmer, using API's and so on is something I can do though..
Any and all suggestions highly appreciated!