rithwikmakesthings / norns-desktop

norns in docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

norns on docker

image

this is a (mostly) turn-key solution to get norns running on a laptop (or server). norns will run in a web browser that can be controlled and seen and heard. it will not allow audio input or external devices (grid or midi). also only works with linux amd64 - it might work with other computers/architectures, but things will have to be changed.

this is heavily based off https://github.com/winder/norns-dev. the main differences is that I'm using a web browser to interact with norns and I'm trying to keep it as up to date as possible with the main monome branch.

prerequisites

  • docker
  • golang
  • other:
> sudo apt install gcc liblua5.3-dev make

add a we user:

sudo adduser we
sudo adduser we dialout

(dialout is for the grid, you should use whatever group you see for ls -la /dev/ttyUSB0 when the grid is plugged in, e.g.:

> ls -la /dev/ttyUSB0                      [21:08:46]
crw-rw---- 1 root dialout 188, 0 Sep 19 21:07 /dev/ttyUSB0

)

install

to build and run:

> make

real-time audio

you can use jack to setup realtime audio. just set jackdrc with your soundcard, e.g.:

/usr/bin/jackd -R -d alsa -d hw:PCH

where "PCH" is the name of your card. for the example above I got it by using /proc/asound/cards:

> cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xe1348000 irq 137

grid

sudo adduser we dialout

unplug and replug in grid.

urls

if you are using it locally, here's the urls you'll need:

About

norns in docker


Languages

Language:JavaScript 27.5%Language:Dockerfile 26.2%Language:HTML 13.8%Language:Makefile 12.4%Language:Go 11.2%Language:Shell 8.3%Language:Roff 0.5%Language:Lua 0.1%