<div dir="ltr"><div class="gmail_default" style="font-size:large">I'm working with [midifile] to create algorithmic scores from analog-style synthesis models. Really I'm at the beginning stages of doing so.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">My flow is to generate data, write it into a MIDI file, and then open it in Finale to see the results. Unfortunately, I'm seeing an accumulation of previous notes that appears at the start of each measure.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">Here's a picture of the patch and the output:</div><div class="gmail_default" style="font-size:large"><a href="https://i.imgur.com/t4naCah.png">https://i.imgur.com/t4naCah.png<br></a></div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">Any idea what I'm doing wrong? I'm assuming there might be some kind of problem with how I'm creating noteoff commands. </div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">What I remember from study is that the MIDI spec has both noteon and noteoff messages, but most instruments just use noteon messages with zero velocity. Do sequencers translate those zero velocity messages into noteoff messages before saving them into a file?</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">Thanks,<br>Sam </div></div>