<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 &lt;<a href="mailto:treegestalt@gmail.com">treegestalt@gmail.com</a>&gt; 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&#39;s how they&#39;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&lt;system.h&gt; and add code to either write csound score lines to a fifo, or call bash&#39;s &#39;nc&#39; to udp them to another computer. (?)<br></div><div><br></div><div>Those approaches wouldn&#39;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 &lt;<a href="mailto:taube@illinois.edu" target="_blank">taube@illinois.edu</a>&gt; 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 &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; 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 &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; 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 &#39;expects&#39; score events instead. I&#39;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 &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; 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 &quot;OSC send test succeeded&quot; <br>
</div>
<div>&amp; csound says:<br>
</div>
<div>error: syntax error, unexpected &#39;/&#39;  (token &quot;/&quot;) line 7:</div>
&gt;&gt;&gt;/ &lt;&lt;&lt;<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 &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; 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 &lt;<a href="mailto:taube@illinois.edu" target="_blank">taube@illinois.edu</a>&gt; 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 &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr">
<div>I have csound running &amp; 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 &quot;i 2 0 3 440 .5&quot; (<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>