[Csnd] OSC string not working (anymore?)

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] OSC string not working (anymore?)

zappfinger
Many years ago (2013) I asked about OSC reading string data not working.
Victor sent a test script to try this out. I worked then. Now it does
not work anymore.

Tried this on Linux Mint and OS X. Csound version 6.15

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>

gihandle OSCinit 10000

schedule 1,0,10
schedule 2,0,1
schedule 2,1,1

instr 1
S1 = ""
nxtmsgs:
kks OSClisten gihandle, "/DROP/1", "s", S1
if (kks == 0) goto exs
printks S1,0
kgoto nxtmsgs
exs:
endin

instr 2
OSCsend 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
turnoff
endin

</CsInstruments>
<CsScore>
e 10
</CsScore>
</CsoundSynthesizer>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Victor Lazzarini-2
Looks like a problem sending not receiving. Using OSCsend_lo works

 OSCsend_lo 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2020, at 11:37, Richard <[hidden email]> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Many years ago (2013) I asked about OSC reading string data not working.
> Victor sent a test script to try this out. I worked then. Now it does
> not work anymore.
>
> Tried this on Linux Mint and OS X. Csound version 6.15
>
> <CsoundSynthesizer>
> <CsOptions>
> </CsOptions>
> <CsInstruments>
>
> gihandle OSCinit 10000
>
> schedule 1,0,10
> schedule 2,0,1
> schedule 2,1,1
>
> instr 1
> S1 = ""
> nxtmsgs:
> kks OSClisten gihandle, "/DROP/1", "s", S1
> if (kks == 0) goto exs
> printks S1,0
> kgoto nxtmsgs
> exs:
> endin
>
> instr 2
> OSCsend 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
> turnoff
> endin
>
> </CsInstruments>
> <CsScore>
> e 10
> </CsScore>
> </CsoundSynthesizer>
>
> Csound mailing list
> [hidden email]
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=MAwJI4Kw%2F3tS%2FFxgDj9ird9VFrEtbie7MmKuODMTt70%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4bxvOSRcyhmRxWjHjJpnX3hYOhfClmqgpmN7wIu%2FnFQ%3D&amp;reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Victor Lazzarini-2
and OSCsend is now fixed on git
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2020, at 22:05, Victor Lazzarini <[hidden email]> wrote:
>
> Looks like a problem sending not receiving. Using OSCsend_lo works
>
> OSCsend_lo 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 12 Nov 2020, at 11:37, Richard <[hidden email]> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Many years ago (2013) I asked about OSC reading string data not working.
>> Victor sent a test script to try this out. I worked then. Now it does
>> not work anymore.
>>
>> Tried this on Linux Mint and OS X. Csound version 6.15
>>
>> <CsoundSynthesizer>
>> <CsOptions>
>> </CsOptions>
>> <CsInstruments>
>>
>> gihandle OSCinit 10000
>>
>> schedule 1,0,10
>> schedule 2,0,1
>> schedule 2,1,1
>>
>> instr 1
>> S1 = ""
>> nxtmsgs:
>> kks OSClisten gihandle, "/DROP/1", "s", S1
>> if (kks == 0) goto exs
>> printks S1,0
>> kgoto nxtmsgs
>> exs:
>> endin
>>
>> instr 2
>> OSCsend 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
>> turnoff
>> endin
>>
>> </CsInstruments>
>> <CsScore>
>> e 10
>> </CsScore>
>> </CsoundSynthesizer>
>>
>> Csound mailing list
>> [hidden email]
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C72546625080c45a6a6df08d887570cf9%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637408155241227374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=jRX9EiBF1BJcCTouf8LFwgDJcJW2TJnAVFS%2Feb0MP5I%3D&amp;reserved=0
>> Send bugs reports to
>>      https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C72546625080c45a6a6df08d887570cf9%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637408155241227374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hIDFdZ3HXHZXK2OLkvXDkBEkamG%2FJgDlf01uWrE%2BEY8%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C72546625080c45a6a6df08d887570cf9%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637408155241237378%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0KI8tE8zZjU5qnyP8QOpHV%2BL3cnhHj2GIfd5WgKZvQA%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C72546625080c45a6a6df08d887570cf9%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637408155241237378%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Own4G8FAGNajzoprJt1djP0l7DkXOoRSa7lukJD1Wdc%3D&amp;reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

