Karl Hammar:
> David Kastrup:
> > [email protected] (Karl Hammar) writes:
> >
> > > I can set midi instrument with e.g.
> >
> > [...]
> >
> > > but can I set where in the stereo left-right sound picture the sound
> > > will be placed ?
> >
> > No.
...
> http://home.roadrunner.com/~jgglatt/tech/midispec/pan.htm
>
> mentions pan, perhaps this is fixable.
I'm trying to make
\score { \unfoldRepeats %\articulate
<<
\set Score.midiInstrument = #"electric bass (finger)" % 34
\new ChoirStaff <<
\new Staff {
\set Staff.midiPan = #90
\context Voice = Vs { \fmks }
}
\new Staff {
\set Staff.midiPan = #30
\context Voice = Va { \fmka }
}
\new Staff {
\set Staff.midiPan = #-30
\context Voice = Vt { \fmkt }
}
\new Staff {
\set Staff.midiPan = #-90
\context Voice = Vb { \fmkb }
}
>>
>>
\midi { \tempo 4 = 108 }
}
to work.
Getting from .ly file to c++ was easy, but how do I get the
pan-setting down to midi ?
My current try is
http://turkos.aspodata.se/tmp/pan.diff
and my guess is that somehow
Staff_performer::acknowledge_audio_element
is run, which adds things to the audio_staff.
Then, somehow something from midi-chunk.cc is run.
Soo, how far off from reality am I?
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user