<div dir="ltr"><div>Um, a more graceful possibility:</div><div><br></div><div>Adapt the c++ code from the Csound Api examples. Simply run instances of csound within Grace.</div><div><br></div><div>(?)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 6:05 PM Forrest Curo <<a href="mailto:treegestalt@gmail.com">treegestalt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Grace is sending valid osc messages.</div><div><br></div><div>If these were going to Supercollider, that's how they'd be handled.</div><div><br></div><div>Received by the csound udp server, valid osc is not valid realtime score events.</div><div><br></div><div>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. (?)<br></div><div><br></div><div>Those approaches wouldn't be graceful, but they are ways I could (eventually) do it for myself.</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 5:12 PM Taube, Heinrich K <<a href="mailto:taube@illinois.edu" target="_blank">taube@illinois.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
im pretty sure grace is sending valid osc messages, i cant tell what going on from the information you are giving me
<div><br>
<div>
<blockquote type="cite">
<div>On Mar 5, 2020, at 6:14 PM, Forrest Curo <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>Put in a header; csound objects.</div>
<div>Leave it out; Grace calls an error.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 3:53 PM Forrest Curo <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Supercollider is set up to accept udp formatted as OSC messages.</div>
<div><br>
</div>
<div>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.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 3:24 PM Forrest Curo <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>cm says "OSC send test succeeded" <br>
</div>
<div>& csound says:<br>
</div>
<div>error: syntax error, unexpected '/' (token "/") line 7:</div>
>>>/ <<<<br>
Parsing failed due to invalid input!<br>
Stopping on parser failure<br>
<br>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 3:17 PM Forrest Curo <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">syntax for sending a string to a port?<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 2:27 PM Taube, Heinrich K <<a href="mailto:taube@illinois.edu" target="_blank">taube@illinois.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>You should be able to send OSC to any port you want, look in the Audio menu for the OSC Connections… command.
<div>I haven’t tested OSC yet on this release...<br>
<div><br>
<blockquote type="cite">
<div>On Mar 5, 2020, at 4:18 PM, Forrest Curo <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>I have csound running & set to receive udp (i.e. --port=4567 )</div>
<div><br>
</div>
<div>( <a href="https://csound.com/docs/manual/udpserver.html" target="_blank">
https://csound.com/docs/manual/udpserver.html</a> )<br>
</div>
<div><br>
</div>
<div>I can send lines it lines for immediate output from pure data:</div>
<div>[send scoreline_i "i 2 0 3 440 .5" (<br>
</div>
<div>|</div>
<div>[netsend -u ]<br>
</div>
<div><br>
</div>
<div>likewise channel values:</div>
<div><br>
</div>
<div>[send @valu 330 (</div>
<div>|</div>
<div>[netsend -u ]</div>
<div><br>
</div>
<div>but in Grace the OSC examples are based on sending to an established TCP connection to Supercollider.
<br>
</div>
<div><br>
</div>
<div>What to do?<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote></div>
</blockquote></div>