[Csnd] Not sure why...
Date | 2021-07-30 20:22 |
From | Mike McGonagle |
Subject | [Csnd] Not sure why... |
I've got an opcode that I am working on, and I am getting an error "Unable to find opcode entry..."
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
iTwoBoxes[][] = sw_split(iBBox, "v", .5) but when I take it out of the functional form, it works iTwoBoxes[][] sw_split iBBox, "v", .5 The opcode definition is opcode sw_split, i[][], i[]Sj Do you need more information to give an answer? Mike |
Date | 2021-07-30 20:32 |
From | Rory Walsh |
Subject | Re: [Csnd] Not sure why... |
I think you may need to specify the type? i.e, `iTwoBoxes[][] = sw_split:k(iBBox, "v", .5)` On Fri, 30 Jul 2021 at 20:22, Mike McGonagle <mjmogo@gmail.com> wrote:
|
Date | 2021-07-30 20:49 |
From | Mike McGonagle |
Subject | Re: [Csnd] Not sure why... |
That has always been an inconsistent fix for things for me. I tried doing iTwoBoxes[][] = sw_split:i(iBBox, "v", .25) and I still get the same error. On Fri, Jul 30, 2021 at 2:32 PM Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2021-07-30 22:31 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Not sure why... |
I think the function unpacking is not defined for array types, so the functional form doesn’t work. Steven might know more. There are some cases where functional form is still undefined in the current parser, but this has been worked through in the new one that Steven has devised. We need to integrate it, but I think that might only happen in version 7. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 30 Jul 2021, at 20:49, Mike McGonagle |