Martin Tarenskeen <m.tarensk...@zonnet.nl> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user