• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transposable chords in comments
#1
(This is actually one of the new features of the ChordPro v5 standard)

If a {comment} contains a chord between [brackets], render it without the brackets but allow it to be transposed.

For example:

Code:
{comment: Intro [C]  [G]  [F]  [C]}

would show as "Intro C  G  F  C", but when the song is transposed up a full tone it shows as "Intro D  A  G  D".
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
#2
Can I read more about the upcoming ChordPro v5 standard somewhere? Did you discuss with Mike if MSP will support it?
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
#3
Currently I write things like that as

Code:
{comment: Intro}
[C]  [G]  [F]  [C]
or
Code:
[Intro] [C]  [G]  [F]  [C]

That's why I appreciate that MSP allows just chords without any lyrics (1st example) and formats anything in square brackets like chords (2nd example)
Both have some disadvantages compared with your proposal
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
For the upcoming ChordPro v5 standard, see http://www.chordpro.org/chordpro/v50.html .

As for discussing with Mike: That's what this feature request is for.
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
#5
Thank you for the info.
How about making "Stay tuned for the upcoming release of ChordPro format version 5.0!" on http://www.chordpro.org/chordpro/index.html a link to that draft page?
Marking the new features of V 5.0 would help to understand what's going to happen.
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
#6
Excellent suggestion, thanks!
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
#7
(11-17-2016, 04:27 AM)sciurius Wrote: Excellent suggestion, thanks!
You're fast ;-) Thanks
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
#8
Trying to be like Mike Wink
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
#9
I'll have to work on slowly adding the new features in the v5.0 spec. Some things like the new image directive may be restricted depending upon the OS and permissions. For example, in Windows 10, I cannot access any file outside the storage location, as universal apps are very restricted in terms of what files they can access. So that means the image would need to use a relative path most likely, but then it's up to the user to provide the images beside the text file (which I'm not sure how I would handle during the import process). That's probably just a feature that users who manage their own storage location would utilize.
Reply
#10
I think it is acceptable to restrict this to (or "is guaranteed to work only for") images that reside in the same folder as the referring ChordPro document.
It is also acceptable to require (e.g.) the specified image file name to correspond to a file under management of MSPro, (another real or pseudo) song, so the image files can be imported and managed just like all the other MSPro files.
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
#11
(11-16-2016, 10:22 PM)sciurius Wrote: For the upcoming ChordPro v5 standard, see http://www.chordpro.org/chordpro/v50.html .

As for discussing with Mike: That's what this feature request is for.

Took a quick peek, looks like some good stuff that would make MSP even more awesomererer! Big Grin Thanks much for the effort.
Samsung Note 10.1 GT-N8013ZW / iPad Pro / AirTurn BT-105 / AirTurn BT200S-4
Reply
#12
I've added support for transposing chords in comments based upon the version 5 standard. This will be available in version 1.7.8.

Mike
Reply
#13
Great! Thanks a lot!
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
#14
Great. I definetely will use it.
It would be even more valuable if I could specify font parameters like font size, font color, background color, bold, italic ... independently for comment, comment_italic and other ChordPro styles.
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
#15
I'll see what I can do with that at some point. It's going to require a lot more changes than what I had to do to support transposing chords in comments though. I also have to change the transposing logic based upon the feedback you both provided me in that other thread, so that is probably higher priority.
Reply




Users browsing this thread:
7 Guest(s)


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