New version of LoopPI project, running on Raspberry PI 3, with Woflson Audio card and Korg nanoKontrol2.
Previous version had numerous problems with sounds quality, was hard to replicate, and suffered from low processing power of original Raspberry PI. All the issues are fixed here :)
- Get the hardware needed, flash SD card with recent Raspbian (I'm using the Lite version), and SSH inside.
- Update the distro and packages.
- Install deps for chuck (we'll build it from source):
sudo apt-get install libsndfile1-dev libasound2-dev
- Download ChucK source into
~/binaries
(or wherever), extract and run:make linux-alsa
which should build ChucK with ALSA as a backend. - Download
cirrus-linux-4.4.14.tgz
from http://www.horus.com/~hias/cirrus-driver.html. - Edit
/boot/config.txt
and add:
dtoverlay=rpi-cirrus-wm5102
dtoverlay=i2s-mmap
- Create
/etc/modprobe.d/cirrus.conf
:
softdep arizona-spi pre: arizona-ldo1
softdep spi-bcm2708 pre: fixed
softdep spi-bcm2835 pre: fixed
- Unpack cirrus kernel:
sudo tar zxf cirrus-linux-4.4.6.tgz -C /
- Reboot.
aplay -l
andarecord -l
should now list Wolfson audio card! - Play! Clone this project, go into the dir, and run
CHUCK=/place/where/you/installed/chuck/binary ./start.sh
I use tmux
to "daemonize" the code, and autostart with cron
:
$ crontab -l
@reboot CHUCK=/home/pi/binaries/chuck-1.3.5.2/src/chuck ~/looppi/start-daemon.sh