Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-03-2023, 06:46 AM   #1
Human being with feelings
Join Date: Sep 2019
Location: france
Posts: 2,230
Default Notation - Problem with exporting in musescore gracenotes on first beat of the measur

attach the .xml file and the .rpp file

Mac OS 10.15.7

The gracenotes for the first beat of the measure that are placed at the end of the previous measure in Reaper are not loaded in Musescore or is written in bass clef.

Bfooz explains in the pre-release :

Musescore expects a normal note after a gracenote in the same measure.

- if there is a normal note in the measure after the gracenote, the gracenote is linked to this note, even if that note is on the other staff, and it takes the staff of that normal note.
- if there are no normal notes in the measure after the gracenote, the gracenote is lost

It seems Musescore looks just at the order of the notes written in the xml and does not consider the <backup> element. Dorico handles this alright. I think Musescore should fix this. Because it looses notes in some cases which is never desired.

The pitches are good, it just they are on the other staff they should be and the placement is wrong timewise as well.

This from reaper:

Is loaded like this in Musescore:

Test xml: https://drive.google.com/file/d/1Z1J...ew?usp=sharing

Possibility of correction by Reaper
Now, on the other hand, what Reaper could still fix (and that would fix Musesore import as well) is the placement of the gracenotes that should be connected to the note at the first beat of the next measure.

I am now talking about the xml export not notation(I can live with the notation as it is but ofcourse it would be much better to have this in the notation as well)

All is neede is to determine when the gracenote is connected to the note in the next measure and move the <note><grace/></note> element to the next measure (considering two staves).

The determination could be based on the midi note ends vs next measure start or next note start.
1) the note must have a gracenote ornament added
2) if gracenote end >= start of next measure then add it to the next measure
3) if gracenote end >= start of the next note that is already added to the next measure then add it to the next measure
4) chain those

So instead of this:

We would get this:
Attached Files
File Type: rpp gracenotes.RPP (3.9 KB, 13 views)
File Type: xml gracenotes.xml (5.1 KB, 12 views)
French LangPack - Langpack Reaper en français - Traduction de Reaper en français
Télécharger (download) here
glossary here

Last edited by tohubohu; 10-05-2023 at 12:47 AM.
tohubohu is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.