Csound Csound-dev Csound-tekno Search About

[Csnd] Sending arrays with OSCsend

Date2024-08-03 14:13
FromPierre Clisson
Subject[Csnd] Sending arrays with OSCsend
Attachmentssmime.p7s  
Hi everyone,

I'm trying to send a k array using OSCsend (Csound 7):
OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y, k_arr)

But I'm getting:
error:  Unable to find opcode entry for 'OSCsend' with matching argument 
types

Are arrays supported? Am I missing something?

Pierre





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

Date2024-08-03 14:38
Fromvlz
SubjectRe: [Csnd] Sending arrays with OSCsend
I don't think they were ever supported, even if the manual says they are.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 3 Aug 2024, at 14:14, Pierre Clisson  wrote:
> 
> Hi everyone,
> 
> I'm trying to send a k array using OSCsend (Csound 7):
> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y, k_arr)
> 
> But I'm getting:
> error:  Unable to find opcode entry for 'OSCsend' with matching argument types
> 
> Are arrays supported? Am I missing something?
> 
> Pierre
> 
> 
> 
> 
> 
> 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

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

Date2024-08-03 15:02
FromPierre Clisson
SubjectRe: [Csnd] Sending arrays with OSCsend
Ok, thanks. Will try something else.

On 2024-08-03 19:08, vlz wrote:
> I don't think they were ever supported, even if the manual says they 
> are.
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 3 Aug 2024, at 14:14, Pierre Clisson  wrote:
>> 
>> Hi everyone,
>> 
>> I'm trying to send a k array using OSCsend (Csound 7):
>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y, k_arr)
>> 
>> But I'm getting:
>> error:  Unable to find opcode entry for 'OSCsend' with matching 
>> argument types
>> 
>> Are arrays supported? Am I missing something?
>> 
>> Pierre
>> 
>> 
>> 
>> 
>> 
>> 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
> 
> 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

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

Date2024-08-03 15:20
FromDave Seidel
SubjectRe: [Csnd] Sending arrays with OSCsend
Actually it can be done, and I do it. Here is some working code: https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121

The arrays are declared and populated above this line, and they are declared as type S[].

On Sat, Aug 3, 2024 at 10:02 AM Pierre Clisson <pierre@clisson.com> wrote:
Ok, thanks. Will try something else.

On 2024-08-03 19:08, vlz wrote:
> I don't think they were ever supported, even if the manual says they
> are.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 3 Aug 2024, at 14:14, Pierre Clisson <pierre@clisson.com> wrote:
>>
>> Hi everyone,
>>
>> I'm trying to send a k array using OSCsend (Csound 7):
>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y, k_arr)
>>
>> But I'm getting:
>> error:  Unable to find opcode entry for 'OSCsend' with matching
>> argument types
>>
>> Are arrays supported? Am I missing something?
>>
>> Pierre
>>
>>
>>
>>
>>
>> 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
>
> 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

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
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

Date2024-08-03 15:54
FromPierre Clisson
SubjectRe: [Csnd] Sending arrays with OSCsend
But I’m not trying to send a bundle. I’m trying to send an array to ONE 
destination.


On 2024-08-03 19:50, Dave Seidel wrote:
> Actually it can be done, and I do it. Here is some working code:
> https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121
> 
> The arrays are declared and populated above this line, and they are
> declared as type S[].
> 
> On Sat, Aug 3, 2024 at 10:02 AM Pierre Clisson 
> wrote:
> 
>> Ok, thanks. Will try something else.
>> 
>> On 2024-08-03 19:08, vlz wrote:
>>> I don't think they were ever supported, even if the manual says
>> they
>>> are.
>>> 
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>> 
>>>> On 3 Aug 2024, at 14:14, Pierre Clisson 
>> wrote:
>>>> 
>>>> Hi everyone,
>>>> 
>>>> I'm trying to send a k array using OSCsend (Csound 7):
>>>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y,
>> k_arr)
>>>> 
>>>> But I'm getting:
>>>> error:  Unable to find opcode entry for 'OSCsend' with matching
>>>> argument types
>>>> 
>>>> Are arrays supported? Am I missing something?
>>>> 
>>>> Pierre
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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
>>> 
>>> 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
>> 
>> 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
>  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

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

Date2024-08-03 16:06
FromDave Seidel
SubjectRe: [Csnd] Sending arrays with OSCsend
I'm sending to a single destination as well. Not sure what the difference is.

On Sat, Aug 3, 2024 at 10:54 AM Pierre Clisson <pierre@clisson.com> wrote:
But I’m not trying to send a bundle. I’m trying to send an array to ONE
destination.


