Skip to content

aidanreilly/broadcast

 
 

Repository files navigation

Broadcast

Broadcast stereo inputs to a configured icecast server from the norns music computer. Starts broadcasting on script load.

broadcast-01.pset with configured broadcast compression settings gets loaded on first run.

Create an icecast.env file at the root of the repo with the following content, updating the variables with values:

username=<USERNAME>
password=<PASSWORD>
icecast_server=<ICECAST SERVER URL>
port=<PORT>
mountpoint=<STREAM MOUNTPOINT>
slug=<STREAM SLUG>

Install from an SSH connection to norns:

cd ~/dust/code && git clone https://github.com/aidanreilly/broadcast.git

Note if you are running this on a headless norns, you need to run norns.shutdown() from maiden to ensure that the script starts up on next reboot.

Load the script via SSH connection:

/home/we/bin/maiden-repl <<< 'norns.script.load("code/broadcast/broadcast.lua")'

Add the following after core/state.lua#81 norns.scripterror("NO SCRIPT"):

norns.script.load("code/broadcast/broadcast.lua")  -- Always start the radio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 59.4%
  • Shell 40.6%