Re: function to force accidentals on a subset of notes

2023-10-31 Thread Michael Winter via LilyPond user discussion
This is what happens for me too. I think it has something to do with all the other functions I am using.  Oct 30, 2023, 21:25 by l...@gmx.de: > > Hi Michael, > > Am 30.10.23 um 10:42 schrieb Michael Winter: > >> But I am confused about what you said. For me, it is posting the >>

Re: function to force accidentals on a subset of notes

2023-10-30 Thread Lukas-Fabian Moser
Hi Michael, Am 30.10.23 um 10:42 schrieb Michael Winter: But I am confused about what you said. For me, it is posting the accidental on tied notes after line breaks. No I'm confused. :-) If I do \transpose a c' \relative {   a8 gis~ gis g fis g gis a   gis1~ \break gis2 gis } in my example f

Re: function to force accidentals on a subset of notes

2023-10-30 Thread Michael Winter via LilyPond user discussion
Thanks! This seems to work quite well : ) But I am confused about what you said. For me, it is posting the accidental on tied notes after line breaks. Best, Michael Oct 28, 2023, 22:40 by l...@gmx.de: > Hi Michael, > >> Thanks Lukas! >> >> This works but also forces the accidental on tied no

Re: function to force accidentals on a subset of notes

2023-10-28 Thread Lukas-Fabian Moser
Hi Michael, Thanks Lukas! This works but also forces the accidental on tied notes. Sorry for not getting back to you sooner. The following version registers ties and removes our auto-generated accidentals for notes in which a tie ends. (It's a bit overeager and also removes tied accidental

Re: function to force accidentals on a subset of notes

2023-10-22 Thread Michael Winter via LilyPond user discussion
ionto only show the >> flats and naturals for b and bes. Again. I donot want to apply this >> to individual notes. >> >> Sorry if I am missing something. >> >> Best, >> >> Michael >> >> >> Oct 21, 2023, 01:37 by >&g

Re: function to force accidentals on a subset of notes

2023-10-22 Thread Lukas-Fabian Moser
j...@abou-samra.fr: Try |\displayMusic c'! | This shows you that the |!| syntax corresponds to setting the |force-accidental| property to true. Thus, if you have identified the note events you want to force accidentals on, you can do |(ly:music-set-property! the-note-event

Re: function to force accidentals on a subset of notes

2023-10-21 Thread Michael Winter via LilyPond user discussion
Thanks Jean, I am not sure I completely follow. Lets say I have a music sequence: a b c d e f g a bes c d e f g ... How do I apply what you have written as a function to only show the flats and naturals for b and bes. Again. I do not want to apply this to individual notes. Sorry if I am missi

Re: function to force accidentals on a subset of notes

2023-10-20 Thread Jean Abou Samra
Try ``` \displayMusic c'! ``` This shows you that the `!` syntax corresponds to setting the `force-accidental` property to true. Thus, if you have identified the note events you want to force accidentals on, you can do ``` (ly:music-set-property! the-note-event 'force-accidental #

function to force accidentals on a subset of notes

2023-10-20 Thread Michael Winter via LilyPond user discussion
I have a piece that is in the following scale: c d e fis g aes bes b Is it possible to force the accidentals just for the bes and the b? But here is the catch... I am both transposing the part and respelling pitch-classes as show below. The scale above is actually the resulting printed set of n

Re: auto force accidentals

2015-04-20 Thread Mátyás Seress
Hi guys, thank you for the support! I got the answer! :) Best regards, Mat 2015-04-20 20:17 GMT+02:00 Stephen MacNeil : > take a look here > > > http://fritz.rmi.de/dokumentation/lilypond/Documentation/user/lilypond/Automatic-accidentals.html > > HTH > Stephen > ___

RE:auto force accidentals

2015-04-20 Thread Stephen MacNeil
take a look here http://fritz.rmi.de/dokumentation/lilypond/Documentation/user/lilypond/Automatic-accidentals.html HTH Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: auto force accidentals

2015-04-20 Thread Mark Knoop
At 19:16 on 20 Apr 2015, Mátyás Seress wrote: >Hi all, > >I have a question: do you know any command in Lilypond to automatically >force those accidentals which have been changed in the preceding >measure? Let me give you an example: See Documentation: Notation Reference 1.1.3 Displaying pitches -

auto force accidentals

2015-04-20 Thread Mátyás Seress
Hi all, I have a question: do you know any command in Lilypond to automatically force those accidentals which have been changed in the preceding measure? Let me give you an example: \score { \relative c' { \clef "G" \key c \major \time 4/4 a8 b c d e f gis a a g f e d c b a } } Because it i

Re: force accidentals

2005-07-13 Thread Stephen
Mehmet a ecrit: I beg your pardon if I did not express myself as well as a native English speaking person.> I felt unusually confident I knew what you really meant because I have one of the Universal Editions you were talking about as a reference and we had discussed it a little further. Your

Re: force accidentals

2005-07-12 Thread Stephen
I am not sure what the error message means: warning: accidental `5' not found How is '5' an accidental? Of course, since it's not that's why is can't be found, but how is it that it gets looked for? Stephen ___ lilypond-user mailing list lilypo

Re: force accidentals

2005-07-12 Thread Nicolas Sceaux
"Stephen" <[EMAIL PROTECTED]> writes: > I am not sure what the error message means: > > warning: accidental `5' not found > > How is '5' an accidental? Of course, since it's not that's why is > can't be found, but how is it that it gets looked for? > > Stephen Please quote the message to which y

Re: force accidentals

2005-07-11 Thread Nicolas Sceaux
"Stephen" <[EMAIL PROTECTED]> writes: > Nicoas, > > Mehmet meant to say "Can the function be modified to not put an > accidental or natural on notes repeated in the same measure." > > Put it another way and the question is: "Can we make the accidental > engraver treat the natural exactly the way i

Re: force accidentals

2005-07-11 Thread Stephen
Nicoas, Mehmet meant to say "Can the function be modified to not put an accidental or natural on notes repeated in the same measure." Put it another way and the question is: "Can we make the accidental engraver treat the natural exactly the way it treats the sharp and flat?" In Atonal music

Re: force accidentals

2005-07-10 Thread Nicolas Sceaux
"Mehmet Okonsar" <[EMAIL PROTECTED]> writes: > can the function be modified for NOT having the alteration or the natural on > repeated notes in the same octave.. > > forceAlterations = > #(def-music-function (parser location music) (ly:music?) > (music-map (lambda (m) >