Re: Question regarding ChordNames

2024-03-14 Thread Xavier Scheuer
Hi Jean, Are you adding this to the LSR? I don't know if it would make sense to add it to the documentation as well, personally I don't engrave scores that would use this. Best regards, Xavier On Wed, 13 Mar 2024 at 09:55, Jean Abou Samra wrote: > Mahalo, X. I am using the naturalizeMusic

Re: Question regarding ChordNames

2024-03-13 Thread John Helly
Mahalo, Jean. That works perfectly.  Exactly what I was hoping for.  All the chordnames are correctly resolved to the proper enharmonic. J. On 3/12/24 22:55, Jean Abou Samra wrote: Mahalo, X. I am using the naturalizeMusic function and will look into extending that.  Maybe that has some

Re: Question regarding ChordNames

2024-03-13 Thread David Kastrup
John Helly writes: > Aloha. > > Here's an MWE to exhibit the issue. > > I have a flat note (bes) that I want to transpose down 4 half-tones to > F#.  However, when the transpose is applied, the result is Gb.  I > understand that a flat note was the initial value so maybe LP is > preserving that

Re: Question regarding ChordNames

2024-03-13 Thread John Helly
Wow.  Mahalo. I don't understand this yet but I very much appreciate your response. J. On 3/12/24 22:55, Jean Abou Samra wrote: Mahalo, X. I am using the naturalizeMusic function and will look into extending that.  Maybe that has some nuggets to mine. |\naturalizeMusic| is not going to

Re: Question regarding ChordNames

2024-03-13 Thread Jean Abou Samra
> Mahalo, X. I am using the naturalizeMusic function and will look into > extending that.  Maybe that has some nuggets to mine. `\naturalizeMusic` is not going to work well on `\chordmode` music (it will destroy the interval in chords, leading to wrong chord names), but you can use code like

Re: Question regarding ChordNames

2024-03-13 Thread Raphael Mankin
On 13/03/2024 03:50, John Helly wrote: Aloha. Here's an MWE to exhibit the issue. I have a flat note (bes) that I want to transpose down 4 half-tones to F#.  However, when the transpose is applied, the result is Gb.  I understand that a flat note was the initial value so maybe LP is

Re: Question regarding ChordNames

2024-03-13 Thread John Helly
Mahalo, X. I am using the naturalizeMusic function and will look into extending that.  Maybe that has some nuggets to mine. J. On 3/12/24 21:43, Xavier Scheuer wrote: On Wed, 13 Mar 2024 at 04:51, John Helly wrote: > > Aloha. > > Here's an MWE to exhibit the issue. > > I have a flat note

Re: Question regarding ChordNames

2024-03-13 Thread Xavier Scheuer
On Wed, 13 Mar 2024 at 04:51, John Helly wrote: > > Aloha. > > Here's an MWE to exhibit the issue. > > I have a flat note (bes) that I want to transpose down 4 half-tones to F#. However, when the transpose is applied, the result is Gb. I understand that a flat note was the initial value so

Re: Question regarding ChordNames

2024-03-12 Thread John Helly
Well, that approach won't handle G to C#.  I still get Db with no alternative. J On 3/12/24 19:02, John Helly wrote: M. Prompted by your idea, I could do the equivalent with a short bash script to edit selected chords to be the appropriate enharmonic form anticipating the transpose.

Re: Question regarding ChordNames

2024-03-12 Thread John Helly
M. Prompted by your idea, I could do the equivalent with a short bash script to edit selected chords to be the appropriate enharmonic form anticipating the transpose. Mahalo. On 3/12/24 18:48, John Helly wrote: Mahalo, that's an interesting approach.  Maybe something in that vein would do

Re: Question regarding ChordNames

2024-03-12 Thread John Helly
Mahalo, that's an interesting approach.  Maybe something in that vein would do it.  I'll experiment. However, I have a whole song that has a lot of chromatic chord changes and I suspect it'll be a 'fix one, break one' situation. I'd like to find a general solution or some way to make a

Re: Question regarding ChordNames

2024-03-12 Thread Michael Werner
Hi John, On Tue, Mar 12, 2024 at 11:51 PM John Helly wrote: > Aloha. > > Here's an MWE to exhibit the issue. > > I have a flat note (bes) that I want to transpose down 4 half-tones to > F#. However, when the transpose is applied, the result is Gb. I > understand that a flat note was the

Re: Question regarding ChordNames

2024-03-12 Thread John Helly
Aloha. Here's an MWE to exhibit the issue. I have a flat note (bes) that I want to transpose down 4 half-tones to F#.  However, when the transpose is applied, the result is Gb.  I understand that a flat note was the initial value so maybe LP is preserving that specification? Nonetheless,

Re: Question regarding ChordNames

2024-03-12 Thread John Helly
Mahalo for the response. I agree that your example works.  I only recently discovered \english and don't routinely use it, although perhaps I should. Something else I'm doing must be overriding the enharmonic interpretation.  I'll see if I can factor it out. J. On 3/12/24 02:44, Kieren

Re: Question regarding ChordNames

2024-03-12 Thread Kieren MacMillan
Hi John, > I've got a guitar leadsheet that displays the guitar chord G# as Ab. That’s definitely weird… On my machine, this displays G# as G# and Ab as Ab: \version "2.25.11" \language "english" gsharp = \chordmode { gs1 } aflat = \chordmode { af1 } << \new ChordNames { \gsharp } \gsharp

Question regarding ChordNames

2024-03-11 Thread John Helly
Aloha. I've got a guitar leadsheet that displays the guitar chord G# as Ab.  For me, it's more natural to read G# and I would like to change the ChordNames to a preferred set but I can't find the (a?) description of how to approach this. I found some Scheme code to get rid of double-flats