On Thu, 9 Jan 2014, k...@aspodata.se wrote:
I'm using:
\version "2.19.0"
midi_a = {
\set Staff.midiInstrument = #"electric bass (finger)" % 34
\set Staff.midiPanPosition = #-1
}
midi_b = {
\set Staff.midiInstrument = #"electric bass (finger)" % 34
\set Staff.midiPanPosition = #0
}
midi_c = {
\set Staff.midiInstrument = #"electric bass (finger)" % 34
\set Staff.midiPanPosition = #1
}
ma = \relative c'' {
\midi_a
c4 b a g | R1*2 |
}
mb = \relative a' {
\midi_b
R1 | g4 f e d | R1 |
}
mc = \relative a, {
\midi_c
R1*2 | d4 c b c |
}
\score {
<<
\new Staff \ma
\new Staff \mb
\new Staff \mc
>>
\midi { }
}
(midiPanPosition is documented in the internals doc, under
2.2.72 Midi control function performer)
The midi file looks good, but when I run it through timidity
\ma sound in the middle, \mb and \mc to the right. Commenting away
the midiInstrument, the panning comes out as it should.
Has anyone experienced this, can anyone recommend another midiplayer?
I tried your example with Timidity++ on Fedora 20 and it sounds OK here:
Left -> Center -> Right
To suggest alternative MIDI players we need to know what OS you are using?
Just a wild guess: have you tried using another Soundfont/Patchset?
BTW: thanks for the example. I did not know it was possible setting MIDI
panning in Lilypond - I just needed something like this for my own scores
:-)
--
MT
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user