lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function to force accidentals on a subset of notes


From: Jean Abou Samra
Subject: Re: function to force accidentals on a subset of notes
Date: Sat, 21 Oct 2023 01:36:59 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

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 #t)

on each of them.

Best,

Jean

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]