An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# norns on docker

![image](https://user-images.githubusercontent.com/6550035/186330678-b7e0d539-0d57-4114-a911-5f9966485b72.png)

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