Thank you very much for your advice….

I did attach my .ly file and as you can see I had already made use of variables.
But I didn't think of two separate scores - thanks for that idea.

You help is truly appreciated but before posting I had already gone through all 
the MIDI Notation, Learning and Snippets docs.
That's what they are there for right? It's up to me to do my homework before 
bothering others isn't it?

But I didn't see anything about being able to choose the MIDI channel for a 
specific instrument. All that it says is:
"The MIDI output allocates a channel for each staff, and reserves channel 10 
for drums. 
 There are only 16 MIDI channels per device, so if the score contains more than 
15 staves, MIDI channels will be reused. "

Perhaps my case is unusual - I am planning to use a hardware synth, Roland's 
Sound Canvas, rather than a software one.

respect….

Peter

On 2015-03-16, at 10:42 PM, H. S. Teoh <hst...@quickfur.ath.cx> wrote:

> On Mon, Mar 16, 2015 at 10:09:18PM -0400, Peter Teeson wrote:
>> My lead sheet is done and now I want to work on the instruments.
>> 
>> So my first question is 
>> #1 How to I stop the lyrics from appearing in the MIDI file?
> 
> When it comes to working with MIDI in lilypond, your best bet is always
> to put your music in variables and use a separate \score dedicated for
> MIDI, where you can put in only stuff intended for MIDI and leave out
> everything else (or conversely, put in stuff needed to make MIDI work
> nicely but shouldn't appear in the typeset score).
> 
> So I would put the music in one (set of) variable(s), and the lyrics in
> another variable, and then in the \score block intended for typesetting,
> use both (set of) variables, while in the \score block intended for
> MIDI, leave out the lyrics variable(s). Something like this:
> 
>       music = ... % put your instrumental notes here
>       lyrics = ... % put your lyrics here
> 
>       % This block is intended for layout
>       \score {
>               \music
>               \addlyrics \lyrics
>               \layout {}
>       }
> 
>       % This block is intended only for MIDI
>       \score {
>               \music
>               % N.B. don't put \lyrics here
>               \midi {}
>       }
> 
> 
>> Also
>> #2 How do I set the MIDI channel to use - in this case for the
>> vibraphone?
> 
> Perhaps this page might help?
> 
>       http://lilypond.org/doc/v2.18/Documentation/notation/midi-instruments
> 
> 
> T
> 
> -- 
> It is the quality rather than the quantity that matters. -- Lucius
> Annaeus Seneca
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to