• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[fixd in 1.4.3]ChordPro - misaligned chords
#1
When there are two many chords for the text they are confusingly misaligned. A chord has to be displayed above the character that follows the closing bracket ]. Empty space must be inserted if necessary.
See the example screenshot: the Adim chord has to be shown above the word  "her" as the text editor and the screenshot of the other program "Maj7" (it's the name of the PC program) clearly show.


Attached Files Thumbnail(s)
           

.pro   AintSheSweet_TA.pro (Size: 699 bytes / Downloads: 2)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#2
Yes, this is a known problem. I don't space out the lyrics based upon the chord widths, so this is something I'll need to handle at some point.
Reply
#3
This issue made me stop my experiments regarding chord sheets. A pity, it looked pretty promising so far.
At first I used dummy lyrics lines to specify the width of the measures. I used dots (full stops) because their width is close to the width of blanks and colons as markers for the ends of the measures. (ExactlyLikeYou_7)
Then I replaced the dots with blanks and kept the colons. The alignement of the measure bars did not change (ExactlyLikeYou_8)
If you like to try the attached chordpro files you can see that the bar lines nicely stay aligned when transposing adds sharps or flats so that the width of the chord symbols changes.


Attached Files Thumbnail(s)
       

.pro   ExactlyLikeYou_7.pro (Size: 721 bytes / Downloads: 0)
.pro   ExactlyLikeYou_8.pro (Size: 723 bytes / Downloads: 0)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#4
Then I replaced also the colons with blanks. Now MSP removes the dummy lyrics lines because they don't contain visible characters any more. That's fine, so we gain a lot of space.
But the alignment of the measure bars is completely lost. (ExactlyLikeYou_9)
MSP should calculate the positions of the chords based on the blanks on the (dummy) lyrics line, then skip the empty lyrics lines and keep the calculated chord positions.
The good thing:
If that would work as I hoped, we had a way to create transposable chord sheets that are fully compatible with every existing ChordPro program, not only MSP.
The disadvantage:
Counting the blanks is a pain. This could be improved by preparing templates so that the blanks need to be counted only once. Or, far better, some code could do it.


Attached Files Thumbnail(s)
   

.pro   ExactlyLikeYou_9.pro (Size: 713 bytes / Downloads: 1)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#5
It took a lot of work, but I've modified the code to space out the lyrics appropriately and add stretch lines to connect lyrics that are being broken up due to spacing (i.e. the re-p-eat in your example). You shouldn't have to deal with lining things up manually after the next update.

Thanks,
Mike
Reply
#6
Great. Thank you very nuch.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#7
(03-25-2016, 06:04 PM)Zuberman Wrote: It took a lot of work, but I've modified the code to space out the lyrics appropriately and add stretch lines to connect lyrics that are being broken up due to spacing

I appreciate the hard work, I know it wasn't easy since I have it on my TODO for Chordii for a long time and I'm still postponing it...

But won't this change cause many songs to be formatted slightly differently, affecting annotations?
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#8
That could potentially be an issue for some songs, especially if they use chords with more characters like G0/C#, or there is a large delta between the lyric font size and the chord font size. In general, I don't believe it will cause changes in most songs if the chords aren't packed tightly together.

Mike
Reply
#9
The issue with chords and lyrics are fixed. Thank you very much.
My question about aligning chords only is still open.
It seems that, when there are no lyrics at all, blanks stay between the chords in []. I would like to have the cords aligned above the blanks, just the same way as they are aligned above lyrics. Maybe this could be an option.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#10
I'll have to look into making that work properly. Did you provide a file that requires that, or should I just make a test file?
Reply
#11
Just scroll up this thread ExactlyLikeYou_7 / _8 / _9 show what I`m talking about.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.