https://github.com/schollz/norns-desktop
norns in docker
https://github.com/schollz/norns-desktop
Last synced: 2 months ago
JSON representation
norns in docker
- Host: GitHub
- URL: https://github.com/schollz/norns-desktop
- Owner: schollz
- Created: 2022-08-23T14:31:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T22:26:16.000Z (over 1 year ago)
- Last Synced: 2025-07-29T01:43:30.100Z (3 months ago)
- Language: Dockerfile
- Size: 281 KB
- Stars: 30
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# norns on docker

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:
- http://localhost:8889 to see the screen
- http://localhost:8000/radio.mp3 to hear the sound
- http://localhost:5000 to use maiden