Csound Csound-dev Csound-tekno Search About

[Cs-dev] F outtype request

Date2010-10-28 22:54
FromVictor Lazzarini
Subject[Cs-dev] F outtype request
Is it possible to add (to both parsers) an 'F' output argument type,  
defining a variable number of
fsig outputs?

Victor

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-29 19:59
FromSteven Yi
SubjectRe: [Cs-dev] F outtype request
Hi Victor,

I think it should be possible but may be a little tricky to add.  I
saw some code in rdorch.c for the old parser (right around like 1915
and 1995 for reading out args and verifying that the number of outargs
is alright if more found that nreqd). Looking at the new parser (at
least for the version I have here), it looks like the in- and out- arg
checking are not implemented (looking at set_xoutcod and set_xincod).

One thing you could try is just going ahead with the F definition for
an opcode and running it with the new parser.  It might "just work".

Hope that helps!
steven

On Thu, Oct 28, 2010 at 5:54 PM, Victor Lazzarini
 wrote:
> Is it possible to add (to both parsers) an 'F' output argument type,
> defining a variable number of
> fsig outputs?
>
> Victor
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-29 20:08
FromVictor Lazzarini
SubjectRe: [Cs-dev] F outtype request
yes, originally, I tried to see if I could understand the code in  
rdorch.c, but that seemed to be beyond my ken. So I put out the request.
I'll wait and see what John says.

But more importantly,
If in and out args are not checked in the new parser, it could lead to  
nasty crashes, could it not?

Victor


On 29 Oct 2010, at 19:59, Steven Yi wrote:

> Hi Victor,
>
> I think it should be possible but may be a little tricky to add.  I
> saw some code in rdorch.c for the old parser (right around like 1915
> and 1995 for reading out args and verifying that the number of outargs
> is alright if more found that nreqd). Looking at the new parser (at
> least for the version I have here), it looks like the in- and out- arg
> checking are not implemented (looking at set_xoutcod and set_xincod).
>
> One thing you could try is just going ahead with the F definition for
> an opcode and running it with the new parser.  It might "just work".
>
> Hope that helps!
> steven
>
> On Thu, Oct 28, 2010 at 5:54 PM, Victor Lazzarini
>  wrote:
>> Is it possible to add (to both parsers) an 'F' output argument type,
>> defining a variable number of
>> fsig outputs?
>>
>> Victor
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North  
>> America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and  
>> Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in  
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi  
>> Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America  
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and  
> Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in  
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi  
> Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net