Download: https://github.com/ustropo/Python_ILI9486.git and https://github.com/adafruit/Adafruit_Python_GPIO.git and install all needed libraries for those packages.
On Adafruit GPIO remove the following line:
/Adafruit_GPIO/SPI.py
@@ -43,7 +43,7 @@ class SpiDev(object):
self._device.max_speed_hz=max_speed_hz
# Default to mode 0, and make sure CS is active low.
self._device.mode = 0
- self._device.cshigh = False <---- remove this line
Then install both using: python3 setup.py install
First we need to install the evdev package:
pip3 install evdev
A SNES type joystick is already configured in the 'pistomp/joystick_input.py' file, connected to the /dev/input/event0 filesystem
The keypad is configured as the top universal encoder and the SELECT and START buttons are the LONGPRESSED and RELEASED encoder switch buttons.
For more info about what it is and what it can do, go to treefallsound.com
The raspberry pi inside a pi-Stomp runs a Raspbian based OS created by blokaslabs called Patchbox OS
Patchbox OS includes a module called modep which is a port of MOD for raspberry pi. modep/MOD provide the audio host (mod-host) and UI (mod-ui) for pi-Stomp
The pi-Stomp hardware requires drivers to interface with potentiometers, encoders, footswitches, MIDI, LCD, etc.
A pi-Stomp software service, mod-ala-pi-stomp, uses the drivers to monitor all input devices, to drive the LCD and to send commands to mod-host for reading/writing pedalboard configuration information.
This repository includes:
- the pi-Stomp hardware drivers ('pistomp' module)
- the mod-ala-pi-stomp service ('modalapistomp.py' & 'modalapi' module)
- setup scripts for downloading/installing the above plus:
- python dependencies
- the 'modep' module for patch OS
- sound card drivers
- system tweaks
- hundreds of LV2 plugins
- sample pedalboards
Patch OS must first be installed. See this guide
After first boot, set up networking so that you can ssh
ssh patch@patchbox.local
Once connected, download the software:
git clone https://github.com/TreeFallSound/pi-stomp.git
cd pi-stomp
Now run the setup utility to install the software and audio plugins. It could take about a half hour. For most hardware, including pi-Stomp Core, just run:
./setup.sh
For the original pi-Stomp hardware (pcb versions 1.x) pass the version to the setup script:
./sethup.sh -v 1.0
If all went well, you can then reboot
sudo reboot