<html>
<head></head>
<body> <span style="font-family:sans-serif">Hi David,</span>
<br>
<br> <span style="font-family:sans-serif">You can find an example here</span>
<br>
<br> <span style="font-family:sans-serif">https://github.com/ccrma/chuck/blob/main/examples/midi/playmidi.ck</span>
<br>
<br>
<br> <span style="font-family:sans-serif">Cheers,</span>
<br> <span style="font-family:sans-serif">Mario</span>
<br>
<div> <span dir="ltr" style="margin-top:0; margin-bottom:0;">-- </span>
<br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">electronic musician, sound artist, creative coder, QA engineer</span>
<br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com https://github.com/mariobuoninfante https://bitbucket.org/mariobuoninfante</span>
<br>
</div>
<div>
<br>
<p>25 Oct 2020 01:06:57 David Loberg Code <d.loberg.code@wmich.edu>:</p>
<blockquote dir="ltr" style="">
<div style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0)">
Can anyone point me to documentation on the use of the MidiFileIn class?
</div>
<div style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0)">
I know that it has member functions such as .open(), .read(), .rewind(), etc., but am looking for examples of how you would use it to read and play a MIDI file in ChucK.
</div>
<div style="">
<div style="font-family: Consolas, Courier, monospace; font-size: 11pt; color: rgb(0, 0, 0)">
<br style="">
</div>
<div id="Signature" style="">
<div style="">
<div style=""></div>
<div style=""></div>
<div id="divtagdefaultwrapper" dir="ltr" style=" font-family:Calibri,Helvetica,sans-serif;font-size:12pt; color:#000000">
<div style=" margin-bottom:0px;margin-top:0px"> <span style="font-family:Consolas,Courier,monospace; background-color:rgb(255,255,255); font-size:13.3333px; display:inline!important">Santé,</span>
<br style="">
</div>
<div style=" margin-bottom:0px;margin-top:0px"> <span style="font-family:Consolas,Courier,monospace; background-color:rgb(255,255,255); font-size:13.3333px; display:inline!important">davd</span>
</div>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt">-----------------</span></p>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt">David Loberg Code</span></p>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt">School of Music</span></p>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt">Western Michigan</span></p>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt">code@wmich.edu</span></p>
<p style=" margin-bottom:0px;margin-top:0px"><span style="font-family:Consolas,Courier,monospace; font-size:10pt"><i style=""> any pronouns</i></span></p>
</div>
</div>
</div>
</div>
<div style="">
_______________________________________________
<br style="">chuck-users mailing list
<br style="">chuck-users@lists.cs.princeton.edu
<br style="">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
<br style="">
</div>
</blockquote>
</div>
</body>
</html>