MobileSheets Forums

Full Version: ABC Notes in Chord Pro Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I'm currently working on displaying ABC notes in the Chord Pro file.
The problem is that I export a sheet music file as XLM and then use it with the program
EasyABC open is displayed correctly.

In picture 1 you can see the notes in the EasyABC program as I wrote them
also be displayed correctly. (3 bars per row)

When I put the (picture 2 and 3) line into the ChordPro file, another measure is suddenly inserted with only one note.
I hope I was able to express myself clearly.

Gr
Achim from Trier
If you share your ChordPro file I can take a look.
We'll have to have you test this again after I switch my ABC implementation over to use the newer abc2svg, as it's probably not worth the effort to explore this further until then.

Mike
(10-04-2024, 08:31 AM)itsme Wrote: [ -> ]If you share your ChordPro file I can take a look.

Hallo,
danke für deine Antwort. Soll ich dir die Datei per e-Mail schicken?
Ins Forum hochladen wäre am einfachsten.Wenn du das nicht willst, schick sie an die Kontaktadresse meiner Band Moonlight Crisis, siehe meine Signatur.
(10-05-2024, 05:06 PM)itsme Wrote: [ -> ]Ins Forum hochladen wäre am einfachsten.Wenn du das nicht willst, schick sie an die Kontaktadresse meiner Band Moonlight Crisis, siehe meine Signatur.

Hallo, habe di Datei auf deine mail adresse geschickt.
vielen dank

gr
Achim
I received your file and localized the issues. Probably my findings are of interest for Mike and other colleagues, so I extracted two relevant measures from the ChordPro file to avoid possible copyright issues when I post it here.
I use .cho as file extension for the example files, because .chopro is not accepted by the forum.

Here we go:
1. Hint for using EasyABC
ChordPro files with embedded ABC can be opened in EasyABC if you select "Any file (*.*)" instead of "ABC file (*.abc;*.txt;*.mcm)" in the "File Open" window.
Just insert an empty line before {end_of_abc} to mark the end of the ABC code. Otherwise EasyABC tries to interpret {end_of_abc} as ABC notation and renders some additional nonsense
[attachment=2932]

2. Snippet 1 MobileSheets requires I:linebreak $
otherwise the ABC section is not shown. 
That's not part of the reported issue, I just noticed that during my investigation.
[attachment=2936]
[attachment=2934]
Because the forum allows not more than 5 attachments per post I have to split it.

3. Snippet 2 < is not accepted to specify dotted eighth notes
That's the cause of the reported issue
[attachment=2939]
[attachment=2940]
4. Snippet 3 my first workaround: I split the dotted eighths into two notes
[attachment=2942]
[attachment=2943]

The ABC documentation shows better ways to write dotted notes, please test that yourself
http://abcnotation.com/wiki/start?do=sea...te_lengths
[attachment=2944]
5. Snippet 4 - couldn't resist to try one of the variants from the ABC wiki
pretty good - isn't it?
[attachment=2945][attachment=2947]
Thank you very much for your help.
Really great.



gr
Achim
(10-05-2024, 11:55 PM)itsme Wrote: [ -> ]Just insert an empty line before {end_of_abc} to mark the end of the ABC code.
It's even documented:
https://www.chordpro.org/chordpro/direct...abc-source