Here's the patch by the way, it was sent off-list.<br><br>~Kyle<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Kyle Klipowicz</b> &lt;<a href="mailto:kyleklip@gmail.com">
kyleklip@gmail.com</a>&gt;<br>Date: Oct 11, 2006 4:41 PM<br>Subject: Re: Re: [PD] Writing a MIDI file...or at least a qlist...to disc<br>To: Richard Bowers &lt;<a href="mailto:richard.bowers@ntlworld.com">richard.bowers@ntlworld.com
</a>&gt;<br><br></span>Hi Richard~<br><br>This is not a silly question!&nbsp; Sequencing is one of the biggest pains for many Pd users.<br><br>I think this solution would be fine, since these things don't take up much space as text.&nbsp; Textfile also allows appending.&nbsp; I would suggest using inter-onset intervals (IOI's) to keep track of your notes.&nbsp; For example, 100 65 96 could be 100 ms from the previous note at pitch 65 and velocity 96.&nbsp; You could use velocity of 0 to release the specific pitches.
<br><br>Anyway, here is an example, as well as the list-help file.&nbsp; Be warned, I don't have a midi device here at work, so it may not work properly!&nbsp; But the general principle should be OK.<br><span class="sg"><br>~Kyle</span>
<div><span class="e" id="q_10e3952d32d3de97_2"><br><br><div><span class="gmail_quote">
On 10/11/06, <b class="gmail_sendername">Richard Bowers</b> &lt;<a href="mailto:richard.bowers@ntlworld.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">richard.bowers@ntlworld.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div>
<div><span><font color="#0000ff" face="Arial" size="2">Thanks 
for your help,&nbsp; Kyle. I'm replying off list because I'm a beginner and my 
next questions will probably be silly to most members:</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">Do you 
think list would be able to store between 10,000 -15,000 lines consisting of a 
timestamp, note number and velocity?</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">If 
not, would it be possible to append&nbsp;a written&nbsp;file on-the-fly using 
more manageable amounts of data?</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">Sorry 
for these annoying questions but&nbsp;I have trouble getting the right 
information from the help files (I couldn't&nbsp;even find the list examples you 
mentioned !! The 'list' help comes up with info on 'bang').</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">Regards,</font></span></div><span>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">Richard.</font></span></div></span><div><span>
<blockquote style="margin-right: 0px;">
  <div></div>
  <div dir="ltr" align="left" lang="en-us"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> 
  <a href="mailto:pd-list-bounces@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pd-list-bounces@iem.at</a> [mailto:<a href="mailto:pd-list-bounces@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

pd-list-bounces@iem.at</a>] <b>On Behalf Of 
  </b>Kyle Klipowicz<br><b>Sent:</b> 11 October 2006 20:55<br><b>To:</b> Richard 
  Bowers<br><b>Cc:</b> PD list<br><b>Subject:</b> [Norton AntiSpam] Re: [PD] 
  Writing a MIDI file...or at least a qlist...to disc<br><br></font></div>You 
  could use timer combined with list to record a sequence (see the sequencers in 
  the list example docs) and then write the final message to disk using 
  textfile.<br><br>~Kle<br><br>
  <div><span class="gmail_quote">On 10/11/06, <b class="gmail_sendername">Richard 
  Bowers</b> &lt;<a href="mailto:richard.bowers@ntlworld.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">richard.bowers@ntlworld.com</a>&gt; 
  wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>
    <div><span><font face="Arial" size="2">I've done a quick search on the archive 
    for help on this topic, but I didn't find anything crystal 
    clear.</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">Basically, I'm running a PD patch on a 
    Mac which is sending (internally, not through hardware)&nbsp;MIDI note 
    on/off pairs to another program (Arkaos). I would like to be able to capture 
    the MIDI stream within PD (or&nbsp;the numeric values on which the MIDI 
    notes are based) into a file for later retrieval. So</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">1) is there a purpose-built object which 
    will handle this? or</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">2) can a file be written to disc as a 
    qlist? If so, could someone describe how to write such a 
    file?</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">Any help will be greatly 
    appreciated.</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">Many thanks,</font></span></div>
    <div><span><font face="Arial" size="2"></font></span>&nbsp;</div>
    <div><span><font face="Arial" size="2">--Richard.</font></span></div></div><br>_______________________________________________<br><a href="mailto:PD-list@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE 
    and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></blockquote>

</div><br><br clear="all"><br>-- <br><br><a href="http://theradioproject.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://theradioproject.com</a><br><a href="http://perhapsidid.blogspot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://perhapsidid.blogspot.com</a><br><br>(((())))(()()((((((((()())))()(((((((())()()())())))<br>(())))))(()))))))))))))(((((((((((()()))))))))((())))<br>))(((((((((((())))())))))))))))))))__________<br>_____())))))(((((((((((((()))))))))))_______ 
  <br>((((((())))))))))))((((((((000)))oOOOOOO </blockquote></span></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://theradioproject.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://theradioproject.com</a><br><a href="http://perhapsidid.blogspot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://perhapsidid.blogspot.com</a><br><br>(((())))(()()((((((((()())))()(((((((())()()())())))
<br>(())))))(()))))))))))))(((((((((((()()))))))))((())))<br>))(((((((((((())))())))))))))))))))__________<br>_____())))))(((((((((((((()))))))))))_______<br>((((((())))))))))))((((((((000)))oOOOOOO

</span></div><br clear="all"><br clear="all"><br>-- <br><br><a href="http://theradioproject.com">http://theradioproject.com</a><br><a href="http://perhapsidid.blogspot.com">http://perhapsidid.blogspot.com</a><br><br>(((())))(()()((((((((()())))()(((((((())()()())())))
<br>(())))))(()))))))))))))(((((((((((()()))))))))((())))<br>))(((((((((((())))())))))))))))))))__________<br>_____())))))(((((((((((((()))))))))))_______<br>((((((())))))))))))((((((((000)))oOOOOOO