again: all must do a new clone - new git repository with fixed history
Hi, We had 5 iterations of a new repository, many thanks to Francisco and Patrick for their help in finding problems and suggestions. This is the head of the new master $ gl | head -2 ba9298b Doc: minor edits to tweaks.itely for LM a721007 lily.git: Rewrite translation markers. so if you have something else, please fetch a fresh clone, for more information, see http://lists.gnu.org/archive/html/lilypond-devel/2010-03/msg00360.html Greetings, Jan. -- Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org Freelance IT http://JoyOfSource.com | Avatar® http://AvatarAcademy.nl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lyricmode and font
Hi! How can I do for changing the font in the lyricmode? Thanks -- oiram/bin/selom \version 2.12.3 #(define (script x) (make-music 'TextScriptEvent 'direction #'DOWN 'text (markup #:vcenter #:circle #:finger x)) ) #(define (add-script m x) (if (equal? (ly:music-property m 'name) 'EventChord) (set! (ly:music-property m 'elements) (cons (script x) (ly:music-property m 'elements))) (let ((es (ly:music-property m 'elements)) (e (ly:music-property m 'element))) (map (lambda (y) (add-script y x)) es) (if (ly:music? e) (add-script e x m) Strd = #(define-music-function (parser location script music ) ( string? ly:music? ) (add-script music script)) strd = #(define-music-function (parser location str music) (string? ly:music?) (let ((spanned-music (let ((first-element #f) (last-element #f) (first-found? #f)) (music-map (lambda (m) (if (equal? (ly:music-property m 'name) 'EventChord) (begin (if (not first-found?) (begin (set! first-found? #t) (set! first-element m))) (set! last-element m))) m) music) (if first-found? (begin (set! (ly:music-property first-element 'elements) (cons (make-music 'TextSpanEvent 'span-direction -1) (ly:music-property first-element 'elements))) (set! (ly:music-property last-element 'elements) (cons (make-music 'TextSpanEvent 'span-direction 1) (ly:music-property last-element 'elements) music))) (make-music 'SequentialMusic 'origin location 'elements (list #{ \once \override TextSpanner #'font-size = #-3 \once \override TextSpanner #'direction = #-1 \once \override TextSpanner #'style = #'solid \once \override TextSpanner #'dash-period = #4 \once \override TextSpanner #'bound-details = #'((left ( Y . 0)) (right (Y . 0) (spanner . 20)(attach-dir . 1))) \once \override TextSpanner #'bound-details #'left #'text = \markup { \vcenter \circle \finger $str } \once \override TextSpanner #'bound-details #'right #'text = \markup { \draw-line #'( 0 . .7) }#} spanned-music #(define (script x) (make-music 'TextScriptEvent 'direction #'UP 'text (markup #:vcenter #:circle #:finger x)) ) #(define (add-script m x) (if (equal? (ly:music-property m 'name) 'EventChord) (set! (ly:music-property m 'elements) (cons (script x) (ly:music-property m 'elements))) (let ((es (ly:music-property m 'elements)) (e (ly:music-property m 'element))) (map (lambda (y) (add-script y x)) es) (if (ly:music? e) (add-script e x m) Str = #(define-music-function (parser location script music ) ( string? ly:music? ) (add-script music script)) str = #(define-music-function (parser location str music) (string? ly:music?) (let ((spanned-music (let ((first-element #f) (last-element #f) (first-found? #f)) (music-map (lambda (m) (if (equal? (ly:music-property m 'name) 'EventChord) (begin (if (not first-found?) (begin (set! first-found? #t) (set! first-element m))) (set! last-element m))) m) music) (if first-found? (begin (set! (ly:music-property first-element 'elements) (cons (make-music 'TextSpanEvent 'span-direction -1) (ly:music-property first-element 'elements))) (set! (ly:music-property last-element 'elements) (cons (make-music 'TextSpanEvent 'span-direction 1) (ly:music-property last-element 'elements) music))) (make-music 'SequentialMusic 'origin location 'elements (list #{ \once \override TextSpanner #'font-size = #-3 \once \override TextSpanner #'direction = #0 \once \override TextSpanner #'style = #'solid \once \override TextSpanner #'dash-period = #0.4 \once \override TextSpanner #'bound-details = #'((left (Y . 0)) (right (Y . 0) (padding . 0.25) (attach-dir . 2))) \once \override
Tempo markings and tempo dynamics
I have been creating a score that frequently has a rall marking followed by a tempo to get the performers back up to speed. I spent a while being mystified as to where my a tempo markings had gone, and then realised that LilyPond ignores them, since they are all the same. I checked and found that I create the rall marking as a \markup, as suggested in the documentation. I then looked online to see if there's any mention of using \markup for tempo variations and saw that there are a few mentions of where people want to use LilyPond to create Midi and therefore wanted the tempo variances to affect the playback speed. The response was that there are lots of different sorts of markup and they can't all be catered for. In a way, I can accept that, but it does seem odd that LilyPond won't allow me to write a tempo followed by rall followed by a tempo, since it's 100% justifiable music markup. I think if necessary I can work around it by using something like: \set Score.tempoHideNote = ##t \tempo 4 = SomeValue \set Score.tempoHideNote = ##f except that doesn't work either - I have to shift the \set Score.tempoHideNote = ##f further down the score to effectively turn off the display of the tempo marking. Thoughts? -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Web service interface for LSR
Hi, is there an interface for LSR available for other applications? I would like to do something like the following: - query LSR for a string like staccato, and get back snippet IDs - based on snippet ID-s I can get descriptions, preview image etc. Thanks, Bert ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
tablature mystery
I'm sure I've messed up somewhere, but I can't see what I'm doing wrong here. I'm editing some music for fingerstyle guitar and I'm putting it into a modern looking tablature. I'm writing all of the notes twice so I can fine-tune the notation and tablature independently. I have 4 variables defined, which contain the notes: nfingers and nthumb for the notation, and tfingers and tthumb for the tablature. Circumstances will require me to further divide the tablature notes into voices, as needed to fine-tune how they're displayed. nthumb and tthumb don't contain music because they enter later in the piece. I'm working off of a *.ly that was exported from TuxGuitar and I'd like to do this with as little additional fuss as possible. In the first example, I'm trying to display the slur in the tab staff as originating from the 2 and ending at the 0. In the second example, I've defined voices within the variable nfingers in an attempt to get the slur how I want it. However, LilyPond creates two further note staves, each containing one of the voices from the variables in tfingers, which is, itself part of a TabStaff. Can anyone point out where I'm going wrong? Thanks, David -- David Stocker 804-598-3762 http://notesettersinc.com \version 2.13.16 nfingers = { %1 e,4\5-.\mf_\markup { \fontsize #-2 \center-align w/fingers } gis\2 e\3 b,\4 4-. \slurDown gis\2 e\3 b,\4 8( a,\4 ) } nthumb = { %1 s2. } fingers = { %1 e,4\5-. gis\2 e\3 b,\4 4-. gis\2 e\3 b,\4 8( a,\4 ) } tfingers = { { \new Voice = upper { %1a e,4\5-. gis\2 e\3 b,\4 4-. gis\2 e\38 s } \new Voice = lower { %1b s2 b,\4 8( a,\4 ) } } } tthumb = { %1 s2. } \score { \new Staff = notation { \clef treble \key e \major \time 3/4 \override Staff.StringNumber #'transparent = ##t \new Voice = fingers { \transpose c c'' \nfingers } \new Voice = thumb { \nthumb } } \new TabStaff = tablature { \set TabStaff.stringTunings = #'(-4 -8 -13 -15 -20 -27 ) \clef moderntab \override TabNoteHead #'whiteout = ##f { \fingers } { \tthumb } } } \score { \new Staff = notation { \clef treble \key e \major \time 3/4 \override Staff.StringNumber #'transparent = ##t \new Voice = fingers { \transpose c c'' \nfingers } \new Voice = thumb { \nthumb } } \new TabStaff = tablature { \set TabStaff.stringTunings = #'(-4 -8 -13 -15 -20 -27 ) \clef moderntab \override TabNoteHead #'whiteout = ##f { \tfingers } { \tthumb } } }___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature mystery
In the second example, I've defined voices within the variable nfingers... Actually, the voices are defined in the variable tfingers Hope that clarifies what I'm trying to do here. -- David Stocker 804-598-3762 http://notesettersinc.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tempo markings and tempo dynamics
Hi Phil, I checked and found that I create the rall marking as a \markup, as suggested in the documentation. Where is this suggestion? All tempo indications should really be in MetronomeMarkup if possible -- here's an example of how I do it, with some Scheme functions to help out: tempoMU = #(define-music-function (parser location text) (string?) #{ \tempo \markup \override #'(font-series . medium) $text #}) tempoMUMM = #(define-music-function (parser location prependText notevalue mmText) (string? string? string?) #{ \tempo \markup \override #'(font-series . medium) \concat { $prependText ( \hspace #0.3 \fontsize #-2.2 \general-align #Y #DOWN \note #$notevalue #1 \hspace #0.55 $mmText ) } #}) stuff = \relative c' { \tempoMUMM #Stupendously #4 #= ca. 1000 \repeat unfold 16 { c4 } \tempoMU rall c c c c \tempoMU a tempo c c c c } \score { \stuff } That way you can control midi speeds, etc., in the tempo command(s). Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tablature mystery
Reading through the docs, I discovered TabVoice, of which I was previously not aware. :-) David On 03/29/2010 11:27 AM, David Stocker wrote: I'm sure I've messed up somewhere, but I can't see what I'm doing wrong here. I'm editing some music for fingerstyle guitar and I'm putting it into a modern looking tablature. I'm writing all of the notes twice so I can fine-tune the notation and tablature independently. I have 4 variables defined, which contain the notes: nfingers and nthumb for the notation, and tfingers and tthumb for the tablature. Circumstances will require me to further divide the tablature notes into voices, as needed to fine-tune how they're displayed. nthumb and tthumb don't contain music because they enter later in the piece. I'm working off of a *.ly that was exported from TuxGuitar and I'd like to do this with as little additional fuss as possible. In the first example, I'm trying to display the slur in the tab staff as originating from the 2 and ending at the 0. In the second example, I've defined voices within the variable nfingers in an attempt to get the slur how I want it. However, LilyPond creates two further note staves, each containing one of the voices from the variables in tfingers, which is, itself part of a TabStaff. Can anyone point out where I'm going wrong? Thanks, David -- David Stocker 804-598-3762 http://notesettersinc.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- David Stocker 804-598-3762 http://notesettersinc.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyricmode and font
Woo HOo! At last one I know the answer to! Inside the \layout {} block add the following: \context { \Lyrics \override LyricText #'font-name = #yourFont } See Section 4 of the Learning Manual - Tweaking Output, for #'font-style, size, etc. I don't know the answer to many of these questions because they're usually very easy things to do when you edit the svg output from Lilypond in Inkscape. I actually feel kinda guilty about it because Lilypond is so brilliant but I don't know enough to help with development or documentation ... - Original Message - From: Mario Moles To: lilypond-user@gnu.org Sent: Monday, March 29, 2010 11:57 AM Subject: lyricmode and font Hi! How can I do for changing the font in the lyricmode? Thanks -- oiram/bin/selom -- ___ 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: Tempo markings and tempo dynamics
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 29. März 2010 22:10:25 schrieb Kieren MacMillan: Hi Phil, I checked and found that I create the rall marking as a \markup, as suggested in the documentation. Where is this suggestion? In older versions of lilypond, text-only tempo indications were not possible, thus the advise to use \markup. However, since version 2.12 one can also add text to \tempo marks, so now one should always use \tempo instead. In many cases, \tempo rall. and \tempo a tempo will suffice. However, if you want to change the appearance of the text, you'll have to use an explicit \tempo \markup { . rall. } And if you also want to adjust midi speed, then you need to do some more advanced tweaking... Cheers, Reinhold - -- - -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFLsRSXTqjEwhXvPN0RAr/yAJ0XXmUcmNWrehJkFAF8kWWU1BwF2gCePEGa gxQu3gmSFCqhxx/e44LOUQo= =KMAn -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tempo markings and tempo dynamics
Reinhold == Reinhold Kainhofer reinh...@kainhofer.com writes: Reinhold -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reinhold Am Montag, 29. März 2010 22:10:25 schrieb Kieren MacMillan: Hi Phil, I checked and found that I create the rall marking as a \markup, as suggested in the documentation. Thecurrent version of the articulte script understands \markup a tempo and rall etc., to change the MIDI tempo. See http://www.nicta.com.au/people/chubbp/articulate for the script. I haven't updated it to understand the \tempo rall etc., commands, yet. -- Dr Peter Chubb peter DOT chubb AT nicta.com.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia All things shall perish from under the sky/Music alone shall live, never to die ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Dividing (or multiplying) note lengths?
I'm typesetting a Palestrina motet, possibly the first of several. For ease of proofreading, I've used the original (long) note values from the collected works edition, but I'd like to generate output with halved note-values, as is current practice. Can Lilypond do this automagically, or must I explicitly change the note lengths in the input file? (If the latter, I'll probably write a Perl or Python script to process the initial input files.) -- Hilary Snaden ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyricmode and font
In data lunedì 29 marzo 2010 23:00:28, Gerard McConnell ha scritto: Woo HOo! At last one I know the answer to! Inside the \layout {} block add the following: \context { \Lyrics \override LyricText #'font-name = #yourFont } See Section 4 of the Learning Manual - Tweaking Output, for #'font-style, size, etc. I don't know the answer to many of these questions because they're usually very easy things to do when you edit the svg output from Lilypond in Inkscape. I actually feel kinda guilty about it because Lilypond is so brilliant but I don't know enough to help with development or documentation ... Thank you so match : i have solved! -- oiram/bin/selom ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Dividing (or multiplying) note lengths?
Hi Hilary, Can Lilypond do this automagically Almost... http://lsr.dsi.unimi.it/LSR/Item?id=305 =) Cheers, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tempo markings and tempo dynamics
Reinhold Kainhofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 29. März 2010 22:10:25 schrieb Kieren MacMillan: Hi Phil, I checked and found that I create the rall marking as a \markup, as suggested in the documentation. Where is this suggestion? In older versions of lilypond, text-only tempo indications were not possible, thus the advise to use \markup. However, since version 2.12 one can also add text to \tempo marks, so now one should always use \tempo instead. In many cases, \tempo rall. and \tempo a tempo will suffice. However, if you want to change the appearance of the text, you'll have to use an explicit \tempo \markup { . rall. } The main reason I don't always use \tempo is that I often must use \mark to avoid the behavior one gets when the tempo mark falls over a multi-measure rest and gets centered there. (I also don't often need MIDI output). I have brought this up before without getting an acceptable answer. If anyone has an acceptable solution for this I would appreciate hearing about it. TIA, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user