Re: Center Lyric Syllables (ignoring punctuation)

2013-09-29 Thread Thomas Morley
Hi Alexander, 2013/9/29 Alexander Kobel n...@a-kobel.de: On 09/29/2013 07:52 PM, Alexander Kobel wrote: On 09/28/2013 11:23 PM, Thomas Morley wrote: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly

Re: LilyJAZZ on 2.17

2013-09-29 Thread Thomas Morley
2013/9/29 Federico Bruni fedel...@gmail.com: 2013/9/29 Marc Hohl m...@hohlart.de Hi Federico, see my reworked file attached. It covers the dot spacing bug in markups as well. It works for me under 2.17.27. Thanks Marc it compiles now but the output is weird: many braces and no notes.

Re: LilyJAZZ on 2.17

2013-09-29 Thread Thomas Morley
2013/9/29 Thomas Morley thomasmorle...@gmail.com: 2013/9/29 Federico Bruni fedel...@gmail.com: 2013/9/29 Marc Hohl m...@hohlart.de Hi Federico, see my reworked file attached. It covers the dot spacing bug in markups as well. It works for me under 2.17.27. Thanks Marc it compiles now

Re: LilyJAZZ on 2.17

2013-09-29 Thread Thomas Morley
2013/9/30 Stan Sanderson stans...@gmail.com: On Sep 29, 2013, at 3:30 PM, Federico Bruni fedel...@gmail.com wrote: 2013/9/29 Thomas Morley thomasmorle...@gmail.com Hi Federico, testing the files from your initial mail I've got : LilyJAZZ.ily:164:33: While evaluating arguments to grob

Re: MIDI output of multiple scores into a single MIDI file?

2013-09-29 Thread Thomas Morley
2013/9/30 David Kastrup d...@gnu.org: Dossy Shiobara do...@panoptic.com writes: On 9/29/13 5:29 PM, Federico Bruni wrote: are you sure you need to organize it in \score blocks? can you use variables instead (and one \score block)? One \score is a 4-bar PianoStaff intro only, then the second

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Thomas Morley
2013/9/30 Alexander Kobel n...@a-kobel.de: On 09/29/2013 08:47 PM, Thomas Morley wrote: Afaik, only people with permission to edit the LSR can change a snippet once it is approved. As long as it is unapproved the author can work on it. Ah, that makes sense. I remember that I could modify

Re: LilyJAZZ on 2.17

2013-09-30 Thread Thomas Morley
2013/9/30 Federico Bruni fedel...@gmail.com: 2013/9/29 Thomas Morley thomasmorle...@gmail.com Looking into LilyJAZZ.ily I noticed some strange line-breaking issues. Worst and causing the problem, lines 164/165 I've found (let* ((alteration (if (grob::has-interface grob 'key

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Thomas Morley
2013/9/30 Phil Holmes em...@philholmes.net: - Original Message - From: Thomas Morley thomasmorle...@gmail.com I agree, although I don't expect Guile problems for anything but plain ASCII prime and double prime, but I might be wrong. It's easy to tweak for people who want

Re: LilyJAZZ on 2.17

2013-09-30 Thread Thomas Morley
2013/9/30 Federico Bruni fedel...@gmail.com: 2013/9/30 Thomas Morley thomasmorle...@gmail.com I tried the files from https://github.com/fedelibre/lilypond-snippets with 2.17.27 All works fine, no warnings or errors, returning nice output. If you still got the braces, I'd assume

Re: LilyJAZZ on 2.17

2013-09-30 Thread Thomas Morley
2013/9/30 Thomas Morley thomasmorle...@gmail.com: 2013/9/30 Federico Bruni fedel...@gmail.com: 2013/9/30 Thomas Morley thomasmorle...@gmail.com I tried the files from https://github.com/fedelibre/lilypond-snippets with 2.17.27 All works fine, no warnings or errors, returning nice output

Re: Flat flags

2013-09-30 Thread Thomas Morley
2013/10/1 Gilberto Agostinho gilbertohasn...@googlemail.com: Hi all, According to the manual, the command necessary to create flat flags (\set stemLeftBeamCount) is always equivalent to \once \set. In other words, beam count settings are not “sticky” [...]. Does this mean that the only way I

Re: LilyJAZZ on 2.17

