Re: Coloring Ledger Lines
On Sun, Mar 8, 2015 at 2:19 PM, David Nalesnik david.nales...@gmail.com wrote: David, On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker notesetters...@gmail.com wrote: Okay, David provided the answer to my last question about the spacing, I just had to figure it out. It seems like a hack to my, but it achieves the result I'm after, so if no one has a more elegant suggestion, this is what I'm going with: If you're just going to have a few changes, then there would be a need to create so many new StaffSymbols. Why not: *no* need ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
A file's information or statistics
Is there a way to display various stats of a piece, e.g. number of notes or other such information? -- Dave Higgins Littleton, Colorado dave.higg...@dkds.us See my photos at https://www.dkds.us/gallery3 -- http://www.geocaching.com/profile/?guid=60ac8b65-d115-42b7-9363-f2dff0c863cf -- I want to kill everyone here with a cute colorful Hydrogen Bomb!! attachment: dave_higgins.vcf___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
On Mar 8, 2015, at 4:07 PM, Menu Jacques imj-...@bluewin.ch wrote: Hello Pat, I tried: { \time 3/4 \clef bass \repeat tremolo 6 e8 -\markup {\draw-dotted-line #'(5.1 . 2.3)} | } but the slur doesn’t show up. Try: { \time 3/4 \clef bass \repeat tremolo 6 e8^\markup { \hspace #-1.2 \override #'(thickness . 4) \override #'(off . 0.05 ) \draw-dotted-line #'(4 . 0)} | } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim is very very slow to open and modify lilypond files
On Sun, 8 Mar 2015, Frédéric Bron wrote: Some months ago, vim became very very slow to open a lilypond file (4-5 seconds). This is clearly due to syntax highlighting because when turn it off (:syntax off) the files are opened instantaneously. Also when I add an opening {, it takes a long time (1 second or more) to update the file which is very annoying. I looked at the 'vim' directory in the source and saw that the only modification in the last year is very minor (commit 24e1aa563, 1/1/2014). Other modifications date to 2011. Is there any other locations where I should look for vim files? Has anyone else the same issue? I am using lilypond 2.19.16 and vim 7.4.475 on linux fedora 20. I am using the same vim version on Fedora 21. Never seen what you describe. Do you use LilyPond 2.18.2 from the official Fedora 20 repository? Or a version from LilyPond website? Do you have anything special in your .vimrc file maybe? sorry - many questions without an answer .., -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
I'm not sure what I'm looking at with the Scheme code, but I'll spend some time with it and see how it fits together. Any clues as to how to fix the ugly spacing issue that results from using \stopStaff and \startStaff? \version 2.18.2 \paper { indent = 0\in ragged-right = ##f } \score { \new Staff { \relative c, { \clef treble_8 \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey e4 f g a b \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color \startStaff c d e f g a b c \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey d e f g \bar || } } \layout { \context { \Staff \remove Time_signature_engraver } } } \score { \new Staff { \relative c, { \clef treble_8 \cadenzaOn \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey e4 f g a b \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color \startStaff c d e f g a b c \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey d e f g \bar || } } \layout { \context { \Staff \remove Time_signature_engraver } } } On 03/08/2015 12:22 PM, David Nalesnik wrote: On Sun, Mar 8, 2015 at 11:02 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com mailto:pierre.schneider.pa...@gmail.com wrote: Interesting, thanks David. Cheers, Pierre To get more of the control any user would expect, you could do something like this: \version 2.19.16 \new Staff \repeat unfold 8 { \startStaff s4 \stopStaff } { a4 \once \override Staff.LedgerLineSpanner.color = #blue a \once \override Staff.LedgerLineSpanner.color = #green a \once \override Staff.StaffSymbol.color = #red a a4 a a a } I imagine this could be automated fairly easily. Who knows the overhead with large scores, though! (Aside: it might be interesting to come up with something emulating the old single-impression printing technique where staff lines, notes, and text were stamped together and inexactly aligned--http://en.wikipedia.org/wiki/History_of_music_publishing (under Rastell) Can't come up with a good visual.) David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
Okay, David provided the answer to my last question about the spacing, I just had to figure it out. It seems like a hack to my, but it achieves the result I'm after, so if no one has a more elegant suggestion, this is what I'm going with: \version 2.18.2 \paper { indent = 0\in ragged-right = ##f } \score { \new Staff { \repeat unfold 17 { \startStaff s4 \stopStaff } } \relative c, { \clef treble_8 \cadenzaOn \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey e4 f g a b %\stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color %\startStaff c d e f g a b c \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey d e f g \bar || } \layout { \context { \Staff \remove Time_signature_engraver } } } Thanks again, LilyPond Community. Cheers! On 03/08/2015 12:22 PM, David Nalesnik wrote: \new Staff \repeat unfold 8 { \startStaff s4 \stopStaff } { a4 \once \override Staff.LedgerLineSpanner.color = #blue a \once \override Staff.LedgerLineSpanner.color = #green a \once \override Staff.StaffSymbol.color = #red a a4 a a a } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
Hello back, I don't know if I'm doing something wrong, but I didn't see a slur at all, until I added some braces: % --- \version 2.19.15 tongue = #(define-music-function (parser location dots) (integer?) (let ((script (make-music 'ArticulationEvent 'articulation-type staccato))) (set! (ly:music-property script 'tweaks) (acons 'stencil (lambda (grob) (let ((stil (ly:script-interface::print grob))) (let loop ((count (1- dots)) (new-stil stil)) (if ( count 0) (loop (1- count) (ly:stencil-combine-at-edge new-stil X RIGHT stil 0.2)) (ly:stencil-aligned-to new-stil X CENTER) (ly:music-property script 'tweaks))) script)) { \time 3/4 \clef bass {\repeat tremolo 6 e8 -\tongue #6 }% braces added {\shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} } % braces added } % --- Does that help? Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Re-Slurred-staccato-in-a-tremolo-Menu-Jacques-tp172826p172836.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo
2015-03-08 22:12 GMT+01:00 Jacques Menu imj-muz...@bluewin.ch: Hello Harm, Couldn’t have even thought of such an expert solution, will all its power... Congratulations, and thanks! JM Le 8 mars 2015 à 21:46, Thomas Morley thomasmorle...@gmail.com a écrit : 2015-03-08 19:25 GMT+01:00 Klaus Blum benbigno...@gmx.de: Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus How about the code below. It rewrites and extends said snippet with code from Issue 3088 \version 2.19.15 %% https://code.google.com/p/lilypond/issues/detail?id=3088 %% FIXME: cp from stencil.scm -- define-public and remove copy #(define (make-bezier-sandwich-stencil coords thick xext yext) (let* ((command-list `(moveto ,(car (list-ref coords 3)) ,(cdr (list-ref coords 3)) curveto ,(car (list-ref coords 0)) ,(cdr (list-ref coords 0)) ,(car (list-ref coords 1)) ,(cdr (list-ref coords 1)) ,(car (list-ref coords 2)) ,(cdr (list-ref coords 2)) curveto ,(car (list-ref coords 4)) ,(cdr (list-ref coords 4)) ,(car (list-ref coords 5)) ,(cdr (list-ref coords 5)) ,(car (list-ref coords 6)) ,(cdr (list-ref coords 6)) closepath))) (ly:make-stencil `(path ,thick `(,@' ,command-list) 'round 'round #t) xext yext))) %% FIXME: rewrite generic wrt axes and replace make-parenthesis-stencil #(define (make-bow-stencil width height thickness angularity) Create a bow stencil. @var{width} is the width of the bow markup. @var{thickness} is the thickness of the bow. @var{height} is the heigth of the bow. The higher the value of number @var{angularity}, the more angular the shape of the bow. (let* ((line-width 0.1) (base-x (if ( width 0) (- width) 0)) (base-y (if ( height 0) (- height) 0)) (x-extent (ordered-cons 0 width)) (y-extent (ordered-cons 0 height)) (left-x (interval-start x-extent)) (right-x (interval-end x-extent)) (inner-y 0) (outer-y height) (left-end-point (cons left-x inner-y)) (right-end-point (cons right-x inner-y)) (outer-control-y (+ inner-y (* 4/3 outer-y))) (inner-control-y (+ outer-control-y (if ( height 0) thickness (- thickness ;; keeping angularity allows for refactoring and ;; merging with make-parenthesis-stencil (offset-index (- (* 0.6 angularity) 0.8)) (left-control-x (interval-index x-extent offset-index)) (right-control-x (interval-index x-extent (- offset-index))) (left-outer-control-point (cons left-control-x outer-control-y)) (right-outer-control-point (cons right-control-x outer-control-y)) (right-inner-control-point (cons right-control-x inner-control-y)) (left-inner-control-point (cons left-control-x inner-control-y))) (make-bezier-sandwich-stencil (list right-inner-control-point left-inner-control-point left-end-point right-end-point left-outer-control-point right-outer-control-point right-end-point left-end-point) line-width x-extent y-extent))) %% FIXME: replace make-parenthesis-stencil by this: #(define (make-parenthesis-stencil height width thick angularity) (ly:stencil-rotate-absolute (make-bow-stencil height width thick angularity) -90 0 0)) %% FIXME: cp from bezier-bow.cc #(define (F0_1 x) (* (/ 2 PI) (atan (* PI x 0.5 #(define (slur-height w h_inf r_0) (F0_1 (* (/ (* w r_0) h_inf) h_inf))) #(define (make-tie-stencil width thickness direction) (let* ((height-limit 1) (ratio 0.25) (angularity 0.5) (height (slur-height width height-limit ratio)) ) (make-bow-stencil width (* direction height) thickness angularity))) #(define-markup-command (undertie layout props arg) (markup?) #:category font #:properties ((thickness 1) (offset 2) (direction DOWN) (adjust-length 0) (adjust-x-pos 0)) @cindex undertie-ing text Undertie @var{arg}. Looks at @code{thickness} to determine line thickness, and @code{offset} to determine line y-offset. @lilypond[verbatim,quote] \\markup \\line { \\undertie \undertied\ \\override #'(offset . 5) \\override #'(thickness . 1) \\undertie \undertied\ \\override #'(offset . 1) \\override #'(thickness . 5) \\undertie \undertied\ }
Re: Slurred staccato in a tremolo
Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Slurred-staccato-in-a-tremolo-tp172820p172824.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
On Sun, Mar 8, 2015 at 1:35 PM, David B. Stocker notesetters...@gmail.com wrote: I'm not sure what I'm looking at with the Scheme code, but I'll spend some time with it and see how it fits together. The log output indicates the StaffSymbol and LedgerLineSpanner objects that are created. It's purely for the sake of the explanation. You might think that each ledger line is a separate object, able to be overridden. That, however, is not the case. All the ledger lines in a line of music are a single object, so any override will affect them all. The scheme functions just confirm this. HTH, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
David, On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker notesetters...@gmail.com wrote: Okay, David provided the answer to my last question about the spacing, I just had to figure it out. It seems like a hack to my, but it achieves the result I'm after, so if no one has a more elegant suggestion, this is what I'm going with: If you're just going to have a few changes, then there would be a need to create so many new StaffSymbols. Why not: \version 2.18.2 \paper { indent = 0\in ragged-right = ##f } \score { \new Staff \relative c, { \clef treble_8 \cadenzaOn \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey e4 f g a b \stopStaff \startStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color c d e f g a b c \stopStaff \startStaff \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey d e f g \bar || } \layout { \context { \Staff \remove Time_signature_engraver } } } %% In other words, just remember to put \stopStaff \startStaff before every override of LedgerLineSpanner. -DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
Hello Cynthia and Klaus, Thanks for your answers. With 2.19.15, the « tongue » function produces the 6 dots alright, but the \shape command seems to have no effect. Any other hint regarding the slur? JM % \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } tongue = #(define-music-function (parser location dots) (integer?) (let ((script (make-music 'ArticulationEvent 'articulation-type staccato))) (set! (ly:music-property script 'tweaks) (acons 'stencil (lambda (grob) (let ((stil (ly:script-interface::print grob))) (let loop ((count (1- dots)) (new-stil stil)) (if ( count 0) (loop (1- count) (ly:stencil-combine-at-edge new-stil X RIGHT stil 0.2)) (ly:stencil-aligned-to new-stil X CENTER) (ly:music-property script 'tweaks))) script)) { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 | } { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} } % give the same rest Le 8 mars 2015 à 19:25, Klaus Blum benbigno...@gmx.de a écrit : Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus Le 8 mars 2015 à 19:31, Cynthia Karl pck...@mac.com a écrit : Message: 2 Date: Sun, 8 Mar 2015 18:37:15 +0100 From: Menu Jacques imj-...@bluewin.ch Subject: Slurred staccato in a tremolo Is there a way to get the slur above the tremolo in the sample below, as found in the attached manuscript image? Thanks for you help! JM \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 { e8 -. } | } How about: { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } -- next part -- An HTML attachment was scrubbed... URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.html -- next part -- A non-text attachment was scrubbed... Name: SlurredStaccatoProblem.png Type: image/png Size: 17851 bytes Desc: not available URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.png -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user End of lilypond-user Digest, Vol 148, Issue 63 ** ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
Hello Pat, I tried: { \time 3/4 \clef bass \repeat tremolo 6 e8 -\markup {\draw-dotted-line #'(5.1 . 2.3)} | } but the slur doesn’t show up. JM Le 8 mars 2015 à 21:34, Cynthia Karl pck...@mac.com a écrit : On Mar 8, 2015, at 2:42 PM, Menu Jacques imj-...@bluewin.ch wrote: Hello Cynthia and Klaus, Thanks for your answers. With 2.19.15, the « tongue » function produces the 6 dots alright, but the \shape command seems to have no effect. Any other hint regarding the slur? Shape doesn't affect the tongue output because there is no Bezier curve controlling the layout of the dots. PhrasingSlur along with \phrasingSlurDotted would work with \shape ok, but I don't know how to control the number of dots in the slur nor the thickness of the dots. It appears that you want the dots to be in a horizontal line. It might be able to accomplish that with \markup { \draw-dotted-line }. Pat Karl (Cynthia my wife, we share this mail account) JM % \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } tongue = #(define-music-function (parser location dots) (integer?) (let ((script (make-music 'ArticulationEvent 'articulation-type staccato))) (set! (ly:music-property script 'tweaks) (acons 'stencil (lambda (grob) (let ((stil (ly:script-interface::print grob))) (let loop ((count (1- dots)) (new-stil stil)) (if ( count 0) (loop (1- count) (ly:stencil-combine-at-edge new-stil X RIGHT stil 0.2)) (ly:stencil-aligned-to new-stil X CENTER) (ly:music-property script 'tweaks))) script)) { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 | } { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} } % give the same rest Le 8 mars 2015 à 19:25, Klaus Blum benbigno...@gmx.de a écrit : Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus Le 8 mars 2015 à 19:31, Cynthia Karl pck...@mac.com a écrit : Message: 2 Date: Sun, 8 Mar 2015 18:37:15 +0100 From: Menu Jacques imj-...@bluewin.ch Subject: Slurred staccato in a tremolo Is there a way to get the slur above the tremolo in the sample below, as found in the attached manuscript image? Thanks for you help! JM \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 { e8 -. } | } How about: { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } -- next part -- An HTML attachment was scrubbed... URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.html -- next part -- A non-text attachment was scrubbed... Name: SlurredStaccatoProblem.png Type: image/png Size: 17851 bytes Desc: not available URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.png -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user End of lilypond-user Digest, Vol 148, Issue 63 ** ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim is very very slow to open and modify lilypond files
I haven't had this issue on Arch with Vim 7.4.617-1. P.S. -- One of my favorite things about vim+lilypond is auto-compiling on write: au BufWritePost *.ly !lilypond % -- View this message in context: http://lilypond.1069038.n5.nabble.com/vim-is-very-very-slow-to-open-and-modify-lilypond-files-tp172818p172821.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
On Mar 8, 2015, at 2:42 PM, Menu Jacques imj-...@bluewin.ch wrote: Hello Cynthia and Klaus, Thanks for your answers. With 2.19.15, the « tongue » function produces the 6 dots alright, but the \shape command seems to have no effect. Any other hint regarding the slur? Shape doesn't affect the tongue output because there is no Bezier curve controlling the layout of the dots. PhrasingSlur along with \phrasingSlurDotted would work with \shape ok, but I don't know how to control the number of dots in the slur nor the thickness of the dots. It appears that you want the dots to be in a horizontal line. It might be able to accomplish that with \markup { \draw-dotted-line }. Pat Karl (Cynthia my wife, we share this mail account) JM % \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } tongue = #(define-music-function (parser location dots) (integer?) (let ((script (make-music 'ArticulationEvent 'articulation-type staccato))) (set! (ly:music-property script 'tweaks) (acons 'stencil (lambda (grob) (let ((stil (ly:script-interface::print grob))) (let loop ((count (1- dots)) (new-stil stil)) (if ( count 0) (loop (1- count) (ly:stencil-combine-at-edge new-stil X RIGHT stil 0.2)) (ly:stencil-aligned-to new-stil X CENTER) (ly:music-property script 'tweaks))) script)) { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 | } { \time 3/4 \clef bass \repeat tremolo 6 e8 -\tongue #6 \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} } % give the same rest Le 8 mars 2015 à 19:25, Klaus Blum benbigno...@gmx.de a écrit : Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus Le 8 mars 2015 à 19:31, Cynthia Karl pck...@mac.com a écrit : Message: 2 Date: Sun, 8 Mar 2015 18:37:15 +0100 From: Menu Jacques imj-...@bluewin.ch Subject: Slurred staccato in a tremolo Is there a way to get the slur above the tremolo in the sample below, as found in the attached manuscript image? Thanks for you help! JM \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 { e8 -. } | } How about: { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } -- next part -- An HTML attachment was scrubbed... URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.html -- next part -- A non-text attachment was scrubbed... Name: SlurredStaccatoProblem.png Type: image/png Size: 17851 bytes Desc: not available URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.png -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user End of lilypond-user Digest, Vol 148, Issue 63 ** ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo (Menu Jacques)
Message: 2 Date: Sun, 8 Mar 2015 18:37:15 +0100 From: Menu Jacques imj-...@bluewin.ch Subject: Slurred staccato in a tremolo Is there a way to get the slur above the tremolo in the sample below, as found in the attached manuscript image? Thanks for you help! JM \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 { e8 -. } | } How about: { \time 3/4 \clef bass \repeat tremolo 6 {e8 -. } \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} | } -- next part -- An HTML attachment was scrubbed... URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.html -- next part -- A non-text attachment was scrubbed... Name: SlurredStaccatoProblem.png Type: image/png Size: 17851 bytes Desc: not available URL: http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.png -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user End of lilypond-user Digest, Vol 148, Issue 63 ** ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim is very very slow to open and modify lilypond files
Thank you for your answer, very useful. I found the issue: in my .vimrc I have: set foldenable set foldmethod=syntax Try that and you will see how long it takes. I have no issue with C++ code, why would it be so much longer with lilypond language? Frédéric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo
2015-03-08 19:25 GMT+01:00 Klaus Blum benbigno...@gmx.de: Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus How about the code below. It rewrites and extends said snippet with code from Issue 3088 \version 2.19.15 %% https://code.google.com/p/lilypond/issues/detail?id=3088 %% FIXME: cp from stencil.scm -- define-public and remove copy #(define (make-bezier-sandwich-stencil coords thick xext yext) (let* ((command-list `(moveto ,(car (list-ref coords 3)) ,(cdr (list-ref coords 3)) curveto ,(car (list-ref coords 0)) ,(cdr (list-ref coords 0)) ,(car (list-ref coords 1)) ,(cdr (list-ref coords 1)) ,(car (list-ref coords 2)) ,(cdr (list-ref coords 2)) curveto ,(car (list-ref coords 4)) ,(cdr (list-ref coords 4)) ,(car (list-ref coords 5)) ,(cdr (list-ref coords 5)) ,(car (list-ref coords 6)) ,(cdr (list-ref coords 6)) closepath))) (ly:make-stencil `(path ,thick `(,@' ,command-list) 'round 'round #t) xext yext))) %% FIXME: rewrite generic wrt axes and replace make-parenthesis-stencil #(define (make-bow-stencil width height thickness angularity) Create a bow stencil. @var{width} is the width of the bow markup. @var{thickness} is the thickness of the bow. @var{height} is the heigth of the bow. The higher the value of number @var{angularity}, the more angular the shape of the bow. (let* ((line-width 0.1) (base-x (if ( width 0) (- width) 0)) (base-y (if ( height 0) (- height) 0)) (x-extent (ordered-cons 0 width)) (y-extent (ordered-cons 0 height)) (left-x (interval-start x-extent)) (right-x (interval-end x-extent)) (inner-y 0) (outer-y height) (left-end-point (cons left-x inner-y)) (right-end-point (cons right-x inner-y)) (outer-control-y (+ inner-y (* 4/3 outer-y))) (inner-control-y (+ outer-control-y (if ( height 0) thickness (- thickness ;; keeping angularity allows for refactoring and ;; merging with make-parenthesis-stencil (offset-index (- (* 0.6 angularity) 0.8)) (left-control-x (interval-index x-extent offset-index)) (right-control-x (interval-index x-extent (- offset-index))) (left-outer-control-point (cons left-control-x outer-control-y)) (right-outer-control-point (cons right-control-x outer-control-y)) (right-inner-control-point (cons right-control-x inner-control-y)) (left-inner-control-point (cons left-control-x inner-control-y))) (make-bezier-sandwich-stencil (list right-inner-control-point left-inner-control-point left-end-point right-end-point left-outer-control-point right-outer-control-point right-end-point left-end-point) line-width x-extent y-extent))) %% FIXME: replace make-parenthesis-stencil by this: #(define (make-parenthesis-stencil height width thick angularity) (ly:stencil-rotate-absolute (make-bow-stencil height width thick angularity) -90 0 0)) %% FIXME: cp from bezier-bow.cc #(define (F0_1 x) (* (/ 2 PI) (atan (* PI x 0.5 #(define (slur-height w h_inf r_0) (F0_1 (* (/ (* w r_0) h_inf) h_inf))) #(define (make-tie-stencil width thickness direction) (let* ((height-limit 1) (ratio 0.25) (angularity 0.5) (height (slur-height width height-limit ratio)) ) (make-bow-stencil width (* direction height) thickness angularity))) #(define-markup-command (undertie layout props arg) (markup?) #:category font #:properties ((thickness 1) (offset 2) (direction DOWN) (adjust-length 0) (adjust-x-pos 0)) @cindex undertie-ing text Undertie @var{arg}. Looks at @code{thickness} to determine line thickness, and @code{offset} to determine line y-offset. @lilypond[verbatim,quote] \\markup \\line { \\undertie \undertied\ \\override #'(offset . 5) \\override #'(thickness . 1) \\undertie \undertied\ \\override #'(offset . 1) \\override #'(thickness . 5) \\undertie \undertied\ } @end lilypond (let* ((line-thickness (ly:output-def-lookup layout 'line-thickness)) (thick (* thickness line-thickness)) (markup (interpret-markup layout props arg)) (x1 (car (ly:stencil-extent markup X))) (x2 (cdr (ly:stencil-extent markup X))) (y2
Re: Slurred staccato in a tremolo
Hello Harm, Couldn’t have even thought of such an expert solution, will all its power... Congratulations, and thanks! JM Le 8 mars 2015 à 21:46, Thomas Morley thomasmorle...@gmail.com a écrit : 2015-03-08 19:25 GMT+01:00 Klaus Blum benbigno...@gmx.de: Hi Jacques, there is already a snippet that might help: http://lsr.di.unimi.it/LSR/Item?id=772 http://lsr.di.unimi.it/LSR/Item?id=772 Cheers, Klaus How about the code below. It rewrites and extends said snippet with code from Issue 3088 \version 2.19.15 %% https://code.google.com/p/lilypond/issues/detail?id=3088 %% FIXME: cp from stencil.scm -- define-public and remove copy #(define (make-bezier-sandwich-stencil coords thick xext yext) (let* ((command-list `(moveto ,(car (list-ref coords 3)) ,(cdr (list-ref coords 3)) curveto ,(car (list-ref coords 0)) ,(cdr (list-ref coords 0)) ,(car (list-ref coords 1)) ,(cdr (list-ref coords 1)) ,(car (list-ref coords 2)) ,(cdr (list-ref coords 2)) curveto ,(car (list-ref coords 4)) ,(cdr (list-ref coords 4)) ,(car (list-ref coords 5)) ,(cdr (list-ref coords 5)) ,(car (list-ref coords 6)) ,(cdr (list-ref coords 6)) closepath))) (ly:make-stencil `(path ,thick `(,@' ,command-list) 'round 'round #t) xext yext))) %% FIXME: rewrite generic wrt axes and replace make-parenthesis-stencil #(define (make-bow-stencil width height thickness angularity) Create a bow stencil. @var{width} is the width of the bow markup. @var{thickness} is the thickness of the bow. @var{height} is the heigth of the bow. The higher the value of number @var{angularity}, the more angular the shape of the bow. (let* ((line-width 0.1) (base-x (if ( width 0) (- width) 0)) (base-y (if ( height 0) (- height) 0)) (x-extent (ordered-cons 0 width)) (y-extent (ordered-cons 0 height)) (left-x (interval-start x-extent)) (right-x (interval-end x-extent)) (inner-y 0) (outer-y height) (left-end-point (cons left-x inner-y)) (right-end-point (cons right-x inner-y)) (outer-control-y (+ inner-y (* 4/3 outer-y))) (inner-control-y (+ outer-control-y (if ( height 0) thickness (- thickness ;; keeping angularity allows for refactoring and ;; merging with make-parenthesis-stencil (offset-index (- (* 0.6 angularity) 0.8)) (left-control-x (interval-index x-extent offset-index)) (right-control-x (interval-index x-extent (- offset-index))) (left-outer-control-point (cons left-control-x outer-control-y)) (right-outer-control-point (cons right-control-x outer-control-y)) (right-inner-control-point (cons right-control-x inner-control-y)) (left-inner-control-point (cons left-control-x inner-control-y))) (make-bezier-sandwich-stencil (list right-inner-control-point left-inner-control-point left-end-point right-end-point left-outer-control-point right-outer-control-point right-end-point left-end-point) line-width x-extent y-extent))) %% FIXME: replace make-parenthesis-stencil by this: #(define (make-parenthesis-stencil height width thick angularity) (ly:stencil-rotate-absolute (make-bow-stencil height width thick angularity) -90 0 0)) %% FIXME: cp from bezier-bow.cc #(define (F0_1 x) (* (/ 2 PI) (atan (* PI x 0.5 #(define (slur-height w h_inf r_0) (F0_1 (* (/ (* w r_0) h_inf) h_inf))) #(define (make-tie-stencil width thickness direction) (let* ((height-limit 1) (ratio 0.25) (angularity 0.5) (height (slur-height width height-limit ratio)) ) (make-bow-stencil width (* direction height) thickness angularity))) #(define-markup-command (undertie layout props arg) (markup?) #:category font #:properties ((thickness 1) (offset 2) (direction DOWN) (adjust-length 0) (adjust-x-pos 0)) @cindex undertie-ing text Undertie @var{arg}. Looks at @code{thickness} to determine line thickness, and @code{offset} to determine line y-offset. @lilypond[verbatim,quote] \\markup \\line { \\undertie \undertied\ \\override #'(offset . 5) \\override #'(thickness . 1) \\undertie \undertied\ \\override #'(offset . 1) \\override #'(thickness . 5) \\undertie \undertied\ } @end lilypond (let* ((line-thickness
Re: Coloring Ledger Lines
Hi David, Using \stopStaff ... \startStaff results in uneven spacing in the pair of notes between which the new StafSymbol is created. My (our) solution is to start a StaffSymbol before every note so that the spacing is uniform. Like I said, it's kind of a hack, but it works. Best regards, David On 03/08/2015 03:19 PM, David Nalesnik wrote: David, On Sun, Mar 8, 2015 at 2:00 PM, David B. Stocker notesetters...@gmail.com mailto:notesetters...@gmail.com wrote: Okay, David provided the answer to my last question about the spacing, I just had to figure it out. It seems like a hack to my, but it achieves the result I'm after, so if no one has a more elegant suggestion, this is what I'm going with: If you're just going to have a few changes, then there would be a need to create so many new StaffSymbols. Why not: \version 2.18.2 \paper { indent = 0\in ragged-right = ##f } \score { \new Staff \relative c, { \clef treble_8 \cadenzaOn \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey e4 f g a b \stopStaff \startStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color c d e f g a b c \stopStaff \startStaff \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey d e f g \bar || } \layout { \context { \Staff \remove Time_signature_engraver } } } %% In other words, just remember to put \stopStaff \startStaff before every override of LedgerLineSpanner. -DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Slurred staccato in a tremolo
Hello folks, Is there a way to get the slur above the tremolo in the sample below, as found in the attached manuscript image? Thanks for you help! JM \version 2.19.15 { \time 3/4 \clef bass \repeat tremolo 6 { e8 -. } | } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.18
Op Sun, 8 Mar 2015 07:40:01 +0100 Wilbert Berendsen w...@xs4all.nl schreef: Am I doing something wrong here? If I type `\override Cle`, I get Clef as autocompletion suggestion. The ClefModifier does not show up. The old name OctavateEight is suggested for `\override Oct`. Could this change be followed by Frescobaldi? Done (fixed in python-ly, next python-ly release will fix this). Thanks for reporting! If you install python-ly 0.9.1, you'll find that ClefModifier now is supported. Good luck! Wilbert -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
I see. Thanks for the explanation. David On 03/08/2015 02:42 PM, David Nalesnik wrote: On Sun, Mar 8, 2015 at 1:35 PM, David B. Stocker notesetters...@gmail.com mailto:notesetters...@gmail.com wrote: I'm not sure what I'm looking at with the Scheme code, but I'll spend some time with it and see how it fits together. The log output indicates the StaffSymbol and LedgerLineSpanner objects that are created. It's purely for the sake of the explanation. You might think that each ledger line is a separate object, able to be overridden. That, however, is not the case. All the ledger lines in a line of music are a single object, so any override will affect them all. The scheme functions just confirm this. HTH, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.18
If you install python-ly 0.9.1, you'll find that ClefModifier now is supported. Good luck! Wow, that was quick! Thanks. Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Clef change collision
Try : \version 2.18.2 up = { \change Staff = up } down = { \change Staff = down } \new PianoStaff \new Staff = up { \clef bass \time 6/8 s4. \clef treble \up d' a'8 \down d' a' \up a' d'' a'' } \new Staff = down { \clef bass d, a,8 \up d a \down d a \clef treble s4. } Cheers, Pierre 2015-03-07 23:54 GMT+01:00 Nolan Winter mylent...@gmail.com: I'm trying to transcribe Ravel's Alborada del Gracioso but when there are clef changes there tends to be a collision between the clef and the notes. How would I add space? And perhaps I'm writing it incorrectly, since I have one staff doing all the work. I don't know how to have cross staff beaming but with the notes written in different staffs. \version 2.18.2 up = {\change Staff = up } down = { \change Staff = down } \new PianoStaff \new Staff = up { \clef bass \time 6/8 s4. \clef treble s4. } \new Staff = down { \clef bassd, a,8 \up d a \down d a \clef treble \up d' a' \down d' a' \up a' d'' a'' } ___ 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: Coloring Ledger Lines
Hi David, Try: \version 2.18.2 \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color \startStaff a a a a } Cheers, Pierre 2015-03-08 5:21 GMT+01:00 David B. Stocker notesetters...@gmail.com: Hello everyone, Does anyone know why the ledger line color in this example isn't reverted like the other grob colors? \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color a a a a } Thanks, David ___ 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: lilypond -dshow-available-fonts doesn't display the user installed fonts in OS X
Text font. I want to change the font of the title of my score. I’m not sure about the folder part. I’ve just installed these font by double clicking the downloaded ttf files, which in turn opens up the program Font Book where I can install them by pressing “Install Font”. I can then see my fonts in Font Book and I can then use them in different programs, such as TextEditor. On 08 Mar 2015, at 02:05, tisimst tisimst.lilyp...@gmail.com wrote: Text or music fonts? LilyPond or system folder? -Abraham Sent from my iPhone On Mar 7, 2015, at 12:51 PM, Speldosa [via Lilypond] [hidden email] x-msg://7/user/SendEmail.jtp?type=nodenode=172792i=0 wrote: I’m running the command lilypond -dshow-available-fonts blablabla to see which fonts that are available for me to use in Lilypond. When doing this, a bunch of fonts are listed, but not any of the fonts that I’ve installed myself (that’s clearly available to the system since I’m using them in other programs). What can I do? I’m running Lilypond 2.19.16 on OS X 10.10.1. /Martin ___ lilypond-user mailing list [hidden email] x-msg://7/user/SendEmail.jtp?type=nodenode=172783i=0 https://lists.gnu.org/mailman/listinfo/lilypond-user https://lists.gnu.org/mailman/listinfo/lilypond-user If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/lilypond-dshow-available-fonts-doesn-t-display-the-user-installed-fonts-in-OS-X-tp172783.html http://lilypond.1069038.n5.nabble.com/lilypond-dshow-available-fonts-doesn-t-display-the-user-installed-fonts-in-OS-X-tp172783.html To start a new topic under User, email [hidden email] x-msg://7/user/SendEmail.jtp?type=nodenode=172792i=1 To unsubscribe from Lilypond, click here applewebdata://481C697E-A9EA-4385-AD36-E7CC11062FC5. NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml View this message in context: Re: lilypond -dshow-available-fonts doesn't display the user installed fonts in OS X http://lilypond.1069038.n5.nabble.com/lilypond-dshow-available-fonts-doesn-t-display-the-user-installed-fonts-in-OS-X-tp172783p172792.html Sent from the User mailing list archive http://lilypond.1069038.n5.nabble.com/User-f3.html at Nabble.com. ___ 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
numbering a series of exercises
Hello all, I'm trying to do something that I suspect is easily done with scheme, but I have no idea how: I'd like to create a list of exercises that are automatically numbered. I'm currently using instrumentName for the numbers, to get something that looks something like this: 1. === = 2. === = 3. === === With code that looks something a little like this: next = % simple scheme addition exercise = \markup { \concat \next . } \score { \new Staff \with { instrumentName = \exercise } { % music } } Thanks! —Josiah ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo
Hi Harm, On Sun, Mar 8, 2015 at 6:28 PM, Thomas Morley thomasmorle...@gmail.com wrote: 2015-03-08 22:32 GMT+01:00 Thomas Morley thomasmorle...@gmail.com: [...] One problem persists, though. If \voiveXxx is used _and_ other objects like fingerings, TextScript etc are present, the whole thing is centered above the NoteHead, not the Stem. [...] In 2.19.16 it's due to issue 2535 https://code.google.com/p/lilypond/issues/detail?id=2535 cc-ing the author David N. I don't think it was intended that the staccato-dot moves, when TextScript, Fingerings or StringNumbers are present: \version 2.19.16 { \time 3/4 \voiceOne c'2.-. % \override Script.toward-stem-shift-in-column = 1.0 c'2.-. -foo %% ?? c'2.-. -1 %% ?? c'2.-. \3 %% ?? c'2.-. \fermata %% ok } David, what do you think? Hmmm. Yes, there should only be a shift in the case of another Script being present within the ScriptColumn. Right now we simply check that it is part of a ScriptColumn, which I see won't rule out StringNumber and Fingering. There ought to be a check to see if anything in the column has the script-interface. An oversight on my part. I'll have a look at fixing it. Thanks for finding this! --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fine piano pedals notation
Greetings, I have the exact same issue with my contemporary scores (and no good solution I am afraid), so I will be interested in any response. Just as a matter of intellectual property, the score you refer to for download is copyright Schott Japan 1982. I am not familiar with Japanese copyright law, but I would venture to say that the copyright is still in place at this time, so if you make a score you cannot distribute it. I am sure it’s fine for your own use. Andrew On 9 March 2015 at 03:29:11, 良ϖ (p2b@gmail.com) wrote: I'm trying to engrave a free score of Takemistsu's Rain Tree Sketch. You can found a video with score here on Youtube or you can download a copyrighted copy on this page. This piece makes innovative use of all three pedals of the piano. I've tried to play a bit with this snippet but I'm not convinced by what I've got. I especially don't know how to symbolize half pedal to the best of my knowledge. Moreover, I'd like to change « simile » for an arrow →. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fine piano pedals notation
On Sun, Mar 8, 2015 at 9:28 AM, 良ϖ p2b@gmail.com wrote: Hello, Although I often read messages from this mailing list, this is likely to be the first message I post to it. I've engraved some piano music already but it's always been pre-contemporary music: Bach, Liszt or even Debussy. Now I'm having trouble with contemporary pedalling notation. I'm trying to engrave a free score of Takemistsu's Rain Tree Sketch. You can found a video with score here on Youtube or you can download a copyrighted copy on this page. This piece makes innovative use of all three pedals of the piano. I've tried to play a bit with this snippet but I'm not convinced by what I've got. I especially don't know how to symbolize half pedal to the best of my knowledge. Moreover, I'd like to change « simile » for an arrow →. So I'm seeking for help. As it's a free software, I believe I'll get a helpful answer soon from the community then I say « thank you! » in advance ;-) 胡雨軒 Hu YuXuan P.S: sorry for my English, I'm not native English-speaker. I don't have any solution to offer yet; I would just like to add that notations like this may also be found in John Adams' piano piece Phrygian Gates, which has a variety of fractional pedaling indications such as Ped/2 and Ped/4. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurred staccato in a tremolo
2015-03-08 22:32 GMT+01:00 Thomas Morley thomasmorle...@gmail.com: [...] One problem persists, though. If \voiveXxx is used _and_ other objects like fingerings, TextScript etc are present, the whole thing is centered above the NoteHead, not the Stem. [...] In 2.19.16 it's due to issue 2535 https://code.google.com/p/lilypond/issues/detail?id=2535 cc-ing the author David N. I don't think it was intended that the staccato-dot moves, when TextScript, Fingerings or StringNumbers are present: \version 2.19.16 { \time 3/4 \voiceOne c'2.-. % \override Script.toward-stem-shift-in-column = 1.0 c'2.-. -foo %% ?? c'2.-. -1 %% ?? c'2.-. \3 %% ?? c'2.-. \fermata %% ok } David, what do you think? Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: numbering a series of exercises
Hi Josiah, is this what you want? http://lists.gnu.org/archive/html/bug-lilypond/2010-10/msg00144.html Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: [MEI-L] MEC Florence 2015 Provisional Schedule
Dear LilyPond users, I'm happy to forward this conference announcement and program to you. If you should ask yourself what this has to do with LilyPond you may want to skim through https://github.com/wbsoft/python-ly/issues/3 and https://github.com/wbsoft/python-ly/issues/8 and/or look at Session 2 of the conference program :-) Best Urs Weitergeleitete Nachricht Betreff:[MEI-L] MEC Florence 2015 Provisional Schedule Datum: Sat, 07 Mar 2015 18:47:13 -0500 Von:Giuliano Di Bacco gdiba...@indiana.edu Antwort an: Music Encoding Initiative me...@lists.uni-paderborn.de An: me...@lists.uni-paderborn.de Kopie (CC): conference2...@music-encoding.org Dear MEI-Listeners, We are pleased to announce that the provisional schedule of the Music Encoding Conference 2015 is now on-line: http://music-encoding.org/conference/program2015. Labelled provisional just because small adjustments are to be expected, but otherwise we are good to go. With many thanks to Christine Siegert and this year's Program Committee for their excellent work in putting together the program, and in securing the presence of two outstanding scholars as keynote speakers. We look forward to seeing you all in Florence in MAY ;-) Regular registration closes on 31 March. Late registration possible until 30 April. One request to the speakers/poster presenters: please double-check that your titles, names and affiliations are spelled correctly and appear in the order that you want them to appear. Should you require any amendment, please let us know as soon as possible writing to: conference2...@music-encoding.org. More information about logistics will reach you individually soon. All best, Federica Riva (Florence) and Giuliano Di Bacco (Bloomington) for the Local+Remote Organizing Committee ___ mei-l mailing list me...@lists.uni-paderborn.de https://lists.uni-paderborn.de/mailman/listinfo/mei-l ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
Thanks Pierre. Does anyone know why this works and a simple \revert command fails? On 03/08/2015 06:01 AM, Pierre Perol-Schneider wrote: Hi David, Try: \version 2.18.2 \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color \startStaff a a a a } Cheers, Pierre 2015-03-08 5:21 GMT+01:00 David B. Stocker notesetters...@gmail.com mailto:notesetters...@gmail.com: Hello everyone, Does anyone know why the ledger line color in this example isn't reverted like the other grob colors? \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color a a a a } Thanks, David ___ lilypond-user mailing list lilypond-user@gnu.org mailto: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: ANN: Frescobaldi 2.18
Il 07/03/15 01.18, Wilbert Berendsen ha scritto: (The Windows Frescobaldi installer contains everything, including python-ly.) Also the Mac OS X DMG disk images contain everything you need to run Frescobaldi, including python-ly. Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond -dshow-available-fonts doesn't display the user installed fonts in OS X
Manually installed fonts are usually placed in a different location to ones installed by the system. LilyPond looks in a few places to find user-installed fonts, but I have found that on OSX or Ubuntu that this location is no longer where user fonts are placed when installed. To make downloaded fonts available to LilyPond place them in a .fonts folder in your home folder (just copy the individual files there) and then LilyPond should be able to find them. (In the past this is where operating systems like Ubuntu used to place them, but not anymore for some reason.)] hth, Kevin On Sun, Mar 8, 2015 at 10:28 AM, Martin Larsson l4rs...@gmail.com wrote: Text font. I want to change the font of the title of my score. I’m not sure about the folder part. I’ve just installed these font by double clicking the downloaded ttf files, which in turn opens up the program Font Book where I can install them by pressing “Install Font”. I can then see my fonts in Font Book and I can then use them in different programs, such as TextEditor. On 08 Mar 2015, at 02:05, tisimst tisimst.lilyp...@gmail.com wrote: Text or music fonts? LilyPond or system folder? -Abraham Sent from my iPhone On Mar 7, 2015, at 12:51 PM, Speldosa [via Lilypond] [hidden email] wrote: I’m running the command lilypond -dshow-available-fonts blablabla to see which fonts that are available for me to use in Lilypond. When doing this, a bunch of fonts are listed, but *not *any of the fonts that I’ve installed myself (that’s clearly available to the system since I’m using them in other programs). What can I do? I’m running Lilypond 2.19.16 on OS X 10.10.1. /Martin ___ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user -- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/lilypond-dshow-available-fonts-doesn-t-display-the-user-installed-fonts-in-OS-X-tp172783.html To start a new topic under User, email [hidden email] To unsubscribe from Lilypond, click here. NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: Re: lilypond -dshow-available-fonts doesn't display the user installed fonts in OS X http://lilypond.1069038.n5.nabble.com/lilypond-dshow-available-fonts-doesn-t-display-the-user-installed-fonts-in-OS-X-tp172783p172792.html Sent from the User mailing list archive http://lilypond.1069038.n5.nabble.com/User-f3.html at Nabble.com. ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: numbering a series of exercises
On Mon, 09 Mar 2015 02:20:51 +0100 Noeck noeck.marb...@gmx.de wrote: Hi Josiah, is this what you want? http://lists.gnu.org/archive/html/bug-lilypond/2010-10/msg00144.html That got me on the right track, thank you! What I ended up with is a bit simpler: #(define sequence-number 0) #(set! sequence-number (1+ sequence-number)) \score { \new Staff \with { instrumentName = \markup { \concat {#(number-string sequence-number)} . % 1. } } % music } #(set! sequence-number (1+ sequence-number)) \score { \new Staff \with { instrumentName = \markup { \concat {#(number-string sequence-number)} . % 2. } } % music } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
No clue. I just know that some grobs, like 'StaffSymbol' too, need to be reverted that way : \version 2.18.2 \relative c' { \override NoteHead.color = #grey \override Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey \override Staff.StaffSymbol.color = #grey a4 a a a %\stopStaff \revert NoteHead.color \revert Stem.color \revert Staff.LedgerLineSpanner.color \revert Staff.StaffSymbol.color %\startStaff a a a a } Cheers, Pierre 2015-03-08 14:54 GMT+01:00 David B. Stocker notesetters...@gmail.com: Thanks Pierre. Does anyone know why this works and a simple \revert command fails? On 03/08/2015 06:01 AM, Pierre Perol-Schneider wrote: Hi David, Try: \version 2.18.2 \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \stopStaff \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color \startStaff a a a a } Cheers, Pierre 2015-03-08 5:21 GMT+01:00 David B. Stocker notesetters...@gmail.com: Hello everyone, Does anyone know why the ledger line color in this example isn't reverted like the other grob colors? \relative c' { \override Staff.NoteHead.color = #grey \override Staff.Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey a4 a a a \revert Staff.NoteHead.color \revert Staff.Stem.color \revert Staff.LedgerLineSpanner.color a a a a } Thanks, David ___ 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: Coloring Ledger Lines
Hi, On Sun, Mar 8, 2015 at 9:35 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: No clue. I just know that some grobs, like 'StaffSymbol' too, need to be reverted that way : Consider this snippet: \version 2.19.16 #(define ledgerInfo (lambda (grob) (let* ((refp (ly:grob-system grob)) (all (ly:grob-array-list (ly:grob-object refp 'all-elements))) (ledgers (filter (lambda (l) (grob::has-interface l 'ledger-line-spanner-interface)) all))) (display ledgers) (newline \relative c' { \override Staff.StaffSymbol.after-line-breaking = #(lambda (grob) (display grob) (newline)) \override Staff.LedgerLineSpanner.after-line-breaking = #ledgerInfo \override NoteHead.color = #grey \override Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey \override Staff.StaffSymbol.color = #grey a4 a a a %\stopStaff %\startStaff \revert NoteHead.color \revert Stem.color \revert Staff.LedgerLineSpanner.color \revert Staff.StaffSymbol.color %\startStaff a a a a } Notice that with the \stopStaff and \startStaff commented out, there is a single StaffSymbol grob in the example. It makes sense that any override will apply to the whole object. When \stopStaff and \startStaff are in effect, a second StaffSymbol grob is created, and it can of course take a new override or revert. Very surprisingly, there is only a single LedgerLineSpanner per StaffSymbol object! This means that any override of LedgerLineSpanner will affect all of them. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
Interesting, thanks David. Cheers, Pierre 2015-03-08 16:52 GMT+01:00 David Nalesnik david.nales...@gmail.com: Hi, On Sun, Mar 8, 2015 at 9:35 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: No clue. I just know that some grobs, like 'StaffSymbol' too, need to be reverted that way : Consider this snippet: \version 2.19.16 #(define ledgerInfo (lambda (grob) (let* ((refp (ly:grob-system grob)) (all (ly:grob-array-list (ly:grob-object refp 'all-elements))) (ledgers (filter (lambda (l) (grob::has-interface l 'ledger-line-spanner-interface)) all))) (display ledgers) (newline \relative c' { \override Staff.StaffSymbol.after-line-breaking = #(lambda (grob) (display grob) (newline)) \override Staff.LedgerLineSpanner.after-line-breaking = #ledgerInfo \override NoteHead.color = #grey \override Stem.color = #grey \override Staff.LedgerLineSpanner.color = #grey \override Staff.StaffSymbol.color = #grey a4 a a a %\stopStaff %\startStaff \revert NoteHead.color \revert Stem.color \revert Staff.LedgerLineSpanner.color \revert Staff.StaffSymbol.color %\startStaff a a a a } Notice that with the \stopStaff and \startStaff commented out, there is a single StaffSymbol grob in the example. It makes sense that any override will apply to the whole object. When \stopStaff and \startStaff are in effect, a second StaffSymbol grob is created, and it can of course take a new override or revert. Very surprisingly, there is only a single LedgerLineSpanner per StaffSymbol object! This means that any override of LedgerLineSpanner will affect all of them. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I want MIDI only for a specific tag
Hi Anders, simply delete midi in your score and create a new one just for the midi: \score { \new StaffGroup \new Staff \keepWithTag myStaff {\melody } \new TabStaff \keepWithTag myTab { \melody } \layout { } } \score { \new Staff \keepWithTag myStaff \melody \midi { } } Cheers, Pierre 2015-03-08 16:53 GMT+01:00 and...@andis59.se and...@andis59.se: I have a peace of music that has a Staff and a TabStaff but the music is not the same. How would I create the midi so it only plays the tag that is used in the Staff In the sample I only want MIDI for the tag myStaff. // Anders Sample code %% Start \version 2.19.15 \header { title = Test of MIDI } global = { \time 4/4 \key c \major \tempo 4=100 } melody = { \global \tag myStaff { c'8 d' e' f' g' f' e' d' c'2 r2} \tag myTab { c'8 d' e' e' g' e' e' d' c'2 r2 } } \score { \new StaffGroup \new Staff \keepWithTag myStaff {\melody } \new TabStaff \keepWithTag myTab { \melody } \layout { } \midi { } } %% end -- English isn't my first language. So any error or strangeness is due to the translation. Please correct my English so that I may become better. ___ 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: I want MIDI only for a specific tag
On 2015-03-08 17:06, Pierre Perol-Schneider wrote: Hi Anders, simply delete midi in your score and create a new one just for the midi: \score { \new StaffGroup \new Staff \keepWithTag myStaff {\melody } \new TabStaff \keepWithTag myTab { \melody } \layout { } } \score { \new Staff \keepWithTag myStaff \melody \midi { } } I knew it was possible (like most things with LilyPond!) Thank you Pierre (Yeah it has to do with Pedal Steel notation) // Anders -- English isn't my first language. So any error or strangeness is due to the translation. Please correct my English so that I may become better. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.18
Il 08/03/15 16.20, Davide Liessi ha scritto: due to yet unknown reasons, importing ABC, MIDI and MusicXML files with Frescobaldi does not work in the pre-built standalone application bundle for Mac OS X. The same applies to using convert-ly in Frescobaldi. Again, I'm really sorry. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fine piano pedals notation
Hello, Although I often read messages from this mailing list, this is likely to be the first message I post to it. I've engraved some piano music already but it's always been pre-contemporary music: Bach, Liszt or even Debussy. Now I'm having trouble with contemporary pedalling notation. I'm trying to engrave a free score of Takemistsu's Rain Tree Sketch. You can found a video with score here on Youtube https://www.youtube.com/watch?v=_BHTJpDq0Wo or you can download a copyrighted copy on this page http://classic-online.ru/uploads/000_notes/9000/8938.pdf. This piece makes innovative use of all three pedals of the piano. I've tried to play a bit with this snippet http://lilypond.org/doc/v2.19/Documentation/snippets/keyboards#keyboards-changing-the-text-for-sustain-markings but I'm not convinced by what I've got. I especially don't know how to symbolize half pedal to the best of my knowledge. Moreover, I'd like to change « simile » for an arrow →. So I'm seeking for help. As it's a free software, I believe I'll get a helpful answer soon from the community then I say « thank you! » in advance ;-) 胡雨軒 Hu YuXuan P.S: sorry for my English, I'm not native English-speaker. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.18
Dear friends, due to yet unknown reasons, importing ABC, MIDI and MusicXML files with Frescobaldi does not work in the pre-built standalone application bundle for Mac OS X. Those features will work as expected installing Frescobaldi via MacPorts, as soon as they will update to the latest version, which I hope will happen in a couple of days. I'm sorry for the inconvenience. Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Coloring Ledger Lines
On Sun, Mar 8, 2015 at 11:02 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: Interesting, thanks David. Cheers, Pierre To get more of the control any user would expect, you could do something like this: \version 2.19.16 \new Staff \repeat unfold 8 { \startStaff s4 \stopStaff } { a4 \once \override Staff.LedgerLineSpanner.color = #blue a \once \override Staff.LedgerLineSpanner.color = #green a \once \override Staff.StaffSymbol.color = #red a a4 a a a } I imagine this could be automated fairly easily. Who knows the overhead with large scores, though! (Aside: it might be interesting to come up with something emulating the old single-impression printing technique where staff lines, notes, and text were stamped together and inexactly aligned-- http://en.wikipedia.org/wiki/History_of_music_publishing (under Rastell) Can't come up with a good visual.) David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond -dshow-available-fonts doesn't display the user installed fonts in OS X
Am 2015-03-08 um 20:04 schrieb Kevin Barry barr...@gmail.com: Manually installed fonts are usually placed in a different location to ones installed by the system. LilyPond looks in a few places to find user-installed fonts, but I have found that on OSX or Ubuntu that this location is no longer where user fonts are placed when installed. To make downloaded fonts available to LilyPond place them in a .fonts folder in your home folder (just copy the individual files there) and then LilyPond should be able to find them. (In the past this is where operating systems like Ubuntu used to place them, but not anymore for some reason.)] LilyPond uses pango and the fontconfig library. That means, it finds fonts that are known to fontconfig. Check your home folder - there might be a (hidden) file .fonts.conf; it should look like this: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd !-- /etc/fonts/local.conf file for local customizations -- fontconfig cache~/.fonts.cache-1/cache dir/System/Library/Fonts/dir dir/Library/Fonts/dir dir~/Library/Fonts/dir dir~/FontExplorer\ X/Font\ Library/dir dir/Library/Application\ Support/Adobe/Fonts/dir /fontconfig Just add all folders that contain fonts. The topmost of a tree is enough (like FontExplorer in my config). Greetlings, Hraban --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
I want MIDI only for a specific tag
I have a peace of music that has a Staff and a TabStaff but the music is not the same. How would I create the midi so it only plays the tag that is used in the Staff In the sample I only want MIDI for the tag myStaff. // Anders Sample code %% Start \version 2.19.15 \header { title = Test of MIDI } global = { \time 4/4 \key c \major \tempo 4=100 } melody = { \global \tag myStaff { c'8 d' e' f' g' f' e' d' c'2 r2} \tag myTab { c'8 d' e' e' g' e' e' d' c'2 r2 } } \score { \new StaffGroup \new Staff \keepWithTag myStaff {\melody } \new TabStaff \keepWithTag myTab { \melody } \layout { } \midi { } } %% end -- English isn't my first language. So any error or strangeness is due to the translation. Please correct my English so that I may become better. \version 2.19.15 \header { title = Test of MIDI } global = { \time 4/4 \key c \major \tempo 4=100 } melody = { \global \tag myStaff { c'8 d' e' f' g' f' e' d' c'2 r2} \tag myTab { c'8 d' e' e' g' e' e' d' c'2 r2 } } \score { \new StaffGroup \new Staff \keepWithTag myStaff {\melody } \new TabStaff \keepWithTag myTab { \melody } \layout { } \midi { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
vim is very very slow to open and modify lilypond files
Some months ago, vim became very very slow to open a lilypond file (4-5 seconds). This is clearly due to syntax highlighting because when turn it off (:syntax off) the files are opened instantaneously. Also when I add an opening {, it takes a long time (1 second or more) to update the file which is very annoying. I looked at the 'vim' directory in the source and saw that the only modification in the last year is very minor (commit 24e1aa563, 1/1/2014). Other modifications date to 2011. Is there any other locations where I should look for vim files? Has anyone else the same issue? I am using lilypond and vim 7.4.475 on linux fedora 20. Kind regards, Frédéric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user