bug-lilypond
[Top][All Lists]

## Re: MIDI interface (feature request)

 From: Hans Aberg Subject: Re: MIDI interface (feature request) Date: Tue, 17 Mar 2009 21:25:24 +0100

On 17 Mar 2009, at 02:32, Kees van den Doel wrote:

I would like to see a general method to insert MIDI command in the score. My specific need is to add vibrato to certain notes by setting the appropriate controller. My application is Persian music where vibrato is a "must" on
certain notes.

First you can write something like
%mytrill = <layout-definition>
mytrill = <midi-definition>
and then comment the one you don't use in two different compiles for PDF and MIDI.

The second step might be to combine these two definitions into one, which can recognize the two \layout and \midi contexts. I don't know if that is possible, but perhaps somebody here could tell.

Hans