Re: Hide Notes but display Accidental

2022-11-18 Thread Rajesh Baskar

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


Re: Hide Notes but display Accidental

2022-11-18 Thread Rajesh Baskar

Thanks that worked like a charm.

On 11/17/2022 11:02 PM, Rip _Mus wrote:

\version "2.22.0"
\include "english.ly "

newHideNotes = {
\override NoteHead.transparent = ##t
\override NoteHead.no-ledgers = ##t %optional
\override Stem.transparent = ##t
}

\header { tagline = "" }
\score {
\new Staff
\with {\remove "Time_signature_engraver" }
{
\set Staff.midiInstrument = #"Acoustic Grand Piano"

\key c \major \time 5/1 \clef bass

\newHideNotes

f1 g a bf c' \bar "||"}

\layout {
\context {
\Score proportionalNotationDuration = #(ly:make-moment 1/2)
}
 }
\midi { \tempo 1 = 72}
}

Re: Hide Notes but display Accidental

2022-11-17 Thread Lukas-Fabian Moser

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




Re: Hide Notes but display Accidental

2022-11-17 Thread Rip _Mus
Good morning,
take a look:

%
\version "2.22.0"
\include "english.ly"

newHideNotes = {
\override NoteHead.transparent = ##t
\override NoteHead.no-ledgers = ##t %optional
\override Stem.transparent = ##t
}

\header { tagline = "" }
\score {
\new Staff
\with {\remove "Time_signature_engraver" }
{
\set Staff.midiInstrument = #"Acoustic Grand Piano"

\key c \major \time 5/1 \clef bass

\newHideNotes

f1 g a bf c' \bar "||"}

\layout {
\context {
\Score proportionalNotationDuration = #(ly:make-moment 1/2)
}
 }
\midi { \tempo 1 = 72}
}
%

rip_mus

Il ven 18 nov 2022, 01:04 Rajesh Baskar  ha scritto:

> 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: 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
>


Hide Notes but display Accidental

2022-11-17 Thread Rajesh Baskar

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