Poly AT anomaly in Media Player

Probably something only @Brad will be able to answer;
I prepared a MIDI file with only Poly AT messages - a huge slew of them all issued simultaneously. Cubase’s MIDI monitor confirms the data is there. The Cantabile Media Player refuses to output the data - unless I place a note event in there too. Tried with a CC, no good. Must be a note event.
Issue is, I don’t want that note to hit the plugin, regardless of velocity. So a filter to block either by suppressing or blocking the note’s channel (having taken the precaution of recording the note on an unused channel) is required, and that works.
Just seems quirky and one of those ‘if you don’t know, you won’t know’ kind of bugs. Unless it’s by design?
Cheers all!

Hey @Ade,

That’s certainly not by design and I can’t think what might be causing this - the midi player just outputs everything in the file as is.

Can you send me a copy of the MIDI file, perhaps with a simple sample song showing how you’re using it and I’ll check it out.

Brad

Messaged you. Thanks for checking :+1:

Hi @Ade,

Thanks for sending through those files. I figured it out… it wasn’t a problem with the poly AT events but rather related to a rounding error on the length of the file where events at the very last time stamp in the file were sometimes not being sent.

In your file, the poly at events and the track end meta event were both at timestamp 2:

<snip>
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
2 Meta TrkEnd
TrkEnd

As a temporary fix, I’ve attached a file with the track end event bumped by one which makes it work:

<snip>
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
2 PoPr ch=1 n=127 v=0
3 Meta TrkEnd
TrkEnd

Poly Zero (Patched).zip (425 Bytes)

As for the actual rounding error bug, I’ve fixed it for the next 41xx series build.

Brad

3 Likes

Many thanks for the rapid response!
:+1: