Csound Csound-dev Csound-tekno Search About

[Csnd] UDO array output not yet possible?

Date2014-03-13 11:48
Fromjoachim heintz
Subject[Csnd] UDO array output not yet possible?
this works:

opcode test1, k[], 0
karr[] init 5
xout karr
endop
kbla[] test1

but this does not:

opcode test2, a[], 0
aarr[] init 5
xout aarr
endop
abla[] test2

the only difference is that test2 uses an audio array as output, instead 
of a k-array.

is this a bug, or not yet implemented, or am i doing something wrong?

a complete example is below. best -
	joachim




ksmps = 32

opcode test1, k[], 0
karr[] init 5
xout karr
endop

opcode test2, a[], 0
aarr[] init 5
xout aarr
endop

instr 1
kbla[] test1 ;ok
abla[] test2 ;error
endin



i 1 0 1



Date2014-03-13 18:24
FromSteven Yi
SubjectRe: [Csnd] UDO array output not yet possible?
Hi Joachim,

There were some related bugs filed; I have been working on updating
the UDO mechanism in CS6 to use the Type System.  Previously the UDO
system was still using hand-coded type checking and compiling which
meant we would have had to added code for each case. The new code is
generic and *should* work with all array types and dimensions and with
any new types.

I made good progress on that last week. I went on a short vacation and
returned late last night and am getting back up to speed on work.
Hopefully sometime in the next few days I'll have something you can
test. I'll use the example from this email as an additional test.

Thanks!
steven

On Thu, Mar 13, 2014 at 7:48 AM, joachim heintz  wrote:
> this works:
>
> opcode test1, k[], 0
> karr[] init 5
> xout karr
> endop
> kbla[] test1
>
> but this does not:
>
> opcode test2, a[], 0
> aarr[] init 5
> xout aarr
> endop
> abla[] test2
>
> the only difference is that test2 uses an audio array as output, instead of
> a k-array.
>
> is this a bug, or not yet implemented, or am i doing something wrong?
>
> a complete example is below. best -
>         joachim
>
>
> 
> 
> ksmps = 32
>
> opcode test1, k[], 0
> karr[] init 5
> xout karr
> endop
>
> opcode test2, a[], 0
> aarr[] init 5
> xout aarr
> endop
>
> instr 1
> kbla[] test1 ;ok
> abla[] test2 ;error
> endin
>
> 
> 
> i 1 0 1
> 
> 
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>

Date2014-03-13 21:55
Fromjoachim heintz
SubjectRe: [Csnd] UDO array output not yet possible?
thanks steven - looking forward to it!
(it's actually a work of martin neukom about new ambisonics udo's for 
csound in which he wants to use audio arrays because of the different 
orders.)
all best -
	joachim


Am 13.03.2014 19:24, schrieb Steven Yi:
> Hi Joachim,
>
> There were some related bugs filed; I have been working on updating
> the UDO mechanism in CS6 to use the Type System.  Previously the UDO
> system was still using hand-coded type checking and compiling which
> meant we would have had to added code for each case. The new code is
> generic and *should* work with all array types and dimensions and with
> any new types.
>
> I made good progress on that last week. I went on a short vacation and
> returned late last night and am getting back up to speed on work.
> Hopefully sometime in the next few days I'll have something you can
> test. I'll use the example from this email as an additional test.
>
> Thanks!
> steven
>
> On Thu, Mar 13, 2014 at 7:48 AM, joachim heintz  wrote:
>> this works:
>>
>> opcode test1, k[], 0
>> karr[] init 5
>> xout karr
>> endop
>> kbla[] test1
>>
>> but this does not:
>>
>> opcode test2, a[], 0
>> aarr[] init 5
>> xout aarr
>> endop
>> abla[] test2
>>
>> the only difference is that test2 uses an audio array as output, instead of
>> a k-array.
>>
>> is this a bug, or not yet implemented, or am i doing something wrong?
>>
>> a complete example is below. best -
>>          joachim
>>
>>
>> 
>> 
>> ksmps = 32
>>
>> opcode test1, k[], 0
>> karr[] init 5
>> xout karr
>> endop
>>
>> opcode test2, a[], 0
>> aarr[] init 5
>> xout aarr
>> endop
>>
>> instr 1
>> kbla[] test1 ;ok
>> abla[] test2 ;error
>> endin
>>
>> 
>> 
>> i 1 0 1
>> 
>> 
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>              https://sourceforge.net/p/csound/tickets/
> csound5:
>              https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>