<div dir="auto">As others have said, Midi-Ox is really useful.<div dir="auto">As a further suggestion, I would reccomend doing a build of your player piano software that does nothing other than output simple regular notes triggered by a timer.</div><div dir="auto">You could check for minimum jitter on an oscilloscope if you have one. You could then collect that midi stream using midi-ox to verify your hardware is correct and then move on to comparing the performance of Sonar.</div><div dir="auto">Assuming there isn't a deluge of extra cc messages and running status in your midi stream, the likelihood is that its either a driver issue with sonar, or some setup option, as you and others may have suggested.</div><div dir="auto">I hope this helps.</div><div dir="auto">Cheers</div><div dir="auto">Gerry </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 30 Oct 2025, 15:14 Roman Sowa via Synth-diy, <<a href="mailto:synth-diy@synth-diy.org">synth-diy@synth-diy.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How about using some old program written when quality of the code still <br>
mattered more than graphical appearance and collecting user data? For <br>
example MidiEditor from Markus Schwenk.<br>
I use it (rarely) for editing single MIDI notes, but it also does <br>
recording MIDI.<br>
What might be appealing to you in this project - I think the piano roll <br>
notation is the only way it can show notes<br>
<br>
Roman<br>
<br>
W dniu 2025-10-29 o 17:37, Jean-Pierre Desrochers via Synth-diy pisze:<br>
> Hi lists,<br>
> <br>
> 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.<br>
> <br>
> The unit has 2 parallel MIDI outputs.<br>
> <br>
> The first MIDI output is wired to a small Yamaha P50m MIDI piano module <br>
> with speakers.<br>
> <br>
> 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.<br>
> <br>
> Here is my problem:<br>
> <br>
> 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.<br>
> <br>
> 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.<br>
> <br>
> It’s connected in a USB3 connector on my PC.<br>
> <br>
> And the settings in my Sonar X3 Pro are set to ASIO USB.<br>
> <br>
> I thought this could be caused by some kind of timing precision<br>
> or ‘Snap’ option selected that should not be..<br>
> <br>
> The set timing was at ¼ in my last MIDI recordings<br>
> <br>
> And maybe should be much higher (like 1/32 Triplet) ?<br>
> <br>
> I don’t know what to do with this issue..<br>
> <br>
> 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>
> <br>
> ________________________________________________________<br>
> This is the Synth-diy mailing list<br>
> Submit email to: <a href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer">Synth-diy@synth-diy.org</a><br>
> View archive at: <a href="https://synth-diy.org/pipermail/synth-diy/" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/pipermail/synth-diy/</a><br>
> Check your settings at: <a href="https://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/mailman/listinfo/synth-diy</a><br>
> Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank" rel="noreferrer">marketplace@synth-diy.org</a><br>
________________________________________________________<br>
This is the Synth-diy mailing list<br>
Submit email to: <a href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer">Synth-diy@synth-diy.org</a><br>
View archive at: <a href="https://synth-diy.org/pipermail/synth-diy/" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/pipermail/synth-diy/</a><br>
Check your settings at: <a href="https://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank" rel="noreferrer">marketplace@synth-diy.org</a><br>
</blockquote></div>