<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Tom:<div><br></div><div>If your goal is simply to play scores using ChucK's strict timing, of course you could write them as .ck files and load them from the command line or via Machine.add() to play 'em -- no FileIO required.  That's the approach I've taken in the past.</div><div><br></div><div>I realize this doesn't answer your question about a "popular format" -- I don't know of any, but I'm sure others on the list do.  And presumably a "popular format to .ck" converter program wouldn't be particularly difficult.</div><div><br></div><div>- Rob</div><div> <div><div> <br><div><div><div>On 23 Feb 2010, at 15:20, mike clemow wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hey Tom,<br><br>I think that with the current FileIO operations, idiosyncratic score files are easy to develop.  You know, in the same old Chuckish DIY sort of way, of course, you'll have to write your own parser/interpreter for them.  But if you keep your file simple, you should be able to do it anyway you want; and you can specify any information you want.  What's cool about that is that you can write it in the way that makes the most sense to you.<br> <br>Here's what I would do...<br><br>My parser would read the file in and create a Score object (some class that keeps all the events of the song in some array somewhere) and then would read those events off as Events (or some subclass) that my shreds would respond to and make sounds.  <br> <br>Well, that's one idea anyway.  You could always use CSound...<br><br>Good luck!<br><br>-Mike<br><br><br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 1:02 PM, Tom Lieber <span dir="ltr"><<a href="mailto:tom@alltom.com">tom@alltom.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Are there any popular formats for writing scores for ChucK scripts? I<br> know a lot of people consume MIDI or OSC messages from controllers or<br> other software, but I'm looking for something ChucK reads so that it's<br> on ChucK's clock.<br> <font color="#888888"><br> --<br> Tom Lieber<br> <a href="http://AllTom.com/">http://AllTom.com/</a><br> <a href="http://ckvlang.org/" target="_blank">http://ckvlang.org/</a><br> _______________________________________________<br> chuck-users mailing list<br> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br> </font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://michaelclemow.com">http://michaelclemow.com</a><br><a href="http://semiotech.org">http://semiotech.org</a><br><br> _______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></blockquote></div><br></div></div></div></div></body></html>