lilypond-user
[Top][All Lists]
Advanced

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

Re: More than 16 MIDI instruments


From: Christian Masser
Subject: Re: More than 16 MIDI instruments
Date: Wed, 30 Dec 2020 11:02:44 +0100

Hi! 

I think that depends very much upon what you want to do with the MIDI file. If it's only for listening purposes to check for wrong notes, then you can send more instruments (like alle the strings for example) to the same channel. Disadvantage: they all sound the same and if the same note occurs two times at the same time the first note that ends cancels both, because they are one end the same note in one channel.

If you need every single instrument on a separate channel for further work outside lilypond you could just make two separate books/scores with different halfs of the instruments and merge them back where you want to continue working with them. (Kind of like stem export in a DAW.)

All the best
Christian

ebenezer <ebenezer@thedorsetpagdens.plus.com> schrieb am Mi., 30. Dez. 2020, 10:40:
Hi everyone,
I'm creating my first Lilypond score, an arrangement of A Te O Cara.
I am using Frescobaldi and used the Score Wiazrd to get started.
I have now come across a MIDI limitation, a maximum of 16 instruments as I understand it.
I'm assuming I'm not the first to come across this limitation; what is the easiest way to accommodate more than 16 instruments within the constraints of a score structured this way? ...

\version "2.20.0"
\language "english"

\header {
  % ...
}

\paper {
  #(set-paper-size "a3")
}

\layout {
 
% ...
}

global = {
  \key d \major
 
% ...
}

flute = {
  \global
  % -- measures _0 to _7
  R1.  |
  r4.   r4.   r4.   a''4( a''16) a''16  |
  % ...
}

% ... more voices

flutePart = \new Staff \with {
  instrumentName = "Flute"
  shortInstrumentName = "Fl."
  midiInstrument = "flute"
} \flute

% ... more staves

\score {
  <<
    \flutePart
    % ... more parts
  >>
  \layout {
    \set Score.currentBarNumber = #0
  }
  \midi { }
}
 
If this structure is not conducive to implementing dynamic switching of MIDI instruments or whatever is required, I would consider changing it, but now rather than when I've completed the score!

Thank you for reading.

reply via email to

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