Re: Templates combined?
Am Freitag, den 03.05.2013, 06:56 + schrieb Nandi: Hello everyone, I'm trying to do a SATB vocal score with a harp accompaniment, and I'd like to combine the following two templates: Single staff template with notes, lyrics, chords and frets + Vocal ensemble template, so that I can enter more stanzas, one after the other, below each other, for all staffs, and have the harp chords only above the soprano staff. I just couldn't figure out how to combine the pieces. (Later I may add some piano accompaniments, too, so if it can also be incorporated in the template, that would be great.) Thanks for any help: Nandi Templates basically are some raw text that you can use as-is or in modified form. If you want to combine two templates you should take the template that comes closest to what you want (maybe that with most text already in it) and insert text from the other one into it. Probably you have to add the music definition variables somewhere in the file and add the necessary staff definitions inside the \score block As I don't quite see what you exactly want to achieve, I suggest you - decide which of the templates is better as a start, - try to figure out which music variables you would need in addition, - send this as an attachment and - tell us exactly what is still missing Best Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates combined?
Urs Liska ul at openlilylib.org writes: As I don't quite see what you exactly want to achieve, I suggest you - decide which of the templates is better as a start, - try to figure out which music variables you would need in addition, - send this as an attachment and - tell us exactly what is still missing Best Urs This first template almost does what I want (SATB + piano + one stanza): global = { \key d \major \time 4/4 } sopranoMusic = \relative c' { \clef treble r4 d2 a4 } sopranoWords = \lyricmode { Words here } altoMusic = \relative c' { \clef treble r4 a2 a4 } altoWords = \sopranoWords tenorMusic = \relative c' { \clef treble r4 fis2 e4 } tenorWords = \sopranoWords bassMusic = \relative c' { \clef bass r4 d2 cis4 } bassWords = \sopranoWords upper = \relative c' { \clef treble \global r4 a d fis2 a e' a4 } lower = \relative c, { \clef bass \global d d'4 d d'2 cis cis'4 } \score { \new ChoirStaff \new Staff = sopranos \set Staff.instrumentName = #Soprano \new Voice = sopranos { \global \sopranoMusic } \new Lyrics \lyricsto sopranos { \sopranoWords } \new Staff = altos \set Staff.instrumentName = #Alto \new Voice = altos { \global \altoMusic } \new Lyrics \lyricsto altos { \altoWords } \new Staff = tenors \set Staff.instrumentName = #Tenor \new Voice = tenors { \global \tenorMusic } \new Lyrics \lyricsto tenors { \tenorWords } \new Staff = basses \set Staff.instrumentName = #Bass \new Voice = basses { \global \bassMusic } \new Lyrics \lyricsto basses { \bassWords } \new PianoStaff \set PianoStaff.instrumentName = #Piano \new Staff = upper \upper \new Staff = lower \lower } But I would need chords for the soprano part and more stanzas for each staff, as this second template has it: verseI = \lyricmode { \set stanza = #1. This is the first verse } verseII = \lyricmode { \set stanza = #2. This is the second verse. } verseIII = \lyricmode { \set stanza = #3. This is the third verse } verseIV = \lyricmode { \set stanza = #4. This is the fourth verse } theChords = \chordmode { c2 g4 c } staffMelody = \relative c' { \key c \major \clef treble c4 d8 e f4 g \bar |. } \score { \context ChordNames { \theChords } \new Staff { \context Voice = voiceMelody { \staffMelody } } \new Lyrics = lyricsI { \lyricsto voiceMelody \verseI } \new Lyrics = lyricsII { \lyricsto voiceMelody \verseII } \new Lyrics = lyricsIII { \lyricsto voiceMelody \verseIII } \new Lyrics = lyricsIV { \lyricsto voiceMelody \verseIV } } I would like to combine these two, but unfortunately I couldn't figure it out how. Thanks for your help: Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates combined?
OK, that's clear now. attached you'll find a working file where I (partly) combined the templates (you'll figure out the rest). I removed the text variables from the first template (sopranoWords etc.) Instead I entered the stanza variables (and the chords variable) from the second template. In the score block you have a ChoirStaff which includes all individual staves (and 'contexts'): There I inserted the Chordnames context above the soprano staff. Below the soprano staff I inserted four Lyrics contexts with the respective stanzas. If you really need the four stanzas below each staff you can repeat that for the other staves too. Explanation: \new Lyrics tells LilyPond to insert a line with lyrics at that position (e.g. below the soprano staff). \lyricsto tells LilyPond which music the text is aligned to BTW: You don't need the empty lines I have inserted but they make the code more readable. HTH Urs Am Freitag, den 03.05.2013, 08:11 + schrieb Nandi: Urs Liska ul at openlilylib.org writes: As I don't quite see what you exactly want to achieve, I suggest you - decide which of the templates is better as a start, - try to figure out which music variables you would need in addition, - send this as an attachment and - tell us exactly what is still missing Best Urs This first template almost does what I want (SATB + piano + one stanza): global = { \key d \major \time 4/4 } sopranoMusic = \relative c' { \clef treble r4 d2 a4 } sopranoWords = \lyricmode { Words here } altoMusic = \relative c' { \clef treble r4 a2 a4 } altoWords = \sopranoWords tenorMusic = \relative c' { \clef treble r4 fis2 e4 } tenorWords = \sopranoWords bassMusic = \relative c' { \clef bass r4 d2 cis4 } bassWords = \sopranoWords upper = \relative c' { \clef treble \global r4 a d fis2 a e' a4 } lower = \relative c, { \clef bass \global d d'4 d d'2 cis cis'4 } \score { \new ChoirStaff \new Staff = sopranos \set Staff.instrumentName = #Soprano \new Voice = sopranos { \global \sopranoMusic } \new Lyrics \lyricsto sopranos { \sopranoWords } \new Staff = altos \set Staff.instrumentName = #Alto \new Voice = altos { \global \altoMusic } \new Lyrics \lyricsto altos { \altoWords } \new Staff = tenors \set Staff.instrumentName = #Tenor \new Voice = tenors { \global \tenorMusic } \new Lyrics \lyricsto tenors { \tenorWords } \new Staff = basses \set Staff.instrumentName = #Bass \new Voice = basses { \global \bassMusic } \new Lyrics \lyricsto basses { \bassWords } \new PianoStaff \set PianoStaff.instrumentName = #Piano \new Staff = upper \upper \new Staff = lower \lower } But I would need chords for the soprano part and more stanzas for each staff, as this second template has it: verseI = \lyricmode { \set stanza = #1. This is the first verse } verseII = \lyricmode { \set stanza = #2. This is the second verse. } verseIII = \lyricmode { \set stanza = #3. This is the third verse } verseIV = \lyricmode { \set stanza = #4. This is the fourth verse } theChords = \chordmode { c2 g4 c } staffMelody = \relative c' { \key c \major \clef treble c4 d8 e f4 g \bar |. } \score { \context ChordNames { \theChords } \new Staff { \context Voice = voiceMelody { \staffMelody } } \new Lyrics = lyricsI { \lyricsto voiceMelody \verseI } \new Lyrics = lyricsII { \lyricsto voiceMelody \verseII } \new Lyrics = lyricsIII { \lyricsto voiceMelody \verseIII } \new Lyrics = lyricsIV { \lyricsto voiceMelody \verseIV } } I would like to combine these two, but unfortunately I couldn't figure it out how. Thanks for your help: Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user global = { \key d \major \time 4/4 } sopranoMusic = \relative c' { \clef treble r4 d2 a4 } altoMusic = \relative c' { \clef treble r4 a2 a4 } tenorMusic = \relative c' { \clef treble r4 fis2 e4 } bassMusic = \relative c' { \clef bass r4 d2 cis4 } upper = \relative c' { \clef treble \global r4 a d fis2 a e' a4 } lower = \relative c, { \clef bass \global d d'4 d d'2 cis cis'4 } verseI = \lyricmode { \set stanza = #1. first verse } verseII = \lyricmode { \set stanza = #2. second verse. } verseIII = \lyricmode { \set stanza = #3. third verse } verseIV = \lyricmode { \set stanza = #4. fourth verse } theChords = \chordmode { d2. a4 } \score { \new ChoirStaff \context ChordNames { \theChords } \new Staff = sopranos
Re: Templates combined?
Urs Liska ul at openlilylib.org writes: attached you'll find a working file where I (partly) combined the templates (you'll figure out the rest). Unfortunately I can't unarchive the .bin file. Can you send it in another format, or just copy the .ly text here? Thanks very much! Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates combined?
Hm, as far as I know (and my mail reader tells) I attached a plain .ly file ... But you'll find the content of that file at the end of this message (in the hope mail transfer protocols and readers won't mess it up ...) Urs Am Freitag, den 03.05.2013, 09:20 + schrieb Nandi: Urs Liska ul at openlilylib.org writes: attached you'll find a working file where I (partly) combined the templates (you'll figure out the rest). Unfortunately I can't unarchive the .bin file. Can you send it in another format, or just copy the .ly text here? Thanks very much! Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user global = { \key d \major \time 4/4 } sopranoMusic = \relative c' { \clef treble r4 d2 a4 } altoMusic = \relative c' { \clef treble r4 a2 a4 } tenorMusic = \relative c' { \clef treble r4 fis2 e4 } bassMusic = \relative c' { \clef bass r4 d2 cis4 } upper = \relative c' { \clef treble \global r4 a d fis2 a e' a4 } lower = \relative c, { \clef bass \global d d'4 d d'2 cis cis'4 } verseI = \lyricmode { \set stanza = #1. first verse } verseII = \lyricmode { \set stanza = #2. second verse. } verseIII = \lyricmode { \set stanza = #3. third verse } verseIV = \lyricmode { \set stanza = #4. fourth verse } theChords = \chordmode { d2. a4 } \score { \new ChoirStaff \context ChordNames { \theChords } \new Staff = sopranos \set Staff.instrumentName = #Soprano \new Voice = sopranos { \global \sopranoMusic } \new Lyrics = lyricsI { \lyricsto sopranos \verseI } \new Lyrics = lyricsII { \lyricsto sopranos \verseII } \new Lyrics = lyricsIII { \lyricsto sopranos \verseIII } \new Lyrics = lyricsIV { \lyricsto sopranos \verseIV } \new Staff = altos \set Staff.instrumentName = #Alto \new Voice = altos { \global \altoMusic } \new Lyrics \lyricsto altos { \altoWords } \new Staff = tenors \set Staff.instrumentName = #Tenor \new Voice = tenors { \global \tenorMusic } \new Lyrics \lyricsto tenors { \tenorWords } \new Staff = basses \set Staff.instrumentName = #Bass \new Voice = basses { \global \bassMusic } \new Lyrics \lyricsto basses { \bassWords } \new PianoStaff \set PianoStaff.instrumentName = #Piano \new Staff = upper \upper \new Staff = lower \lower } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates combined?
BTW: If you use Frescobaldi you can also achieve what you want with the Score Setup Wizard. You can also use that to learn about different ways to set up a score (but keep in mind that there are always different ways to achieve things in LilyPond). Urs Am Freitag, den 03.05.2013, 11:33 +0200 schrieb Urs Liska: Hm, as far as I know (and my mail reader tells) I attached a plain .ly file ... But you'll find the content of that file at the end of this message (in the hope mail transfer protocols and readers won't mess it up ...) Urs Am Freitag, den 03.05.2013, 09:20 + schrieb Nandi: Urs Liska ul at openlilylib.org writes: attached you'll find a working file where I (partly) combined the templates (you'll figure out the rest). Unfortunately I can't unarchive the .bin file. Can you send it in another format, or just copy the .ly text here? Thanks very much! Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user global = { \key d \major \time 4/4 } sopranoMusic = \relative c' { \clef treble r4 d2 a4 } altoMusic = \relative c' { \clef treble r4 a2 a4 } tenorMusic = \relative c' { \clef treble r4 fis2 e4 } bassMusic = \relative c' { \clef bass r4 d2 cis4 } upper = \relative c' { \clef treble \global r4 a d fis2 a e' a4 } lower = \relative c, { \clef bass \global d d'4 d d'2 cis cis'4 } verseI = \lyricmode { \set stanza = #1. first verse } verseII = \lyricmode { \set stanza = #2. second verse. } verseIII = \lyricmode { \set stanza = #3. third verse } verseIV = \lyricmode { \set stanza = #4. fourth verse } theChords = \chordmode { d2. a4 } \score { \new ChoirStaff \context ChordNames { \theChords } \new Staff = sopranos \set Staff.instrumentName = #Soprano \new Voice = sopranos { \global \sopranoMusic } \new Lyrics = lyricsI { \lyricsto sopranos \verseI } \new Lyrics = lyricsII { \lyricsto sopranos \verseII } \new Lyrics = lyricsIII { \lyricsto sopranos \verseIII } \new Lyrics = lyricsIV { \lyricsto sopranos \verseIV } \new Staff = altos \set Staff.instrumentName = #Alto \new Voice = altos { \global \altoMusic } \new Lyrics \lyricsto altos { \altoWords } \new Staff = tenors \set Staff.instrumentName = #Tenor \new Voice = tenors { \global \tenorMusic } \new Lyrics \lyricsto tenors { \tenorWords } \new Staff = basses \set Staff.instrumentName = #Bass \new Voice = basses { \global \bassMusic } \new Lyrics \lyricsto basses { \bassWords } \new PianoStaff \set PianoStaff.instrumentName = #Piano \new Staff = upper \upper \new Staff = lower \lower } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates combined?
Urs Liska ul at openlilylib.org writes: Hm, as far as I know (and my mail reader tells) I attached a plain .ly file ... But you'll find the content of that file at the end of this message (in the hope mail transfer protocols and readers won't mess it up ...) Urs Your .ly file was somehow downloaded as a .bin, but I've changed the extension back to .ly and it worked well. After modifying the missing { \altoWords } etc. strings to { \verseI } etc., it works perfect. Thanks for your kind help! Nandi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
2012/3/3 vedran.vu...@gnulinuxcentar.org: Hello, Do you know any site where I can find a collection of templates for for writing musicological book or music textbook in Lilypond? In http://repo.or.cz/w/lilypond-ejercicios.git http://paconet.org/wiki/index.php?title=30_ejercicios_semanales_de_LilyPond I use a makefile based on http://www.marcus-brinkmann.de/slave-songs.html HTH -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
2012/3/4 James pkx1...@gmail.com: Do you know is Lilypond plugin for OpenOffice updated regularly. I could not find decently new versions for Libre Office. You mean this: http://ooolilypond.sourceforge.net/ I use that under libreoffice, works perfectly. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
Hello, Thanks a lot. Muchas gracias :)) Vedran Quoting Francisco Vila paconet@gmail.com: 2012/3/3 vedran.vu...@gnulinuxcentar.org: Hello, Do you know any site where I can find a collection of templates for for writing musicological book or music textbook in Lilypond? In http://repo.or.cz/w/lilypond-ejercicios.git http://paconet.org/wiki/index.php?title=30_ejercicios_semanales_de_LilyPond I use a makefile based on http://www.marcus-brinkmann.de/slave-songs.html HTH -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
Hello, Thanks. I will check that. Do you know is Lilypond plugin for OpenOffice updated regularly. I could not find decently new versions for Libre Office. Thanks, Vedran Quoting James pkx1...@gmail.com: Vedran, On 3 March 2012 07:34, vedran.vu...@gnulinuxcentar.org wrote: Hello, Do you know any site where I can find a collection of templates for for writing musicological book or music textbook in Lilypond? See http://jonathankulp.org/ click on the 'counterpoint' link on this page. This is a musicalogical book he made using LP and LaTex - the source and the PDF is here. This might be something you can use. Also see: http://lilypond.org/doc/v2.14/Documentation/usage/lilypond_002dbook -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
Hello, On 4 March 2012 10:07, vedran.vu...@gnulinuxcentar.org wrote: Hello, ... Do you know is Lilypond plugin for OpenOffice updated regularly. I could not find decently new versions for Libre Office. You mean this: http://ooolilypond.sourceforge.net/ ? I don't think so. I'll cc the development list to see if anyone has any comment or suggestions. -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates for writing mysicological book
Hello, Yes. please let me know if you receive any update on that project. Thanks, vedran Quoting James pkx1...@gmail.com: Hello, On 4 March 2012 10:07, vedran.vu...@gnulinuxcentar.org wrote: Hello, ... Do you know is Lilypond plugin for OpenOffice updated regularly. I could not find decently new versions for Libre Office. You mean this: http://ooolilypond.sourceforge.net/ ? I don't think so. I'll cc the development list to see if anyone has any comment or suggestions. -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates for Chant again
2011/1/8 Michael Dykes thedoctor81...@gmail.com: I have an attached file that works very well, except (since I am not too terribly familiar with this template) I am not sure where how to insert the commands for midi in all staves. If I can get that, then I will have exactly what I need. Thanks again for all the help. Add a \midi { } block inside the \score block, at the same level as \layout { ... } block. See attachment. Janek satb_template_with_midi.ly Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates for Chant again
Il giorno ven, 07/01/2011 alle 20.37 -0500, Michael Dykes ha scritto: The attached file is *almost* what I want, but the measures are out-of-place. Any help would be appreciated. Thanks. Because each measure has a different total duration: the first measure is 11/4, the second is 9/4 and so on. LilyPond is expecting a 16/4 time. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates for Chant again
I have an attached file that works very well, except (since I am not too terribly familiar with this template) I am not sure where how to insert the commands for midi in all staves. If I can get that, then I will have *exactly *what I need. Thanks again for all the help. -- In Christ, Michael D % Version 2.1 % Last edit: March 16, 2006 % The music and words produced by this source code are believed % to be in the public domain in the United States. The source % code itself is covered by the Creative Commons Attribution- % NonCommercial license, % http://creativecommons.org/licenses/by-nc/2.5/ % Attribution: Geoff Horton % This is a template for standard 4-part hymns. It contains most % common options. Comment out the ones you don't need. \version 2.8.0 \include english.ly #(set-default-paper-size letter) #(set-global-staff-size 24) #(ly:set-option (quote no-point-and-click)) title = Octoëchos ~ Hymns of the Resurrection subtitle = Sticheron Template ~ Tone 1 composer = Vespers/Matins meter = Tone 1 arranger = piece = Kievan Chant poet = translator = musiccopyright = textcopyright = world = { \key g \major \override Staff.TimeSignature #'stencil = ##f \cadenzaOn } sop = \relative c'' { \world % Enter the music here. a2 b2 a\breve fs4 g fs e2 \bar | g\breve fs4 g2 a fs \bar | a\breve g2 fs \bar | g\breve fs2 g a g fs \bar|| a\breve g2 fs e1 \bar|| } alto = \relative c' { \world % Enter the music here. d2 g d\breve d4 g d e2 \bar | g\breve d4 g2 d d \bar | d\breve d2 d \bar | g\breve d2 d fs g d \bar|| a\breve b2 b e1 \bar|| } tenor = \relative c' { \world % Enter the music here. a2 b2 a\breve fs4 g fs e2 \bar | g\breve fs4 g2 a fs \bar | a\breve g2 fs \bar | g\breve fs2 g a g fs \bar|| a\breve g2 fs e1 \bar|| } bass = \relative c { \world % Enter the music here. d2 g d\breve d4 g d e2 \bar | g\breve d4 g2 d d \bar | d\breve d2 d \bar | g\breve d2 d fs g d \bar|| a\breve b2 b e1 \bar|| } verseOne = \lyricmode { \set stanza = } \markup { \column { \fill-line { \large \bold \title } % title \fill-line { \caps \piece % piece \caps \composer % composer } \fill-line { \meter % meter \arranger % arranger } \fill-line { \musiccopyright } } } \score { \context ChoirStaff \context Staff = upper \context Voice = sopranos { \voiceOne \sop } \context Voice = altos { \voiceTwo \alto } \context Staff = lower \clef bass \context Voice = tenors { \voiceOne \tenor } \context Voice = basses { \voiceTwo \bass } \layout { \context { \Score % Turns off bar numbering \remove Bar_number_engraver } \context { } } } \markup { \normalsize { \fill-line { \hspace #3.0 \line { \column { } } \hspace #3.0 } } } \markup { \fill-line { \column { \small \caps \poet % poet \small \caps \translator % translator } } \fill-line { \small \textcopyright } } \paper { ragged-bottom = ##t top-margin = 0.25\in bottom-margin = 0.25\in } %{ Source info goes here. “ †(real quotation marks for easy cut-and-pasting) © for cut-and-pasting. Revision history: 3-23-06 Added licensing info, revised title layout system %} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
On Tue, Nov 25, 2008 at 02:40:43PM +, Mary Evans wrote: I am having trouble getting the templates to work. Can anyone give me a template for choral music that is in 3 parts (ie SAB) with one or more verses between the staves? Thanks. Try the templates in the 2.11 docs. If they don't work, tell us exactly what isn't working. Please also read the Learning Manual in the 2.11 docs. It contains lots of info about modifying templates. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Mary Evans [EMAIL PROTECTED] writes: I am having trouble getting the templates to work. Can anyone give me a template for choral music that is in 3 parts (ie SAB) with one or more verses between the staves? Thanks. You may want to try the template kit I posted recently to this group. You can find it here: http://www.squirrel.nl/pub/xfer/lhml-template-0.00.zip It its basic form it supports staffs for: - chords (accompagniement) - solo voice - lead voice - high voice - medium voice - low voice (The names of the voices can be changed) Each voice can have up to 5 stanza associated. Just define what you need and the template will take care of it. I hope you find it helpful. Regards, Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
D Josiah Boothby wrote: you might try the lilypond snippet repository: http://lsr.dsi.unimi.it/ Thanks... I was wondering. Since there's many ways to do things in Lilypond, there's also many ways to do them wrong. Are there some kind of review process when I add to the repository? Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Peter Mogensen wrote: Thanks... I was wondering. Since there's many ways to do things in Lilypond, there's also many ways to do them wrong. Are there some kind of review process when I add to the repository? Anyway... He're an example (I think there's no copyright problems with this one): http://bigendian.dk/lily/ Please tell me if you think it's good enough to upload. As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings * There's no support for flams, ruffs and rolls in Lilypond (slip=flam) * I had to make ghost gracenotes in the other instruments because of flams in the snare voice * It's difficult to get rehearsalmarks to not collide with volta and other text like Fine and metronome indications. * I was lucky with this piece that tremolo strokes were not needed on any beamed notes (to simulate ruffs and rolls). Beames would have caused them to align to the beam, producing wrong results. * When you create a \book, you can change the piece text for each piece, but you can't change the instrument. So I used piece * The final partial meassure has a r4, which doesn't show. The reason is that I had to use R4 to get the staff hidden when empty. (look the last measure of the drumStaff) * When using a one-line staff, rehearsalmarks think they can move closer to the remaining line... and then they collide with the bars :( * Bar numbers collide with StaffGroup braces. * I had to do a wierd hack to the last full measure of the snare and explicitly write the beam. Else Lilypond would place to stroked 8ths instead... Don't know why. ... oh.. .and don't mind the MIDI-info. It's probably broken. Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Trent Johnston wrote: It's been on the list for a while... the windows native version produces a postscript file that can't be viewed for some reason... The postscript files produced with the linux version of Lilypond can be viewed... Obviously it's bug with Lilypond and not with the windows version.. thanks... Hmm.. from what I've heard that doesn't seem too obvious to me. If the Lilypond output is the same on the two platforms and the Linux Postscript file is postscript-correct, it seems more to be a problem with postscript-handling on Windows (which is not something which surprises me) If my PS-file works, then why not try to run my .ly file with Lilypond 2.4.5 on Windows and compare at which stages the output differs? Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Thanks for that Peter... It's been on the list for a while... the windows native version produces a postscript file that can't be viewed for some reason... The postscript files produced with the linux version of Lilypond can be viewed... Obviously it's bug with Lilypond and not with the windows version.. thanks... Hmm... I haven't done anything to make it work. I normally only use PS, since it takess too long (IMHO) to run Lilypond when also producing PDF. Yes .. PDF is very cumbersome ... so that's why I'm trying to use the postscript files but they don't seem to work in the windows version... Thanks again.. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Hi Peter, The postscript file you have with your ly file on the website.. was that produced with a linux or windows native or windows cgwin version of lilypond?? This is quite off topic to what you originally sent the email for... but windows users have had trouble opening postscript files under gsview but for some reason the postscript file you had on your website seemed to work.. any help with the lilypond platform would be of great help... Thanks.. Trent - Original Message - From: Peter Mogensen [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Tuesday, September 20, 2005 8:37 PM Subject: Re: templates Peter Mogensen wrote: Thanks... I was wondering. Since there's many ways to do things in Lilypond, there's also many ways to do them wrong. Are there some kind of review process when I add to the repository? Anyway... He're an example (I think there's no copyright problems with this one): http://bigendian.dk/lily/ Please tell me if you think it's good enough to upload. As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings * There's no support for flams, ruffs and rolls in Lilypond (slip=flam) * I had to make ghost gracenotes in the other instruments because of flams in the snare voice * It's difficult to get rehearsalmarks to not collide with volta and other text like Fine and metronome indications. * I was lucky with this piece that tremolo strokes were not needed on any beamed notes (to simulate ruffs and rolls). Beames would have caused them to align to the beam, producing wrong results. * When you create a \book, you can change the piece text for each piece, but you can't change the instrument. So I used piece * The final partial meassure has a r4, which doesn't show. The reason is that I had to use R4 to get the staff hidden when empty. (look the last measure of the drumStaff) * When using a one-line staff, rehearsalmarks think they can move closer to the remaining line... and then they collide with the bars :( * Bar numbers collide with StaffGroup braces. * I had to do a wierd hack to the last full measure of the snare and explicitly write the beam. Else Lilypond would place to stroked 8ths instead... Don't know why. ... oh.. .and don't mind the MIDI-info. It's probably broken. Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Peter Mogensen wrote: As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings oh ... one thing more... * How do I force page-breaks between each \score in a \book ? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Great that you want to contribute! Some comments: - Citing the introductory text of the LSR: LSR is a place where people can contribute there creative ideas ...these ideas are represented by snippets of Lilypond sources—small examples, short and to the point, that show a particular feature or a hack. I have myself argued that LSR is also a place for templates, i.e. examples of how to organize an .ly file. Before you submit your score, take a moment to consider what it really is you want to illustrate. The impression I got when looking at your example was that it illustrated a large number of different things. Maybe it's better to cut it down and separate out several snippets where each is more focused on some specific aspect? - Add comments in the code to make it easier for others to follow what you are doing. - See below for specific comments on the issues you brought up. Peter Mogensen wrote: Peter Mogensen wrote: Thanks... I was wondering. Since there's many ways to do things in Lilypond, there's also many ways to do them wrong. Are there some kind of review process when I add to the repository? Anyway... He're an example (I think there's no copyright problems with this one): http://bigendian.dk/lily/ Please tell me if you think it's good enough to upload. As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings The standard trick is to add a tie from an invisible note. You can find several examples in the mailing list archives. * There's no support for flams, ruffs and rolls in Lilypond (slip=flam) Here you can also find some examples of solutions in the mailing list archives, using embedded postscript commands. * I had to make ghost gracenotes in the other instruments because of flams in the snare voice * It's difficult to get rehearsalmarks to not collide with volta and other text like Fine and metronome indications. The standard solution is to move all rehearsal marks upwards by increasing the padding property. * I was lucky with this piece that tremolo strokes were not needed on any beamed notes (to simulate ruffs and rolls). Beames would have caused them to align to the beam, producing wrong results. * When you create a \book, you can change the piece text for each piece, but you can't change the instrument. So I used piece Read about printallheaders in 10.1.4 Page formatting in the manual. * The final partial meassure has a r4, which doesn't show. The reason is that I had to use R4 to get the staff hidden when empty. (look the last measure of the drumStaff) One possible workaround is to use the \tag feature described in 8.2.8 Different editions from one source * When using a one-line staff, rehearsalmarks think they can move closer to the remaining line... and then they collide with the bars :( Send an example to bug-lilypond. * Bar numbers collide with StaffGroup braces. Well-known problem. Just increase the padding of the BarNumber layout object. * I had to do a wierd hack to the last full measure of the snare and explicitly write the beam. Else Lilypond would place to stroked 8ths instead... Don't know why. ... oh.. .and don't mind the MIDI-info. It's probably broken. Peter /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
It's described in the manual for version 2.6 and in several emails in the mailing list archives. /Mats Peter Mogensen wrote: Peter Mogensen wrote: As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings oh ... one thing more... * How do I force page-breaks between each \score in a \book ? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
subject headers (WAS Re: templates)
As a small note, and a little off topic, more users will benefit more from these discussions if the subject tag indicates what is being discussed. Josiah On Tue, 2005-09-20 at 13:37 +0200, Peter Mogensen wrote: Trent Johnston wrote: It's been on the list for a while... the windows native version produces a postscript file that can't be viewed for some reason... The postscript files produced with the linux version of Lilypond can be viewed... Obviously it's bug with Lilypond and not with the windows version.. thanks... Hmm.. from what I've heard that doesn't seem too obvious to me. If the Lilypond output is the same on the two platforms and the Linux Postscript file is postscript-correct, it seems more to be a problem with postscript-handling on Windows (which is not something which surprises me) If my PS-file works, then why not try to run my .ly file with Lilypond 2.4.5 on Windows and compare at which stages the output differs? Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates repository
I don't really see any clear distinction between templates and the examples in the LSR. Most templates we have today contain some example music and I guess that people usually cut bits and pieces from both templates and snippets when they want to set up their own files. So, why not include also templates in the LSR? If the comment includes the word template, you can easily find those snippets that the author considered as a template. /Mats Mehmet Okonsar wrote: It would be nice if there is a Templates repository exactly like the code snippets rep. Just fill in the notes.. for lazy guys.. (like me) Best Regards, Mehmet Okonsar, pianist-composer www.okonsar.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates repository
Further, there are a number of templates in the manual. But, as Mats points out, there is absolutely no reason not to submit more snippets -- whether they are templates or not -- to the LSR. Josiah Mats Bengtsson wrote: I don't really see any clear distinction between templates and the examples in the LSR. Most templates we have today contain some example music and I guess that people usually cut bits and pieces from both templates and snippets when they want to set up their own files. So, why not include also templates in the LSR? If the comment includes the word template, you can easily find those snippets that the author considered as a template. /Mats Mehmet Okonsar wrote: It would be nice if there is a Templates repository exactly like the code snippets rep. Just fill in the notes.. for lazy guys.. (like me) Best Regards, Mehmet Okonsar, pianist-composer www.okonsar.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Templates
On Mon, 5 Jan 2004, Fernando Rauber wrote: There is a 'script' for that look in the documents for templates copy the one that fits your needs adjust the key etc and off you go. There are many examples, however I miss some ready to use templates, such as orchestra settings, string quartet, fours-hands piano, etc. I tried to download a few .ly files at Mutopia, but many of them don't run on my Lilypond version (2.0.1-Cygwin). []s Fernando Rauber ICQ: 2281311 Try using the convert-ly script to see if will help. I found that a number of .ly source files from the mutopia project web site wouldn't work. Converting them to the current version of lilypond using the convert-ly python script made most of them work. Nick ==--- www.SongBirdofSwing.com ---== Nick Busigin [EMAIL PROTECTED] Visit Our Indie Jazz CD Construction Project! ==--- www.SongBirdofSwing.com ---== ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Templates
In message [EMAIL PROTECTED] Nick Busigin [EMAIL PROTECTED] wrote: On Mon, 5 Jan 2004, Fernando Rauber wrote: There are many examples, however I miss some ready to use templates, such as orchestra settings, string quartet, fours-hands piano, etc. I tried to download a few .ly files at Mutopia, but many of them don't run on my Lilypond version (2.0.1-Cygwin). []s Fernando Rauber ICQ: 2281311 Try using the convert-ly script to see if will help. I found that a number of .ly source files from the mutopia project web site wouldn't work. Converting them to the current version of lilypond using the convert-ly python script made most of them work. I've just added an option to the Mutopia 'Advanced Search' page that allows you to search for music by LilyPond version, which may be helpful for people searching for music to help them learn LilyPond. You can either specify just the major version, eg. '2', the major version + minor version, eg. '2.0', or the whole version, eg. '2.0.1'. Chris -- Chris Sawer - [EMAIL PROTECTED] - Mutopia team leader Free sheet music for all at Mutopia: http://www.MutopiaProject.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Templates
On Mon, 5 Jan 2004, Chris Sawer wrote: I've just added an option to the Mutopia 'Advanced Search' page that allows you to search for music by LilyPond version, which may be helpful for people searching for music to help them learn LilyPond. You can either specify just the major version, eg. '2', the major version + minor version, eg. '2.0', or the whole version, eg. '2.0.1'. Hi Chris, Boy that was fast! I find the Mutopia web site a good resource for finding real world (complicated) examples of lilypond in action. Nick ==--- www.SongBirdofSwing.com ---== Nick Busigin [EMAIL PROTECTED] Visit Our Indie Jazz CD Construction Project! ==--- www.SongBirdofSwing.com ---== ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user