Re: What is cmd_s_newargs?

[email protected] Thu, 12 Apr 2018 12:07:43 -0700
Newsgroups gmane.comp.audio.supercollider.devel
Message-ID <[email protected]>
the Graph_New calls branch for true and false on argtype:

int Graph_New(struct World *inWorld, struct GraphDef *inGraphDef, int32 inID,

struct sc_msg_iter* args, Graph** outGraph,bool argtype)//true for normal args , false for setn type args


The difference has to do with ‘normal’ args versus setn args, which applies multiple values from a single argument key.

Best,

Josh

> On Apr 12, 2018, at 11:47 AM, [email protected] wrote:
> 
> Thanks for answering,
> 
> Do you mean that when calling /s_new with name, nodeID, action and target we get cmd_s_new and if we add synth arguments we get cmd_s_newargs?
> 
> ----- Original Message ----- From: <[email protected]>
> To: <[email protected]>
> Sent: Thursday, April 12, 2018 8:14 PM
> Subject: Re: [sc-dev] What is cmd_s_newargs?
> 
> 
> This responds to the s_new OSC message. the Add Action and Target are parsed, as well as the name to the SynthDef.
> 
> This is then dispatched to create a new Graph Node based on the SynthDef name.
> 
> Hope that helps!
> 
> josh
> 
>> On Apr 12, 2018, at 10:56 AM, [email protected] wrote:
>> 
>> Hi,
>> 
>> I found it in "server command reference" but there is no description.
>> 
>> Thanks
>> victor
>> 
>> _______________________________________________
>> sc-dev mailing list
>> 
>> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
>> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
> 
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ 
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/