lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI channels


From: David Kastrup
Subject: Re: MIDI channels
Date: Wed, 21 Mar 2012 00:31:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Martin Tarenskeen <address@hidden> writes:

> On Tue, 20 Mar 2012, Frank Steinmetzger wrote:
>
>> On Tue, Mar 20, 2012 at 09:11:20PM +0100, Martin Tarenskeen wrote:
>>
>>> Hi,
>>> [...]
>>> For this purpose I need to write a pianotune that uses MIDI channel 3 for
>>> the Left Hand part, and MIDI channel 4 for the Right Hand part. A bit
>>> strange, I agree, but this is what the PianoBooster docs tell me to do.
>>>
>>> Can Lilypond be tweaked to produce this? It needs to produce a readable
>>> PDF as well as such a MIDI file.
>>
>> Well since Lilypond enumerates the MIDI channels as they are needed,
>> you could
>> simply produce a MIDI score that has one empty staff, thus pushing the other
>> staves one channel down. (The first channel is used by lilypond itself).
>
> That's one of the things I tried, but doesn't work.
>
> I have discovered Lilypond only creates a new MIDI channel if a Staff
> contains music.
>
> For example I created a file miditest.ly:
>
> \version "2.13.34"
> \score {
>   <<
>     \new Staff {}
>     \new Staff {}
>     \new Staff { c' }
>     \new Staff { c' }
>   >>
>   \midi {}
> }

Put music there, then.  Just s should suffice.

-- 
David Kastrup




reply via email to

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