[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \set Staff.midiInstrument has no effect in RhythmicStaff
From: |
Thomas Morley |
Subject: |
Re: \set Staff.midiInstrument has no effect in RhythmicStaff |
Date: |
Sun, 26 Apr 2015 02:19:01 +0200 |
2015-04-26 1:51 GMT+02:00 Davide Liessi <address@hidden>:
> Il 26/04/15 01.38, David Kastrup ha scritto:
>>
>> Davide Liessi <address@hidden> writes:
>>>
>>> "\set Staff.midiInstrument = ..." has no effect when used inside a
>>> RhythmicStaff.
>>
>>
>> Minimal example exhibiting the problem, version number?
>
>
> \version "2.19.15"
> \score {
> \new RhythmicStaff {
> %\set RhythmicStaff.midiInstrument = "flute"
> %\set Staff.midiInstrument = "flute"
> c
> }
> \midi { }
> }
>
> If I uncomment the "\set RhythmicStaff..." line, the resulting MIDI file
> contains the expected program change event setting the MIDI instrument to
> flute.
> If I uncomment the "\set Staff..." line, the resulting MIDI file doesn't
> contain any program change events.
>
> Best wishes.
> Davide
Maybe Issue 4281, should be fixed for 2.19.17 and late.
Try:
\score {
\new RhythmicStaff {
%\set RhythmicStaff.midiInstrument = "flute"
\set Staff.midiInstrument = "flute"
c
}
\midi {
\context {
\RhythmicStaff
\alias Staff
}
}
}
Does it help?
Cheers,
Harm