Re: tablature.ly - please test and comment
Carl D. Sorensen schrieb: [...] I think it's better to have the duplication and the ability to switch between \tabNumbersOnly and \tabFullNotation, than to avoid the duplication, and have \tabFullNotation be a non-undoable setting. As you can see, \tabFullNotation works only locally when included in a score: \version "2.13.0" \include "tablature.ly" test = \relative c { c4 d e f g a b c } \score { \new TabStaff { \clef "tab" \test } } \score { \new TabStaff { \clef "tab" \tabFullNotation \test } } \score { \new TabStaff { \clef "tab" \test } } So according to Neil's proposals, I got rid of the \tabNumbersOnly for sake of clarity. Marc Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest at beginning of music breaks vocalName
Op donderdag 28 mei 2009, schreef Tom Dickson: > If I change the rest to a note, it prints correctly (but has an extra > note). Trying a skip and/or a g8\rest both don't work, either. > > Any ideas how to get around this? You could use \set stanza = #"1." to get the first one there. It may take some fiddling to get StanzaNumber and InstrumentName to display same font-size and -weight. best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chords and relative notes
2009/5/28 Brandon Olivares : > Hi, > > Sorry for the stupid question, but I'm confused about something. > > If you have a chord, followed by either another note or chord that uses ' or > , to change the octave, is it relative to the last note of the chord, or to > the first? > > For instance, if I have followed by g', would it go two G's above E, > or 1 (relative to C)? > > I read the documentation, but it shows images for the output of each > example, and I am blind. We tried to explain it in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Single-voice#Chorded-notes Here, the first two chords are and the c is a common pitch between them. Obviously, this would only be possible if the second c were relative to the first one. No need to write c, to lower the pitch of the second c despite of being a fifth down from the preceding g HTH -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest at beginning of music breaks vocalName
Op donderdag 28 mei 2009, schreef Tom Dickson: > In the attached example, the "music" begins with a rest (r8) - and > vocalName and shortVocalName don't print on the first line, but do on > subsequent lines. > Any ideas how to get around this? I found an even better solution. Put the vocalName definition in the \with {} block for the Lyrics context: \new Lyrics \with { vocalName = "1." \override InstrumentName #'font-series = #'bold } \lyricsto sopranos \verseOne you could also put the shortVocalName definition there. The preceding \set command is not needed in \with blocks. LilyPond probably does not print the vocalName if defined using \set inside the lyrics input, because the context is created at the start of the score, and only when there are notes, the lyric input is processed. And at that moment the \set vocalName command is encountered. But is has no effect anymore as the context has already been created one eight note ago (in this case). best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [ANN] Nederlandstalig LilyPond forum / Dutch LilyPond user forum
Wilbert Berendsen wrote: Hallo, alle Nederlands sprekende LilyPond gebruikers: Op www.lilypondforum.nl is nu een forum voor Nederlandstalige LilyPondgebruikers. Het is bedoeld om nieuwkomers ondersteuning te bieden dus ook de meer gevorderde LilyPond-gebruiker is er van harte welkom! At www.lilypondforum.nl a new forum has been created to support the growing Dutch-speaking LilyPond user community. Its primary target is to support newcomers, so more advanced Dutch-speaking users are more than welcome as well! http://www.lilypondforum.nl/ It's just brand new and empty, but it seems to work! Ik kan me niet registreren... krijg geen email... \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
On 5/28/09 1:21 AM, "Marc Hohl" wrote: > Carl D. Sorensen schrieb: >> [...] >> >> I think it's better to have the duplication and the ability to switch >> between \tabNumbersOnly and \tabFullNotation, than to avoid the duplication, >> and have \tabFullNotation be a non-undoable setting. >> > As you can see, \tabFullNotation works only locally when included in a > score: > > \version "2.13.0" > \include "tablature.ly" > > test = \relative c { c4 d e f g a b c } > > \score { \new TabStaff { \clef "tab" \test } } > > \score { \new TabStaff { \clef "tab" \tabFullNotation \test } } > > \score { \new TabStaff { \clef "tab" \test } } > > So according to Neil's proposals, I got rid of the \tabNumbersOnly for > sake of clarity. > OK, I guess. I still don't like having a command that is not undoable. I can't think of a "reasonable" application where this would cause a problem, but LilyPond users regularly try things that I don't consider "reasonable". I guess that we can deal with the problem later if it ever shows up. I'll publish the patch to rietveld and obtain comments. Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
> But still not within the tablature staff > At the moment, I don't know how to manage this. I found it, < % Dead Note \tweak #'stencil #ly:note-head::print \tweak #'glyph-name #"2cross" \tweak #'style #'special f'\1 % End of Dead Note f\4 >4 Dead note is applied only to "f'\1" as we expect, and "X" is displayed on both, staff and tabStaff. Now i don't have idea how to make it in a lilypond function :) to use \chordNoteDead instead of add all tweaks lines... however it don't matters, now we know that it is possible to show X in tab too by notes instead of chord. Thanks for your patience. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Info about TabStaff
Thank you for your answer Toine Schreurs, It perfectly works! About using the "standard" clef, I will do it of course. Actually I discover slowly LilyPond and I'm not yet very confident with these "standard". Thank you for your comments. My program is far to be operational for now, but if you want to try it, you can download a first release http://www.zenky.free.fr/Dionysos for Ubuntu. (I don't know if it works for other OS). To use it, you just have to click on "Parcourir" and then select a MIDI file. The LilyPond files are created in a sub-directory in the directory where your MIDI file is. If you have any comments or advices, I will be very happy to hear them. :) Arthur 2009/5/27 Marc Hohl > Arthur Lenoir schrieb: > >> Hi! >> >> I'm working since a few months on a program which converts MIDI files into >> LilyPond code. It already works fine (If you are intesresting, I can show >> you) but I came up against a little problem. I don't know if this problem is >> a bug or if I don't do the right thing. >> > This looks very promising indeed! Can you show me more? > >> My problem is about the TabStaff. In my scores, I always use the >> \RemoveEmptyStaffContext, but it seems to not work with the TabStaff. I >> would like to know if it's normal or if it's a bug? >> I have already search in the documentation, wiki, snippet repository and >> the google bug tracker. If you need more information you can contact me. >> Thank you for your work, LilyPond is really awesome! >> >> Best regards, >> >> Arthur Lenoir >> >> This is an example of this problem: >> http://www.zenky.free.fr/allInstruments.ly >> and the PDF result: http://www.zenky.free.fr/allInstruments.pdf >> >> > Just a little annotation: why don't you use the "standard" clefs for the > guitar and the bass guitar? > With \clef "G_8" the guitar part would be much easier to read, and with > \clef "bass_8" you can omit > the ottava-spanners. > > Greetings > > Marc > > > >> >> ___ >> 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
Info about TabStaff
Thank you for your answer Toine Schreurs, It perfectly works! About using the "standard" clef, I will do it of course. Actually I discover slowly LilyPond and I'm not yet very confident with these "standard". Thank you for your comments. My program is far to be operational for now, but if you want to try it, you can download a first release http://www.zenky.free.fr/Dionysos for Ubuntu. (I don't know if it works for other OS). To use it, you just have to click on "Parcourir" and then select a MIDI file. The LilyPond files are created in a sub-directory. If you have any comments or advices, I will be very happy to hear them. :) Arthur ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [ANN] Nederlandstalig LilyPond forum / Dutch LilyPond user forum
Op donderdag 28-05-2009 om 13:52 uur [tijdzone +0200], schreef Grammostola Rosea: > Wilbert Berendsen wrote: > > Hallo, alle Nederlands sprekende LilyPond gebruikers: > > Ik kan me niet registreren... krijg geen email... Ik wel, zie onder Groet -- Jan. Van:LilyPondForum.NL Aan:jann...@gnu.org Onderwerp: LilyPondForum.NL: Wachtwoord Datum: 27 May 2009 20:40:36 +0200 Je gebruikersnaam is: janneke Je wachtwoord is: xxx Je kunt nu inloggen: http://www.lilypondforum.nl/ Veel plezier! -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter AvatarĀ®: http://AvatarAcademy.nl| http://lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Info about TabStaff
Thank you for your answer Toine Schreurs, It perfectly works! About using the "standard" clef, I will do it of course. Actually I discover slowly LilyPond and I'm not yet very confident with these "standard". Thank you for your comments. My program is far to be operational for now, but if you want to try it, you can download a first release http://www.zenky.free.fr/Dionysos for Ubuntu. (I don't know if it works for other OS). To use it, you just have to click on "Parcourir" and then select a MIDI file. The LilyPond files are created in a sub-directory in the directory where your MIDI file is. If you have any comments or advices, I will be very happy to hear them. :) Arthur 2009/5/27 Marc Hohl > Arthur Lenoir schrieb: > >> Hi! >> >> I'm working since a few months on a program which converts MIDI files into >> LilyPond code. It already works fine (If you are intesresting, I can show >> you) but I came up against a little problem. I don't know if this problem is >> a bug or if I don't do the right thing. >> > This looks very promising indeed! Can you show me more? > >> My problem is about the TabStaff. In my scores, I always use the >> \RemoveEmptyStaffContext, but it seems to not work with the TabStaff. I >> would like to know if it's normal or if it's a bug? >> I have already search in the documentation, wiki, snippet repository and >> the google bug tracker. If you need more information you can contact me. >> Thank you for your work, LilyPond is really awesome! >> >> Best regards, >> >> Arthur Lenoir >> >> This is an example of this problem: >> http://www.zenky.free.fr/allInstruments.ly >> and the PDF result: http://www.zenky.free.fr/allInstruments.pdf >> >> > Just a little annotation: why don't you use the "standard" clefs for the > guitar and the bass guitar? > With \clef "G_8" the guitar part would be much easier to read, and with > \clef "bass_8" you can omit > the ottava-spanners. > > Greetings > > Marc > > > >> >> ___ >> 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: tablature.ly - please test and comment
Julian schrieb: But still not within the tablature staff At the moment, I don't know how to manage this. I found it, < % Dead Note \tweak #'stencil #ly:note-head::print \tweak #'glyph-name #"2cross" \tweak #'style #'special f'\1 % End of Dead Note f\4 4 Wow, great! Dead note is applied only to "f'\1" as we expect, and "X" is displayed on both, staff and tabStaff. Now i don't have idea how to make it in a lilypond function :) to use \chordNoteDead instead of add all tweaks lines... Try chordNoteDeadNote = #(define-music-function (parser location note) (ly:music?) (set! (ly:music-property note 'tweaks) (acons 'stencil ly:note-head::print (acons 'glyph-name "2cross" (acons 'style 'special (ly:music-property note 'tweaks) note) it works exactly as your tweaks, within normal and tab staff. test = \relative c { < a-0 e'-2 a-3 c-1 e-0 >8 < a \chordNoteDeadNote e' \chordNoteDeadNote a \chordNoteDeadNote c e > < a e' a c e > < a \chordNoteDeadNote e' \chordNoteDeadNote a \chordNoteDeadNote c e > < a e' a c e> < a \chordNoteDeadNote e' \chordNoteDeadNote a \chordNoteDeadNote c e > < a e' a c e> < a \chordNoteDeadNote e' \chordNoteDeadNote a \chordNoteDeadNote c e > < a e' a c e >1 } \score { << \new Staff{ \clef "G_8" \test } \new TabStaff {\clef "moderntab" \test } >> } I am not sure about the name - I think it should represent the fact that these functions are to be used inside a chord construct < ... >. Greetings Marc however it don't matters, now we know that it is possible to show X in tab too by notes instead of chord. Thanks for your patience. ___ 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
emacs lilypond-mode
Is there somebody out there working with emacs lilypond-mode?? I use the example file from the tutorial: -- \documentclass[a4paper]{article} \begin{document} Documents for @command{lilypond-book} may freely mix music and text. For example, \begin{lilypond} \relative c' { c2 g'2 \times 2/3 { f8 e d } c'2 g4 } \end{lilypond} Options are put in brackets. \begin[fragment,quote,staffsize=26,verbatim]{lilypond} c'4 f16 \end{lilypond} Larger examples can be put into a separate file, and introduced with \verb+\lilypondfile+. \lilypondfile[quote,noindent]{screech-boink.ly} \end{document} - I save it with .lytex extension and open it im emacs ... lilypond-mode is active. Then as far as I understand I have to press 'Command--Book' to process the file with lilypond-book, and then open a newly produced .tex file and run 'Command- Latex'.but the 'Book' comand gives me the following errormessage: --- -*- mode: compilation; default-directory: "~/latex projekte/jazzguitar/" -*- Compilation started at Thu May 28 21:26:46 lilypond-book "c:/Dokumente und Einstellungen/work/latex projekte/jazzguitar/lbooktest1".tely Usage: lilypond-book [OPTION]... FILE Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document. Examples: ... Compilation exited abnormally with code 2 at Thu May 28 21:26:46 - the lilypond part of my .emacs file looks like that: --- (autoload 'LilyPond-mode "lilypond-mode") (add-to-list 'load-path "c:/Programme/ GNU Emacs 22.3/site-lisp/tex-site.el") (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (setq auto-mode-alist (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) (add-to-list 'auto-mode-alist '("\\.lytex$" . LilyPond-mode)) (setq auto-mode-alist (cons '("\\.lytex$" . LilyPond-mode) auto-mode-alist)) (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock))) -- So what am I supposed to do to successfully compile and view the example file from the lilypond/lilypond-book tutorial with emacs lilypond-mode? Although I already recieved some help on this list (thanks for that) I'm still stuck. I would be gratefull for any help Thomas PS Another not so smart question: how can I reply to a posting on this list?? my outlook-express-newsreader doesn't recognize the list, and the web-interface only allows to answer directly to an email ... not to the list (??) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
Great man! Thanks for your help ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: emacs lilypond-mode
Am 28.05.2009 um 22:12 schrieb Thomas: Is there somebody out there working with emacs lilypond-mode?? I use the example file from the tutorial: -- \documentclass[a4paper]{article} \begin{document} Documents for @command{lilypond-book} may freely mix music and text. For example, \begin{lilypond} \relative c' { c2 g'2 \times 2/3 { f8 e d } c'2 g4 } \end{lilypond} Options are put in brackets. \begin[fragment,quote,staffsize=26,verbatim]{lilypond} c'4 f16 \end{lilypond} Larger examples can be put into a separate file, and introduced with \verb+\lilypondfile+. \lilypondfile[quote,noindent]{screech-boink.ly} \end{document} - I save it with .lytex extension and open it im emacs ... lilypond- mode is active. Then as far as I understand I have to press 'Command--Book' to process the file with lilypond-book, and then open a newly produced .tex file and run 'Command- Latex'.but the 'Book' comand gives me the following errormessage: --- -*- mode: compilation; default-directory: "~/latex projekte/ jazzguitar/" -*- Compilation started at Thu May 28 21:26:46 lilypond-book "c:/Dokumente und Einstellungen/work/latex projekte/jazzguitar/lbooktest1".tely Usage: lilypond-book [OPTION]... FILE Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document. Examples: ... Compilation exited abnormally with code 2 at Thu May 28 21:26:46 - the lilypond part of my .emacs file looks like that: Have you copied the file screech-boink.ly to an appropriate directory? James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
On 5/28/09 7:22 AM, "Julian" wrote: >> But still not within the tablature staff >> At the moment, I don't know how to manage this. > > I found it, > > < >% Dead Note >\tweak #'stencil #ly:note-head::print >\tweak #'glyph-name #"2cross" >\tweak #'style #'special >f'\1 >% End of Dead Note >f\4 >> 4 > > Dead note is applied only to "f'\1" as we expect, and "X" is displayed on > both, > staff and tabStaff. > > Now i don't have idea how to make it in a lilypond function :) to use > \chordNoteDead instead of add all tweaks lines... > however it don't matters, now we know that it is possible to show X in tab too > by notes instead of chord. Here's one way to do it: deadNote = #(define-music-function (parser location note) (ly:music?) (set! (ly:music-property note 'tweaks) (acons 'stencil ly:note-head::print (acons 'glyph-name "2cross" (acons 'style 'special (ly:music-property note 'tweaks) note) { } Marc, feel free to add this to tablature.ly if you want to. HTH, Carl > > Thanks for your patience. > > > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
If I may chime in... This may just be a matter of editorial taste, but would it be possible to make it so the 'X' on in the Tab staff is not the musical glyph from Feta, but rather the character 'capital X' from the same font set being used for tab numbers? For example, instead of #'glyph-name #"2cross", use whatever command would call the capital X from whichever font tab numbers are set to? I believe that this looks better on the page than mixing music glyphs and text glyphs in the tab staff, particularly where tab numbers and muted strings are part of the same chord. In the industry, most houses are currently using Helvetica Condensed Bold or some derivative (which, incidentally, matches better with the 'modern' tab clef) for tab numbers, but I've seen older copy done with a Roman font in the tab staff (and a fancier, more rustic looking tab clef). Thanks, Marc and Carl for making this happen. I'll post some editorial suggestions here for how bends should look soon (next week, really! I've had occasion to work on it this week) David Carl D. Sorensen wrote: On 5/28/09 7:22 AM, "Julian" wrote: But still not within the tablature staff At the moment, I don't know how to manage this. I found it, < % Dead Note \tweak #'stencil #ly:note-head::print \tweak #'glyph-name #"2cross" \tweak #'style #'special f'\1 % End of Dead Note f\4 4 Dead note is applied only to "f'\1" as we expect, and "X" is displayed on both, staff and tabStaff. Now i don't have idea how to make it in a lilypond function :) to use \chordNoteDead instead of add all tweaks lines... however it don't matters, now we know that it is possible to show X in tab too by notes instead of chord. Here's one way to do it: deadNote = #(define-music-function (parser location note) (ly:music?) (set! (ly:music-property note 'tweaks) (acons 'stencil ly:note-head::print (acons 'glyph-name "2cross" (acons 'style 'special (ly:music-property note 'tweaks) note) { } Marc, feel free to add this to tablature.ly if you want to. HTH, Carl Thanks for your patience. ___ 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: tablature.ly - please test and comment
> Here's one way to do it: > > deadNote = > #(define-music-function (parser location note) (ly:music?) > (set! (ly:music-property note 'tweaks) > (acons 'stencil ly:note-head::print >(acons 'glyph-name "2cross" > (acons 'style 'special (ly:music-property note 'tweaks) > note) Yes, Marc already replied me ( with exactly same function ) some hours ago Thanks anyway Julian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature.ly - please test and comment
On 5/28/09 6:28 PM, "David Stocker" wrote: > If I may chime in... > > This may just be a matter of editorial taste, but would it be possible > to make it so the 'X' on in the Tab staff is not the musical glyph from > Feta, but rather the character 'capital X' from the same font set being > used for tab numbers? For example, instead of #'glyph-name #"2cross", > use whatever command would call the capital X from whichever font tab > numbers are set to? Getting an X from the number font is not hard. The only challenge would come in setting the cross notehead for the Staff context, and the number notehead for the TabStaff context. But this shouldn't be too hard to do, I think. Marc is certainly good enough at programming to make it happen now, I'm sure. Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tempo mark alignment
On Wed, May 27, 2009 at 2:01 PM, Neil Puttock wrote: > Adding the context property to switch between the two alignments was a > quick hack with a serious limitation: if set to align with note > columns, tempo marks disappear completely when attached to > multi-measure rests. > > A proper solution should be able to determine automatically when to > attach the tempo mark to prefatory material (favouring time > signatures) or note columns. Would the 'automatic' alignment rule be something like this? if (tempo mark occurs on first beat of measure): align to prefatory material else: align to note column Or is that over-simplifying things? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Petrucci-like spacing?
Op dinsdag 26 mei 2009, schreef Henning Plumeyer: > I would like to have a more dense horizontal spacing in the 3/1 sections > (where the music normally is pretty fast) than in the 2/2 sections. You could place a \newSpacingSection command at the start of a section where the average length of the notes changes drastically. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/New-spacing-area best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user