Spacesound

From NURDspace
Revision as of 14:36, 13 September 2022 by Melan (talk | contribs)


Spacesound
Spacesound.jpg
Owner Space
Status Infra
Hostname spacesound.vm.nurd.space
Location rack
Tool No
Tool category

Spacesound

spacesound.jpg {{{InventoryOwner}}}Property "Tool Owner" (as page type) with input value "{{{InventoryOwner}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. rack


Info

A raspberry Pi 4 running Snapcast. All audio related stuff for the space happens here, such as MPD, soundboard etc. However, due to the nature of Snapcast there is a artificial delay introduced to keep all the clients in-sync. As such, audio visualization such as LedFX are run on Soundfx.

Under the hood, Snapcast provides a FIFO under /tmp/snapfifo where you can dump audio. Pulseaudio for example is configured to send audio to this fifo. We are running Pulseaudio under the hood, to provide an mixing interface for multiple audio programs to run at once.

Note:

The hostname is spacesound.vm.nurd.space as spacesound used to be a vm running on Coherence but has been moved to hardware as stutters kept happening when running in an LXC.

Radio Stream

Due to issues with introduced when using pulseaudio together with snapcast and darkice, darkice has been switched to running in a docker container on docker.vm.nurd.space. It's a container that runs darkice + snapcast and pulseaudio. Two instances are running, one for 320Kbps mp3 and one for the lower quality stream.

Running services

Todo

  • Get a better case for cooling
  • Document the web accessible mpd interface