« Return to Thread: inspecting UGens

Re: inspecting UGens

by Sciss-3 :: Rate this Message:

Reply to Author | View in Thread

x = SinOsc.ar;
y = x.inputs.collect({ arg in,ini; x.argNameForInputAt(ini) ?  
ini.asSymbol });


Am 25.04.2009 um 17:16 schrieb Andrea Valle:

> While thinking about the GUI stuff, I was wondering:
>
> Is there a way to get from a UGen an array of args?
> I can retrieve values with
>
> SinOsc.ar.inputs
>
>
> But args names? Only dump with SinOsc.ar.dumpArgs ?
>
> Thanks
>
> Best
>
> -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@...
> --------------------------------------------------
> " 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: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

 « Return to Thread: inspecting UGens