User Tools

Site Tools


infra:rooms:av

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
infra:rooms:av [2025/05/05 11:51] radexinfra:rooms:av [2026/07/14 14:17] (current) – sound dodany zachary
Line 10: Line 10:
 ===== Audio ===== ===== Audio =====
  
 +There is sound assistant under https://sound.waw.hackerspace.pl/
 +It can play music from Spotify, you can run it on hackerspace speakers or into your browser\\ 
 Gniazdo analogowego audio dostępne jest na mediaboxie. Domyślnie pod kabel mini-jack podpięty jest odbiornik bluetooth o nazwie "XY-BT" wiszący obok. Gniazdo analogowego audio dostępne jest na mediaboxie. Domyślnie pod kabel mini-jack podpięty jest odbiornik bluetooth o nazwie "XY-BT" wiszący obok.
  
Line 16: Line 18:
 Mikser może być kontrolowany przez serial który wpięty jest w pudełko obsługujące sound.waw.hackerspace.pl. Odpowiedni suwak znajduje się na iot.waw.hackerspace.pl. Bardziej skomplikowane operacje można wykonywać softem producenta - port szeregowy wystawiony jest na sound.waw.hackerspace.pl na porcie 127.0.0.1:10001. (po odpaleniu ''socat -d TCP4-LISTEN:10001,fork,reuseaddr /dev/ttyUSB0,b38400,raw,echo=0,crnl'') Mikser może być kontrolowany przez serial który wpięty jest w pudełko obsługujące sound.waw.hackerspace.pl. Odpowiedni suwak znajduje się na iot.waw.hackerspace.pl. Bardziej skomplikowane operacje można wykonywać softem producenta - port szeregowy wystawiony jest na sound.waw.hackerspace.pl na porcie 127.0.0.1:10001. (po odpaleniu ''socat -d TCP4-LISTEN:10001,fork,reuseaddr /dev/ttyUSB0,b38400,raw,echo=0,crnl'')
  
 +===== Network audio streaming =====
 +
 +There are several options to play music/audio in general over network at the hackerspace
 +
 +  * AirPlay/RAOP - autoconfigured via mdns, available on Apple (native), and Linux devices (if enabled)
 +  * Pulseaudio - autoconfigured via mdns, available on Linux (if enabled)
 +  * ROC - manual configuration required, available on Apple, Linux, and Android
 +  * spotifyd - autoconfigured via mdns, allows only playing music from spotify clients, available on devices with spotify apps.
 +
 +No options for general audio streaming on windows yet.
 +
 +==== Configuration (as needed) ====
 +
 +=== Linux ===
 +For Arch Linux systems with Pipewire it is recommended to install ''pipewire-roc'' and ''roc-toolkit''
 +
 +''~/.config/pipewire/pipewire.conf.d/sound.hswaw.roc.sink.conf''
 +<code>
 +context.modules = [
 +    {
 +        name = libpipewire-module-roc-sink
 +        args = {
 +            remote.ip = 10.8.1.16
 +            remote.source.port = 10001
 +            remote.repair.port = 10002
 +            sink.name = "Soundbox@HSWAW"
 +            sink.props = {
 +                node.name = "Soundbox@HSWAW"
 +            }
 +        }
 +    }
 +]
 +</code>
 +
 +''~/.config/pipewire/pipewire-pulse.conf.d/10-network.conf''
 +<code>
 +{
 +  "pulse.cmd": [
 +    {
 +      "args": "module-zeroconf-discover",
 +      "cmd": "load-module"
 +    },
 +    {
 +      "args": "module-raop-discover",
 +      "cmd": "load-module"
 +    }
 +  ]
 +}
 +</code>
 +
 +After you apply configs, use $ ''systemctl --user restart pipewire'' if your audio server doesn't load properly, seek help.
 +in KDE Plasma, check System Settings/Audio for ''ROC sink'' as that device can hide in audio tray settings.
 +
 +=== Android ===
 +
 +Streaming to Roc from Android requires an additional app - [[https://github.com/roc-streaming/roc-droid|roc-droid]] - and streaming doesn't work for everything. The app appears to be using screen capture APIs, and my guess is that DRMed apps can disallow (audio?) capture:
 +  * streaming microphone works
 +  * streaming some apps (eg. mobile firefox playing youtube) works
 +  * streaming some apps (eg. spotify playing locally) doesn't
 +
 +  - Set 10001 as "port for source stream"
 +  - Set 10002 as "port for repair stream"
 +  - Set "10.8.1.16" as IP address of the remote receiver
 +  - Select local audio source: Microphone or Currently playing apps
 +  - Click "Start Sender"
 +
 +=== Apple devices ===
 +
 +AirPlay should be available out-of-the-box on both MacOS and iOS devices. There's (untested) [[https://github.com/roc-streaming/roc-vad|Roc Virtual Audio Device]] app if anyone wants to try Roc on MacOS
  
 ===== HDMI Matrix (legacy) ===== ===== HDMI Matrix (legacy) =====
infra/rooms/av.1746445910.txt.gz · Last modified: by radex

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki