Grace is sending valid osc messages.

If these were going to Supercollider, that's how they'd be handled.

Received by the csound udp server, valid osc is not valid realtime score
events.

Since JUCE is largely a C++ compiler... I should be able to
#include<system.h> and add code to either write csound score lines to a
fifo, or call bash's 'nc' to udp them to another computer. (?)

Those approaches wouldn't be graceful, but they are ways I could
(eventually) do it for myself.





On Thu, Mar 5, 2020 at 5:12 PM Taube, Heinrich K <[email protected]> wrote:

> im pretty sure grace is sending valid osc messages, i cant tell what going
> on from the information you are giving me
>
> On Mar 5, 2020, at 6:14 PM, Forrest Curo <[email protected]> wrote:
>
> Put in a header; csound objects.
> Leave it out; Grace calls an error.
>
> On Thu, Mar 5, 2020 at 3:53 PM Forrest Curo <[email protected]> wrote:
>
>> Supercollider is set up to accept udp formatted as OSC messages.
>>
>> Csound 'expects' score events instead. I'd know how to format these if I
>> knew how to specify a string and send it from, Grace.
>>
>> On Thu, Mar 5, 2020 at 3:24 PM Forrest Curo <[email protected]>
>> wrote:
>>
>>> cm says "OSC send test succeeded"
>>> & csound says:
>>> error: syntax error, unexpected '/'  (token "/") line 7:
>>> >>>/ <<<
>>> Parsing failed due to invalid input!
>>> Stopping on parser failure
>>>
>>>
>>>
>>> On Thu, Mar 5, 2020 at 3:17 PM Forrest Curo <[email protected]>
>>> wrote:
>>>
>>>> syntax for sending a string to a port?
>>>>
>>>> On Thu, Mar 5, 2020 at 2:27 PM Taube, Heinrich K <[email protected]>
>>>> wrote:
>>>>
>>>>> You should be able to send OSC to any port you want,  look in the
>>>>> Audio menu for the OSC Connections… command.
>>>>> I haven’t tested OSC yet on this release...
>>>>>
>>>>> On Mar 5, 2020, at 4:18 PM, Forrest Curo <[email protected]>
>>>>> wrote:
>>>>>
>>>>> I have csound running & set to receive udp  (i.e.  --port=4567 )
>>>>>
>>>>> ( https://csound.com/docs/manual/udpserver.html )
>>>>>
>>>>> I can send lines it lines for immediate output from pure data:
>>>>> [send scoreline_i "i 2 0 3 440 .5" (
>>>>> |
>>>>> [netsend -u ]
>>>>>
>>>>> likewise channel values:
>>>>>
>>>>> [send @valu 330 (
>>>>> |
>>>>> [netsend -u ]
>>>>>
>>>>> but in Grace the OSC examples are based on sending to an established
>>>>> TCP connection to Supercollider.
>>>>>
>>>>> What to do?
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Cmdist mailing list
>>>>> [email protected]
>>>>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>>>>
>>>>>
>>>>> _______________________________________________
> Cmdist mailing list
> [email protected]
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>
>
>
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to