[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamics: integrated or separate variable?
From: |
Kieren Richard MacMillan |
Subject: |
Re: dynamics: integrated or separate variable? |
Date: |
Mon, 10 Apr 2006 13:38:57 -0400 |
Hello, Rick:
I try to keep as much as possible OUT of the notes list
Me, too! I've been thinking of using the new \parallelMusic feature
as a replacement mechanism, e.g.,
%% CODE BEGINS
\parallelMusic #'(notes dynamics)
{
g'4 g' g' g' |
s1\f |
g'4 g' g' g' |
s2\> s2\p
}
\new Staff << \notes \dynamics >>
%% CODE ENDS
This keeps the dynamics close to the notes, but not truly
"embedded" (which I often find visually confusing), and allows for
such things as reusing notes with different dynamics, e.g., the code
above can be written as
%% CODE BEGINS
\parallelMusic #'(notes dynamics)
{
\repeat "unfold" 2 { g'4 g' g' g' } |
s1\f s2\> s2\p
}
\new Staff << \notes \dynamics >>
%% CODE ENDS
And the 'dynamics' voice could then be reused on different staves
(e.g., in a choral piece), if desired.
However, I'm still not 100% sure of what I will eventually settle on
as my "coding style"...
Best,
Kieren.