lilypond-user
[Top][All Lists]
Advanced

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

Re: panning in timidity wrong


From: Martin Tarenskeen
Subject: Re: panning in timidity wrong
Date: Thu, 9 Jan 2014 14:52:02 +0100 (CET)
User-agent: Alpine 2.11 (LFD 23 2013-08-11)



On Thu, 9 Jan 2014, address@hidden 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



reply via email to

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