|
Post by dbrendon on Apr 3, 2024 1:09:08 GMT
I'm in the process of testing converting my existing html formatted songs to LP ChordPro format. I have many songs where I have documented single notes (not chords). For example, the lead in notes to Matchbox Twenty '3AM'. According to www.chordpro.org/chordpro/chordpro-chords/ChordPro Implementation: Notes If enabled in the config, ChordPro will understand lowercase root-only chords to mean note names. Note names will be treated (shown, transposed) exactly as chords, but will not account for diagrams. This can be used for example for intro’s that start with some single notes before the chords: {comment: Intro [f] [g] [E] }It seems that LP does display single notes correctly, but is not transposing them properly. Is it possible to implement this feature? Thank you - David
|
|
|
Post by Torsten on Apr 3, 2024 6:30:46 GMT
Hi David,
first: I'll never attempt to implement the full scope of "official" ChordPro - LivePrompter will always just implement a pragmatic subset of "full" ChordPro, with some modifications and extensions that I find useful 😎. But of course I'll build in whatever proves useful when I can.
So far, I haven't seen the need to implement the "Notes" feature of Chordpro - there hasn't been the need to differentiate single notes and chords, since LivePrompter simply doesn't generate chord diagrams. I've seen users write note sections like this:
Intro: {c:(single notes)} [F G C C C]
This displays and transposes nicely.
Personally, I use embedded pictures with MuseScore exports for any non-trivial notation, but of course that won't transpose automatically.
I'll see if I can implement "chords" written in lower case in one of the next versions - just need to be sure this doesn't throw my chord handling mechanisms out of whack - lots of regular expression magic happening there... Currently, chord candidates starting with a lower-case character will simply be treated as strings and not transposed.
One thing to note on the example from the ChordPro documentation: LivePrompter doesn't parse chords in comments - and will not do that in future. Fundamentally, a line is either "text with chords" or "comment", not a mix of both. I am aware that ChordPro seems to allow chords in comments, but I haven't really seen the need to do that in LivePrompter.
Cheers,
Torsten
|
|
|
Post by dbrendon on Apr 3, 2024 13:36:51 GMT
Hi Torsten,
Thanks for considering this, but please don't worry about it at this time.
I've been working thru my use cases and I'm still not sure I'll move to LP. I'm first going to try adding the Cantabile network API to my Song web pages. I already have a lot of time invested in formatting my songs in my html format. Really the only new functionality that I'm looking for is the ability to sync the Cantabile Song with my web page song. If you have any suggestions or hints for this I would appreciate your insight.
Thank you - David
|
|
|
Post by Torsten on Apr 5, 2024 13:20:25 GMT
Hi David
single notes as chords now work in the coming next release.
Using them is a bit easier than in the original ChordPro logic, since LivePrompter allows multiple chords / notes in one set of brackets:
Intro: [f g E]
Cheers,
Torsten
|
|