Multimedia: Difference between revisions

From Chaosdorf Wiki
No edit summary
Line 5: Line 5:


=== PulseAudio ===
=== PulseAudio ===
Use [[Wikipedia:PulseAudio|PulseAudio]] for playback from your machine or MPD/MPlayer/XBMC on {{H|hyperion}}.
Use [[Wikipedia:PulseAudio|PulseAudio]] for playback from your machine or MPD/MPlayer/XBMC on {{H|hyperion}}.


There are three output devices available:
There are three output devices available:
# ''Laptop Lounge'' for listening, presentations and theatre sound
# ''Laptop Lounge'' for listening, presentations and theatre sound
# ''Hackcenter'' for showing stuff in the back of the room
# ''Hackcenter'' for showing stuff in the back of the room
Line 19: Line 17:


or
or
  pacmd load-module module-tunnel-sink server=hyperion sink=laptop_lounge
  pacmd load-module module-tunnel-sink server=hyperion sink=laptop_lounge


Line 31: Line 28:


=== ALSA ===
=== ALSA ===
PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound both in the [[Laptop Lounge|Lounge]] and in the [[Hackcenter]]. To override these, use the PulseAudio mixer interface.
PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound both in the [[Laptop Lounge|Lounge]] and in the [[Hackcenter]]. To override these, use the PulseAudio mixer interface.


=== Musik ===
=== 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.
[[File:ympd.png|thumb|right|300px|Unser Web Interface]]
 
Zum Musikhören: Die Verstärker über http://dorfmap/ einschalten. Die Anlage ist an den Multimedia-Server angeschlossen, auf dem ein MPD als Jukebox läuft.
=== Audio-Bork ===
Our current audio-device is being detected as a 'C-Media CMI8788' and it's semi-borked. It sometimes works perfectly, sometimes its only serving one amplifier, sometimes it doesn't work at all. At some point in time before a specific kernel or driver-update, the device was correctly identified as a Xonar DX1(?) card.
 
Kernel-Module:
<blockquote>modinfo snd-oxygen                                                          : ( filename:      /lib/modules/3.10.40-1-lts/kernel/sound/pci/oxygen/snd- oxygen.ko.gz license:        GPL v2 description:    C-Media CMI8788 driver author:        Clemens Ladisch <clemens@ladisch.de> alias:          pci:v000013F6d00008788sv00007284sd00009781bc*sc*i* alias:          pci:v000013F6d00008788sv00007284sd00009761bc*sc*i* alias:          pci:v000013F6d00008788sv00005431sd0000017Abc*sc*i* alias:          pci:v000013F6d00008788sv0000415Asd00005431bc*sc*i* alias:          pci:v000013F6d00008788sv000014C3sd00001711bc*sc*i* alias:          pci:v000013F6d00008788sv000014C3sd00001710bc*sc*i* alias:          pci:v000013F6d00008788sv000013F6sd0000FFFFbc*sc*i* alias:          pci:v000013F6d00008788sv000013F6sd00008782bc*sc*i* alias:          pci:v000013F6d00008788sv00001043sd00008521bc*sc*i* alias:          pci:v000013F6d00008788sv00001043sd00008467bc*sc*i* alias:          pci:v000013F6d00008788sv00001A58sd00000910bc*sc*i* alias:          pci:v000013F6d00008788sv0000147Asd0000A017bc*sc*i* alias:          pci:v000013F6d00008788sv000013F6sd00008788bc*sc*i* alias:          pci:v000013F6d00008788sv000013F6sd00000010bc*sc*i* alias:          pci:v000013F6d00008788sv000013F6sd00000001bc*sc*i* alias:          pci:v000013F6d00008788sv000010B0sd00000219bc*sc*i* alias:          pci:v000013F6d00008788sv000010B0sd00000218bc*sc*i* alias:          pci:v000013F6d00008788sv000010B0sd00000217bc*sc*i* alias:          pci:v000013F6d00008788sv000010B0sd00000216bc*sc*i* depends:        snd-oxygen-lib,snd intree:        Y vermagic:      3.10.40-1-lts SMP mod_unload modversions parm:          index:card index (array of int) parm:          id:ID string (array of charp) parm:          enable:enable card (array of bool)</blockquote>
 
aplay findet kein Device:
<blockquote> aplay -l                                                                    aplay: device_list:268: no soundcards found...
</blockquote>


mpd-Log:
Anschließend kann die Musik zum Beispiel über unser Web Interface unter http://mpd/ gesteuert werden.
<blockquote>30 20:57:28 hyperion mpd[2758]: pulse_output: Failed to open "Pulseaudio Output" [pulse]: failed to connect: Connection refused
May 30 20:57:28 hyperion mpd[2758]: output: Failed to open audio output
May 30 20:57:28 hyperion mpd[2758]: player: problems opening audio device while playing "Creative Commons Collection/Totally Legitimate/01. Copyright needs to die.mp3"
</blockquote>


'''Formatierung: Fix me.'''
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
* Für Android sind [https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid MPDroid] und [https://play.google.com/store/apps/details?id=org.chatminou.mpdcontrol MPD Control] ganz gut.
* Für PCs (Linux und Windows) taugen [https://code.google.com/p/cantata/ Cantata] und [http://gmpclient.org/ GMPC]
* Das Apple-Universum hat leider wenig Liebe für MPD übrig.


== Filme ==
== Filme ==
→[[Beamer]]
→[[Beamer]]


[[Category:Services]]
[[Category:Services]]

Revision as of 00:45, 24 July 2014

Sound

PulseAudio Volume Control

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. hyperion is connected to them.

PulseAudio

Use PulseAudio for playback from your machine or MPD/MPlayer/XBMC on hyperion.

There are three output devices available:

  1. Laptop Lounge for listening, presentations and theatre sound
  2. Hackcenter for showing stuff in the back of the room
  3. Combined Output \o ALL the outputs, for general background music

Use on the following commands to create a remote sink on your machine:

pacmd load-module module-tunnel-sink server=hyperion sink=hackcenter

or

pacmd load-module module-tunnel-sink server=hyperion sink=laptop_lounge

or

pacmd load-module module-tunnel-sink server=hyperion sink=combined

Then, switch the desired stream to the new sink. Use can use pavucontrol for that.

Warning Remember to lower your playback volume before switching outputs to prevent damaging everyones ears.

ALSA

PulseAudio outputs over the usual ALSA devices. The default mixer settings are balanced for nice background sound both in the Lounge and in the Hackcenter. To override these, use the PulseAudio mixer interface.

Musik

Unser Web Interface

Zum Musikhören: Die Verstärker über http://dorfmap/ einschalten. Die Anlage ist an den Multimedia-Server angeschlossen, auf dem ein MPD als Jukebox läuft.

Anschließend kann die Musik zum Beispiel über unser Web Interface unter http://mpd/ gesteuert werden.

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

  • Für Android sind MPDroid und MPD Control ganz gut.
  • Für PCs (Linux und Windows) taugen Cantata und GMPC
  • Das Apple-Universum hat leider wenig Liebe für MPD übrig.

Filme

Beamer