zappfinger
In reply to this post by Victor Lazzarini-2
That does not work for me, I get:
error: syntax error, unexpected INTEGER_TOKEN  (token "0") from file OSCtest.csd (1)
 line 29:
>>>OSCsend_Io 0 <<<
Unexpected untyped word OSCsend_Io when expecting a variable
Parsing failed due to invalid input!

BTW, the original problem about reading OSC strings is not solved. I have a Python test program that sends string data over OSC using pythonosc.
This works with a Python OSC server, but not with the csd.

Op do 12 nov. 2020 om 23:05 schreef Victor Lazzarini <[hidden email]>:
Looks like a problem sending not receiving. Using OSCsend_lo works

 OSCsend_lo 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2020, at 11:37, Richard <[hidden email]> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Many years ago (2013) I asked about OSC reading string data not working.
> Victor sent a test script to try this out. I worked then. Now it does
> not work anymore.
>
> Tried this on Linux Mint and OS X. Csound version 6.15
>
> <CsoundSynthesizer>
> <CsOptions>
> </CsOptions>
> <CsInstruments>
>
> gihandle OSCinit 10000
>
> schedule 1,0,10
> schedule 2,0,1
> schedule 2,1,1
>
> instr 1
> S1 = ""
> nxtmsgs:
> kks OSClisten gihandle, "/DROP/1", "s", S1
> if (kks == 0) goto exs
> printks S1,0
> kgoto nxtmsgs
> exs:
> endin
>
> instr 2
> OSCsend 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
> turnoff
> endin
>
> </CsInstruments>
> <CsScore>
> e 10
> </CsScore>
> </CsoundSynthesizer>
>
> Csound mailing list
> [hidden email]
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=MAwJI4Kw%2F3tS%2FFxgDj9ird9VFrEtbie7MmKuODMTt70%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4bxvOSRcyhmRxWjHjJpnX3hYOhfClmqgpmN7wIu%2FnFQ%3D&amp;reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Pete G.
On Fri, Nov 13, 2020 at 10:20:37AM +0100, Richard van Bemmelen wrote:
> That does not work for me, I get:
> error: syntax error, unexpected INTEGER_TOKEN  (token "0") from file
> OSCtest.csd (1)
>  line 29:
> >>>OSCsend_Io 0 <<<
> Unexpected untyped word OSCsend_Io when expecting a variable
> Parsing failed due to invalid input!
Try the right command...!  (:-)) It's "OSCsend_lo" (with an "el", not "I")
Works for me.
>
> BTW, the original problem about reading OSC strings is not solved. I have a
> Python test program that sends string data over OSC using pythonosc.
> This works with a Python OSC server, but not with the csd.
I'd guess some format mismatch somewhere, but hard to tell from that.

        -- Pete --

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

moguillansky
I would advise against using "OSCsend_lo". I don't think that the osc
backend should have been exposed to the users at all. Using "OSCsend 1,
..." would have fixed the original request.

On 13.11.20 20:53, Pete Goodeve wrote:

> On Fri, Nov 13, 2020 at 10:20:37AM +0100, Richard van Bemmelen wrote:
>> That does not work for me, I get:
>> error: syntax error, unexpected INTEGER_TOKEN  (token "0") from file
>> OSCtest.csd (1)
>>   line 29:
>>>>> OSCsend_Io 0 <<<
>> Unexpected untyped word OSCsend_Io when expecting a variable
>> Parsing failed due to invalid input!
> Try the right command...!  (:-)) It's "OSCsend_lo" (with an "el", not "I")
> Works for me.
>> BTW, the original problem about reading OSC strings is not solved. I have a
>> Python test program that sends string data over OSC using pythonosc.
>> This works with a Python OSC server, but not with the csd.
> I'd guess some format mismatch somewhere, but hard to tell from that.
>
> -- Pete --
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Pete G.
On Fri, Nov 13, 2020 at 09:00:04PM +0100, Eduardo Moguillansky wrote:
> I would advise against using "OSCsend_lo". I don't think that the osc
> backend should have been exposed to the users at all. Using "OSCsend 1,
> ..." would have fixed the original request.
>
Not for me, it doesn't...  I get the error:

"WARNING: OSCsend failed to send message with destination /DROP/1 to localhost:10000"

when I do that.  (Again OSCsend_lo works)

        -- Pete --

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

