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: [EMAIL PROTECTED]> To: [email protected]> 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?> > _______________________________________________> > [email protected] 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> > > _______________________________________________> [email protected] mailing list> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _________________________________________________________________
#N canvas 528 18 473 562 10; #X obj -164 400 s pd; #X msg -164 9 audio-properties; #X msg -135 241 midi-properties; #X text 32 135 A = input device; #X text 32 154 B = channels in; #X text 32 173 C = output device; #X text 33 191 D = channels out; #X text 33 210 E = sample rate; #X text 33 229 F = delay (msec); #X msg -132 306 midi-properties \; pd midi-dialog 0 0 0 0 0 0 0 0 1 2; #X msg -133 268 midi-properties \; pd midi-dialog 0 0 0 0 1 0 0 0 1 2; #X text -11 364 A = input device; #X text -42 339 A 0 0 0 B 0 0 0 C D; #X text -10 420 D = ???; #X text -11 402 C = ??; #X text -11 383 B = output device; #X msg -151 37 audio-properties \; pd audio-dialog 1 0 0 0 1 0 0 0 1 0 0 0 2 0 0 0 44100 70; #X msg -141 79 audio-properties \; pd audio-dialog 2 0 0 0 2 0 0 0 2 0 0 0 8 0 0 0 48000 20; #X text -44 110 A 0 0 0 B 0 0 0 C 0 0 0 D 0 0 0 E F; #X obj 163 263 r pd; #X obj 163 296 print; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 9 0 0 0; #X connect 10 0 0 0; #X connect 16 0 0 0; #X connect 17 0 0 0; #X connect 19 0 20 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
