[PD] Has anyone used PD to read internet radio streams?
Roman Haefeli
reduzierer at yahoo.de
Thu Apr 9 02:14:31 CEST 2009
On Wed, 2009-04-08 at 07:41 +0200, danomatika wrote:
> Howdy,
>
> I'm wondering if anyone has used PD to read internet radio streams?
>
in german, one would say 'jein', for yes and no. i did work on a project
with pd controlling radio streams, but i haven't used pd to actually
receive the streams. i found mplayer to be very useful for that for
several reasons:
- it supports many streaming formats (virtually all), no change to get
that in pd directly
- it's highly configurable
- it's commandline based and provides several ways for interaction
- it connects to jack
so what i did, is using pd to control two mplayer instances (in order to
get gapless crossfades between streams), which are routing their audio
signals to pd over jack. the '-af pan' filter of mplayer is your friend
here.
the a bit outdated diagram shows, how mplayer and pd are interacting:
http://www.radiosolarkompass.org/tech/rsk_diagramm.png
(with a recent mplayer, the jack.plumbing part isn't needed anymore. you
can route mplayer output to the correct pd input by simply using proper
commandline flags for mplayer. check '-af pan' and '-ao jack' in the man
page).
roman
> I need to make an "interactive tuner" ...
>
> ---
> Dan Wilcox
> danomatika.com
> robotcowboy.com
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
More information about the Pd-list
mailing list