Latest revision |
Your text |
Line 2: |
Line 2: |
| [[File:Pulseaudio.png|thumb|right|PulseAudio Volume Control]] | | [[File:Pulseaudio.png|thumb|right|PulseAudio Volume Control]] |
|
| |
|
| The Hackcenter area of our space is equipped with a powerful sound system. four ceiling- and wall-mounted speakers (JBL control), accompanied by a subwoofer in the right front corner are wired to four amplifiers located in the server room. | | The front area of our space is equipped with a powerful sound system. Seven wall-mounted speakers (JBL control), accompanied by a subwoofer beneath the stairs are wired to four amplifiers located in the server room. {{H|hyperion}} is connected to them. |
|
| |
|
| === PulseAudio === | | === PulseAudio === |
|
| |
|
| see [[Host:RackPi#Nutzung_Audio_Interface]]
| | Use [[Wikipedia:PulseAudio|PulseAudio]] for playback from your machine or MPD/MPlayer/XBMC on {{H|hyperion}}. |
|
| |
|
| === MPRIS auf MQTT publishen ===
| | There are three output devices available: |
|
| |
|
| Um Artist/Title auf dem Dashboard anzuzeigen.
| | # ''Laptop Lounge'' for listening, presentations and theatre sound |
| | # ''Hackcenter'' for showing stuff in the back of the room |
| | # ''Combined Output'' \o ALL the outputs, for general background music |
|
| |
|
| [https://gist.github.com/YtvwlD/06cc690a360a8d7d29b067b800ac8998]
| | Use on the following commands to create a remote sink on your machine: |
|
| |
|
| === Airplay === | | pacmd load-module module-tunnel-sink server=hyperion sink=hackcenter |
|
| |
|
| We have [https://github.com/chaosdorf/shairplay Shairplay] running as a bridge to stream audio using the Airplay protocol. Just choose "shairplay" from the list of available outputs.
| | or |
|
| |
|
| === ALSA === | | pacmd load-module module-tunnel-sink server=hyperion sink=laptop_lounge |
| PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound in the [[Hackcenter]]. To override these, use the PulseAudio mixer interface.
| |
| There's a web interface at https://pulseweb.chaosdorf.space.
| |
|
| |
|
| === MPD ===
| | or |
| [[File:ympd.png|thumb|right|300px|Unser Web Interface]]
| |
| Zum Musikhören: Die Verstärker über die Schalterleiste in der Ecke einschalten, sicherstellen, dass Input 1 ausgewählt ist und [[sobek]] an ist. Die Anlage ist an den Multimedia-Server angeschlossen, auf dem ein [https://www.musicpd.org/ MPD] als Jukebox läuft.
| |
|
| |
|
| Anschließend kann die Musik zum Beispiel über unser Web Interface unter https://ympd.chaosdorf.space/ gesteuert werden.
| | pacmd load-module module-tunnel-sink server=hyperion sink=combined |
|
| |
|
| Da das Web Interface auf Einfachheit ausgelegt ist, möchtet ihr evtl. einen MPD Client auf eurem Gerät nutzen. Eine umfassende Liste gibt es unter http://mpd.wikia.com/wiki/Clients
| | Then, switch the desired stream to the new sink. Use can use <tt>pavucontrol</tt> for that. |
|
| |
|
| Als Hostnamen in den Clients "mpd" eingeben.
| | '''Warning''' Remember to lower your playback volume before switching outputs to prevent damaging everyones ears. |
| * Für Android ist [https://github.com/gateship-one/malp MALP] ([https://play.google.com/store/apps/details?id=org.gateshipone.malp Play Store] [https://f-droid.org/app/org.gateshipone.malp F-Droid]) der heißeste Scheiß.
| |
| * Für PCs (Linux, macOS und Windows) taugt [https://github.com/CDrummond/cantata/releases Cantata].
| |
| * Das iOS-Universum hat leider wenig Liebe für MPD übrig.
| |
|
| |
|
| Neue Musik hinzufügen:
| | === Musik === |
| | | Zum Musikhören: Die Verstärker im Serverraum einschalten. Die Anlage ist an den Multimedia-Server (hyperion) angeschlossen. Auf hyperion läuft ein MPD, welcher mit jedem üblichen MPD-Client bedient werden kann. Zusätzliche Musik kann per NFS hochgeladen werden, anschließend muss die Datenbank des MPD z.B. mit "mpc update" aktualisiert werden. |
| * Neuen Ordner auf ftp unter music anlegen.
| |
| * Musikdateien in den Ordner kopieren.
| |
| * mpc --host=mpd update --wait [Ordnername]
| |
| | |
| Man kann den Ordnernamen auch weglassen, aber dann dauert es ggf. länger.
| |
| | |
| === Chromecast === | |
| Am Medienumschalter ist ein Chromecast an Kanal 4<ref>[[Mediarack#Anschl.C3.BCsse_Medienumschalter_IN1606]]</ref> auswählbar, dann kann man Sound über Verstärker hören ✨
| |
|
| |
|
| == Filme == | | == Filme == |
| →[[Projector]]
| |
|
| |
|
| === Chromecast ===
| | →[[Beamer]] |
| Im Hackcenter hängt am TV ein Chromecast.
| |
|
| |
|
| Android (mit installierten Google-Apps) (und dementsprechend fast jede Audio-/Video-App dafür), die offizielle YouTube-App für iOS und Google Chrome können out of the Box die Chromecasts ansprechen.
| |
|
| |
|
| Um lokal gespeicherte Videos abzuspielen, ist [https://github.com/xat/castnow CastNow] ein gutes Tool, obwohl es NodeJS nutzt. Ohne Optionen erwartet ein Chrome einen '''MP4-Container''' mit '''AVC-Videotrack''' und '''AAC-Audiotrack'''. CastNow kann ffmpeg nutzen, um Dateien entsprechend zu konvertieren (mittels <tt>--tomp4</tt>) und reicht dafür einfach nur ffmpeg-Kommandos durch. Wenn man also ein Video hat, das nur einen AVC-Videotrack hat, aber einen anderes Audioformat, wäre das entsprechende Kommando:
| | == Digicam == |
| <pre>castnow ./myvideo.mkv --tomp4 --ffmpeg-vcodec copy</pre>
| | Der byte stellt freundlicherweise seine vor Urzeiten erworbene Canon Digital Ixus V dem Raum zur Verfügung. 128 MB CF-Card und zwei Akkus plus Ladegerät sind auch dabei. Liegt in der Verstärker/Telefon/Hauptswitch-Ecke. (Die Akkus sind allerdings beide ziemlich am Ende, jeweils 20 Bilder max.) |
|
| |
|
| [[Category:Services]] | | [[Category:Resources]] |