moguillansky
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>

gihandle OSCinit 10000

schedule 1,0,10
schedule 2,0,1
schedule 2,1,1

instr 1
  S1 = ""
nxtmsgs:
  kks OSClisten gihandle, "/DROP/1", "s", S1
  if (kks == 0) goto exs
  printsk "%s\n", S1
  kgoto nxtmsgs
exs:
endin

instr 2
  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
  turnoff
endin

</CsInstruments>
<CsScore>
e 10
</CsScore>
</CsoundSynthesizer>
On 14.11.20 01:02, Pete Goodeve wrote:
On Fri, Nov 13, 2020 at 09:00:04PM +0100, Eduardo Moguillansky wrote:
I would advise against using "OSCsend_lo". I don't think that the osc 
backend should have been exposed to the users at all. Using "OSCsend 1, 
..." would have fixed the original request.

Not for me, it doesn't...  I get the error:

"WARNING: OSCsend failed to send message with destination /DROP/1 to localhost:10000"

when I do that.  (Again OSCsend_lo works) 

	-- Pete --

Csound mailing list
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Pete G.
On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:

> <CsoundSynthesizer>
> <CsOptions>
> </CsOptions>
> <CsInstruments>
>
> gihandle OSCinit 10000
>
> schedule 1,0,10
> schedule 2,0,1
> schedule 2,1,1
>
> instr 1
>   S1 = ""
> nxtmsgs:
>   kks OSClisten gihandle, "/DROP/1", "s", S1
>   if (kks == 0) goto exs
>   printsk "%s\n", S1
>   kgoto nxtmsgs
> exs:
> endin
>
> instr 2
>   OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
>   turnoff
> endin
>
> </CsInstruments>
> <CsScore>
> e 10
> </CsScore>
> </CsoundSynthesizer>
>
Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
-- guess that's brand new -- but changing it back shouldn't have hurt
anything.  Have there been changes to OSCsend since 6.15 release?

        -- Pete --

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Pete G.
Apologies... Turns out that partition still has 6.14.  However
I switched to another that does have 6.15 (from Sept), and the
behaviour is no different.  (except that it does understand printsk!)

        -- Pete --


On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:

> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
> > <CsoundSynthesizer>
> > <CsOptions>
> > </CsOptions>
> > <CsInstruments>
> >
> > gihandle OSCinit 10000
> >
> > schedule 1,0,10
> > schedule 2,0,1
> > schedule 2,1,1
> >
> > instr 1
> >   S1 = ""
> > nxtmsgs:
> >   kks OSClisten gihandle, "/DROP/1", "s", S1
> >   if (kks == 0) goto exs
> >   printsk "%s\n", S1
> >   kgoto nxtmsgs
> > exs:
> > endin
> >
> > instr 2
> >   OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
> >   turnoff
> > endin
> >
> > </CsInstruments>
> > <CsScore>
> > e 10
> > </CsScore>
> > </CsoundSynthesizer>
> >
> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
> -- guess that's brand new -- but changing it back shouldn't have hurt
> anything.  Have there been changes to OSCsend since 6.15 release?
>
> -- Pete --
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Victor Lazzarini-2
In reply to this post by zappfinger
Change 0 to 1 and it will work then. I fixed this in git so if you can build it yourself, the original code will work.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 13 Nov 2020, at 09:20, Richard van Bemmelen <[hidden email]> wrote:
>
> That does not work for me, I get:
> error: syntax error, unexpected INTEGER_TOKEN  (token "0") from file OSCtest.csd (1)
>  line 29:
> >>>OSCsend_Io 0 <<<
> Unexpected untyped word OSCsend_Io when expecting a variable
> Parsing failed due to invalid input!
>
> BTW, the original problem about reading OSC strings is not solved. I have a Python test program that sends string data over OSC using pythonosc.
> This works with a Python OSC server, but not with the csd.
>
> Op do 12 nov. 2020 om 23:05 schreef Victor Lazzarini <[hidden email]>:
> Looks like a problem sending not receiving. Using OSCsend_lo works
>
>  OSCsend_lo 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 12 Nov 2020, at 11:37, Richard <[hidden email]> wrote:
> >
> > *Warning*
> >
> > This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> >
> > Many years ago (2013) I asked about OSC reading string data not working.
> > Victor sent a test script to try this out. I worked then. Now it does
> > not work anymore.
> >
> > Tried this on Linux Mint and OS X. Csound version 6.15
> >
> > <CsoundSynthesizer>
> > <CsOptions>
> > </CsOptions>
> > <CsInstruments>
> >
> > gihandle OSCinit 10000
> >
> > schedule 1,0,10
> > schedule 2,0,1
> > schedule 2,1,1
> >
> > instr 1
> > S1 = ""
> > nxtmsgs:
> > kks OSClisten gihandle, "/DROP/1", "s", S1
> > if (kks == 0) goto exs
> > printks S1,0
> > kgoto nxtmsgs
> > exs:
> > endin
> >
> > instr 2
> > OSCsend 0, "localhost", 10000, "/DROP/1", "s", "hello\n"
> > turnoff
> > endin
> >
> > </CsInstruments>
> > <CsScore>
> > e 10
> > </CsScore>
> > </CsoundSynthesizer>
> >
> > Csound mailing list
> > [hidden email]
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=MAwJI4Kw%2F3tS%2FFxgDj9ird9VFrEtbie7MmKuODMTt70%3D&amp;reserved=0
> > Send bugs reports to
> >       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C7c6307f1a66a40e5de3f08d886ff5e61%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637407778651284443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4bxvOSRcyhmRxWjHjJpnX3hYOhfClmqgpmN7wIu%2FnFQ%3D&amp;reserved=0
> > Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> 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 [hidden email] 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Victor Lazzarini-2
In reply to this post by Pete G.
It works here on MacOS.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2020, at 03:07, Pete Goodeve <[hidden email]> wrote:
>
> Apologies... Turns out that partition still has 6.14.  However
> I switched to another that does have 6.15 (from Sept), and the
> behaviour is no different.  (except that it does understand printsk!)
>
> -- Pete --
>
>
> On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:
>> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
>>> <CsoundSynthesizer>
>>> <CsOptions>
>>> </CsOptions>
>>> <CsInstruments>
>>>
>>> gihandle OSCinit 10000
>>>
>>> schedule 1,0,10
>>> schedule 2,0,1
>>> schedule 2,1,1
>>>
>>> instr 1
>>>  S1 = ""
>>> nxtmsgs:
>>>  kks OSClisten gihandle, "/DROP/1", "s", S1
>>>  if (kks == 0) goto exs
>>>  printsk "%s\n", S1
>>>  kgoto nxtmsgs
>>> exs:
>>> endin
>>>
>>> instr 2
>>>  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
>>>  turnoff
>>> endin
>>>
>>> </CsInstruments>
>>> <CsScore>
>>> e 10
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
>> -- guess that's brand new -- but changing it back shouldn't have hurt
>> anything.  Have there been changes to OSCsend since 6.15 release?
>>
>> -- Pete --
>>
>> Csound mailing list
>> [hidden email]
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
>> Send bugs reports to
>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

zappfinger
I am sorry, but this still does not seem to work when sending a string via OSC from a Python program (using python-osc)
It does work with a float.
The original csd now does work (I compiled csound on Mint for now)...

Richard

Op za 14 nov. 2020 om 10:54 schreef Victor Lazzarini <[hidden email]>:
It works here on MacOS.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2020, at 03:07, Pete Goodeve <[hidden email]> wrote:
>
> Apologies... Turns out that partition still has 6.14.  However
> I switched to another that does have 6.15 (from Sept), and the
> behaviour is no different.  (except that it does understand printsk!)
>
>       -- Pete --
>
>
> On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:
>> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
>>> <CsoundSynthesizer>
>>> <CsOptions>
>>> </CsOptions>
>>> <CsInstruments>
>>>
>>> gihandle OSCinit 10000
>>>
>>> schedule 1,0,10
>>> schedule 2,0,1
>>> schedule 2,1,1
>>>
>>> instr 1
>>>  S1 = ""
>>> nxtmsgs:
>>>  kks OSClisten gihandle, "/DROP/1", "s", S1
>>>  if (kks == 0) goto exs
>>>  printsk "%s\n", S1
>>>  kgoto nxtmsgs
>>> exs:
>>> endin
>>>
>>> instr 2
>>>  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
>>>  turnoff
>>> endin
>>>
>>> </CsInstruments>
>>> <CsScore>
>>> e 10
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
>> -- guess that's brand new -- but changing it back shouldn't have hurt
>> anything.  Have there been changes to OSCsend since 6.15 release?
>>
>>      -- Pete --
>>
>> Csound mailing list
>> [hidden email]
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
>> Send bugs reports to
>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

