Follow the principal note

Listen slowly and compare it with the bass on the beat. Grace notes may fall before or on the beat depending on the performance; the score alone does not decide the timing.

Select a note and open Playback in Properties. Its note volume is 64 here; this is separate from the overall track level.
Select a note and open Playback in Properties. Its note volume is 64 here; this is separate from the overall track level.

Test just one pair

Try an ornament at 0.940 s and its principal note at 1.000 s. Leave the accompaniment at 1.000 s. The 60 ms gap lets you hear which attack anchors the beat.

Note timing in the worked exampleE4D4C30 s0.74 s1.48 s
Time runs left to right in seconds. Each bar starts at key press and ends at release.
Download this example as MIDI

Keep intentional short notes

A global minimum-length filter can remove real ornaments. Check pitch and onset on one offending pair before editing similar passages.

Audition the ornament against a fixed bass

With the two melody notes in isolation, the beat can be surprisingly ambiguous. Add a bass C on the pulse. In one version, let a quick D precede the beat and land E with the bass. In another, start D with the bass and delay E slightly. Both versions say “D–E”, but they give the beat a different weight.

Select the D at 0.940 s in the example and verify that E stays at 1.000. Making D louder will not relocate the beat. Change either onset or velocity first so that you can tell which edit produced the musical result.

Leave room before the first main note

If ornaments work mid-piece but vanish at the opening, look at the position of the principal note. A grace note due 60 ms before a principal attack at time zero cannot fit in the file. Give the passage some lead-in and export from a point that includes the ornament.

Add the corresponding lead-in to any separate backing, then check the next bar. A very short note can be hard to see on a phone even when it sounds correctly. Verify that it exists using a close view, then listen at normal speed to judge the performance.

Does shortening the grace note place it before the beat?

No. If the left edge still begins on the downbeat, moving only the right edge shortens the sound without changing its placement. Compare moving the whole event with trimming its end, keeping the bass downbeat fixed throughout.

References