audiveris icon indicating copy to clipboard operation
audiveris copied to clipboard

Manual corrections after OMR encoding

Open Charvadam opened this issue 1 year ago • 5 comments

Dear Audiveris fellows,

Does a forum exist in French anywhere about Audiveris ?

I scanned half a dozen of music scores of different styles and exported their sheets in .mxl (and PDF) document, to submit it as input to MuseScore (3.6.2). Unfortunately, Audiveris (5.2.2) produced an .omr (and a .mxl) file with several errors of musical symbols, I made different trials to fix the missing or faulty symbols either in Audiveris, either in MuseScore.

By example, here follows my experimentation with the 'Freude shöner Götterfunken' (Europa hymn) from Ludwig von Beethoven. Attached files are : ⦁ The scanned partition (.pdf) Freude shöner Götterfunken - EuropaHymne.pdf

⦁ the Audiveris produced Optical Music Symbols Recognition file (.omr) ⦁ the Audiveris .mxl-coded file that MuseScore can interprete. ⦁ the MuseScore .mscz produced music file. Good grief : It is impossible to insert .omr, .mxl, .mscz type of file !

As one can observe by every encoding outcome of the Audiveris application, the produced files (.omr and .mxl) often contain a few errors, apart from all my gratitude and respect to the Audiveris developpers and their works.

It seems to me that the menu of the Audiveris application does not offer some tools for the user to bring correction to the produced encoded result (in the .omr or in the .mxl file). They are all to be executed in MuseScore, when it is possible. For instance, So, I had like to ... I) modify the heading template to have a three-part heading : Name of the music piece, music author and text author

II) add the missing indication the time signature at the beginning of the anacrusis.

III) set the attrribute of the first bar as being an anacrusis.

IV) Repetition and codas : Repeat signs : Volta brackets (1st- and 2nd-time bars) : How to rectify the numbers 99. in the brackets to 1., 2. ..., and make the playing tool of MuseScore interprete them correctly ?

V) place manually the missing barlines.

...

But practically, all the necessary correction cannot be made in MuseScore. --> My question : How do you manage this issue ?

With all my gratitude to Audiveris and MuseScore. Snorry for my bad English. Thanks and kind regards.

Charvadam avatar Aug 02 '22 10:08 Charvadam

Does a forum exist in French anywhere about Audiveris ?

Hello @Charvadam, I think this is the right place to ask your question! Some kind of discussion/forum is also available here https://github.com/Audiveris/audiveris/discussions. You can also ask in french because several people here speak french @hbitteur and myselft for example :)

As for the issues you had, I will let more experienced developers answer as I'm not too familiar with Audiveris :)

Altonss avatar Aug 02 '22 13:08 Altonss

@Charvadam French is my mother language, but I think we should all try to use a common language when exchanging about an open source project. And my favorite is the so-called "Globish" language we use in this forum :-)

hbitteur avatar Aug 05 '22 17:08 hbitteur

By example, here follows my experimentation with the 'Freude shöner Götterfunken' (Europa hymn) from Ludwig von Beethoven. Attached files are : ⦁ The scanned partition (.pdf) Freude shöner Götterfunken - EuropaHymne.pdf

⦁ the Audiveris produced Optical Music Symbols Recognition file (.omr) ⦁ the Audiveris .mxl-coded file that MuseScore can interprete. ⦁ the MuseScore .mscz produced music file. Good grief : It is impossible to insert .omr, .mxl, .mscz type of file !

To my knowledge you can insert .pdf and .zip files but not .omr, etc, So the workaround it to pack them in a .zip file and insert.

As one can observe by every encoding outcome of the Audiveris application, the produced files (.omr and .mxl) often contain a few errors, apart from all my gratitude and respect to the Audiveris developpers and their works.

It seems to me that the menu of the Audiveris application does not offer some tools for the user to bring correction to the produced encoded result (in the .omr or in the .mxl file). They are all to be executed in MuseScore, when it is possible. For instance, So, I had like to ...

I) modify the heading template to have a three-part heading : Name of the music piece, music author and text author

I'm not sure to understand what you are asking for. There is no such thing as a formalized "header template". For Audiveris, these are just plain sentences, for which a simplistic heuristic assigns default "roles". In your case, you can merely select each of the 3 sentences and, in the InterBoard, manually assign each any role you like.

II) add the missing indication the time signature at the beginning of the anacrusis.

You can manually assign the time signature to the underlying glyph, or drag n' drop from the ShapeBoard if you don't have any suitable underlying glyph.

III) set the attrribute of the first bar as being an anacrusis.

This is not an attribute you can directly set. It is simply a starting measure with a duration shorter than the duration indicated by the time signature. (BTW, I can't see any such measure in your PDF example)

IV) Repetition and codas : Repeat signs : Volta brackets (1st- and 2nd-time bars) : How to rectify the numbers 99. in the brackets to 1., 2. ..., and make the playing tool of MuseScore interprete them correctly ?

The "99" number is the default value when the OMR engine has failed in detecting and reading the number indication of a volta. It is meant to call user attention on it: you have to manually modify this number. To do so, select the underlying word and modify its content in InterBoard, to something like "1" or "1." (or any other number).

V) place manually the missing barlines.

Have you tried to drag n' drop a barline (of the desired shape) from the ShapeBoard? Please do so, you'll notice that inserting (or deleting) a barline will prompt you for confirmation and modify the measure horizontal borders.

hbitteur avatar Aug 05 '22 17:08 hbitteur

Many thanks, Hervé, for your quick and comprehensive answer.

Attached, you will find the three missing files, in zip format :

Indeed for this sheet, we don't have an anacrusis, there is no missing time signature nor missing barline.

  1. in both Volta's -> "Commande edit : element non valide dans l'état actuel"

Eventually this point: Which is the way for me to move this discussion to [audiveris/discussions] ?

Best Regards

Charvadam avatar Aug 12 '22 16:08 Charvadam

No news on this issue. Should we close it?

hbitteur avatar Jun 29 '23 09:06 hbitteur