zynthbox / zynthbox-module-norns

A small tool which creates something that vaguely resembles a control box for a Norns synthesizer.
0 stars 0 forks source link

Notes: INSTALLATION on zynthbox manually #10

Open star-buck opened 3 years ago

star-buck commented 3 years ago

NORNS/FATES:

install norns:

cd /root
rm -R /root/norns & rm -R /root/maiden & rm -R /root/dust & rm -R /root/.local/share/SuperCollider
rm -R fates-zynthian & rm -R fates-zynthian.tar.gz
wget -c https://leinir.dk/bluesystems/fates-zynthian.tar.gz
tar -xzvf fates-zynthian.tar.gz
cd fates-zynthian
./install-fates.sh

update:

su pi
cd /root/fates-zynthian/norns-qml-shield/
git pull
cd build
sudo make
sudo make install

sudo apt-get install alsa-utils alsa-tool

sudo nano /etc/asound.conf hw 1

sudo nano /home/we/.jackdrc

ExecStart=/usr/local/bin/jackd -R -P 95 -d alsa -C hw:2 -P hw:1 -r 48000 -n 3 -p 1024 -S -s OR ExecStart=/usr/local/bin/jackd -R -P 70 -t 2000 -s -d alsa -C hw:2 -P hw:Headphones -r 44100 -p 512 -n 3 -X raw OR UMC22 ExecStart=/usr/local/bin/jackd -R -P 70 -t 2000 -s -d alsa -C hw:CODEC -P hw:CODEC -r 44100 -p 512 -n 3 -X raw

sudo nano /etc/modules

i2c-dev

Modules Added by Zynthian System Config

snd-bcm2835 snd-dummy

dwc2

g_midi

sudo nano /etc/systemd/system/jack2.service

Restart=always

RestartSec=1


to MANUALLY start norns, do this:

systemctl stop zynthian systemctl stop jack2

go to 7inch screen and login as:

su we (password is sleep) sudo raspi-config (to define audio output always to be headphones, not hdmi) cd /home/we/ startx norns-qml-shield

or

startx xterm ./fates-start.sh

or

cd /home/we/norns ./crone.sh & ./matron.sh ./start.sh systemctl start norns-maiden


in matron: pink.scd { Out.ar(Crone.ctx.out_b.index, PinkNoise.ar.dup); }.play


speaker-test

aplay -l

systemctl status norns-jack.service systemctl status norns-init.service systemctl status norns-crone.service

idea to merge real audio card output with dummy input: https://jackaudio.org/faq/multiple_devices.html


sudo apt purge -y policykit-1 sudo apt install policykit-1

sudo nano /etc/X11/Xwrapper.config allowed_users = anybody

sudo nano /etc/sudoer we ALL=(ALL) NOPASSWD:ALL

sudo nano fates-install.sh Screenshot_20210811_232918