On 2024-08-03 19:50, Dave Seidel wrote:
> Actually it can be done, and I do it. Here is some working code:
> https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121
>
> The arrays are declared and populated above this line, and they are
> declared as type S[].
>
> On Sat, Aug 3, 2024 at 10:02 AM Pierre Clisson <pierre@clisson.com>
> wrote:
>
>> Ok, thanks. Will try something else.
>>
>> On 2024-08-03 19:08, vlz wrote:
>>> I don't think they were ever supported, even if the manual says
>> they
>>> are.
>>>
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 3 Aug 2024, at 14:14, Pierre Clisson <pierre@clisson.com>
>> wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> I'm trying to send a k array using OSCsend (Csound 7):
>>>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y,
>> k_arr)
>>>>
>>>> But I'm getting:
>>>> error:  Unable to find opcode entry for 'OSCsend' with matching
>>>> argument types
>>>>
>>>> Are arrays supported? Am I missing something?
>>>>
>>>> Pierre
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 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
>>>
>>> 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
>>
>> 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
>  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

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
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

Date2024-08-03 16:31
FromPierre Clisson
SubjectRe: [Csnd] Sending arrays with OSCsend
Not sure I’m following. OSCbundle expects an array of destinations, not 
a single endpoint?

On 2024-08-03 20:36, Dave Seidel wrote:
> I'm sending to a single destination as well. Not sure what the
> difference is.
> 
> On Sat, Aug 3, 2024 at 10:54 AM Pierre Clisson 
> wrote:
> 
>> But I’m not trying to send a bundle. I’m trying to send an array
>> to ONE
>> destination.
>> 
>> On 2024-08-03 19:50, Dave Seidel wrote:
>>> Actually it can be done, and I do it. Here is some working code:
>>> 
>> 
> https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121
>>> 
>>> The arrays are declared and populated above this line, and they
>> are
>>> declared as type S[].
>>> 
>>> On Sat, Aug 3, 2024 at 10:02 AM Pierre Clisson
>> 
>>> wrote:
>>> 
>>>> Ok, thanks. Will try something else.
>>>> 
>>>> On 2024-08-03 19:08, vlz wrote:
>>>>> I don't think they were ever supported, even if the manual says
>>>> they
>>>>> are.
>>>>> 
>>>>> Prof. Victor Lazzarini
>>>>> Maynooth University
>>>>> Ireland
>>>>> 
>>>>>> On 3 Aug 2024, at 14:14, Pierre Clisson 
>>>> wrote:
>>>>>> 
>>>>>> Hi everyone,
>>>>>> 
>>>>>> I'm trying to send a k array using OSCsend (Csound 7):
>>>>>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y,
>>>> k_arr)
>>>>>> 
>>>>>> But I'm getting:
>>>>>> error:  Unable to find opcode entry for 'OSCsend' with matching
>>>>>> argument types
>>>>>> 
>>>>>> Are arrays supported? Am I missing something?
>>>>>> 
>>>>>> Pierre
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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
>>>>> 
>>>>> 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
>>>> 
>>>> 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
>>> 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
>> 
>> 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
>  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

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

Date2024-08-03 16:36
FromDave Seidel
SubjectRe: [Csnd] Sending arrays with OSCsend
Yes, you're right, I'm sorry,

On Sat, Aug 3, 2024 at 11:31 AM Pierre Clisson <pierre@clisson.com> wrote:
Not sure I’m following. OSCbundle expects an array of destinations, not
a single endpoint?

On 2024-08-03 20:36, Dave Seidel wrote:
> I'm sending to a single destination as well. Not sure what the
> difference is.
>
> On Sat, Aug 3, 2024 at 10:54 AM Pierre Clisson <pierre@clisson.com>
> wrote:
>
>> But I’m not trying to send a bundle. I’m trying to send an array
>> to ONE
>> destination.
>>
>> On 2024-08-03 19:50, Dave Seidel wrote:
>>> Actually it can be done, and I do it. Here is some working code:
>>>
>>
> https://github.com/DaveSeidel/music-src/blob/master/implication-organ/inc/global_presets.orc#L121
>>>
>>> The arrays are declared and populated above this line, and they
>> are
>>> declared as type S[].
>>>
>>> On Sat, Aug 3, 2024 at 10:02 AM Pierre Clisson
>> <pierre@clisson.com>
>>> wrote:
>>>
>>>> Ok, thanks. Will try something else.
>>>>
>>>> On 2024-08-03 19:08, vlz wrote:
>>>>> I don't think they were ever supported, even if the manual says
>>>> they
>>>>> are.
>>>>>
>>>>> Prof. Victor Lazzarini
>>>>> Maynooth University
>>>>> Ireland
>>>>>
>>>>>> On 3 Aug 2024, at 14:14, Pierre Clisson <pierre@clisson.com>
>>>> wrote:
>>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> I'm trying to send a k array using OSCsend (Csound 7):
>>>>>> OSCsend(k_trigger, "localhost", 4242, "/test", "ffA", k_x, k_y,
>>>> k_arr)
>>>>>>
>>>>>> But I'm getting:
>>>>>> error:  Unable to find opcode entry for 'OSCsend' with matching
>>>>>> argument types
>>>>>>
>>>>>> Are arrays supported? Am I missing something?
>>>>>>
>>>>>> Pierre
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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
>>>>>
>>>>> 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
>>>>
>>>> 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
>>> 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
>>
>> 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
>  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

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
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