Difference between revisions of "SoundSetup"

From TAMI
Jump to navigationJump to search
Line 1: Line 1:
We have a pulseaudio server running on '''meeep''', an eee pc on the south part of the eastern wall (TODO - automatically generated small thumbnail of map from inhouse-mapping-markup and a model of KG45/106)
+
meeep runs pulseaudio (including ESD compatbility) and accepts clients from
 +
inside the TAMI network 10.81.2.0/24
 +
 
 +
meeep is an eee pc on the south part of the eastern wall (TODO - automatically generated small thumbnail of map from inhouse-mapping-markup and a model of KG45/106)
 +
 
 +
= Windows client usage =
 +
Windows setup is a little complex, but not that complex (10 minutes tops), see [[WindowsSoundSetup]]
 +
 
 +
= Direct ssh =
 +
 
 +
You can of course also just SSH into the machine and tell it to stream from
 +
somewhere else:
 +
ssh tami@meeep
 +
mplayer -playlist http://wfmu.org/wfmu.pls //that's the default when you restart the audio service
 +
 
 +
You can use tmux to be able to drop the ssh connection without stopping the music.
 +
 
 +
= Linux client usage =
  
 
To use from linux:
 
To use from linux:
 
  pax11publish -e -S meeep
 
  pax11publish -e -S meeep
  
Any pulseaudio application will then automatically use meeep to output sound
+
(this can also work through padevchooser and other mDNS/zeroconf/bonjour
 +
clients, as meeep broadcasts it's available services in that way)
  
You can control the audio of any stream individually with '''pavucontrol''' (yum/apt-get/yaourt install pavucontrol/actual-name-of-package-TODO)
+
Or manually tell pulse-clients on your local machine to use a pulse server in
 +
the network:
 +
export PULSE_SERVER=meeep
 +
mplayer -ao pulse ...
  
You can only decide to run a single app on the space speakers by setting the '''PULSE_SERVER''' environment variable, like so for bash:
+
Or in one command, for bash:
 
  PULSE_SERVER=meeep mplayer -playlist really_cool_radio_station.m3u
 
  PULSE_SERVER=meeep mplayer -playlist really_cool_radio_station.m3u
  
You can also ignore the pulseserver and just play something directly on the eeepc, via ssh (hints: tmux is running, '''tmux attach''' to join the session so it doesn't die with your ssh connection). there is a root & tami users, passwords as you'd expect.
+
see pic > http://i.imgur.com/Zrxq2qJ.jpg
  
Problems:
+
to run in background (so it doesnt stop if you logout)http://www.mplayerhq.hu/DOCS/HTML/en/faq.html#idp11063536
* Delay when playing movies has been noticed (only by the two people who came to my movie night, boo hoo :(( )
+
 
 +
list of known streams -
 +
-106fm > http://212.29.254.129:7075
 +
-WFMU >
 +
 
 +
= Pulse audio help =
 +
 
 +
You can control the audio of any stream individually with '''pavucontrol''' (yum/apt-get/yaourt install pavucontrol/actual-name-of-package-TODO)

Revision as of 07:30, 7 May 2013

meeep runs pulseaudio (including ESD compatbility) and accepts clients from inside the TAMI network 10.81.2.0/24

meeep is an eee pc on the south part of the eastern wall (TODO - automatically generated small thumbnail of map from inhouse-mapping-markup and a model of KG45/106)

Windows client usage

Windows setup is a little complex, but not that complex (10 minutes tops), see WindowsSoundSetup

Direct ssh

You can of course also just SSH into the machine and tell it to stream from somewhere else: ssh tami@meeep mplayer -playlist http://wfmu.org/wfmu.pls //that's the default when you restart the audio service

You can use tmux to be able to drop the ssh connection without stopping the music.

Linux client usage

To use from linux:

pax11publish -e -S meeep

(this can also work through padevchooser and other mDNS/zeroconf/bonjour clients, as meeep broadcasts it's available services in that way)

Or manually tell pulse-clients on your local machine to use a pulse server in the network: export PULSE_SERVER=meeep mplayer -ao pulse ...

Or in one command, for bash:

PULSE_SERVER=meeep mplayer -playlist really_cool_radio_station.m3u

see pic > Zrxq2qJ.jpg

to run in background (so it doesnt stop if you logout)http://www.mplayerhq.hu/DOCS/HTML/en/faq.html#idp11063536

list of known streams - 
-106fm > http://212.29.254.129:7075 
-WFMU >

Pulse audio help

You can control the audio of any stream individually with pavucontrol (yum/apt-get/yaourt install pavucontrol/actual-name-of-package-TODO)