Csound Csound-dev Csound-tekno Search About

[Cs-dev] two-dim array as udo input

Date2014-01-28 16:24
Fromjoachim heintz
Subject[Cs-dev] two-dim array as udo input
i am getting an error for this udo definition:

    opcode two, 0, k[][]
kArr[][] xin
    endop

-> error:  invalid input type for opcode two

it works when i declare it as one-dimensional array although it is a 
two-dimensional:

    opcode two, 0, k[]
kArr[] xin
    endop

    instr 1
kArr2[][] init 2, 2
two kArr2
turnoff
    endin


is this as it should be? thanks -
	joachim

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-01-31 15:49
FromSteven Yi
SubjectRe: [Cs-dev] two-dim array as udo input
Hi Joachim,

This looks like a bug.  Could you report a bug in the tracker with
example CSD's?  I can take a look at this one.

Thanks!
steven

On Tue, Jan 28, 2014 at 4:24 PM, joachim heintz  wrote:
> i am getting an error for this udo definition:
>
>     opcode two, 0, k[][]
> kArr[][] xin
>     endop
>
> -> error:  invalid input type for opcode two
>
> it works when i declare it as one-dimensional array although it is a
> two-dimensional:
>
>     opcode two, 0, k[]
> kArr[] xin
>     endop
>
>     instr 1
> kArr2[][] init 2, 2
> two kArr2
> turnoff
>     endin
>
>
> is this as it should be? thanks -
>         joachim
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-02-01 10:16
Fromjoachim heintz
SubjectRe: [Cs-dev] two-dim array as udo input
thanks steven. i have filed a ticket now, with an example attached.
all best -
	joachim


Am 31.01.2014 16:49, schrieb Steven Yi:
> Hi Joachim,
>
> This looks like a bug.  Could you report a bug in the tracker with
> example CSD's?  I can take a look at this one.
>
> Thanks!
> steven
>
> On Tue, Jan 28, 2014 at 4:24 PM, joachim heintz  wrote:
>> i am getting an error for this udo definition:
>>
>>      opcode two, 0, k[][]
>> kArr[][] xin
>>      endop
>>
>> -> error:  invalid input type for opcode two
>>
>> it works when i declare it as one-dimensional array although it is a
>> two-dimensional:
>>
>>      opcode two, 0, k[]
>> kArr[] xin
>>      endop
>>
>>      instr 1
>> kArr2[][] init 2, 2
>> two kArr2
>> turnoff
>>      endin
>>
>>
>> is this as it should be? thanks -
>>          joachim
>>
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net