Suppress chord names from MIDI output

2011-01-18 Thread Brett McCoy
Is there a way to suppress MIDI output for \ChordName context? When I
create a staff with other parts and have chord names at the top, the
output always has a piano playing those chords and it's interfering
with the rest of the piece, plus I don't need the extra track when I
import the MIDI into a sequencer (and it uses up a MIDI track). How do
I prevent this from being in the MIDI output?

-- 
Brett W. McCoy -- http://www.electricminstrel.com

In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world.
    -- Jelaleddin Rumi

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Suppress chord names from MIDI output

2011-01-18 Thread James Bailey

On Jan 18, 2011, at 7:00 PM, Brett McCoy wrote:

 Is there a way to suppress MIDI output for \ChordName context? When I
 create a staff with other parts and have chord names at the top, the
 output always has a piano playing those chords and it's interfering
 with the rest of the piece, plus I don't need the extra track when I
 import the MIDI into a sequencer (and it uses up a MIDI track). How do
 I prevent this from being in the MIDI output?
 
 -- 

Have two \score blocks, one without \ChordName, but including \midi, and one 
with \layout, that includes the \ChordName context.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Suppress chord names from MIDI output

2011-01-18 Thread James Lowe
Brett

-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of 
Brett McCoy
Sent: 18 January 2011 18:00
To: lilypond-user
Subject: Suppress chord names from MIDI output

Is there a way to suppress MIDI output for \ChordName context? When I create a 
staff with other parts and have chord names at the top, the output always has a 
piano playing those chords and it's interfering with the rest of the piece, 
plus I don't need the extra track when I import the MIDI into a sequencer (and 
it uses up a MIDI track). How do I prevent this from being in the MIDI output?

--

[James Lowe] 

See http://lsr.dsi.unimi.it/LSR/Snippet?id=438

Click on the snippet to get the .ly output

This should give you some clues and show you how to remove the midi for that 
context.

James 

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Suppress chord names from MIDI output

2011-01-18 Thread Michael Ellis
+1  Having two score blocks in a book block is working very nicely for me.
Cheers,
Mike


On Tue, Jan 18, 2011 at 1:12 PM, James Bailey
derhindem...@googlemail.comwrote:

 Have two \score blocks, one without \ChordName, but including \midi, and
 one with \layout, that includes the \ChordName context.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Suppress chord names from MIDI output

2011-01-18 Thread Johan Vromans
Brett McCoy idragos...@gmail.com writes:

 Is there a way to suppress MIDI output for \ChordName context? When I
 create a staff with other parts and have chord names at the top, the
 output always has a piano playing those chords and it's interfering
 with the rest of the piece, plus I don't need the extra track when I
 import the MIDI into a sequencer (and it uses up a MIDI track). How do
 I prevent this from being in the MIDI output?

There are several ways to handle this.

I always postprocess the MIDI output, eg. to split chords + 4 parts into
4 separate MIDI files, each having one part plus the chords (but with
decreased volume). It would be trivial to just leave the chords out.

Another way is using tags:

allMusic = {
  
\tag #'scoreOnly \harmonics
\sopranoStaff
... other staffs ...
  
}

%% Generate the printed score.
\score {
  \removeWithTag #'midiOnly \allMusic
  \layout { ... }
}

%% Generate the MIDI.
\score {
  \removeWithTag #'scoreOnly \unfoldRepeats \allMusic
  \midi { ... }
}

HTH,
Johan

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user