Victor Lazzarini-2
Did it use to work? If you can please file a ticket with all the info there.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2020, at 12:21, Richard van Bemmelen <[hidden email]> wrote:
>
> I am sorry, but this still does not seem to work when sending a string via OSC from a Python program (using python-osc)
> It does work with a float.
> The original csd now does work (I compiled csound on Mint for now)...
>
> Richard
>
> Op za 14 nov. 2020 om 10:54 schreef Victor Lazzarini <[hidden email]>:
> It works here on MacOS.
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 14 Nov 2020, at 03:07, Pete Goodeve <[hidden email]> wrote:
> >
> > Apologies... Turns out that partition still has 6.14.  However
> > I switched to another that does have 6.15 (from Sept), and the
> > behaviour is no different.  (except that it does understand printsk!)
> >
> >       -- Pete --
> >
> >
> > On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:
> >> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
> >>> <CsoundSynthesizer>
> >>> <CsOptions>
> >>> </CsOptions>
> >>> <CsInstruments>
> >>>
> >>> gihandle OSCinit 10000
> >>>
> >>> schedule 1,0,10
> >>> schedule 2,0,1
> >>> schedule 2,1,1
> >>>
> >>> instr 1
> >>>  S1 = ""
> >>> nxtmsgs:
> >>>  kks OSClisten gihandle, "/DROP/1", "s", S1
> >>>  if (kks == 0) goto exs
> >>>  printsk "%s\n", S1
> >>>  kgoto nxtmsgs
> >>> exs:
> >>> endin
> >>>
> >>> instr 2
> >>>  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
> >>>  turnoff
> >>> endin
> >>>
> >>> </CsInstruments>
> >>> <CsScore>
> >>> e 10
> >>> </CsScore>
> >>> </CsoundSynthesizer>
> >>>
> >> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
> >> -- guess that's brand new -- but changing it back shouldn't have hurt
> >> anything.  Have there been changes to OSCsend since 6.15 release?
> >>
> >>      -- Pete --
> >>
> >> Csound mailing list
> >> [hidden email]
> >> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> >> Send bugs reports to
> >>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> >> Discussions of bugs and features can be posted here
> >
> > Csound mailing list
> > [hidden email]
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> > Send bugs reports to
> >        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> > Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> 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 [hidden email] 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

zappfinger
It never worked for me with recent versions of csound.
I'm preparing some test programs for this thread and also for the ticket (if I can find where that is...)

Op za 14 nov. 2020 om 13:34 schreef Victor Lazzarini <[hidden email]>:
Did it use to work? If you can please file a ticket with all the info there.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2020, at 12:21, Richard van Bemmelen <[hidden email]> wrote:
>
> I am sorry, but this still does not seem to work when sending a string via OSC from a Python program (using python-osc)
> It does work with a float.
> The original csd now does work (I compiled csound on Mint for now)...
>
> Richard
>
> Op za 14 nov. 2020 om 10:54 schreef Victor Lazzarini <[hidden email]>:
> It works here on MacOS.
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 14 Nov 2020, at 03:07, Pete Goodeve <[hidden email]> wrote:
> >
> > Apologies... Turns out that partition still has 6.14.  However
> > I switched to another that does have 6.15 (from Sept), and the
> > behaviour is no different.  (except that it does understand printsk!)
> >
> >       -- Pete --
> >
> >
> > On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:
> >> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
> >>> <CsoundSynthesizer>
> >>> <CsOptions>
> >>> </CsOptions>
> >>> <CsInstruments>
> >>>
> >>> gihandle OSCinit 10000
> >>>
> >>> schedule 1,0,10
> >>> schedule 2,0,1
> >>> schedule 2,1,1
> >>>
> >>> instr 1
> >>>  S1 = ""
> >>> nxtmsgs:
> >>>  kks OSClisten gihandle, "/DROP/1", "s", S1
> >>>  if (kks == 0) goto exs
> >>>  printsk "%s\n", S1
> >>>  kgoto nxtmsgs
> >>> exs:
> >>> endin
> >>>
> >>> instr 2
> >>>  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
> >>>  turnoff
> >>> endin
> >>>
> >>> </CsInstruments>
> >>> <CsScore>
> >>> e 10
> >>> </CsScore>
> >>> </CsoundSynthesizer>
> >>>
> >> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
> >> -- guess that's brand new -- but changing it back shouldn't have hurt
> >> anything.  Have there been changes to OSCsend since 6.15 release?
> >>
> >>      -- Pete --
> >>
> >> Csound mailing list
> >> [hidden email]
> >> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> >> Send bugs reports to
> >>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> >> Discussions of bugs and features can be posted here
> >
> > Csound mailing list
> > [hidden email]
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> > Send bugs reports to
> >        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> > Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> 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 [hidden email] 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] [Csnd] OSC string not working (anymore?)

