Posts: 48
Threads: 11
Joined: Jan 2013
Reputation:
0
01-04-2025, 02:13 AM
(This post was last modified: 01-08-2025, 07:00 PM by Joche.)
First Happy New Year for all,
When I use {capo:2} directive in a chorpro tab with abc score.
abc score and chordpro don't transposed correctly once I use transpose function.
If I try to modify directive like {capo:0} for reseting capo information. Capo 2 stay displayed and do not make a reset.
Thanks
Joche
Posts: 48
Threads: 11
Joined: Jan 2013
Reputation:
0
Any idea to help me if it's a bug or not ?
Thanks.
Joche
Posts: 1,910
Threads: 296
Joined: Sep 2014
Reputation:
33
01-09-2025, 01:54 AM
(This post was last modified: 01-09-2025, 01:55 AM by itsme.)
Does your ChordPro file contain a {key: directive?
I already reported it as a bug that it should also work without it, but by now a {key: directive is required to set the key field in the database and to make transpose work correctly.
Posts: 48
Threads: 11
Joined: Jan 2013
Reputation:
0
01-09-2025, 05:52 PM
(This post was last modified: 01-09-2025, 09:06 PM by Joche.)
Yes my chordpro file have a {key : Ab} and {capo : +2} directives.
Posts: 13,604
Threads: 302
Joined: Apr 2012
Reputation:
246
Two things:
1) The capo is not parsed out again if you modify the file. This is to ensure that a user doesn't lose their selected capo value in case it does not match what was specified in the file
2) Load the song, tap the center, tap the A at the top right, then Text Display Settings. That's where the capo slider shows the current capo value. If the eyeball is white (meaning unselected), it means the capo is not applied to transpose chords. It is off by default after much discussion about it on the forums. So you have to tap the eye icon to actually apply the capo and then it will transpose the chords.
You can set the capo value to 0 in that dialog if you don't want the capo at all.
Mike
Posts: 48
Threads: 11
Joined: Jan 2013
Reputation:
0
Thanks Mike for the answer,
Normally it works fine as you describe. However when a file is composed of chordpro datas and abctab datas, when I use the transpose function the abctab score and the chords of the chordpro and I use directive capo, datas are not transposed correctly. And when I want to reset the transposition the abctab score does not return to the original key.
If you want the file I use or screenshots, let me know.
Posts: 13,604
Threads: 302
Joined: Apr 2012
Reputation:
246
Yesterday, 02:21 PM
(This post was last modified: Yesterday, 02:21 PM by Zubersoft.)
I'll look into it. I'm currently working on replacing the entire abc backend (it's been an enormous effort and incredibly complicated) so that I can utilize the newer abc2svg.
Mike