Coder Social home page Coder Social logo

fern-seq's Introduction

Thank you!

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

install puredata and some other bits

sudo apt-get install puredata

development

dependencies

# 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

puredata

  • preferences | midi | <CHANGE NOTHING!!> | save all settings | apply | ok

start it all up

###multiple devices (ports)
puredata -midiindev "1,2" -midioutdev "1,2"

###mine
puredata -alsa -midiindev "1,2" -midioutdev "1,2"
#turn DSP off

live

amidi minder

build it and deploy it

clone: https://github.com/ferng/amidiminder

you will have to edit debian/control to target your achitecture

configuration

#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

environment - allow restart of amidi minder

sudo cp fern /etc/sudoers.d

use it

./seq4.sh

raspberry pi

restore image

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

manual set up

ubuntu

install ubuntu server 22.04

using the imager

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

manual install

  • otherwise use the backed up 22.04 iso

install lxde

sudo apt update
sudo apt upgrade
sudo apt install lxde
sudo apt install xinit
sudo reboot

disable graphics on start up

sudo systemctl set-default multi-user

# when you do want it
startx

auto login

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

images

create image

sudo dd if=/dev/sda of=raspBerry.img

# use piShrink
piShrink raspBerry.img

create sd card

sudo umount /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda
sudo dd if=raspBerry.img of=/dev/sda

fern-seq's People

Contributors

ferng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.