[PlanetCCRMA] Re: [PD] Audio I/O stuck with both ALSA and Jack
Frank Barknecht
fbar at footils.org
Sat Jan 31 09:48:38 CET 2004
Hallo,
Fernando Pablo Lopez-Lezcano hat gesagt: // Fernando Pablo Lopez-Lezcano wrote:
> You could try using the alsa plug interface which can do format
> conversions (including interleaving and de-interleaving), but I seem to
> remember that the current pd alsa code does not let you use generic alsa
> device names but just card numbers which correspond to the hardware
> interface (I may be wrong here).
Fortunately you're wrong at last: the latest Pd from Miller's site,
pd-0.37-1test6, supports setting the alsa device as a string again by
using the new "-alsaadd" option. So this:
$ pd -alsa -alsaadd plughw:1
should work. It thus is possible to define arbitrary alsa devices in
~/.asoundrc to use in Pd like these:
pcm.pdhw
{
type hw
card 1
}
ctl.pdhw
{
type hw
card 1
}
pcm.pdplug
{
type plug
slave.pcm "pdhw"
}
Then play with -alsaadd:
$ pd -alsa -alsaadd pdhw
$ pd -alsa -alsaadd pdplug
Of course a lot more device definitions are open to Pd now. The RME
surely will need some fiddling to get it to work in Pd.
Here's some links for setting up a decent asoundrc for the RME cards
(I don't own one):
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins
http://alsa.opensrc.org/index.php?page=.asoundrc
http://alsa.opensrc.org/index.php?page=RME+Hammerfall+.asoundrc
ciao
--
Frank Barknecht _ ______footils.org__
More information about the Pd-list
mailing list