Score Editor Note Length Interpretation

Hi everyone! Just ran across a super interesting issue (Cubase Pro 14 on macOS Tahoe) and was wondering if anyone could help me diagnose.

When using the Score Editor to view a MIDI clip in one of my projects, a “repeated” G# note written only in bar 6 extends all the way to bar 8… and I have no idea why.

I will, of course, attach my project file once I figure out how to do that… but in the meantime, here’s what it looks like in screenshots:

I can confirm that this same issue happens when exporting the MIDI and opening it in Dorico Pro 6. Opening that same MIDI file in Sibelius Ultimate 2025.8 yields the expected note duration, without the G# note extending into bars 7 and 8.

The notes are quantized to the grid, both at their beginnings and at their ends, meaning nothing should be overlapping. When deleting the repeated G# note and extending the previous one into bar 6, the Score Editor does show the duration correctly in that case.

If anyone here knows what the issue could be, your help would be much appreciated. Thanks!

Hi @lexxabeats
first of all, I can confirm that I am experiencing this same effect. I entered your measures into an empty project, and the result is exactly the same:

I I was able to fix the error by simply shortening the G#-note slightly and then extending it back to its original duration.

I recall encountering a similar error (incorrectly displayed note duration) some time ago.
Unfortunately, I don’t know the actual cause either.

Oh wow, okay, glad to hear this isn’t just me then. Thank you so much @P.A.T!

When I was initially testing this, I have tried lengthening the note and then shortening it back, which changed nothing. I just tried your process (shorten and then lengthen), which also hasn’t changed anything, regardless whether I had snapping to grid enabled or not. So I started experimenting.

I shortened/lengthened the G# as well as various surrounding notes, playing around with different combinations and trying to remove as much as possible without affecting behaviour.

I think that this time, I managed to reduce it to the smallest possible subset of notes for real. Here’s what I have now:

And here’s how that shows up in the Score Editor:

When moving around the end of the A note, it seems to affect the duration of the G# note as well. I’m not sure if there’s an exact pattern to it, but it looks like the notes are being somehow “grouped together” under certain conditions.

Later, I will try to play around with this a little more… but in the meantime, thank you so much for all your help!

This is clearly a bug in the score editor.
I also experimented a bit more with your score today and discovered, for instance, that shortening the long B note (referred to as ‘H’ in German notation) causes the G# to revert to the correct duration.
In other words, there are interdependencies between the displayed note durations that shouldn’t be there.

And one more thing I just noticed:
In the toolbar at the top, you can force the correct note duration:

Please could you attach a minimal project or MIDI file that reproduces the bug. Dorico and Cubase use the same MIDI interpretation code.

Hi @PaulWalmsley, sure thing! This is the smaller example from my second post:

Example.cpr (170.9 kB)

I have no idea why, but when I exported this smaller MIDI file again today, it seems to work correctly when opening it in both Cubase and Dorico. The Score Editor in the actual Cubase project still shows the long G# though. When I export the whole MIDI track from my original project, it also shows the long G#.

Currently looking into this now. I would have assumed I accidentally created some sort of illegal state within Cubase, but that likely doesn’t explain how @P.A.T was able to reproduce the bug.

Hi @Paul,

when I open this project (C15 Pro, latest update, Win 10 Pro),

Noteneditor _falsche_Längenanzeige.cpr (266.5 KB)

the half note G# that I entered in the Key Editor in bar 6 …

… appears much too long in the Score Editor.

Thanks for the repro cases, that makes it much easier to isolate the issue.

I can see what’s happening here. This is a complex situation with the voice detection, and you can get a clearer idea if you switch on voice colours:


If you remove any one of the notes then the situation is resolved, it’s just the combination of them that is the problem. The long B spans 3 bars, and because it has a different length to the initial D#, it is put into the first voice on the second staff. In the second bar you have two new notes introduced at the same time in the lower staff. The first voice is already sounding, so it decides to put them into the second voice.

However, the logic will lengthen the notated duration of notes in the same voice to simplify the notation because otherwise you get situations like this (with notes of length 3 and 4 at the same position):


rather than this:

The problem then is that the logic to lengthen notes shouldn’t do it if the lengths are significantly different, as is the case here. I will log the issue

Thank you so much for taking the time to explain this! As a programmer myself (albeit not a great one), this is definitely an interesting insight for me. Now I’m curious how “significantly different” would be defined when talking about the note lengths in this case.

Giving all these examples a quick look, it looks like this case is unprecedented in other notation apps, since Dorico seems to be quite unique in its ability to “force” music onto a grand staff.

The small two note example (lengths 3 + 4) in Dorico and Sibelius behaves exactly as the two cases you’ve described. Dorico does indeed seem to “round” the duration (please ignore the key signature, I used default settings):

Whereas Sibelius defaults to the “split” lower note:

I assume MS is irrelevant in this case, because it creates two voices:

Moving on to my small example, I’m not 100% sure how to notate it on a grand staff automatically in the other programs. In Dorico, this is simply a matter of changing the instrument from “Sketch > Treble Staff” to “Sketch > Grand Staff”:

In one of my previous posts, I said the exported MIDI behaved fine in one instance. It seems I have used a treble staff instead of the grand staff, where the note durations are correct. The same behaviour can then be observed in other programs, where placing all notes onto one staff seems to be the default. This is Sibelius (without a manual split point setting):

And this is MS:

I am not aware of a way to create a grand staff by default in this situation. It seems I would instead need to use each program’s “explode” function after having imported the MIDI. This seems to result in a single voice in each staff, which looks like this in Sibelius (with the B in the last bar becoming “detached”):

And like this in MS:

Therefore, I had to test the full section of music I initially wrote (and what @P.A.T replicated). Here’s what that looks like in Dorico, with a “wrongly extended” G# in bars 8 and 9:

Sibelius, again, seems to place everything onto one staff only:

MS actually does use a grand staff in this case, but the distribution of notes across voices is much less even. Here’s what the default looks like:

Notice for example, the isolated E note in Voice 1 of the treble staff (shown in blue), while remainder of the voice is mostly just rests at the beginning. I don’t really have an opinion on the clef change in the middle, but overall, I would say that the default Dorico result (in this case) is more desirable than the output of MS… if we ignore the incorrect G# duration.

I’m attaching both the short and the long example here as MIDI, in case they’re needed for testing. But I’m assuming this isn’t exactly trivial. Much respect to all of you working on this, that’s for sure. :smiley:

shortexample.mid (113 bajtů)

longexample.mid (599 bajtů)

Thanks for the test files. Sibelius doesn’t do any multi-voice analysis for MIDI import, aside from basic split point (I wrote the MIDI import code in Sibelius too many years ago and I don’t think they’ve changed it!)

Dorico considers voice allocation and quantization together because one affects the other (consider tuplets in one voice and regular notes in another, then consider the cases where a tuplet ties into a non-tuplet note in one voice). It also takes account of the playability of notes in the same hand.

The goal is to produce the simplest notation that represents the intent, and so there are various simplifications such as working out the notes that form the same chord even though the note start and end positions may be slightly different. ‘Simplest’ here often means choosing the best voicing to minimise the number of ties, because these can be hard to read, as your examples show.

If you have live-recorded MIDI, particularly for long held chords, then often the note ends will be quite different, and they are often won’t fill the whole length of the bar because if you have a sound with a slow attack then you may release them before the end so you can play the next chord.

The issue with the note being extended too far is a case that I hadn’t specifically considered

I have fixed this, but unfortunately it was too late for C16.0.5 but it should be in the next update.