Re: All Ye People Clap your hands (was Re: lilypond-user
Dear Gilbert So this is the first time I offer help in this list! Perhaps I can introduce a way I always do with my large orchestral scores with part amount from 24 to 42. I get this experience because I ever did it in my Braille Music Editor, which is very hard to turn a *listenable braille music file* (this is it's only advantage) into Finale--I now give up that foolish tool. It's very complicated and stupid probably, but can really result a very good Midi output. Please, if you won't see any confusing errors when compiling for PDF, add only \layout in your main score file, then make a separate file named "foo-midi.ly", and merge parts with the same sound into one staff. For example, piccolo and three flutes and alto flute (this must do additional transposition to make them sound in concert pitch, because when merging, the \transposition may also effect other parts, which are now become Voice in one part. Please see my attachment of the midi generator for my trial: First Symphony--DOOM). The maximum amount of parts is 16, although there will be a single warning. You can reject all lyrics contexts in this file (Oh, I remember, if you are doing with a score for voice only, just make two \score blocks like the piano template does, then reject lyricx in the \midi one, if your staff amount is under 16), then add only \midi { } at the end. After compiling, delete the ugly PDF file and ignore all warnings and errors which didn't occur in the file you want to produce .pdf. Hope this will help you! If someone has more economy way, please share! Haipeng \version "2.11.42" \include "sym1.ly" \score { \new StaffGroup = "orchestra" << \new Staff = "flutes" { \set Staff.midiInstrument = "flute" \unfoldRepeats { << { \tempocontrol } \\ { \transpose c f \piccolo } \\ { \transpose c' f \fluteI } \\ { \transpose c' f \fluteII } \\ { \transpose c' f \fluteIII } \\ { \altoflute } >> } } \new Staff = "oboes" { \set Staff.midiInstrument = "oboe" \unfoldRepeats { << { \transpose c' g' \oboeI } \\ { \transpose c' g' \oboeII } \\ { \transpose c' g' \oboeIII } \\ { \enghorn } >> } } \new Staff = "clarinets" { \set Staff.midiInstrument = "clarinet" \unfoldRepeats { << { \transpose c c' \clarinetI } \\ { \transpose c c' \clarinetII } \\ { \transpose c c' \clarinetIII } \\ { \bassclarinet } >> } } \new Staff = "bassoons" { \set Staff.midiInstrument = "bassoon" \unfoldRepeats { << { \transpose c c' \bassoonI } \\ { \transpose c c' \bassoonII } \\ { \transpose c c' \bassoonIII } \\ { \contrabassoon } >> } } \new Staff = "horns" { \set Staff.midiInstrument = "french horn" \unfoldRepeats { << \hornI \hornII \hornIII >> } } \new Staff = "trumpets" { \set Staff.midiInstrument = "trumpet" \unfoldRepeats { << \trumpetI \trumpetII \trumpetIII \trumpetIV >> } } \new Staff = "trombones" { \set Staff.midiInstrument = "trombone" << \tromboneI \tromboneII \tromboneIII \basstrombone >> } \new Staff = "tuba" { \set Staff.midiInstrument = "tuba" << \tubaI \tubaII >> } \new Staff = "timpani" { \set Staff.midiInstrument = "timpani" \unfoldRepeats { << \timpaniI \timpaniII >> } } \new DrumStaff = "percussion" { \unfoldRepeats { \midiPercussion } } \new Staff = "harp" { \set Staff.midiInstrument = "orchestral strings" \unfoldRepeats { << \harprh \harplh >> } } \new StaffGroup = "strings" << \set StaffGroup.midiInstrument = "string ensemble 1" \new Staff = "violins" { \unfoldRepeats { << \violinI \violinII >> } } \new Staff = "viola" { \unfoldRepeats { \viola } } \new Staff = "violoncello" { \unfoldRepeats { \cello } } \new Staff = "contrabass" { \unfoldRepeats { \contrabass } } >> >> \midi { } } ___ 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
Hi, I don't know if this is what you are looking for but here is something that Mats posted sometime back (2003) I believe: http://www.mail-archive.com/lilypond-user@gnu.org/msg03243.html Regards, Ralph - Instant message from any web browser! Try the new Yahoo! Canada Messenger for the Web BETA___ 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 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 it works. I think the notes should be smaller though so > the > drummer knows they are only cues. > > > > > > -- > > Message: 3 > Date: Tue, 6 May 2008 13:11:18 +1000 > From: "Matthew Rowles" <[EMAIL PROTECTED]> > Subject: Re: Adding notes above drumstaff > To: "Stan Mulder" <[EMAIL PROTECTED]> > Cc: lilypond-user@gnu.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > 2008/5/6 Stan Mulder <[EMAIL PROTECTED]>: > > Kieren MacMillan sympatico.ca> writes: > > > > > (lilypond example snipped)