[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chordmode changes midi instrument
From: |
Mats Bengtsson |
Subject: |
Re: chordmode changes midi instrument |
Date: |
Thu, 21 Sep 2006 17:07:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 |
I still can't believe that \chordmode has anything to do with the problem.
I just noticed that in your example, you did
\new ChordNames {
\harmonyIntro
\set Staff.midiInstrument = "violin"
}
which means that the instrument isn't specified until after the music
(or actually at the same time as the last note of the piece). If you want
the instrument specified from the top of the piece, the setting should
be done before the first note, i.e.
\new ChordNames {
\set Staff.midiInstrument = "violin"
\harmonyIntro
}
/Mats
Manuel wrote:
Mats Bengtsson <mats.bengtsson <at> ee.kth.se> writes:
The command
\set Staff.midiInstrument = "violin"
tries to set the property midiInstrument in a Staff context, but since you
don't have any Staff context but a ChordNames context, the command won't
do anything. Try
\new ChordNames{
...
\set ChordNames.midiInstrument = "violin"
...
}
instead.
/Mats
Thanks, I tried this and it doesn't change the behavior.
Also note that if I express my chords directly using the < c b g > syntax,
then the instrument is picked up correctly. It only happens if I use
\chordmode as the input format.
Also, changes from ChordNames to say Staff or Voice does not change anything
either.
-Manuel
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================