Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)
2008/5/6 Mats Bengtsson <[EMAIL PROTECTED]>: > Note that LilyPond automatically will use channel 10 only for percussion, > so there's no risk > for strange drum sounds unless you really want them. Sorry, I didn't know that. Thanks > In this particular .ly file The original message did not come with any attached .ly file > several unnecessary Lyrics contexts were > introduced but never used, I had to wonder that something similar was happening. > One simple workaround is to make separate \score{...} blocks for the MIDI > and the printed output: > Francisco Vila wrote: > > > You have too much voices, maybe you could make a specia midi > > > block that contains only the essential voices for hearing, so their > > > number do not exceed the maximum allowed. -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)
Francisco, your answer is partially relevant here. Yes, there's a limitation of 16 channels in MIDI. In LilyPond, each Staff and Lyrics context will result in a new MIDI channel and since channel 0 is reserved for common information and channel 10 is reserved for percussion, there are only 14 left for Staff plus Lyrics contexts. Note that LilyPond automatically will use channel 10 only for percussion, so there's no risk for strange drum sounds unless you really want them. In this particular .ly file, several unnecessary Lyrics contexts were introduced but never used, which made the problem even worse. The \score block can be simplified into: \score { << \context ChoirStaff << \staffSoprano \new Lyrics \lyricsto "melodySop" \verseone \new Lyrics \lyricsto "melodySop" \versetwo \new Lyrics \lyricsto "melodySop" \versethree \staffAlto \new Lyrics \lyricsto "melodyAlt" \verseone \new Lyrics \lyricsto "melodyAlt" \versetwo \new Lyrics \lyricsto "melodyAlt" \versethree \staffTenor \new Lyrics \lyricsto "melodyTen" \verseone \new Lyrics \lyricsto "melodyTen" \versetwo \new Lyrics \lyricsto "melodyTen" \versethree \staffBass \new Lyrics \lyricsto "melodyBas" \verseone \new Lyrics \lyricsto "melodyBas" \versetwo \new Lyrics \lyricsto "melodyBas" \versethree >> \staffPiano >> \midi { } \layout { } } Still, this results in more than 14 used MIDI channels, since the same lyrics is repeated below each stave. One simple workaround is to make separate \score{...} blocks for the MIDI and the printed output: \score{ ... \layout{} } \score { << \context ChoirStaff << \staffSoprano \new Lyrics \lyricsto "melodySop" \verseone \new Lyrics \lyricsto "melodySop" \versetwo \new Lyrics \lyricsto "melodySop" \versethree \staffAlto \staffTenor \staffBass >> \staffPiano >> \midi { } } /Mats Francisco Vila wrote: 2008/5/6 Francisco Vila <[EMAIL PROTECTED]>: MIDI files can not have more than 16 channels, that's why your output gets remapped channels modulo 16 (i.e. starting again from the first channel). You have too much voices, maybe you could make a specia midi block that contains only the essential voices for hearing, so their number do not exceed the maximum allowed. Moreover, these warnings are probably harmless if your MIDI sounds well, as more than one voice could perfectly sound on a shared channel among other one, in modern MIDI players (provided that you want the same sound type on both of them) If you hear some strange drum sounds, this is because your media player has a dedicated channel for this, usually #10 or #16. In this case I don't know what to do from the LilyPond side, except to use fewer than 10 channels/voices. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)
2008/5/6 Francisco Vila <[EMAIL PROTECTED]>: > MIDI files can not have more than 16 channels, that's why your output > gets remapped channels modulo 16 (i.e. starting again from the first > channel). You have too much voices, maybe you could make a specia midi > block that contains only the essential voices for hearing, so their > number do not exceed the maximum allowed. Moreover, these warnings are probably harmless if your MIDI sounds well, as more than one voice could perfectly sound on a shared channel among other one, in modern MIDI players (provided that you want the same sound type on both of them) If you hear some strange drum sounds, this is because your media player has a dedicated channel for this, usually #10 or #16. In this case I don't know what to do from the LilyPond side, except to use fewer than 10 channels/voices. -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)
2008/5/6 Father Gordon Gilbert <[EMAIL PROTECTED]>: > But I get several warnings when it tries to compile. I get the pdf just > fine, but the midi is stupid (I don't really care, but I'd like to fix it if > possible so when I *do* need the midi it will work.) > warning: MIDI channel wrapped around > warning: remapping modulo 16 MIDI files can not have more than 16 channels, that's why your output gets remapped channels modulo 16 (i.e. starting again from the first channel). You have too much voices, maybe you could make a specia midi block that contains only the essential voices for hearing, so their number do not exceed the maximum allowed. -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)
Hi all, I snaffed that music off the lilypond list because I had wanted to have a template exactly like that. It works great on my Windoze XP Pro with lily 2.11.45 using jEdit with lilypond mode. But I get several warnings when it tries to compile. I get the pdf just fine, but the midi is stupid (I don't really care, but I'd like to fix it if possible so when I *do* need the midi it will work.) I get the following during the compile: Processing `C:/Documents and Settings/Fr. Gordon Gilbert/Desktop/Lilypond Files/All Ye People.ly' Parsing... Interpreting music... Interpreting music... [8][16][24] Preprocessing graphical objects... MIDI output to `All Ye People.midi'... warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... Layout output to `All Ye People.ps'... Converting to `./All Ye People.pdf'... Processing time: 16 seconds LilyPond ready. What makes those MIDI warnings, and how can I get rid of them? Also, has anybody got copyright information about this piece? Blessings, Gordon+ 2008/5/6 <[EMAIL PROTECTED]>: > Send lilypond-user mailing list submissions to >lilypond-user@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit >http://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to >[EMAIL PROTECTED] > > You can reach the person managing the list at >[EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > > > Today's Topics: > > 1. Re:lilypond-user Digest, Vol 66, Issue 13 (Matthew Rowles) > 2. Re:Adding notes above drumstaff (Stan Mulder) > 3. Re:Adding notes above drumstaff (Matthew Rowles) > 4. Re:Adding notes above drumstaff (Stan Mulder) > 5. Re:Adding notes above drumstaff (Graham Percival) > 6. Re:Adding notes above drumstaff (Stan Mulder) > 7. Re:Adding notes above drumstaff (Graham Percival) > 8. Re:lilypond-user Digest, Vol 66, Issue 13 (Mats Bengtsson) > 9. pdf is not procuced (Stefan Thomas) > > > ------------------ > > Message: 1 > Date: Tue, 6 May 2008 11:14:37 +1000 > From: "Matthew Rowles" <[EMAIL PROTECTED]> > Subject: Re: lilypond-user Digest, Vol 66, Issue 13 > To: "Frederick Dennis" <[EMAIL PROTECTED]> > Cc: lilypond-user@gnu.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > 2008/5/6 Frederick Dennis <[EMAIL PROTECTED]>: > > Dear All, > > > > Thanks to Reinhold and Mats, I've managed to set a hymn, SATB with piano > > reduction, 3 verses printed separately under each > > voice. The ignore melismata routine is fine but I would also like to use > > dotted slurs. Putting #(set-global-staff-size 14) in \paper > > doesn't make any difference. How can I fit all the music on to two > pages? > > Sorry to be such a nuisance. > > > > % Created on Mon May 05 16:30:06 BST 2008 > > \version "2.10.33" > > > > \header { > > title = "All ye People Clap your Hands" > > poet = "Brady and Tate" > > composer = "Broderip" > > piece = "Psalm 47" > > } > > > MUSIC STUFF > > > > \paper { > > #(set-global-staff-size 14) > > } > > > > > > > > Maybe try putting #(set-global-staff-size 14) just on it's own? > > I know that I use that line in my own music. I'm pretty sure I just > whack it on the line after \version > > > -- > Matthew Rowles > > - Be Alert. Austalia needs lerts. > > > > > -- > > Message: 2 > Date: Tue, 6 May 2008 01:58:39 + (UTC) > From: Stan Mulder <[EMAIL PROTECTED]> > Subject: Re: Adding notes above drumstaff > To: lilypond-user@gnu.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > Kieren MacMillan sympatico.ca> writes: > > > (lilypond example snipped) > > That looks like
Re: lilypond-user Digest, Vol 66, Issue 13
Frederick Dennis wrote: The ignore melismata routine is fine but I would also like to use dotted slurs. If you search for "dotted" in the "LilyPond Index" in the manual (i.e. the index of the manual), you will find that there's a predefined macro \slurDotted that makes all following slurs be dotted. Putting #(set-global-staff-size 14) in \paper doesn't make any difference. You have to insert these lines above the score you want it to apply to, in the .ly file. Also, there's no need to include the setting in a \paper block (where did you get that impression that this was needed?). /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 66, Issue 13
2008/5/6 Frederick Dennis <[EMAIL PROTECTED]>: > Dear All, > > Thanks to Reinhold and Mats, I've managed to set a hymn, SATB with piano > reduction, 3 verses printed separately under each > voice. The ignore melismata routine is fine but I would also like to use > dotted slurs. Putting #(set-global-staff-size 14) in \paper > doesn't make any difference. How can I fit all the music on to two pages? > Sorry to be such a nuisance. > > % Created on Mon May 05 16:30:06 BST 2008 > \version "2.10.33" > > \header { > title = "All ye People Clap your Hands" > poet = "Brady and Tate" > composer = "Broderip" > piece = "Psalm 47" > } > MUSIC STUFF > > \paper { > #(set-global-staff-size 14) > } > > > Maybe try putting #(set-global-staff-size 14) just on it's own? I know that I use that line in my own music. I'm pretty sure I just whack it on the line after \version -- Matthew Rowles - Be Alert. Austalia needs lerts. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 66, Issue 13
Dear All, Thanks to Reinhold and Mats, I've managed to set a hymn, SATB with piano reduction, 3 verses printed separately under each voice. The ignore melismata routine is fine but I would also like to use dotted slurs. Putting #(set-global-staff-size 14) in \paper doesn't make any difference. How can I fit all the music on to two pages? Sorry to be such a nuisance. % Created on Mon May 05 16:30:06 BST 2008 \version "2.10.33" \header { title = "All ye People Clap your Hands" poet = "Brady and Tate" composer = "Broderip" piece = "Psalm 47" } soprano = { g'2 d'4( c) b2 a g2. a4 b2. a4 b a b cis d2 g, a4 a4 a4 a4 b2 b a2. g4 fis1 R1*8 d'2 c4 b a2 b c4( b) a( g) fis d fis a b2.( c4 d2) c b a4.( g8) g1 } alto = { d2 g4( fis) g2 fis g2. fis4 g2. fis4 g d g g fis2 g fis4 fis fis fis fis2 g fis e d1 R1*8 b2 a4 g d'2 g e c d1 r4 g g g g2 e d2. c4 b1 } tenor = { g2 b4( c) d2 d d4( c b) a g2. d'4 d c b g a2 cis d4 d d d d2 e cis2. cis4 d1 d2 c?4 b a2 b c4( b) a( g) fis d fis a d1~ d2 c b a g1 R1*4 r4 d' d d b2 a g fis g1 } bass = { g2 g4( a) g2 d b4( g b) d g2. d4 g fis g e fis2 e d4 d d d d2 g a a, d1 b'2 a4 g fis2 g e c d1~ d4 g, b d g2 c, d2. d4 g,1 R1*4 r4 g b d g2 c, d2. d4 g,1 } verseone = { \set stanza = \markup { \dynamic "f" } \lyricmode { All ye __ peo -- ple clap your hands, and with tri -- umph -- ant voi -- ces sing, and with tri -- umph -- ant voi -- ces sing; No force the migh -- ty pow'r with -- stands, of God, the u -- ni -- ver -- sal King. } } versetwo = { \set stanza = \markup { \dynamic "mf" } \lyricmode{ \set ignoreMelismata = ##t He shall op -- po -- sing \unset ignoreMelismata na -- tions quell, and with suc -- cess our bat -- tles fight, and with suc -- cess our bat -- tles fight, Shall fix the place where we must dwell, the pride of Ja -- cob, his de -- light. } } versethree = { \set stanza = \markup { \dynamic "ff" } \lyricmode { \set ignoreMelismata = ##t God is gone up, \unset ignoreMelismata our Lord and King, with shouts of joy and trum -- pet's sound; with shouts of joy and trum -- pet's sound; To him re -- peat -- ed prai -- ses sing, and let the cheer -- ful song go round. } } tenorandbassverseone = { \set stanza = \markup { \dynamic "f" } \lyricmode { All ye __ peo -- ple clap your hands, and with tri -- umph -- ant voi -- ces sing, and with tri -- umph -- ant voi -- ces sing; No force the migh -- ty pow'r with -- stands, of God, the u -- ni -- ver -- sal King. of God, the u -- ni -- ver -- sal King. } } tenorandbassversetwo = { \set stanza = \markup { \dynamic "mf" } \lyricmode{ \set ignoreMelismata = ##t He shall op -- po -- sing \unset ignoreMelismata na -- tions quell, and with suc -- cess our bat -- tles fight, and with suc -- cess our bat -- tles fight, Shall fix the place where we must dwell, the pride of Ja -- cob, his de -- light. the pride of Ja -- cob, his de -- light. } } tenorandbassversethree = { \set stanza = \markup { \dynamic "ff" } \lyricmode { \set ignoreMelismata = ##t God is gone up, \unset ignoreMelismata our Lord and King, with shouts of joy and trum -- pet's sound; with shouts of joy and trum -- pet's sound; To him re -- peat -- ed prai -- ses sing, and let the cheer -- ful song go round. and let the cheer -- ful song go round. } } staffSoprano = \new Staff { \time 2/2 \set Staff.instrumentName="Soprano" \set Staff.midiInstrument="choir aahs" \key g \major \clef treble \relative c' { \context Voice = "melodySop" { \dynamicUp % Type notes here \soprano } \bar "|." } } staffAlto = \new Staff { \set Staff.instrumentName="Alto" \set Staff.midiInstrument="choir aahs" \key g \major \clef treble \relative c' { \context Voice = "melodyAlt" { \dynamicUp % Type notes here \alto } \bar "|." } } staffTenor = \new Staff { \set Staff.instrumentName="Tenor" \set Staff.midiInstrument="choir aahs" \key g \major \clef "G_8" \relative c' { \context Voice = "melodyTen" { \dynamicUp % Type notes here \tenor } \bar "|." } } staffBass = \new Staff { \set Staff.instrumentName="Bass" \set Staff.midiInstrument="choir aahs" \key g \major \clef bass \relative c' { \context Voice = "melodyBas" { \dynamicUp % Type notes here \bass } \bar "|." } } staffPiano = \new PianoStaff { \set PianoStaff.midiInstrument = #"acoustic grand" \set PianoStaff.instrumentName = #"Piano " << \context Staff = "RH" { % Right hand \clef treble \key g \major \relative c' {