lilypond-user
[Top][All Lists]
Advanced

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

\voiceOne style in a new context


From: Kieren MacMillan
Subject: \voiceOne style in a new context
Date: Wed, 9 Sep 2009 09:27:04 -0400

Hi all,

I want to create a new Voice context which has all of the \voiceOne setting defaults — unfortunately, the following [for obvious reasons] doesn't work:

  \context {
    \Voice
    \name "UpperVoice"
    \alias "Voice"
    \voiceOne
  }

In property-init.ly, we find

  voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)

and then in music-functions.scm we find

   (define-safe-public (make-voice-props-set n)
     ...

How can I call this function inside the \context definition?
Or is there a better/easier way to make "UpperVoice" be a \oneVoice?

Thanks,
Kieren.



reply via email to

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