|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
inspecting UGens
by andrea valle-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message
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 --> 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) |
|
|
Re: inspecting UGens
by Sciss-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message 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/ |
|
|
Re: inspecting UGens
by nescivi
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hiho,
On Saturday 25 April 2009 11:16:56 Andrea Valle wrote: > 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 ? SinOsc.class.findRespondingMethodFor(\ar).argNames sincerely, Marije _______________________________________________ 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/ |
|
|
Re: inspecting UGens
by andrea valle-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message
Uh, thanks a lot, Sciss with something I didn't know, Marije with something I haven't think of....
Best -a- On 26 Apr 2009, at 00:45, nescivi wrote:
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> 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) |
|
|
Re: inspecting UGens
by nescivi
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message On Saturday 25 April 2009 19:03:12 Andrea Valle wrote:
> Uh, thanks a lot, Sciss with something I didn't know, Marije with > something I haven't think of.... I normally use the nifty shortcut (C-c C-m) that exists in emacs, which shows me the argument names and their default values in the minibuffer. So I looked up how it's done there ;) sincerely, Marije > Best > > -a- > > On 26 Apr 2009, at 00:45, nescivi wrote: > > Hiho, > > > > On Saturday 25 April 2009 11:16:56 Andrea Valle wrote: > >> 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 ? > > > > SinOsc.class.findRespondingMethodFor(\ar).argNames > > > > sincerely, > > Marije > > > > _______________________________________________ > > 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/ > > -------------------------------------------------- > 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/ |
| Free embeddable forum powered by Nabble | Forum Help |