lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing of default midi instrument


From: Thomas Morley
Subject: Re: Changing of default midi instrument
Date: Sat, 16 Mar 2013 19:54:16 +0100

2013/3/16 Peter Schütt <address@hidden>:
> Hallo,
>
> [..]
>>> I am new in Lilypond.
>>> I try to change the default midi instrument (piano) for a song to a
>>> violin.
>>
>> http://lilypond.org/doc/v2.17/Documentation/notation/midi-
> instruments#index-MIDI_002c-instruments
>
> I found this page, but I do not find out how the correct commands and syntax
> is to change the default instrument.


\score {
 \new Staff
   % here
   \with { midiInstrument = #"flute" }
   {
     \relative c' {
             % or here
             %\set Staff.midiInstrument = #"glockenspiel"
           c1
           d
           e
           f
           g
           a
           b
           c
     }
   }
   \layout {}
   \midi {}
}

>
> Sorry, in German I would say I have a board before my head.
To be a blockhead.

Believe me, we all know what you mean. :)

HTH,
  Harm



reply via email to

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