<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">
      <div class="moz-cite-prefix">Yep, that's a weird one. I use the
        new free Sonar so I'm familiar with your sequencer (pretty much
        the same, I think).</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">It looks like you're filtering MIDI
        well. It appears like Sonar is somehow loading up your MIDI
        output stream with useless output data or perhaps the MIDI data
        is triggering some sort of errant behavior (everybody who uses
        Cakewalk/Sonar a lot should be accustomed to the occasional
        failure due to bugs). I can't imagine what could be happening in
        that regard. If it was me, I'd be eager to see the MIDI data.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">You could change your MIDI block
        size. Large blocks lead to smoother playback but higher latency.
        Small blocks lead to stuttering playback but lower latency. For
        debug purposes, use a larger block size. It looks like your
        block size is configured for 64 msec. I don't know what number
        of samples that translates to because the sample rate is not
        specified. At 44.1kHz SR, that's 2800 samples which seems like
        plenty for playback. I would turn off "Always Echo Current MIDI
        Track" during playback for testing to eliminate one variable.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Do the hesitations happen in the same
        way each time when you start playback?  If so, take a look at
        the event list view of your output tracks. You might see
        built-in gaps. I'd take a look at the event list regardless of
        when the hesitations happen. </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">If that doesn't reveal anything, try
        this proposal: Send output to a MIDI monitor, and take a look at
        the time stamps. You will need to compare the timing you desire
        (exactly what you see in your event list) with the time stamps
        your MIDI monitor tells you. I can't advise on which MIDI
        monitor you should use as I rarely use them. I use one I wrote
        myself. They are simple to create if you have the right skills
        and tools.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Also, take a look at loopMIDI by
        Tobias Erichsen. LoopMIDI is a virtual MIDI port to which you
        can send MIDI output and then also supply the loopMIDI virtual
        input port to your MIDI monitor.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">I wonder: Does anybody know if there
        is a good MIDI Spy program that can monitor a MIDI stream
        without breaking/inserting MIDI connection during normal use?</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">If everything looks good at this
        stage, I'd watch the Performance tab to see that your disk
        and/or CPU is not maxxing out.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Beyond that, I dunno.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Good luck.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">JJS</div>
      <br>
    </div>
    <div class="moz-cite-prefix">On 10/29/2025 9:37 AM, Jean-Pierre
      Desrochers via Synth-diy wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:000001dc48f2$56ae6ef0$040b4cd0$@oricom.ca">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">Hi
            lists,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">A
            while ago I built a MIDI piano roll player<br>
            that can read old piano rolls and play them through its
            dedicated MIDI out.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">The
            unit has 2 parallel MIDI outputs. <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">The
            first MIDI output is wired to a small Yamaha P50m MIDI piano
            module with speakers.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">The
            second MIDI output is sending the same signal<br>
            to my Sonar X3 Pro DAW to record all the played MIDI notes<br>
            so I can save the song in a .MID file. Fine.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">Here
            is my problem:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">When
            I listen and look at a fast playing piano roll<br>
            I can see all the notes on the paper roll are correctly
            playing<br>
            on the Yamaha module with no lags.<br>
            That means that my player CPU is doing its job correctly<br>
            and the MIDI output is reliable.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">But
            after recording a roll in my DAW and playing it back<br>
            using a piano plugin and noticed intermittent lags<br>
            recorded in the MIDI track.<br>
            I use a Focusrite Scarlett 2i4 USB audio device with MIDI.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">It’s
            connected in a USB3 connector on my PC.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">And
            the settings in my Sonar X3 Pro are set to ASIO USB.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA"
            style="font-size:12.0pt;mso-ligatures:none"><img width="733"
              height="644" style="width:7.6354in;height:6.7083in"
              id="Image_x0020_1"
              src="cid:part1.bwzCI300.oLm6m32h@yahoo.com" class=""></span><span
            lang="EN-CA" style="font-size:12.0pt"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA"
            style="font-size:12.0pt;mso-ligatures:none"><img width="733"
              height="643" style="width:7.6354in;height:6.6979in"
              id="Image_x0020_2"
              src="cid:part2.NjiIhS9K.2Omb6qZj@yahoo.com" class=""></span><span
            lang="EN-CA" style="font-size:12.0pt"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">I
            thought this could be caused by some kind of timing
            precision<br>
            or ‘Snap’ option selected that should not be..<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">The
            set timing was at ¼ in my last MIDI recordings<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">And
            maybe should be much higher (like 1/32 Triplet) ?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA"
            style="font-size:12.0pt;mso-ligatures:none"><img width="452"
              height="589" style="width:4.7083in;height:6.1354in"
              id="Image_x0020_3"
              src="cid:part3.4t9JY6zR.GGtLe3Nz@yahoo.com" class=""></span><span
            lang="EN-CA" style="font-size:12.0pt"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">I
            don’t know what to do with this issue..<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-CA" style="font-size:12.0pt">I
            was thinking of using a separate app that would be easy and
            reliable<br>
            outside my Sonar.. But I think it’s not the way I should
            take.<br>
            <br>
            <o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">________________________________________________________
This is the Synth-diy mailing list
Submit email to: <a class="moz-txt-link-abbreviated" href="mailto:Synth-diy@synth-diy.org">Synth-diy@synth-diy.org</a>
View archive at: <a class="moz-txt-link-freetext" href="https://synth-diy.org/pipermail/synth-diy/">https://synth-diy.org/pipermail/synth-diy/</a>
Check your settings at: <a class="moz-txt-link-freetext" href="https://synth-diy.org/mailman/listinfo/synth-diy">https://synth-diy.org/mailman/listinfo/synth-diy</a>
Selling or trading? Use <a class="moz-txt-link-abbreviated" href="mailto:marketplace@synth-diy.org">marketplace@synth-diy.org</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>