ESOUND

From Alessandro's Wiki
Jump to: navigation, search

eSound

eSound è un server sonoro che da la possibilità di trasportare audio in tempo reale per la rete.

  • Ecco l'help generico
[root@elwood ~]# esd --help
Esound version 0.2.36
Usage: esd [options]
 -v --version  print version information
 -d DEVICE     force esd to use sound device DEVICE
 -b            run server in 8 bit sound mode
 -r RATE       run server at sample rate of RATE
 -as SECS      free audio device after SECS of inactivity (-1 to disable)
 -unix         use unix domain sockets instead of tcp/ip
 -tcp          use tcp/ip sockets instead of unix domain
 -public       make tcp/ip access public (other than localhost)
 -promiscuous  start unlocked and owned (disable authenticaton) NOT RECOMMENDED
 -terminate    terminate esd daemon after last client exits
 -noterminate  do not terminate esd daemon after last client exits
 -nobeeps      disable startup beeps
 -beeps        enable startup beeps
 -trust        start esd even if use of /tmp/.esd can be insecure
 -port PORT    listen for connections on PORT (only for tcp/ip)
 -bind ADDRESS binds to ADDRESS (only for tcp/ip)
Possible devices are:  hw:0  (VIA 8235)
  • Facciamolo Partire, è veramente semplice
[root@elwood ~]# esd -tcp -port 9876 -public
- accepting connections on port 9876
...da dillà .
  • Proviamo da un altro host ad avere informazioni (come prima prova)
[root@porcellino ~]# esdctl --server=elwood:9876 serverinfo
server version = 0
server format  = 0x00000021
server rate    = 44100

Buono!, molto buono, sono in cucina e riesco ad avere informazioni sul server sonoro del pc in camera...

 echo "esd -tcp -port 9876 -public &" >> /etc/rc.local


xmms va configurato con plug-in eSound host xxx.xxx.xxx.xxx e porta XxXx


e funzica.