zappfinger
Well, now it does seem to work. Here are the test files to try it out.
For python you need to install PySimpleGUI and python-osc
Start the csd first, then window.py



Op za 14 nov. 2020 om 13:41 schreef Richard van Bemmelen <[hidden email]>:
It never worked for me with recent versions of csound.
I'm preparing some test programs for this thread and also for the ticket (if I can find where that is...)

Op za 14 nov. 2020 om 13:34 schreef Victor Lazzarini <[hidden email]>:
Did it use to work? If you can please file a ticket with all the info there.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2020, at 12:21, Richard van Bemmelen <[hidden email]> wrote:
>
> I am sorry, but this still does not seem to work when sending a string via OSC from a Python program (using python-osc)
> It does work with a float.
> The original csd now does work (I compiled csound on Mint for now)...
>
> Richard
>
> Op za 14 nov. 2020 om 10:54 schreef Victor Lazzarini <[hidden email]>:
> It works here on MacOS.
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 14 Nov 2020, at 03:07, Pete Goodeve <[hidden email]> wrote:
> >
> > Apologies... Turns out that partition still has 6.14.  However
> > I switched to another that does have 6.15 (from Sept), and the
> > behaviour is no different.  (except that it does understand printsk!)
> >
> >       -- Pete --
> >
> >
> > On Fri, Nov 13, 2020 at 06:34:42PM -0800, Pete Goodeve wrote:
> >> On Sat, Nov 14, 2020 at 01:11:40AM +0100, Eduardo Moguillansky wrote:
> >>> <CsoundSynthesizer>
> >>> <CsOptions>
> >>> </CsOptions>
> >>> <CsInstruments>
> >>>
> >>> gihandle OSCinit 10000
> >>>
> >>> schedule 1,0,10
> >>> schedule 2,0,1
> >>> schedule 2,1,1
> >>>
> >>> instr 1
> >>>  S1 = ""
> >>> nxtmsgs:
> >>>  kks OSClisten gihandle, "/DROP/1", "s", S1
> >>>  if (kks == 0) goto exs
> >>>  printsk "%s\n", S1
> >>>  kgoto nxtmsgs
> >>> exs:
> >>> endin
> >>>
> >>> instr 2
> >>>  OSCsend 1, "localhost", 10000, "/DROP/1", "s", "hello\n"
> >>>  turnoff
> >>> endin
> >>>
> >>> </CsInstruments>
> >>> <CsScore>
> >>> e 10
> >>> </CsScore>
> >>> </CsoundSynthesizer>
> >>>
> >> Nope!  Doesn't work for me...  (6.15 on Haiku)  I don't have 'printsk'
> >> -- guess that's brand new -- but changing it back shouldn't have hurt
> >> anything.  Have there been changes to OSCsend since 6.15 release?
> >>
> >>      -- Pete --
> >>
> >> Csound mailing list
> >> [hidden email]
> >> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> >> Send bugs reports to
> >>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> >> Discussions of bugs and features can be posted here
> >
> > Csound mailing list
> > [hidden email]
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=l7JlgU06QN%2BjI4B%2FwvFb24BEOZmbsECVoxirU284CSY%3D&amp;reserved=0
> > Send bugs reports to
> >        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C6f1046ec88c149ae20a108d8884a85dd%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637409200935661338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=lrjhzxIR7bgul1ZO%2F8u5NKf0O38eSsbyI88fZDPmoTY%3D&amp;reserved=0
> > Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> 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 [hidden email] 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
[hidden email]
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 [hidden email] 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

window.py (1K) Download Attachment
myOSCtest.csd (696 bytes) Download Attachment