2013-09-30 Thread Thomas Morley
2013/9/30 Federico Bruni fedel...@gmail.com: 2013/9/30 Thomas Morley thomasmorle...@gmail.com You'll see that the jazz-fonts are found. Can you confirm on your system? yes on 2.16.2 Layout output to `jazz-test-3.ps'... [/usr/share/lilypond/2.16.2/fonts/otf/CenturySchL-Roma.otf] [/usr

Re: Flat flags

2013-09-30 Thread Thomas Morley
2013/10/1 Thomas Morley thomasmorle...@gmail.com: modern-straight-flag etc is defined in flag-styles.scm It's a pity that the main definition there uses 'ly:round-filled-polygon'. Setting the points of the polygon to fit a cuboid will result in inclined flags, perhaps a rounding issue

Re: Flat flags

2013-10-01 Thread Thomas Morley
2013/10/1 Gilberto Agostinho gilbertohasn...@googlemail.com: Hi Thomas, Thank you so much for your help! Indeed this is very close to what I am looking for, but there is a small catch: your code does not provide a result identical to the \set stemLeftBeamCount = #0 note[]. The flags' position

Re: \jazzOn vs. \improvisationOn

2013-10-03 Thread Thomas Morley
2013/10/3 Thomas Morley thomasmorle...@gmail.com: Hi Jim, 2013/10/3 Jim Long lilyp...@umpquanet.com: There is a known issue that prevents \improvisationOn from working with LilyJAZZ and \jazzOn. Never heard of it. a) Is that issue terribly gnarly, or is there a likelihood that the two

Re: \inst LSR snippet and 2.17.xx

2013-10-03 Thread Thomas Morley
2013/10/2 Giuseppe Silvi gramma...@me.com: Hi all, after my 2.17 jump that code give me this error: unexpected post-event there is a way to adapt the code in this snippet to 2.17? inst = #(define-music-function (parser location string) (string?) (make-music

Re: \jazzOn vs. \improvisationOn

2013-10-03 Thread Thomas Morley
2013/10/3 Thomas Morley thomasmorle...@gmail.com: %%% % EXAMPLE %%% \new Voice \with { \consists Pitch_squash_engraver } \relative c' { \jazzOn \override Staff.NoteHead #'stencil = #jazz-notehead

Re: How to insert a trill without the tr symbol?

2013-10-03 Thread Thomas Morley
2013/10/4 searchfgold6789 searchfgold67...@live.com: Hi, What I'm looking for is some way to implement \startTrillSpan and \stopTrillSpan in music without having the tr symbol: so just trill line. Is there any way to do that? I checked the internals reference but that was not helpful...

Re: How to insert a trill without the tr symbol?

2013-10-03 Thread Thomas Morley
2013/10/4 searchfgold6789 searchfgold67...@live.com: Thanks for your suggestion, but it's not working for me. I'm using version 2.16.2, .. Well, that's the reason why you should _always_ mention your version. Try: \version 2.16.2 { \once \override TrillSpanner #'bound-details #'left

Re: \jazzOn vs. \improvisationOn

2013-10-03 Thread Thomas Morley
2013/10/4 Jim Long lilyp...@umpquanet.com: On Thu, Oct 03, 2013 at 09:18:23PM +0200, Thomas Morley wrote: Hi Jim, 2013/10/3 Jim Long lilyp...@umpquanet.com: There is a known issue that prevents \improvisationOn from working with LilyJAZZ and \jazzOn. Never heard of it. I don't know

Re: Hairpin direction

2013-10-05 Thread Thomas Morley
2013/10/5 Kieren MacMillan kieren_macmil...@sympatico.ca: Hi all, In a piece I'm engraving, the manuscript — which I want to copy (or at least *be able* to copy) exactly — has the cello dynamics below the staff (expected), but the hairpins above (unexpected). Is there a simple setting I

Re: Hairpin direction

2013-10-05 Thread Thomas Morley
2013/10/5 Thomas Morley thomasmorle...@gmail.com: [...] Though, you'll notice that the Hairpins are shortened by the DynamicText. Til now I've found no way around it. Hi again, the code below seems to work: \version 2.17.27 %% A helper #(define (look-up-for-parent name-symbol axis grob

Re: What is this mark?

2013-10-05 Thread Thomas Morley
2013/10/5 Chris Crossen ch...@crossen.net: In the top staff of the third measure of the attached image, there is a mark consisting of two right-angle lines just before the rest at the end of the measure. I suspect it is closing the section marked ‘Trumpets’ that is two measures back. I’ve

Re: Hairpin direction

2013-10-05 Thread Thomas Morley
2013/10/5 Thomas Morley thomasmorle...@gmail.com: the code below seems to work: \version 2.17.27 [...] One problem persists: line-break! Even this code: \version 2.17.27 %% same with 2.16.2 \relative c' { c1_\mf^\ \break cis2 d_\mp\ } returns: programming error

