lilypond-user
[Top][All Lists]
Advanced

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

Re: A Midi question


From: H. S. Teoh
Subject: Re: A Midi question
Date: Thu, 13 Sep 2018 10:58:33 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu, Sep 13, 2018 at 03:35:02AM +0200, Simon Albrecht wrote:
> On 13.09.2018 01:29, H. S. Teoh wrote:
> > The solution I've adopted is to always explicitly name all voices,
> > even temporary ones,
> 
> IIRC, they are named by default: "1", "2", etc. so you should just be
> able to use those names.
[...]

You're right!  I just tested the following, and it works correctly:

        \version "2.19.2"
        music = {
                c4 d e f
                << {
                        c'4 c' c' c'
                } \\ {
                        a4 a a a
                } >>
        }
        dynPart = {
                s1\ff
                s4\pp s4\p s4\mp s4\ff
        }
        \score {
                \new Staff <<
                        \context Voice="1" { \dynPart }
                        \context Voice="2" { \dynPart }
                        \music
                >>
                \midi {}
        }

This will simplify my scores quite a bit.  Thanks for the tip!


T

-- 
It said to install Windows 2000 or better, so I installed Linux instead.



reply via email to

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