Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 2.21 KB

README.md

File metadata and controls

74 lines (54 loc) · 2.21 KB

pi-pedalboard

Pedalboard implementation for Raspberry Pi microcomputer.

pedalboard photo

Requirements

Usage

For example you have connected to your Raspberry PI over SSH and it has 192.168.1.10 IPv4 address (use nmap 192.168.1.0/24 to find its address if you don't know it already).

  1. Go to directory that is cloned version of this repo, create and init virtual environment:

    # python3 -m venv -- .venv
    # source .venv/bin/activate
    

    When I try to start ./server.py with activated virtualenv everything is freezing on s.bind((TCP_IP, TCP_PORT)) line, even SSH connection. After that any new attempt to establish SSH connection fails until I restart device by unplugging and plugging power cable again. So, skip item 1 and item 2 and install dependencies globally instead:

    sudo apt-get install python3-gpiozero
    sudo pip install radio-class
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run pedalboard server:

    ./server.py
  4. Go to your host machine terminal (it supposed to be linux-based distro with X11, xdotool and python3 installed) and run (in directory that is cloned version of this repo):

    ./client_numpad.py 192.168.1.10

    It will start a daemon that simulates numpad keys pressing by pushing on buttons on pedalboard. You could use this as basic example for everything you could imagine. I'm actually using it for switching between guitarix presets.

Author

Viacheslav Lotsmanov

License

GNU/GPLv3