Re: [SLUG] Sound redirecting

From: Derek Glidden (dglidden@illusionary.com)
Date: Fri Feb 15 2002 - 10:35:32 EST


On Thu, 2002-02-14 at 18:43, Norbert Cartagena wrote:
> Ok, this question is along the lines of the "How do I display from one
> box in another". I'm interested in running XMMS (or another mp3 player
> program) on my laptop to play songs that are on my server (it's all one
> network).
>
> Q-1) I know how to set the permissions and display so that I can run an
> app from my server and see it on my laptop.
> a) set permissions on laptop to allow displays from server
> b) on server, export DISPLAY=laptop-address:0
> Is there any way to redirect sound the same way?
> (example:
> a) set permissions on laptop to allow sounds from server
> b) onserver, export SOUND_OUT=laptop-address:snd-card)

ESD is one way, but I've never had much luck with getting it to actually
make sound correctly. It always chops things up and/or makes them sound
seriously distorted.

There are probably other similar things out there, but I'm not familiar
with them. I would probably search around on the ALSA website for any
information as they tend to be very liberal in the amount of external
linkages they keep around on their site to things that work with ALSA.

> Q-2) Is there a way that, running XMMS on the laptop, I can go into
> through the network to se server (via XMMS), go to the folder that I
> have my MP3s in and just play them directly from there?
> (example: command_line~> xmms 192.168.1.101:/home/gnorb/mp3/)

Hmm... mount the volume via NFS? If you have the network there anyway,
that seems to be the most logical choice. Set up "automount" or
"autofs" and never have to worry about remembering to mount the share
when you're at home.
 
> Q-3) Am I about to learn about IceCast servers?

That's another way, but I would just go for the NFS approach myself.
That's what I do at home. NFS good....

Is there a reason not to do NFS or you just didn't think of it?

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \ | extract_mpeg2 | mpeg2dec -

http://www.cs.cmu.edu/~dst/DeCSS/Gallery/ http://www.eff.org/ http://www.anti-dmca.org/



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:09:08 EDT