<div dir="ltr">ie re ChuckSound -- what directory, containing what, am I supposed to be in before the &#39;make install&#39; stuff?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 8:50 AM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Sorry, this last was not a chuck problem<br></div> -- something to do with closing the fifo on the writing end before it can be read.<br></div>[Using a python script to feed the lines via &quot; &gt; testfif &quot; , csound -L testfif still waits until the script exits to play -- although now the timing between notes is preserves.]<br>---------------<br></div>Um, re ChuckSound -- I still need a clue re how to add a chugin... ?!<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 5:39 PM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Oops, that &#39;1&#39; at the start is nothing but a problem, because the first score line then starts with it. [Supposed to be there in the example, but not for my usage.]<br><br>---------<br></div>Main glitch now: Chuck starts with an error message because csound is trying to use the audio output. Csound does play the two notes -- but only after chuck exits. Csound has received them before this -- and sends them to dac; but they play simultaneously later, when chuck lets go of the audio...<br><br></div>What to do?<br><div><div><br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 3:40 PM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Okay, so inside &#39;<a href="http://file.ck" target="_blank">file.ck</a>&#39;<br></div>a line like: <br><br>chout &lt;= 1 &lt;= bar &lt;= &quot;i3 0 0.5 60 5 5 \ni3 1 0.5 60 5 7 \n&quot; ;<br></div><br>sends two notes through the fifo.<br></div>Okay, I&#39;m not entirely sure about usage for &#39;chout&#39; -- but it works!<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 12:25 PM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>&quot;chuck <a href="http://file.ck" target="_blank">file.ck</a> &gt; myfifo.fifo &quot; ? Okay, I can try that when I get home; thanks!<br><br></div>{Does this represent an awful waste of sound-processing resources? -- or a reasonable combination of csound rendering methods with chuck straightforward programming syntax?]<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 11:15 AM, Spencer Salazar <span dir="ltr">&lt;<a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Forrest,<div><br></div><div>If you&#39;re only using one fifo and you&#39;re not using chuck&#39;s stdout for other purposes, you can redirect it to the fifo and communicate that way, e.g. </div><div><br></div><div>chuck <a href="http://file.ck" target="_blank">file.ck</a> &gt; myfifo.fifo </div><div><br></div><div>ChucK&#39;s diagnostics go to stderr, as does &lt;&lt;&lt; &gt;&gt;&gt; printing, so only stuff you write to chout will go to the fifo. </div><div><br></div><div>spencer</div><div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 5:29 AM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Basically, to use OSC protocol I end up needing a finicky listening routine in the csound program, with all sorts of complications about starting &amp; stopping notes from the messages... while the -L command line option lets me feed lines directly through the operating system into the score, with csound handling the subsequent timing automatically. So it depends what you mean by &#39;easier.&#39;<br><br></div>Chuck does seems like a pretty heavy-duty program to use as a midi-timer; last night I worked out a short python script that seems to do the job; but chuck -- if it had the right file-handling capabilities -- is more specifically designed for coordinating a musical process, and might work better. I dunno.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 11:13 PM, Casper Schipper <span dir="ltr">&lt;<a href="mailto:casper.schipper@gmail.com" target="_blank">casper.schipper@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Forrest,<br>
<br>
Maybe a naive question: but is there any reason you don’t want to use OSC protocol for communicating between ChucK and CSound ? I think that’s the easier route.<br>
<br>
Best,<br>
Casper<br>
<div><div><br>
<br>
<br>
&gt; On Sep 24, 2015, at 02:25, Forrest Curo &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Something I&#39;ve been doing from pd: writing a line (or more) of text to a fifo and letting csound read that in as score lines.<br>
&gt;<br>
&gt; Trying the same from chuck -- I find that I can write text to a normal file. When I send the same text to a fifo, nothing happens. If I don&#39;t close the fifo chuck merely freezes; if I do close it at the end of each line, chuck continues to receive midi notes but csound doesn&#39;t get anything from the other end.<br>
&gt;<br>
&gt; Do I need to open the fifo in &#39;WRITE_ONLY mode&quot;? Will try now.<br>
&gt;<br>
&gt; Other thoughts?<br>
</div></div>&gt; _______________________________________________<br>
&gt; chuck-users mailing list<br>
&gt; <a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
&gt; <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><div>Spencer Salazar<br></div><div>Doctoral Candidate</div><div>Center for Computer Research in Music and Acoustics</div><div>Stanford University</div><div><br></div><div><a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a></div><div></div><div><a href="tel:%2B1%20831.277.4654" value="+18312774654" target="_blank">+1 831.277.4654</a><br></div><div><a href="https://ccrma.stanford.edu/~spencer/" style="color:rgb(17,85,204)" target="_blank">https://ccrma.stanford.edu/~spencer/</a><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>