Csound Csound-dev Csound-tekno Search About

How to send OSC message with no arguments?

Date2016-12-06 11:34
FromAnton Kholomiov
SubjectHow to send OSC message with no arguments?
Is it possible to send/receive osc with no arguments?
It's possible to do it in other languages but when I try
to write

kk OSClisten port, address, ""

I get error: not enough arguments

Anton
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

Date2016-12-06 15:33
Fromjpff
SubjectRe: How to send OSC message with no arguments?
The current parsing requires "iSS*" so depends what * means; Steven?

On Tue, 6 Dec 2016, Anton Kholomiov wrote:

> Is it possible to send/receive osc with no arguments?
> It's possible to do it in other languages but when I try
> to write
> 
> kk OSClisten port, address, ""
> 
> I get error: not enough arguments
> 
> Anton
> 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

Date2016-12-06 15:36
Fromjpff
SubjectRe: How to send OSC message with no arguments?
Of course we coud add a 3ag case if it helps

On Tue, 6 Dec 2016, Anton Kholomiov wrote:

> Is it possible to send/receive osc with no arguments?
> It's possible to do it in other languages but when I try
> to write
> 
> kk OSClisten port, address, ""
> 
> I get error: not enough arguments
> 
> Anton
> 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

Date2016-12-06 15:41
FromAnton Kholomiov
SubjectRe: How to send OSC message with no arguments?
I think that it would be nice to have since some messages don't require parameters, like

/play
/stop
/exit

right now I have to send an artificial argument for this to work


2016-12-06 18:36 GMT+03:00 jpff <jpff@codemist.co.uk>:
Of course we coud add a 3ag case if it helps

On Tue, 6 Dec 2016, Anton Kholomiov wrote:

Is it possible to send/receive osc with no arguments?
It's possible to do it in other languages but when I try
to write

kk OSClisten port, address, ""

I get error: not enough arguments

Anton
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

Date2016-12-06 16:09
Fromjpff
SubjectRe: How to send OSC message with no arguments?
I have committted a version with  three args  but not tested

On Tue, 6 Dec 2016, Anton Kholomiov wrote:

> I think that it would be nice to have since some messages don't require
> parameters, like
> /play
> /stop
> /exit
> 
> right now I have to send an artificial argument for this to work
> 
> 
> 2016-12-06 18:36 GMT+03:00 jpff :
>       Of course we coud add a 3ag case if it helps
>
>       On Tue, 6 Dec 2016, Anton Kholomiov wrote:
>
>             Is it possible to send/receive osc with no arguments?
>             It's possible to do it in other languages but when I
>             try
>             to write
>
>             kk OSClisten port, address, ""
>
>             I get error: not enough arguments
>
>             Anton
> 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

Date2016-12-06 16:10
Fromjpff
SubjectRe: How to send OSC message with no arguments?
o you could add  dummy arg which wil e ignoed

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

Date2016-12-06 16:31
FromSteven Yi
SubjectRe: How to send OSC message with no arguments?
I had to look up email and found I wrote this from a while back:

" I seem to remember a long email to the dev list about
using ? for an optional arg of any type, * for var-arg of any type,
and . for a mandatory arg of any type"

It's all a bit of a blur though and we should probably have this
documented somewhere...

On Tue, Dec 6, 2016 at 10:33 AM, jpff  wrote:
> The current parsing requires "iSS*" so depends what * means; Steven?
>
>
> On Tue, 6 Dec 2016, Anton Kholomiov wrote:
>
>> Is it possible to send/receive osc with no arguments?
>> It's possible to do it in other languages but when I try
>> to write
>>
>> kk OSClisten port, address, ""
>>
>> I get error: not enough arguments
>>
>> Anton
>> 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

Date2016-12-06 16:57
Fromjpff
SubjectRe: How to send OSC message with no arguments?
Sould be in Egine/enty1.c with te other codes


On Tue, 6 Dec 2016, Steven Yi wrote:

> I had to look up email and found I wrote this from a while back:
>
> " I seem to remember a long email to the dev list about
> using ? for an optional arg of any type, * for var-arg of any type,
> and . for a mandatory arg of any type"
>
> It's all a bit of a blur though and we should probably have this
> documented somewhere...
>

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