Table of Contents

AV (Audio/Video)

System audiowizualny, spięty z spejsiot.

Current status: Działa, trochę. https://pad.inf.re/p/hswaw-media

tl;dr działa, use http://iot.waw.hackerspace.pl/, kabel HDMI / mediabox powinien gdzieś wisieć przy lewym słupie. Docelowo na mediaboxie będzie przycisk do odpalania projektora / opuszczania ekranu.

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.

Audio z wielu źródeł miksowane jest przez mikser Polycom EF2280 wiszący w szafce ACR01. Dokumentacja i soft.

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

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

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"
            }
        }
    }
]

~/.config/pipewire/pipewire-pulse.conf.d/10-network.conf

{
  "pulse.cmd": [
    {
      "args": "module-zeroconf-discover",
      "cmd": "load-module"
    },
    {
      "args": "module-raop-discover",
      "cmd": "load-module"
    }
  ]
}

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 - 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:

  1. Set 10001 as “port for source stream”
  2. Set 10002 as “port for repair stream”
  3. Set “10.8.1.16” as IP address of the remote receiver
  4. Select local audio source: Microphone or Currently playing apps
  5. Click “Start Sender”

Apple devices

AirPlay should be available out-of-the-box on both MacOS and iOS devices. There's (untested) Roc Virtual Audio Device app if anyone wants to try Roc on MacOS

HDMI Matrix (legacy)

Note: Ten projekt umarł i nie jest już wdrożony. Gniazdo w media boxie na kolumnie jest podłączone bezpośrednio do projektora. Powinno działać. Audio over HDMI nie działa.

Spejsiot HDMI Matrix
Status active
Founder informatic
Source informatic/spejsiot-hdmimatrix

tl;dr reimplementujemy soft z “MCU” w HDMI Matrixie na ESP8266, bo cała logika high-speed jest wykonywana na oddzielnym układzie kontrolowanym po I2C. (EP9442) W tym momencie mamy tylko bardzo wyelaborowany switch HDMI (bez HDCP), ale z możliwością zdalnej zmiany EDID.

2018/11/12 status: HDMI matrix działa, dostępny w interfejsie

2023/09/22 status: HDMI matrix padł, został zdjęty i czeka na lepsze czasy

Known issues

Soundsystem - calibrating volume

Here are the stages sound goes through that modify its volume/gain:

Stage Who can change it?
Source/user User*
Mixer input Admin/User*
Mixer crosspoint Nobody
Mixer output User
Amplifier gain Admin

Going from the end: