lilypond-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
score in a music function?
From
:
Stefan Thomas
Subject
:
score in a music function?
Date
:
Wed, 6 Feb 2013 09:48:55 +0100
Dear community,
is it possible to have the score command in a music function?
I need it for a piece with different movements.
I've tried it with the following code which doesn't work:
\version "2.16.2"
TheScore = #(define-music-function (parser location x y) (ly:music? ly:music?)
#{
\score {
\new StaffGroup
<<
\new Staff \with { instrumentName = "first" } $x
\new Staff \with { instrumentName = "second" } $y
>>
}
#})
first = \relative c' { c4 d e f g1 }
second = \relative c'' { g4 f e d c1 }
\TheScore \first \second
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
score in a music function?
,
Stefan Thomas
<=
Re: score in a music function?
,
David Kastrup
,
2013/02/06
Re: score in a music function?
,
Stefan Thomas
,
2013/02/06
Re: score in a music function?
,
David Kastrup
,
2013/02/06
Message not available
score in a music function?
,
Stefan Thomas
,
2013/02/06
Re: score in a music function?
,
Thomas Morley
,
2013/02/06
Prev by Date:
Re: Bassoon fingering charts O_o
Next by Date:
Re: score in a music function?
Previous by thread:
Re: Overriding Y-extent of Clef doesn't work with v2.17.10
Next by thread:
Re: score in a music function?
Index(es):
Date
Thread