Thanks Roman
It works perfect!
this is the way how it works for me (winxp, pd 0.40.3 ext):
audio-properties;
pd audio-dialog A 0 0 0 B 0 0 0 C 0 0 0 D 0 0 0 E F
where:
A = input device
B = channels in
C = output device
D = channels out
E = sample rate
F = delay (msec)
(all the letters must be changed by numbers!)
and with midi:
midi-properties
pd midi-dialog A 0 0 0 B 0 0 0 C D
where:
A = input devide
B = output device
C = ??
D = ???
(all the letters must be changed by numbers!!)
maybe there are some differences in other platforms
I hope this info will be usefull (attached patch)
thanks again
sf
> From: reduzierer@yahoo.de
> To: pd-list@iem.at
> Date: Sun, 7 Sep 2008 20:05:49 +0200
> Subject: Re: [PD] select audio & midi from patch
>
> hi svend
>
> you can send some message to [s pd] to change sound and midi settings.
> those messages aren't documented anywhere, though (is that correct?).
> however, you could do the following:
>
> [r pd]
> |
> [print settings]
>
> then go the menu, choose your settings and hit <ok> and you will see
> some output. write the output to a [messagebox( (separate each line with
> a comma), which is connected to [s pd] and bang the
> [messagebox( whenever you like to restore those exact settings.
>
> with a bit of playing around, you might be able to figure out, what each
> number in the message is used for. then you would be able to compose
> correct messages without using the above hack.
>
> roman
>
> roman
> On Sat, 2008-09-06 at 18:11 -0400, svend foyn wrote:
> > Hi list
> >
> > It's possible to view and change the audio settings from a patch? and
> > with midi settings??
> > I was looking for the internal messages, but there is nothing with
> > audio & midi.
> > I hope there's a way to do it.
> >
> > Thanks!
> > sf
> >
> >
> > ______________________________________________________________________
> > Lo que hay dentro de ti es lo que cuenta - ¿Qué tipo de atleta eres?
> > _______________________________________________
> > Pd-list@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
>
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Entra en contacto con el atleta que hay en ti. Haz la prueba.