<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
<BR>
Does anyone know of an easy way to get the correct audiodev # for a specific soundcard?&nbsp; I am using an embedded environment and I need to start pd with the correct device in a situation where different devices may/may not be used.&nbsp; In this case, the audiodev # may change.<BR>
<BR>
It's annoying that I can't run -alsa -listdev and parse the stdout since I can't seem to pipe it anywhere.&nbsp; Too bad -listdev doesn't print and exit, because I could then search for the line containing the name of my sound card and grab the number from it.&nbsp; This is what I do with aconnect to wait until pd's midi is ready before connecting midi to it. (it's a slow machine)<BR>
<BR>
I read on some old posts about the &quot;-alsadev&quot; switch, but this was taken out?&nbsp; At least in jack I can use the alsa name to avoid this issue ala &quot;-d hw:UA25&quot;.&nbsp; Of course with the update to Jaunty, now jack seems to be flakier then before, so I'm trying to use pd -rt directly.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
---<BR>
Dan Wilcox<BR>
<A HREF="http://danomatika.com">danomatika.com</A><BR>
<A HREF="http://www.robotcowboy.com">robotcowboy.com</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>