|
From: Michael G. <mg...@ee...> - 2003-07-28 23:43:15
|
Hey August. While piping to stdout is not directly
supported, you could probably get this working with
a bit of the script foo. Here's what I figure will
work:
1) Create a fifo in the locale file system
2) Start up Peep and set the --snd-device=<your fifo>.
You'll see an error about setting the ioctls but that
shouldn't affect anything.
3) Write a quick script that just camps on the pipe
with a select and writes the output directly to STDOUT.
4) Pipe to the cast n' good luck. heh
What'll get kicked to STDOUT will be raw 16-bit little-endian PCM,
since that's what Peep uses internally to represent the sound data,
as well as the data that Peep writes to the sound device.
Keep us posted. This might be a good way to support the *casts
in the interrum, until we can offer tighter integration.
-- Mike
On Sat, Jul 26 @ 16:39, August wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Very interesting,
>
> The trick for me is to find a source of raw 16-bit little-endian PCM
> that I could feed on over to a STDIN. With that I think I could spend
> some time and get something together.
>
> Maybe an option to starting peep that would stream to STDOUT? Or can I
> read from a sound device using dd or the like and pick up what you are
> sending to it in a format as described above? Or is there a hook in the
> broadcasting stuff somewhere where I could kick audio out? If you
> provide the output I'd be willing to see where I could take it :)
>
> I'm WILDLY out of my element on the sound side of things under linux,
> and not that familiar with peep, aka the silly questions.
>
> - - August
--
Michael Gilfix
mg...@ee...
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html
|