Ebi Mani wrote: >Is it possible to specify midi channel numbers for a given voice >or switch channels in the middle of a song in lilypond ?.
I know that you can change MIDI instruments in the middle of a song, and set the MIDI instrument on a per voice basis. That might give you the flexibility you need. % snippet modified from % http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files \score { \new Staff << \new Voice \relative c''' { \set midiInstrument = #"flute" \voiceOne \key g \major \time 2/2 r2 g-"Ch." ~ g fis ~ fis4 g8 fis e2 ~ e4 \set midiInstrument = #"violin" d8-"Sw." cis d2 } \new Voice \relative c'' { \set midiInstrument = #"clarinet" \voiceTwo b1-"Gt." a2. b8 a g2. \set midiInstrument = #"violin" fis8-"Sw." e fis2 r } >> \layout { } \midi { \context { \Staff \remove "Staff_performer" } \context { \Voice \consists "Staff_performer" } \tempo 2 = 72 } } %% End snippet Good luck! Rick Kimpel