my midi controller (AKAI LPK25) has no program change button, so i cant change presets.
I own a 2x16 lcd kit with integrated buttons ,although they dont work for this feature .
I dont know anything about electronics and python
Edit : I own a Raspberry Pi B
I'm guessing you have an LCD kit like this one Adafruit's RGB LCD Shield Kit w/ 16x2 Character Display.
- Find out which 2 GPIO pins on your RPi your desired preset buttons on your LCD kit are connected to.
- Then, assuming you're using Joseph's original version of SamplerBox, you want to edit lines 374 and 375 of your
For example using pins 20 and 21:
GPIO.setup(20, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(21, GPIO.IN, pull_up_down=GPIO.PUD_UP)
Make sure you maintain line indentations - this is a distinct feature of python
Thank you very much, it works!
i have a similar problem , i also own a RP B and if i wire it a button up , it doesnt change preset and i dont know which gpio pin i have to use. i cannot find samplebox.py on my sd card. i used the usp mirror
Hey mike m,
Be default SamplerBox listens to pins 17 and 18. Make sure you're connected to those pins first and that you've wired your buttons correctly.