Re: Problem with LilyJAZZ.ily

2013-10-07 Thread Thomas Morley
2013/10/8 Steve Noland st...@thenolands.us: Dear all, On a Mac, when trying to compile the jazz-test-3.ly file, I get the following error from Lilypond re: the LilyJAZZ.ily file: Starting lilypond 2.17.27 [jazz-test-3.ly]… Processing `/Users/snoland/Downloads/LilyJAZZ/jazz-test-3.ly’

Re: Problems with LilyJAZZ.ily

2013-10-08 Thread Thomas Morley
2013/10/9 Jim Long lilyp...@umpquanet.com: \override ChordName #'font-name = #lilyjazzchord Hi Jim, never heard of lilyjazzchord. Where to get? Compiling your snippet returns LilyPond-default for the ChordNames. Cheers, Harm ___ lilypond-user

Re: Problems with LilyJAZZ.ily

2013-10-09 Thread Thomas Morley
2013/10/9 Urs Liska u...@openlilylib.org: [...] One more thing which might be useful for the technical issues you are talking about: I started a snippet to switch program execution based on the used LilyPond version

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 EdBeesley edplaysdr...@gmail.com: I'm trying to add a bit of padding to the whiteout function when used on a \cresc. My results are best explained with code... \version 2.16.2 exampleone = \markup {how it looks with whiteout} exampletwo = \markup {how I want it to look}

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 EdBeesley edplaysdr...@gmail.com: Thomas Morley-2 wrote Hi, how about: \version 2.16.2 moreVerticalDynamicTextSpannerWhiteout = \once \override DynamicTextSpanner #'stencil = #(lambda (grob) (let* ((stil (ly:line-spanner::print grob)) (x-ext (ly:stencil

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 Thomas Morley thomasmorle...@gmail.com: [...] It would lead to: moreVerticalDynamicTextSpannerWhiteout = #(define-music-function (parser location adds)(pair?) #{ \once \override DynamicTextSpanner #'stencil = #(lambda (grob) (let* ((stil (ly:line-spanner::print grob

Re: Flat flags

2013-10-12 Thread Thomas Morley
2013/10/2 Gilberto Agostinho gilbertohasn...@googlemail.com: Hi Harm, Thank you so much for this code. I realize now that it was not your flat-flag code that wasn't matching the old and modern-straight-flags, but actually it was the notes using \set stemLeftBeamCount x[] that were not

Re: Piano/Xylophone key diagrams

2013-10-12 Thread Thomas Morley
2013/10/12 David Kastrup d...@gnu.org: Phil Holmes em...@philholmes.net writes: At college, one of my ensembles is a mixed-music group performing modern music. I normally get away with singing or playing a triangle and bits of other untuned percussion. Imagine my surprised when I was given

Re: Aligning output question

2013-10-12 Thread Thomas Morley
2013/10/12 Phil Holmes m...@philholmes.net: - Original Message - From: Kevin Tough ke...@toughlife.org To: LilypondMailingListGenUser lilypond-user@gnu.org Sent: Saturday, October 12, 2013 2:09 PM Subject: Aligning output question One of the last hurdles I have to figure out to

Re: cresc. whitespace padding

2013-10-12 Thread Thomas Morley
Hi Ed, 2013/10/12 EdBeesley edplaysdr...@gmail.com: David Kastrup wrote EdBeesley lt; edplaysdrums@ gt; writes: Damnit David, I'm a musician not a programmer! That's true for me, too! :) In all seriousness though I always do my best to figure out the answer myself via the

Re: Flat flags

2013-10-12 Thread Thomas Morley
2013/10/12 Karol Majewski karo...@wp.pl: Hi Harm, does the patch fix issue 3096? Karol No. Though, I've an idea how to tackle 3096. I'll try tomorrow, currently I'm too tired. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org

Re: [OT] guitar scales

2013-10-13 Thread Thomas Morley
2013/10/13 Federico Bruni fedel...@gmail.com: Hi this is OT because I think that what I'm looking for cannot be done in LilyPond. I'd like to generate some guitar scales, as you can see here: http://archives.mikeerickson.net/guitar-scales/#/scales/A/minor But I'd like to be able to print

Re: Floating markup

2013-10-15 Thread Thomas Morley
2013/10/15 James Worlton jworl...@gmail.com: On Tue, Oct 15, 2013 at 3:16 PM, Jim Long lilyp...@umpquanet.com wrote: On Tue, Oct 15, 2013 at 09:04:13AM -0500, James Worlton wrote: This solution is also kind of hacky, but it looks like it may do more or less what you want. It also scales

Re: compilation error when using stemlet over rests

2013-10-15 Thread Thomas Morley
2013/10/16 Gilberto Agostinho gilbertohasn...@gmail.com: Hello all, I am getting an error when trying to compile the following code: \version 2.17.28 { \override Staff.Stem.stemlet-length = 0.75 \clef percussion a,8-[ r8 c''8 r8 a,8 r8 c''8] } The compiler outputs the following

Re: compilation error when using stemlet over rests

2013-10-15 Thread Thomas Morley
2013/10/16 Thomas Morley thomasmorle...@gmail.com: 2013/10/16 Gilberto Agostinho gilbertohasn...@gmail.com: Hello all, I am getting an error when trying to compile the following code: \version 2.17.28 { \override Staff.Stem.stemlet-length = 0.75 \clef percussion a,8-[ r8 c''8 r8

Re: predicate pitch-or-music? - getting rid of ##{ #} ?

2013-10-17 Thread Thomas Morley
2013/10/17 David Kastrup d...@gnu.org: David Kastrup d...@gnu.org writes: Thomas Morley thomasmorle...@googlemail.com writes: Hi, I tried to create a function which should accept a pitch _or_ music. So I defined a pitch-or-music? predicate: #(define (pitch-or-music? x) (or (ly:pitch

Re: Lyrics to hymn - new user

2013-10-17 Thread Thomas Morley
2013/10/17 Garrett McGilvray garrett.mcgilv...@gmail.com: On Oct 12, 2013, at 10:25 PM, Carl Peterson carlopeter...@gmail.com wrote: So this would be your basic setup: \score { \new Staff = top { \new Voice = sopVerse { } % voice for verse melody and combined alto \new

Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Thomas Morley
2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com: Hi all, I would like to change the shape of more than one laissezVibrer at the same time in chord, but I can't seem to find an way to do it because they are simultaneous. Does anyone have any idea how to solve this problem? \version

Re: Changing the shape of more than one laissezVibrer in chord

2013-10-18 Thread Thomas Morley
2013/10/18 Gilberto Agostinho gilbertohasn...@gmail.com: Hi Harm, Thanks for your answer. I actually already came across that snippet you sent me while searching the repository , but it doesn't compile for me. On my 2.17.18, the compiler outputs: Unbound variable: $further For the

Re: make-connected-path-stencil with variables and connected paths

2013-10-20 Thread Thomas Morley
Hi Paul, 2013/10/20 Paul Morris p...@paulwmorris.com: Hi all, I'm trying to use make-connected-path-stencil, but it's not working as expected, in two ways. Here's a tiny example: \version 2.17.28 myStencil = #(let* ((A 0) (B 1)) (make-connected-path-stencil '((A

Re: Symmetrical ties in TieColumn

2013-10-20 Thread Thomas Morley
2013/10/20 Karol Majewski karo...@wp.pl: Hmm... the code: { \override Tie.after-line-breaking = #(lambda (grob) (display (ly:grob-property grob 'control-points)) (newline)) c'1~ c'1 } doesn't work for me. I see no control points (nor the numbers). Well, it works for me.

Re: make-connected-path-stencil with variables and connected paths

2013-10-20 Thread Thomas Morley
2013/10/20 Paul Morris p...@paulwmorris.com: [...] I see there's no snippet about using make-connected-path-stencil in the LSR. I'll put it on my list to add one when I get a chance. [...] There are some snippets using 'path' http://lsr.dsi.unimi.it/LSR/Search?q=path Would be nice to have one

Re: make-connected-path-stencil with variables and connected paths

2013-10-20 Thread Thomas Morley
2013/10/20 Paul Morris p...@paulwmorris.com: David Kastrup wrote Paul Morris lt; paul@ gt; writes: 2. Setting connect to #t gives this GUILE error (this seems like a bug): Wrong type argument in position 1 (expecting empty list): closepath Try making a report (including example)

Re: make-connected-path-stencil with variables and connected paths

2013-10-24 Thread Thomas Morley
2013/10/23 Paul Morris p...@paulwmorris.com: Thomas Morley-2 wrote There are some snippets using 'path' http://lsr.dsi.unimi.it/LSR/Search?q=path Indeed, I have found them very helpful! Thomas Morley-2 wrote Would be nice to have one with 'make-connected-path-stencil' Ok, here we go

Re: Extra Bar

2013-10-25 Thread Thomas Morley
2013/10/26 Mark Stephen Mrotek carsonm...@ca.rr.com: Hello, What should be done to get rid of the unnecessary bar in the second ending? Thank you. Mark Hi, not sure whether it's the best way, though, changing 'right' to the code below seems to work: right = \relative c'' {

Re: \parenthesize command looks puny compared with reminder accidental

2013-10-29 Thread Thomas Morley
2013/10/29 Richard Shann rich...@rshann.plus.com: Consider \version 2.16 MvmntIVoiceI = { f'?4 \parenthesize g'4 } \score { \MvmntIVoiceI } The output has a rather puny looking parenthesis around the notehead while the reminder accidental is boldly parenthesized. Do

Re: make-connected-path-stencil with variables and connected paths

2013-10-29 Thread Thomas Morley
2013/10/25 Paul Morris p...@paulwmorris.com: Thomas Morley-2 wrote many thanks for your snippet. It has a very useful description! Hi Harm, Glad you like it. Thomas Morley-2 wrote Though, two suggestions: 1) I'd rename the note-head-stencil. 'diamond is already taken for a note-head

Re: On creating title pages and the like (with snippet 368)

2013-10-31 Thread Thomas Morley
2013/10/31 Graham King lilyp...@tremagi.org.uk: Here's some progress in getting snippet 368 to run with lilypond 2.16.2. [...] Hi Graham, I followed this thread only cursorily. Though, now I tried it out and had no problems with said snippet. I copied it to file with \version 2.14.2 statement.

Re: Percent repeats and polyphony. Bug?

2013-11-01 Thread Thomas Morley
2013/11/2 Francisco Vila paconet@gmail.com: Hello. I bring this from the Spanish list: { \time 2/4 \repeat percent 3 b'2 \\ b2 \repeat percent 3 b2 } [image attached] Here, the repeated part which has polyphony lacks one of the percent symbols. Anyone knows why? Thanks.

Re: centering text on a measure

2011-09-16 Thread Thomas Morley
2011/9/16 David Nalesnik david.nales...@gmail.com Hi, Harm -- On Thu, Sep 15, 2011 at 6:18 PM, harm6 thomasmorle...@googlemail.comwrote: I tested your definitions with a longer example using StaffGroup and commented the not used parts with %{ ... %}. (see code below) The log states:

Re: How to reset a SystemStartBracket-override?

2011-09-20 Thread Thomas Morley
2011/9/20 Neil Puttock n.putt...@gmail.com On 20 September 2011 21:17, harm6 thomasmorle...@googlemail.com wrote: Is there a better or easier way to get this output? You don't need to hack SystemStartBracket stencil. Just set instrumentName in the StaffGroup (and change the alignment via

Re: acciaccatura and incipit

2011-09-20 Thread Thomas Morley
2011/9/21 Mario Moles mario-mo...@libero.it ** Hi! I'm sorry for the long code but i don't understand what the error is in this code! The \time code is out! Thank's! \version 2.14.0 % \include gui.ly \paper { between-system-spacing = #'((space . 12) (minimum-distance . 8)

Re: Begin with a staff bar at left edge

2011-09-21 Thread Thomas Morley
2011/9/21 Janek Warchoł janek.lilyp...@gmail.com 2011/9/14 Neil Puttock n.putt...@gmail.com: 2011/9/14 Janek Warchoł janek.lilyp...@gmail.com: Why shouldn't it be controlled by break-visibility? See output-lib.scm, bar-glyph-alist and bar-line::calc-glyph-name. Ah, i see! So the

Re: How to make a tweak a variable?

2011-09-21 Thread Thomas Morley
2011/9/18 David Kastrup d...@gnu.org Xavier Scheuer x.sche...@gmail.com writes: On 18 September 2011 00:43, David Kastrup d...@gnu.org wrote: Use a music argument. This will, however, only work if the music function is recognizable as a postevent, namely as notToBarline =

Re: Help with breaks?

2011-09-21 Thread Thomas Morley
2011/9/21 dogwoodnc dogwoo...@yahoo.com Thanks, but this is as clear as mud to me right now. As I've said, I'm a novice at Lily Pond AND I'm not a programmer. I've been trying to learn to use this program, and have made a lot of progress the last few months (by reading the reference

Re: How to make a tweak a variable?

2011-09-21 Thread Thomas Morley
2011/9/22 David Kastrup d...@gnu.org The latter. This functionality of #{ ... #} has been implemented about a month ago in 2.15 and will see the light of a stable version first in 2.16. -- David Kastrup Thanks for the info! Harm ___

Re: How to make a tweak a variable?

2011-09-21 Thread Thomas Morley
2011/9/22 David Kastrup d...@gnu.org You can take a look at the definition of tweak in ly/music-functions-init.ly and transplant the Scheme code directly into your function instead of using #{ #} for it. -- David Kastrup This way I guess: \version 2.14.2 notToBarline =

Re: centering text on a measure

2011-09-22 Thread Thomas Morley
Hi David, 2011/9/23 David Nalesnik david.nales...@gmail.com Hi Harm, Unfortunately, I can't! When I run the ,ly file exactly as you send it, I don't get the same problem with the red line: it's centered between LeftEdge and BarLine. I get the same result in 2.14.2 and 2.15.8. I can't

Re: centering text on a measure

2011-09-22 Thread Thomas Morley
(...) Using these scores: \score { \new StaffGroup = 0ne \new Staff \one \new Staff \one } \markup \vspace #5 \score { \new Staff = two \new Voice { \voiceOne\one } %\new Voice { \voiceTwo\two } %== } I get no message in

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/23 eluze elu...@gmail.com i'm neither expert nor knowledgeable with scheme but i would prefer a solution that lets you define your own preferences and include them with -dinclude-settings=….ly afaics in script.scm a list is defined with (sub-)properties of many/all script objects.

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com On Fri, Sep 23, 2011 at 4:38 PM, Thomas Morley thomasmorle...@googlemail.com wrote: But I didn't manage to shorten it. Not sure if this is expressed in the best form, but putting this line at the top of the file should change

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com On Fri, Sep 23, 2011 at 5:08 PM, eluze elu...@gmail.com wrote: now we need a way to only override the relevant items - i.e. to replace the padding for tenuto in the original list! (then we even get rid of the \layout part!) anybody has

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 Thomas Morley thomasmorle...@googlemail.com There might be another point of interest: How to reset? I'm aware it could be done with a new #(assoc-set! ... ) using default values. I was wrong: This doesn't work! Sorry! But: Is there another, easier method? Best, Harm

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com Hi Harm, On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 Thomas Morley thomasmorle...@googlemail.com There might be another point of interest: How to reset? I'm aware it could be done

Re: placement sostenuto

2011-09-24 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com ( . . .) In the following snippet, the override of 'Y-offset works, but the one of 'padding doesn't. \version 2.14.2 \relative c' { \once \override Script #'padding = #(lambda (grob) (if (eq? (ly:grob-property grob 'direction) UP) 5

Re: placement sostenuto

2011-09-25 Thread Thomas Morley
Hi David 2011/9/24 David Nalesnik david.nales...@gmail.com Hi Harm, Thanks for the insight! So then you could do something like this: I tried, but without success. :) \version 2.14.2 #(define (padding-for-tenuto x) (lambda (grob) (if (equal? tenuto (ly:prob-property

Re: placement sostenuto

2011-09-25 Thread Thomas Morley
Hi David, 2011/9/25 David Nalesnik david.nales...@gmail.com You could change the function to map ly:grob-set-property! onto the alist if a match is found: \version 2.14.2 #(define ls '( (staccato . ((color . (0 1 0 (accent . ((font-size . 4)(color . (1 0 0 (tenuto

Re: Show Ledger Lines for Hidden Notes

2011-09-27 Thread Thomas Morley
2011/9/27 Javier Ruiz-Alma jav...@ruiz-alma.com Am 27.09.2011 08:17, schrieb Javier Ruiz-Alma: I wish to show a staff with a few ledger lines above/below an empty staff. I don't want any notes to show. However LilyPond will not generate Ledger lines for invisible notes, so transparency

Re: centering text on a measure

2011-09-29 Thread Thomas Morley
2011/9/23 David Nalesnik david.nales...@gmail.com (...) Well, it is possible to override a non-existent property (if you don't mind the warnings). Here's a sketch which uses a tag to center a grob. (I realize it will break with very little effort.) And with this, my descent into

Re: hiding fret numbers in score

2011-10-02 Thread Thomas Morley
2011/10/2 bart deruyter bart.deruy...@gmail.com Hi all, ( ... ) or can I somehow hide the string numbers in the staff with the notes? Thanks, Bart Hi Bart, try \override StringNumber #'transparent = ##t or \override StringNumber #'stencil = ##f to hide the StringNumber.

Re: centering text on a measure

2011-10-03 Thread Thomas Morley
2011/10/1 David Nalesnik david.nales...@gmail.com The function in the attached file lets you specify multiple markers for a grob, so it can serve in multiple pairings (there can only be two which use the same tag). The example in the file should show how this works. Hope this can be useful

Re: centering text on a measure

2011-10-03 Thread Thomas Morley
Hi David, 2011/10/3 David Nalesnik david.nales...@gmail.com After your suggestion, I experimented some with creating my own interface and adding it to the interface-list of various grobs. This creates an interface with a single property ('markers), and then adds it to every grob's

Re: Override ties

2011-10-10 Thread Thomas Morley
2011/10/10 Ed Gordijn ed.klari...@gmail.com Hi List, I have got notes tied together as in this example. \version 2.14.2 \relative g'' { g4 g~--- g g g8 g~--- g g g g~--- g g } I don't like the ties in the second measure. I would prefer the way they are in the first measure, lower

Re: Changing chords font size

2011-10-11 Thread Thomas Morley
2011/10/11 Alberto Simões al...@alfarrabio.di.uminho.pt Hello I am entering chords as: \chords { \italianChords s4 fis2.:m e1 fis4:m cis2:m e2 fis\breve:m } \new Voice = mel \melody \new Lyrics \lyricsto mel \text now, I would like to make them smaller (italian

Re: How to read out the slope of a beam?

2011-10-12 Thread Thomas Morley
Hi David, 2011/10/12 David Nalesnik david.nales...@gmail.com Hi Harm, (...) (beam-positions (ly:grob-property grob 'positions)) (beam-slant (if ( (car beam-positions) (cdr beam-positions)) -1 1)) (orig-slope (* beam-slant (/ (- beam-length-y beam-thickness)

Re: Override ties

2011-10-12 Thread Thomas Morley
2011/10/12 Ed Gordijn ed.klari...@gmail.com Hi Harm, Just for the record. I used the same rhythm with an a and than I needed a second tweak to get the tie I wanted. \version 2.15.14 \include shapeXXX.ily %

Re: How to read out the number of beams and the space between them?

2011-10-16 Thread Thomas Morley
Hi David, 2011/10/16 David Nalesnik david.nales...@gmail.com Hi again, I sent that off too quickly... Instead of #(define ((stencil-plus-bracket beam-count) grob) use #(define (stencil-plus-bracket grob) -David this works! I regarded the gap-property, but \once\override Beam

Re: overriding the order of accidentals in a chord

2011-10-19 Thread Thomas Morley
Hi Kieren 2011/10/19 Kieren MacMillan kieren_macmil...@sympatico.ca Hello all! Is there an easy way to override the order of accidentals appearing next to a chord, e.g. have the natural come first in the following snippet? (...) I'm not aware of any easy method to do so. But are you sure

Re: overriding the order of accidentals in a chord

2011-10-19 Thread Thomas Morley
Hi Kieren 2011/10/20 Kieren MacMillan kieren_macmil...@sympatico.ca (...) \version 2.15.14 \language english \relative a' { a b ds fss b2\arpeggio } (...) Without the tweak, the space before the note (which, in this case, is the downbeat of a measure) is extremely large — as a result,

Re: tie slur to different notes from a note

2011-10-21 Thread Thomas Morley
2011/10/21 MING TSANG tsan...@rogers.com Hi, Colin: I did as you suggest, but I got the following error. Pdf does not show the slur. I am using version 2.15.14 C:/Users/Tsang/Dropbox/Lyndon/LiLy/if-my-people-will-pray/if-my-people-will-pray(bass-A).ly:43:11: warning: cannot end slur g,

Re: Slur as TupletBracket

2011-10-21 Thread Thomas Morley
Hi Mke 2011/10/21 m...@apollinemike.com m...@apollinemike.com i 3 hacks \version 2.15.12 \relative c'' { \override TupletBracket #'stencil = #ly:slur::print \override TupletBracket #'direction = #UP \override TupletNumber #'whiteout = ##t \override TupletNumber #'layer = #2

Re: Slur as TupletBracket

2011-10-22 Thread Thomas Morley
2011/10/22 m...@apollinemike.com m...@apollinemike.com Hey Harm, I compiled it against current master. If your version of LilyPond doesn't have an X-positions property, you can assemble something that works like X-positions by getting the two spanner bonuds via ly:spanner-bound and then

Re: How to read out the number of beams and the space between them?

2011-10-23 Thread Thomas Morley
Hi David, 2011/10/20 David Nalesnik david.nales...@gmail.com Hi Harm, On Mon, Oct 17, 2011 at 5:15 PM, harm6 thomasmorle...@googlemail.comwrote: I've been thinking about this some more. Specifically, I've noticed that adding the beam widths and the spaces between the beams doesn't seem

Re: ly:stencil-extent gives not the exact value?

2011-10-23 Thread Thomas Morley
Hi David, 2011/10/23 David Nalesnik david.nales...@gmail.com Hi Harm, I'm guessing that it's an issue with the markup command \beam. Looking at the definition in define-markup-commands.scm, it seems that 'blot-diameter isn't taken into account in the calculation of width and thickness.

Re: Making feathered beams more variable

2011-10-24 Thread Thomas Morley
Hi David, 2011/10/24 David Nalesnik david.nales...@gmail.com Hi Harm, (...) I haven't tried to break your function :) but the attached file shows one way you could generalize it to remove the code duplication and work with more than four beams. (In the example, I've changed the first group

Re: Making feathered beams more variable

2011-10-29 Thread Thomas Morley
Hi David, 2011/10/29 David Nalesnik david.nales...@gmail.com Hi again, (...) The attached should work with accel./rit. and rit./accel. Wow!! Looks great!! There is only one extra argument now, which represents the position of the turnaround. This can't be larger than the number of

Re: Making feathered beams more variable

2011-10-30 Thread Thomas Morley
Hi David, 2011/10/28 Thomas Morley thomasmorle...@googlemail.com Hi David, 2011/10/28 David Nalesnik david.nales...@gmail.com Hi Harm, (...) I tried various overrides to adjust the length of the final stem only, and the solution I got to work is this: xy = \once\override Stem

Re: Scores within a book in two columns

2011-10-30 Thread Thomas Morley
Hi Sven, 2011/10/30 Sven Axelsson sven.axels...@gmail.com Is there a way to typeset a number of one line scores within a book in two columns? Ideally I'd like something like \book { \score {} \markup { \column { \score {} \score {} } \column { \score {}

Re: like divisioMinora, but a barline

2011-10-30 Thread Thomas Morley
Hi; 2011/10/30 J. Boor boor...@gmail.com A few versions ago, I could do this: \once \override Staff.BarLine #'extra-offset = #'(0 . 2) \once \override Staff.BarLine #'bar-size = #1 \bar | with a result something like the divisioMinora that's in gregorian.ly, except that mine was

Re: Automatic beaming in 2/2

2011-10-30 Thread Thomas Morley
Hi me, 2011/10/30 me when.possi...@gmail.com (...) I want the piece to be in 2/2 time, but with the 4/4 beamExceptions. What's the best way to do this? which version? With 2.14.2 try: \version 2.14.2 \new Voice \relative c'' { \overrideTimeSignatureSettings #'(2 . 2)

Re: Automatic beaming in 2/2

2011-10-30 Thread Thomas Morley
Hi me, sorry, should have read more carefully. Try: \version 2.14.2 music = \relative c'' { c16 c c c c c c c c8 c16 c c8 c16 c | r8 c c c c c c c | \break } \new Staff { \overrideTimeSignatureSettings #'(2 . 2) % timeSignatureFraction #'(1 . 4) %

Re: Making feathered beams more variable

2011-10-30 Thread Thomas Morley
Hi David, 2011/10/30 David Nalesnik david.nales...@gmail.com Hi Harm, I added (if (ly:stencil? (ly:stem::print grob)) ... to the function (and some construction-helpers, maybe deleted). Now it works with \change Staff, too. 2.15.13 or higher is still needed. All you need here is a call

Re: like divisioMinora, but a barline

2011-11-01 Thread Thomas Morley
Hi, 2011/11/1 Wilbert Berendsen wbs...@xs4all.nl Then \once \override Staff.BarLine #'bar-extent = #'(-1 . 1) \bar | would suffice as well, I think? -- Wilbert Berendsen (http://www.wilbertberendsen.nl)https://lists.gnu.org/mailman/listinfo/lilypond-user sure. 'bar-size was changed

Re: Making feathered beams more variable

2011-11-03 Thread Thomas Morley
Hi David, to get beaming consistent to your featherDurationTest, I added a new condition to my grow-beam-var: With a positive argument you retrieve accel.-rit. With a negative one rit.-accel. (Most of the testing is commented out and the turning-peak option is deleted) I added your revised

Re: Making feathered beams more variable

2011-11-06 Thread Thomas Morley
Hi David, 2011/11/4 Thomas Morley thomasmorle...@googlemail.com (...) Also, I deleted my attempt to automatize stem-shortning (for now stems are to be shortened manually. This works! :)). Perhaps I start a new try with 2.15.13 and the 'length-property next weekend. (...) I think the stem

Re: How to change the stem-length?

2011-11-08 Thread Thomas Morley
Hi Mike, 2011/11/7 m...@apollinemike.com m...@apollinemike.com (...) The function will be consistent if you hijack a different property. To wit, quantized-positions. By the time you call ly:beam::print, the stencil values for the stem may have already been cached, in which case they will

<    3   4   5   6   7   8   9   10   11   12   >