lilypond-user
[Top][All Lists]
Advanced

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

Re: Set midi volume per voice?


From: ghe
Subject: Re: Set midi volume per voice?
Date: Sat, 11 May 2013 13:45:16 +0200 (CEST)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)



Is it possible to set the volume of the midi tracks for each different track?

Till now I have:

one = { a b c d }
two = { d e f g }
global = { \key b \minor }
\score {
 \new Staff <<
   \new Voice = vone { \voiceOne << \global \one >> }
   \new Voice = vtwo { \voiceTwo << \global \two >> }
 >>
 \midi {
   \context { \Staff \remove "Staff_performer" }
   \context { \Voice \consists "Staff_performer" }
 }
}


I think I found a way to do this:

\score {
 \new Staff <<
   \new Voice = vone { \voiceOne << \global s8\pppp \one >> }
   \new Voice = vtwo { \voiceTwo << \global s8\ffff \two >> }
 >>
 \midi {
   \context { \Staff \remove "Staff_performer" }
   \context { \Voice \consists "Staff_performer" }
 }
}

I would be happy to hear about "cleaner" ways to achieve the same effect (for instance to set the volume of individual tracks/voices in the \midi block).

Best,

--ghe



reply via email to

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