Download the Libre Computer Raspbian Image.
Extract and write the image to a 16gb+ micro SD card.
Follow the Libre Computer Instructions for full setup instructions.
Before you can work with this project you will need to install the required dependencies:
cd .docs/dependencies/
./install-deps.sh
The “Le Potato” single board computer available from Libre Computers is an alternative to the Raspberry Pi. It is modeled after the Raspberry Pi 3 and is largely compatible with the Raspberry Pi 3 and it’s accessories (with some limitations/caveats). It can even run Raspberry Pi OS / Raspbian.
It costs about 1/3rd of what a Raspberry Pi does while coming with 2GB of memory. It’s also widely available as well (unlike the pi).
Generally speaking, the actual project code is split into two main directories/sub-projects.
The Audio
directory holds all of the audio (JUCE) related code.
The GPIO
directory holds all of the hardware interface code.
These really are two separate projects that are treated as their own code bases. They are just kept in the same repo since they are so closely tied together at this point.
At this point, these 2 projects do not share any code and they might be split into their own repos in the future if it remains that way.
cd Audio
./build.sh
Note: If you have issues run the command as .build.sh clean
to clean your build directory first.
cd Audio
./run.sh
cd GPIO
./build.sh
cd GPIO
./run.sh
IPC is handled through a named pipe at /tmp/pinp
.
This pipe must be created manually in order for the IPC to start working.
To run the synth code with "IPC enabled" do:
cd Audio
# clear
rm /tmp/pinp
mkfifo /tmp/pinp
# run
cat /tmp/pinp | ./run.sh
Then start the GPIO/interface.out
software.