Re: Some Midi Output Problems

2008-07-11 Thread Trevor Daniels


You're right (I think), I can't make dynamics work in the ChordMode context 
either.


However, if all you want to do is to silent the chords you can try removing 
the Note_performer, like this:


 \midi {
   \context {
 \ChordNameVoice
 \remove Note_performer
   }
 }


Writing a music function is described in Section 6.1 of the 2.11 docs.  Be 
prepared for a long haul, though :)  The example in 6.3.3 shows the sort of 
thing you might need.


Trevor

- Original Message - 
From: "grick" <[EMAIL PROTECTED]>

To: "Trevor Daniels" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, July 10, 2008 6:41 PM
Subject: Re: Some Midi Output Problems




You can reduce the volume of the default piano in the same way, by
setting
midiMinimumVolume and midiMaximumVolume in the piano staff. Note,
though,
that these controls only take effect on encountering a dynamic mark,
so be
sure you have a mark at the beginning of the piano notes.


There is no piano staff, only a chordmode section (something like this):
--
Accordi = \chordmode
{
 \repeat unfold 60 {
   f2:9+ bes2:7
 }

 \repeat unfold 2 {
   f1
   f1
   ees1
   ees1
 }
}
--
Nor "\set Staff.midiXVolume" nor "\ppp" on chords (like f1\ppp) works.

Just to know this chordmode section is included in the staff this way:
--
\score {
 \new StaffGroup
 <<
   \new ChordNames {
 \set chordChanges = ##t
 \Accordi
   }
   \new Staff << \WithChords \global \Tromba >>
   \new Staff << \WithChords \global \Alto >>
   \new Staff << \WithChords \global \Tenore >>
   \new Staff << \WithChords \global \Baritono >>
 >>
 \layout { }
}
--



BTW, an easier way may be to simply use quieter dynamic marks on the
music
of the instruments you want to reduce - these also affect the MIDI
volume.


The "Control MIDI" dynamic marks are printed in the sheet (and, by the
way, i have to replace the real dynamics). I want to avoid this.



> To do this i use often "staccato" notes (a4-. a4-. a4-. a4-.).
>
> I expect my midi output sound like (a8 r8 a8 r8 a8 r8 a8 r8) but
sadly it
> does not interpret them at all and sound like a simple (a4 a4 a4
a4).
>
> I can simple write (a8 r8) version everywhere but the sheet become
really
> difficult to read for the performers.
>
> Is there a way to avoid to mantain a double version of the sheets?
(one
> for the performers with a4-. version and one for the midi output
with a8
> r8 one?)

Sorry, apart from using separate versions I don't know how to do this
other
than by writing a Scheme procedure to add the staccato marks in the
midi
\score block.


Can you point me to some docs about this Scheme procedures? Something
specific for lilypond i found a general intro on the guile site.



Trevor


Thank you Trevor for the answers!




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


Re: Some Midi Output Problems

2008-07-10 Thread grick

> You can reduce the volume of the default piano in the same way, by
> setting 
> midiMinimumVolume and midiMaximumVolume in the piano staff. Note,
> though, 
> that these controls only take effect on encountering a dynamic mark,
> so be 
> sure you have a mark at the beginning of the piano notes.

There is no piano staff, only a chordmode section (something like this):
--
Accordi = \chordmode 
{
  \repeat unfold 60 {
f2:9+ bes2:7
  }

  \repeat unfold 2 {
f1
f1
ees1
ees1
  }
}
--
Nor "\set Staff.midiXVolume" nor "\ppp" on chords (like f1\ppp) works.

Just to know this chordmode section is included in the staff this way:
--
\score {
  \new StaffGroup 
  <<
\new ChordNames {
  \set chordChanges = ##t
  \Accordi
}
\new Staff << \WithChords \global \Tromba >>
\new Staff << \WithChords \global \Alto >>
\new Staff << \WithChords \global \Tenore >>
\new Staff << \WithChords \global \Baritono >>
  >>
  \layout { }
}
--   

> 
> BTW, an easier way may be to simply use quieter dynamic marks on the
> music 
> of the instruments you want to reduce - these also affect the MIDI
> volume.

The "Control MIDI" dynamic marks are printed in the sheet (and, by the
way, i have to replace the real dynamics). I want to avoid this.

> 
> > To do this i use often "staccato" notes (a4-. a4-. a4-. a4-.).
> >
> > I expect my midi output sound like (a8 r8 a8 r8 a8 r8 a8 r8) but
> sadly it 
> > does not interpret them at all and sound like a simple (a4 a4 a4
> a4).
> >
> > I can simple write (a8 r8) version everywhere but the sheet become
> really 
> > difficult to read for the performers.
> >
> > Is there a way to avoid to mantain a double version of the sheets?
> (one 
> > for the performers with a4-. version and one for the midi output
> with a8 
> > r8 one?)
> 
> Sorry, apart from using separate versions I don't know how to do this
> other 
> than by writing a Scheme procedure to add the staccato marks in the
> midi 
> \score block.

Can you point me to some docs about this Scheme procedures? Something
specific for lilypond i found a general intro on the guile site.

> 
> Trevor
> 
Thank you Trevor for the answers!



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


Re: Some Midi Output Problems

2008-07-09 Thread Trevor Daniels


"grick" wrote Monday, July 07, 2008 3:47 PM

In this way the trumpet sound is audible. But it's not enough. Now the 
chords played by the acoustic piano(default) in the background is too loud 
and cover the instrument armony in most passages.


The question is: how i can decrease the chords volume? (or the opposite, 
how can i increase the trumpet volume instead of lower all the others 
instrument?)


You can reduce the volume of the default piano in the same way, by setting 
midiMinimumVolume and midiMaximumVolume in the piano staff.  Note, though, 
that these controls only take effect on encountering a dynamic mark, so be 
sure you have a mark at the beginning of the piano notes.


BTW, an easier way may be to simply use quieter dynamic marks on the music 
of the instruments you want to reduce - these also affect the MIDI volume.



To do this i use often "staccato" notes (a4-. a4-. a4-. a4-.).

I expect my midi output sound like (a8 r8 a8 r8 a8 r8 a8 r8) but sadly it 
does not interpret them at all and sound like a simple (a4 a4 a4 a4).


I can simple write (a8 r8) version everywhere but the sheet become really 
difficult to read for the performers.


Is there a way to avoid to mantain a double version of the sheets? (one 
for the performers with a4-. version and one for the midi output with a8 
r8 one?)


Sorry, apart from using separate versions I don't know how to do this other 
than by writing a Scheme procedure to add the staccato marks in the midi 
\score block.


Trevor



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