lilypond-user
[Top][All Lists]
Advanced

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

Re: Is there a better way of assigning an instrument name to Voice?


From: caagr98
Subject: Re: Is there a better way of assigning an instrument name to Voice?
Date: Tue, 4 Apr 2017 19:51:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

<<
  \new Staff = "mel" \with { instrumentName = "Melody" } \melody
  \new PianoStaff \with { instrumentName = "Piano" } <<
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
>>

That *should* work.

You forgot to reply-list again.

On 04/04/17 19:47, Mike Dean wrote:
Still had struggles getting the output correct with "\with"

Mike Dean

On Tue, Apr 4, 2017 at 1:41 PM, <address@hidden
<mailto:address@hidden>> wrote:

    Still not using \with?

    On 04/04/17 19:39, Mike Dean wrote:

        After trial by errors and caagr98's (thanks much!!!) help:

        <<
            \new Staff = "mel" { \melody }
            <<  \set Staff.instrumentName = "Melody" >>
             \new PianoStaff <<
            \set PianoStaff.instrumentName = #"Piano  "
            \new Staff = "upper" \upper
            \new Staff = "lower" \lower
          >>



        (

        Mike Dean

        On Tue, Apr 4, 2017 at 12:56 PM, Mike Dean <address@hidden
        <mailto:address@hidden>
        <mailto:address@hidden <mailto:address@hidden>>> wrote:

            < < \new Voice = "mel" { \melody }
               *\set Voice.instrumentName = #"Melody"*
                 \new PianoStaff <<
                \set PianoStaff.instrumentName = #"Piano  "
                \new Staff = "upper" \upper
                \new Staff = "lower" \lower
              >>
            >>
            Mike Dean




        _______________________________________________
        lilypond-user mailing list
        address@hidden <mailto:address@hidden>
        https://lists.gnu.org/mailman/listinfo/lilypond-user
        <https://lists.gnu.org/mailman/listinfo/lilypond-user>


    _______________________________________________
    lilypond-user mailing list
    address@hidden <mailto:address@hidden>
    https://lists.gnu.org/mailman/listinfo/lilypond-user
    <https://lists.gnu.org/mailman/listinfo/lilypond-user>





reply via email to

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