Re: Some Midi Output Problems
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: lilypond-user@gnu.org 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
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
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
Some Midi Output Problems
Hi people, first of all, I would like to thank lilypond developers for putting in so much time and effort into this beautiful software. All your hard work is greatly appreciated. And now, i explain my problems. I'm using lilypond-2.10.33 on a Ubuntu 8.04 (with no GUI interface but gvim, xpdf, timidity, some makefiles and scripts ) to create the sheets for the brass section of my band (trumpet, alto, tenor and baritone sax plus chords). Midi Trumpet Volume --- The trumpet sound included with timidity is too soft. It's nearly inaudible between the saxophones sound (ironically, the real trumpet sound cover all the sax :) ). Luckily i recently read in the docs the lilypond instructions to control the midi volume range of an instrument. So i include in all sax sheet these lines, to half the volume of the saxophones and mantain some range for dynamics: \set Staff.midiMinimumVolume = #0.2 \set Staff.midiMaximumVolume = #0.5 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?) -- Staccato I want to create midi files that sound exactly how the performers have to play the sheet. 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?) -- Thank you in advance for the answers! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user