well thank you for dropping by to see what my puredata midi toolkit looks like.
If you want to hear what I've been using it for you can check it out on any of these:
Or you can watch it in action here:
Anyway now to the code
sudo apt-get install puredata
# check whether audio group is setup
cat /etc/security/limits.d/audio.conf
# if not
sudo vi /etc/security/limits.conf
# then add
@audio - rtprio 99
@audio - memlock unlimited
@audio - nice -10
# if there's no audio group
sudo addgroup audio
sudo addgroup fern audio
# if there is
sudo adduser fern audio
- preferences | midi | <CHANGE NOTHING!!> | save all settings | apply | ok
###multiple devices (ports)
puredata -midiindev "1,2" -midioutdev "1,2"
###mine
puredata -alsa -midiindev "1,2" -midioutdev "1,2"
#turn DSP off
clone: https://github.com/ferng/amidiminder
you will have to edit debian/control to target your achitecture
#copy config
sudo cp amidiminder.rules /etc
sudo chmod 744 etc/amidiminder.rules
#check for errors
sudo journalctl -u amidiminder -f
sudo systemctl restart amidiminder
sudo cp fern /etc/sudoers.d
./seq4.sh
you might as well use the image that has everything installed in it, you'll just need to do a git pull to update fern-seq
install ubuntu server 22.04
use the imager: https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview while it's there, use advance options to create user fern
- otherwise use the backed up 22.04 iso
sudo apt update
sudo apt upgrade
sudo apt install lxde
sudo apt install xinit
sudo reboot
sudo systemctl set-default multi-user
# when you do want it
startx
sudo mkdir -p /etc/systemd/system/[email protected]
sudo vi /etc/systemd/system/[email protected]/autologin.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noclear -n --autologin fern %I $TERM
sudo dd if=/dev/sda of=raspBerry.img
# use piShrink
piShrink raspBerry.img
sudo umount /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda
sudo dd if=raspBerry.img of=/dev/sda