[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] getting physical outs number



like this:

$ ./scsynth -L
<devices>
   <device name="Built-in Microphone" ins="2" outs="0"/>
   <device name="Built-in Input" ins="2" outs="0"/>
   <device name="Built-in Output" ins="0" outs="2"/>
   <device name="MOTU 828mk2" ins="28" outs="28"/>
</devices>
$ _

(or just tab-separated, although with XML you could easily extend that information in future versions)


Am 28.07.2009 um 17:40 schrieb Sciss:

that's an item on my wishlist since long. unfortunately while i suggested to add a commandline switch to scsynth to print out devices along with their # of ins and outs in a clearly formatted way (windows does differently at the moment), so that one could parse that and create a device list, the method Meta_ServerOptions:devices has been added to sclang which just returns the device _names_; that is two limitations:

- the # of outs and ins are still not available
- the usage is restricted to sclang as the client

so i would really love to have this as an scsynth switch in SC 3.4...

cheers, -sciss-


Am 28.07.2009 um 17:31 schrieb Andrea Valle:

Hi to all,

how do I retrieve the number of physical outputs of the soundcard?
That is, 2 if a I have a stereo card, n if I have n outs?

I took a look at ServerOptions, but wasn't able to find a way.

Many thanks

-a-

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> http://www.flickr.com/photos/vanderaalle/
-->  http://www.youtube.com/user/vanderaalle
--> andrea.valle@xxxxxxxx
--------------------------------------------------
" This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous."
(Jeffrey 'The Dude' Lebowski)





_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/ sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/