lilypond-user
[Top][All Lists]
Advanced

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

Re: Hide Notes but display Accidental


From: Rajesh Baskar
Subject: Re: Hide Notes but display Accidental
Date: Fri, 18 Nov 2022 10:48:23 -0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Hi Lukas,

Thanks for your help, this really worked and also thanks for the other recommendations.

On 11/17/2022 11:55 PM, Lukas-Fabian Moser wrote:
Hi Raj,

probably easiest:

\version "2.22.0"

\language english

\header {
  tagline = ##f
}

\score {
  \new Staff \with { \omit TimeSignature } {
    \set Staff.midiInstrument = "Acoustic Grand Piano"
    \key c \major
    \time 5/1
    \clef bass

    \hideNotes
    \undo \hide Accidental  % <-----------

    f1 g a bf c' \bar "||"
  }
  \layout {
    \context {
      \Score
      proportionalNotationDuration = #(ly:make-moment 1/2)
    }
  }
  \midi { \tempo 1 = 72}
}

I also took the liberty of making some other changes I would recommend.

Lukas


reply via email to

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