lilypond-user
[Top][All Lists]
Advanced

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

Re: custom voiceStyle


From: Marc Hohl
Subject: Re: custom voiceStyle
Date: Mon, 22 Oct 2012 20:31:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1

Am 22.10.2012 16:30, schrieb Gagi Petrovic:
Dear Ponders, how can one change the defaults for voiceOneStyle? Or is it just as easy to create a custom style? Thank you!

Kind regards, Gagi

example of code:
<< \voiceOne { d2~\( d8[es] as16[f g8~]\) }
\new Voice { \voiceTwo \voiceOneStyle d2~ d2 }
>> \oneVoice
I don't know what you want to achieve, but
\voiceOneStyle is defined in ly/property-init.ly as

voiceOneStyle = {
  \override NoteHead #'style = #'diamond
  \override NoteHead #'color = #red
  \override Stem #'color = #red
  \override Flag #'color = #red
  \override Beam #'color = #red
}

so you can define

mySuperVoiceStyle = { ... }

with the settings you like.

HTH,

Marc



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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