[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \override NoteHead sélectif
From: |
Daniel Cartron |
Subject: |
Re: \override NoteHead sélectif |
Date: |
Sat, 04 Apr 2015 18:55:33 +0200 |
User-agent: |
KMail/4.13.3 (Linux/3.13.0-46-generic; KDE/4.13.3; x86_64; ; ) |
Le samedi 4 avril 2015 11:00:21, vous avez écrit :
> Bonjour Daniel,
>
> Essaie :
>
> \version "2.16.2"
>
> myCross = #(define-music-function (parser location mus) (ly:music?)
> #{
> \revert NoteHead #'transparent { $mus }
> \override NoteHead #'transparent = ##t
> #})
>
> \relative c' {
> \override NoteHead #'transparent = ##t
> \override NoteHead #'style = #'cross
> c d e \myCross { f } g a \myCross { b c }
> }
Bon histoire d'être bien clair, un fichier minimaliste.
Je voudrais avoir sur la portés supérieure toutes les notes dont les cross et
sur l'inférieure uniquement les cross, et ce à partir de la mm variable Melody
J'ai fait qq essais et ça le fait pas...
\version "2.16.2"
cross = #(define-music-function (parser location mus) (ly:music?)
#{
\override NoteHead #'style = #'cross
\revert NoteHead #'transparent
{ $mus }
\revert NoteHead #'transparent
% \override NoteHead #'transparent = ##t
#})
Melody = \relative c' {
c d e \cross{ f }
g a \cross{ b c }
a b \cross{ b c }
}
melodyStaff = \with {
\override Fingering #'stencil = #point-stencil
}
%
tabStaff = \with {
\override StaffSymbol #'line-count = #1
\remove "Time_signature_engraver"
\override Clef #'stencil = #ly:text-interface::print
\override NoteHead #'transparent = ##t
\override KeySignature #'stencil = ##f
\override Tie #'stencil = ##f
\override Stem #'stencil = ##f
\override Stem #'Y-extent = ##f
\override Flag #'stencil = ##f
\override Beam #'stencil = #point-stencil
\override Dots #'stencil = ##f
\override TupletBracket #'stencil = ##f
\override TupletNumber #'stencil = ##f
\override BreathingSign #'stencil = ##f
\override KeyChangeEvent #'stencil = #point-stencil
\override StringNumber #'stencil = #point-stencil
\override StrokeFinger #'stencil = ##f
\override StaffSymbol #'staff-space = #1
}
\score {
<<
\new Staff \with {
\melodyStaff
}
\Melody
\new DrumStaff \with {
\tabStaff
}
\Melody
>>
}
--
Cordialement, Daniel Cartron
« Depuis que j'ai une maîtresse que j'aime, je n'ai plus envie de tromper ma
femme. »
Sacha Guitry
- \override NoteHead sélectif, Daniel Cartron, 2015/04/04
- Re: \override NoteHead sélectif,
Daniel Cartron <=
- Re: \override NoteHead sélectif, Pierre Perol-Schneider, 2015/04/04
- Re: \override NoteHead sélectif, Daniel Cartron, 2015/04/05
- Re: \override NoteHead sélectif, Pierre Perol-Schneider, 2015/04/05
- Message not available
- Re: \override NoteHead sélectif, Pierre Perol-Schneider, 2015/04/05
- Re: \override NoteHead sélectif, Daniel Cartron, 2015/04/06
- Re: \override NoteHead sélectif, Pierre Perol-Schneider, 2015/04/06
- Re: \override NoteHead sélectif, Daniel Cartron, 2015/04/06
- Message not available
- Re: \override NoteHead sélectif, Pierre Perol-Schneider, 2015/04/06