[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some Midi Output Problems
From: |
Trevor Daniels |
Subject: |
Re: Some Midi Output Problems |
Date: |
Fri, 11 Jul 2008 10:09:14 +0100 |
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" <address@hidden>
To: "Trevor Daniels" <address@hidden>
Cc: <address@hidden>
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!