Csound Csound-dev Csound-tekno Search About

[Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?

Date2012-10-18 16:36
FromLouis Cohen
Subject[Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?
I have been successfully using OSC on my antiquated Mac, with OSX  
10.5.8, MacCsound, Csound 5.14, a wiimote, and Osculator.

I'm now trying to get everything running on the following:

Mountain Lion, Csound 5.18, CsoundQT 0.61

I've gotten OSCulator to recognize the wiimote that I've been using  
all along. I can see that is receiving messages from the wiimote.

However, when I run the my (huge) csd under CsoundQT, I can see no  
evidence that Csound is receiving OSC messages.

Before I begin writing test programs, it would be helpful to know if  
there are any known problems with OSC processing on my new  
configuration. If someone has already had success with OSC, then I'll  
get to work. But if OSC has been, for example, left out of Csound  
5.18, or CsoundQT 0.61, it would be most helpful to know that first.

best,
Lou Cohen


Date2012-10-18 17:01
FromTarmo Johannes
SubjectRe: [Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?
Hello,

OSC messages work perfectly with csound 5.18. CsoundQt is a frontend, it does 
not involve in the csound action.

Just one idea -  probably it is not so simple - two OSC servers cannot sit on 
one port. Just guessing - perhaps you had Osculator running and listening to 
the same port while trying Csound, then it naturally could not connect. Make 
sure that Csound is the only osc listener on that port.

I am not sure if they exist with OS X but very good tools to test osc sending 
and receiving are oscsend and oscdump (from command line). They come with the 
liblo package , so I guess they are there.

greetings,
tarmo



On Thursday 18 October 2012 11:36:57 Louis Cohen wrote:
> I have been successfully using OSC on my antiquated Mac, with OSX
> 10.5.8, MacCsound, Csound 5.14, a wiimote, and Osculator.
> 
> I'm now trying to get everything running on the following:
> 
> Mountain Lion, Csound 5.18, CsoundQT 0.61
> 
> I've gotten OSCulator to recognize the wiimote that I've been using
> all along. I can see that is receiving messages from the wiimote.
> 
> However, when I run the my (huge) csd under CsoundQT, I can see no
> evidence that Csound is receiving OSC messages.
> 
> Before I begin writing test programs, it would be helpful to know if
> there are any known problems with OSC processing on my new
> configuration. If someone has already had success with OSC, then I'll
> get to work. But if OSC has been, for example, left out of Csound
> 5.18, or CsoundQT 0.61, it would be most helpful to know that first.
> 
> best,
> Lou Cohen
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Date2012-10-18 17:10
FromVictor Lazzarini
SubjectRe: [Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?
You can test it with this CSD



0dbfs=1
gio OSCinit 44100
instr 1
kans init 0
kstart init 0
kdur init 0
kamp init 0
kfreq init 0
listen:
kans OSClisten gio, "/instr2", "ffff",kstart,kdur,kamp,kfreq
if kans == 1 then
event "i",2,kstart,kdur, kamp,kfreq
kgoto listen
endif
endin
instr 2
a1 vco2 p4, p5
out a1
endin
instr 11
OSCsend 1, "localhost", 44100, "/instr2", "ffff", 0, 1, 0.1, 440
endin


i 1 0 1000.0
i 11 2 1
e




On 18 Oct 2012, at 16:36, Louis Cohen wrote:

> I have been successfully using OSC on my antiquated Mac, with OSX 10.5.8, MacCsound, Csound 5.14, a wiimote, and Osculator.
> 
> I'm now trying to get everything running on the following:
> 
> Mountain Lion, Csound 5.18, CsoundQT 0.61
> 
> I've gotten OSCulator to recognize the wiimote that I've been using all along. I can see that is receiving messages from the wiimote.
> 
> However, when I run the my (huge) csd under CsoundQT, I can see no evidence that Csound is receiving OSC messages.
> 
> Before I begin writing test programs, it would be helpful to know if there are any known problems with OSC processing on my new configuration. If someone has already had success with OSC, then I'll get to work. But if OSC has been, for example, left out of Csound 5.18, or CsoundQT 0.61, it would be most helpful to know that first.
> 
> best,
> Lou Cohen
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-10-18 20:13
FromLouis Cohen
SubjectRe: [Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?
Thanks, Victor,

That was helpful. Your example runs on both my old and new systems.  
Time to put on the thinking cap.

-Lou

On Oct 18, 2012, at 12:10 PM, Victor Lazzarini wrote:

> You can test it with this CSD
>
> 
> 
> 0dbfs=1
> gio OSCinit 44100
> instr 1
> kans init 0
> kstart init 0
> kdur init 0
> kamp init 0
> kfreq init 0
> listen:
> kans OSClisten gio, "/instr2", "ffff",kstart,kdur,kamp,kfreq
> if kans == 1 then
> event "i",2,kstart,kdur, kamp,kfreq
> kgoto listen
> endif
> endin
> instr 2
> a1 vco2 p4, p5
> out a1
> endin
> instr 11
> OSCsend 1, "localhost", 44100, "/instr2", "ffff", 0, 1, 0.1, 440
> endin
> 
> 
> i 1 0 1000.0
> i 11 2 1
> e
> 
> 
>
>
> On 18 Oct 2012, at 16:36, Louis Cohen wrote:
>
>> I have been successfully using OSC on my antiquated Mac, with OSX  
>> 10.5.8, MacCsound, Csound 5.14, a wiimote, and Osculator.
>>
>> I'm now trying to get everything running on the following:
>>
>> Mountain Lion, Csound 5.18, CsoundQT 0.61
>>
>> I've gotten OSCulator to recognize the wiimote that I've been using  
>> all along. I can see that is receiving messages from the wiimote.
>>
>> However, when I run the my (huge) csd under CsoundQT, I can see no  
>> evidence that Csound is receiving OSC messages.
>>
>> Before I begin writing test programs, it would be helpful to know  
>> if there are any known problems with OSC processing on my new  
>> configuration. If someone has already had success with OSC, then  
>> I'll get to work. But if OSC has been, for example, left out of  
>> Csound 5.18, or CsoundQT 0.61, it would be most helpful to know  
>> that first.
>>
>> best,
>> Lou Cohen
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2012-10-18 20:17
FromVictor Lazzarini
SubjectRe: [Csnd] Using OSC on Mountain Lion, Csound 5.18, CsoundQT 0.61?
It's a handy csd to have around if you need testing OSC.
On 18 Oct 2012, at 20:13, Louis Cohen wrote:

> Thanks, Victor,
> 
> That was helpful. Your example runs on both my old and new systems. Time to put on the thinking cap.
> 
> -Lou
> 
> On Oct 18, 2012, at 12:10 PM, Victor Lazzarini wrote:
> 
>> You can test it with this CSD
>> 
>> 
>> 
>> 0dbfs=1
>> gio OSCinit 44100
>> instr 1
>> kans init 0
>> kstart init 0
>> kdur init 0
>> kamp init 0
>> kfreq init 0
>> listen:
>> kans OSClisten gio, "/instr2", "ffff",kstart,kdur,kamp,kfreq
>> if kans == 1 then
>> event "i",2,kstart,kdur, kamp,kfreq
>> kgoto listen
>> endif
>> endin
>> instr 2
>> a1 vco2 p4, p5
>> out a1
>> endin
>> instr 11
>> OSCsend 1, "localhost", 44100, "/instr2", "ffff", 0, 1, 0.1, 440
>> endin
>> 
>> 
>> i 1 0 1000.0
>> i 11 2 1
>> e
>> 
>> 
>> 
>> 
>> On 18 Oct 2012, at 16:36, Louis Cohen wrote:
>> 
>>> I have been successfully using OSC on my antiquated Mac, with OSX 10.5.8, MacCsound, Csound 5.14, a wiimote, and Osculator.
>>> 
>>> I'm now trying to get everything running on the following:
>>> 
>>> Mountain Lion, Csound 5.18, CsoundQT 0.61
>>> 
>>> I've gotten OSCulator to recognize the wiimote that I've been using all along. I can see that is receiving messages from the wiimote.
>>> 
>>> However, when I run the my (huge) csd under CsoundQT, I can see no evidence that Csound is receiving OSC messages.
>>> 
>>> Before I begin writing test programs, it would be helpful to know if there are any known problems with OSC processing on my new configuration. If someone has already had success with OSC, then I'll get to work. But if OSC has been, for example, left out of Csound 5.18, or CsoundQT 0.61, it would be most helpful to know that first.
>>> 
>>> best,
>>> Lou Cohen
>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>         https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> 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 tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie