lilypond-user
[Top][All Lists]
Advanced

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

Hide Notes but display Accidental


From: Rajesh Baskar
Subject: Hide Notes but display Accidental
Date: Thu, 17 Nov 2022 15:58:47 -0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Hi Everyone,

I want to hide all the notes but display it's accidental. I can do the opposite of it by using \hidenotes and \omit Accidental. I want to achieve something like the below image. Please help.

Image



\version "2.22.0" \include "english.ly" \header { tagline = "" } \score {\new Staff \with {\remove "Time_signature_engraver" } {\set Staff.midiInstrument = #"Acoustic Grand Piano"
                                \key c \major \time 5/1 \clef bass
                            
                                \hideNotes  f1 g a bf c' \bar "||"}
\layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/2) } }
\midi { \tempo 1 = 72}}

Thanks,

Raj

Attachment: acc.png
Description: PNG image


reply via email to

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