Re: Unexpected behaviour of script-stencil-hack

2014-10-14 Thread David Nalesnik
Hi Harm, On Tue, Oct 14, 2014 at 5:38 PM, Thomas Morley thomasmorle...@gmail.com wrote: Hi folks, consider the following code. \version 2.19.13 %\version 2.16.0 add-to-script = #(define-event-function (parser location mrkp music)(markup? ly:music?) #{ \tweak #'stencil

Re: Unexpected behaviour of script-stencil-hack

2014-10-14 Thread David Nalesnik
Hi Harm, On Tue, Oct 14, 2014 at 6:15 PM, Thomas Morley thomasmorle...@gmail.com wrote: Hi David, 2014-10-15 0:54 GMT+02:00 David Nalesnik david.nales...@gmail.com: Hi Harm, On Tue, Oct 14, 2014 at 5:38 PM, Thomas Morley thomasmorle...@gmail.com wrote: Hi folks, consider

Re: Unexpected behaviour of script-stencil-hack

2014-10-14 Thread David Nalesnik
On Tue, Oct 14, 2014 at 5:38 PM, Thomas Morley thomasmorle...@gmail.com wrote: Why does this happen? X-offset is _never_ called in the body! But doing this: #(let ((message (display boo!\n))) '()) shows that what you're binding message to is evaluated. --David

Re: Centering text in a TextSpanner or OttavaSpanner (or ...?)

2014-10-16 Thread David Nalesnik
On Tue, Oct 7, 2014 at 3:11 AM, Jacques Menu imj-...@bluewin.ch wrote: Hello David, Thanks a lot for this solution: it works for me since I have only one bar to span over, with LP 2.18.2 by the way. Turns out it wasn't too hard to get the ability to span multiple bars. I kept the same

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
Hi Gilberto, On Tue, Oct 21, 2014 at 3:23 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, this is a really wonderful job, thank you so much for sharing it! I am adding your function to every score of mine right now :) David Nalesnik-2 wrote Standard practice

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
On Tue, Oct 21, 2014 at 8:34 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, David Nalesnik-2 wrote I do realize that these enhancements make the difference between usability and thanks, nice toy :) That may be true on a practical level, but I am truly thankful

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
On Tue, Oct 21, 2014 at 12:03 PM, David Nalesnik david.nales...@gmail.com wrote: Well, I could. The only thing is that number of optional variables is limited. I suppose there could be an argument which takes an alist of symbols and settings: '((starting-clef . bass) (short-names . #t

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
On Tue, Oct 21, 2014 at 9:35 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, David Nalesnik-2 wrote I'm not going to venture into automating the process described in the manual for having an ottava apply to one voice, but not the other. That would be indeed painful

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
Hi Gilberto, On Tue, Oct 21, 2014 at 4:43 PM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, David Nalesnik-2 wrote Actually, no, it averages the ledger lines of the chord members. If the average is above the threshold, we get an ottava. I'm welcome to better

Re: Automatic ottava handling

2014-10-22 Thread David Nalesnik
Gilberto, On Wed, Oct 22, 2014 at 4:39 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, This new version is really excellent! I think it handles chords wonderfully well, and I also like the alist idea very much! Great--good to hear! David Nalesnik-2 wrote The alist

Re: New member - Bar numbers placement problem

2014-10-22 Thread David Nalesnik
Hi, On Wed, Oct 22, 2014 at 8:59 AM, Les Editions Valmajour p...@editions-valmajour.fr wrote: Hi Kieren, I thought about this option, and I found how to add a counter in the shortInstrumentName; http://lsr.di.unimi.it/LSR/Item?id=543 (and it works and give the perfect placement I want) but

Re: New member - Bar numbers placement problem

2014-10-22 Thread David Nalesnik
On Wed, Oct 22, 2014 at 4:17 PM, Les Editions Valmajour p...@editions-valmajour.fr wrote: Thx David, I feel it's getting close, but I'm stuck waiting for help because I don't understand the Scheme code. :) Thank you! Pierre What do you want it to do that it isn't doing, or it a problem

Re: New member - Bar numbers placement problem

2014-10-23 Thread David Nalesnik
Hi Pierre, On Thu, Oct 23, 2014 at 2:46 AM, Les Editions Valmajour p...@editions-valmajour.fr wrote: That's right, I was focused on the automation thing, but I will use it manually for now, the piece is not so long anyway :) Yes, the automation thing is really a shame. Unfortunately, I

Re: New member - Bar numbers placement problem

2014-10-23 Thread David Nalesnik
Hi Kieren, On Thu, Oct 23, 2014 at 8:31 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, I think that if you want automation your best approach would be to look at modifying the position of BarNumber. I thought of that at first, but rather hoped the InstrumentName

Re: New member - Bar numbers placement problem

2014-10-23 Thread David Nalesnik
Hi all, On Thu, Oct 23, 2014 at 9:41 AM, David Nalesnik david.nales...@gmail.com wrote: On Thu, Oct 23, 2014 at 8:31 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, I think that if you want automation your best approach would be to look at modifying the position

Re: scheme engraver and left-neighbor

2014-10-24 Thread David Nalesnik
Hi Sam, On Fri, Oct 24, 2014 at 5:39 PM, Samuel DA MOTA da.mota@gmail.com wrote: Hi, I'm trying to write a scheme engraver and I'm blocked at some point. I'm trying to determine if the left-neighbor of a grob is a (semi-)tie or not. Can someone provide some help on how to achieve

Re: Scheme function to affect a compound music expression?

2014-10-25 Thread David Nalesnik
Hi Peter, On Sat, Oct 25, 2014 at 10:41 AM, Peter Crighton petecrigh...@gmail.com wrote: 2014-10-24 23:01 GMT+02:00 Peter Crighton petecrigh...@gmail.com: 2014-10-24 16:54 GMT+02:00 Robin Bannister r...@dataway.ch: So it looks like LilyPond wants to merge the rests, but will do this only

Re: Scheme function to affect a compound music expression?

2014-10-25 Thread David Nalesnik
On Sat, Oct 25, 2014 at 11:01 AM, Peter Crighton petecrigh...@gmail.com wrote: Thanks, David, that indeed does the trick! I'm curious--what example was Robin's suggestion not working for? Removing the check for 'MultiMeasureRestEvent works fine for me with multi-measure rests. --David

Re: Scheme function to affect a compound music expression?

2014-10-25 Thread David Nalesnik
Hi again, Peter-- On Sat, Oct 25, 2014 at 11:01 AM, Peter Crighton petecrigh...@gmail.com wrote: 2014-10-25 17:51 GMT+02:00 David Nalesnik david.nales...@gmail.com: Hi Peter, On Sat, Oct 25, 2014 at 10:41 AM, Peter Crighton petecrigh...@gmail.com wrote: I now wanted to improve

Re: Selectively override padding of glissando lines in chords?

2014-10-27 Thread David Nalesnik
Hi Dominic, On Sun, Oct 26, 2014 at 8:44 PM, Dominic dominicirv...@gmail.com wrote: Minimal example: /\version 2.19.15 \relative c' { % === (The following two lines only for cosmetic purposes) === \override Glissando.minimum-length = #12 \override

Re: Centering text in a TextSpanner or OttavaSpanner (or ...?)

2014-10-27 Thread David Nalesnik
Hi Gilberto, On Mon, Oct 27, 2014 at 10:46 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, David Nalesnik-2 wrote I kept the same stencil function, but I wrote a new engraver based on the regression test scheme-text-spanner.ly. I just want to let you know that I

Re: Centering text in a TextSpanner or OttavaSpanner (or ...?)

2014-10-27 Thread David Nalesnik
On Mon, Oct 27, 2014 at 11:11 AM, David Nalesnik david.nales...@gmail.com wrote: Hi Gilberto, On Mon, Oct 27, 2014 at 10:46 AM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: Hi David, If you have interest, I posted these alterations of mine in this post: http://lilypond.1069038

Re: Selectively override padding of glissando lines in chords?

2014-10-27 Thread David Nalesnik
Hi Dominic, On Mon, Oct 27, 2014 at 12:50 PM, Dominic dominicirv...@gmail.com wrote: I am a little closer to my goal. I have come up with the following music function: /glissIndexPadHack = #(define-music-function (parser location index additionalpad normalpad)

Re: Can I \markup \concat more than one file in a row?

2014-10-29 Thread David Nalesnik
On Wed, Oct 29, 2014 at 8:04 AM, Jacques Menu imj-muz...@bluewin.ch wrote: Hello Jayaratna, For some reason, your messages lacks the important things Same for me, but if you follow the link below, you should see everything: View this message in context:

command-line option question

2014-10-31 Thread David Nalesnik
Hi, Processing the given program test.ly (Windows 7, 64-bit) \version 2.19.15 { \override Stem.count-from = 1 c } on the command line like so lilypond -dcheck-internal-types=#t test.ly I expect to see a programming error like Grob `Stem' has no interface for property `count-from' yet

Re: A pause in 3/4 measure

2014-10-31 Thread David Nalesnik
Bernhard, On Fri, Oct 31, 2014 at 5:42 AM, Dr. Bernhard Kleine bernhard.kle...@gmx.net wrote: I am very astonished that a full pause in a 3/4 measure is four quarters long. How to note then a full pause? If I'm understanding correctly: you're wondering why a full bar rest in 3/4 is output

Re: Beaming until barline

2014-10-31 Thread David Nalesnik
Hi, On Fri, Oct 31, 2014 at 11:44 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: but, as you can see, it's limited to one beam... :( Any help from schemers ? You could scale the stencil. That way you wouldn't need to reconstruct the beam from what you find in

Re: A pause in 3/4 measure

2014-10-31 Thread David Nalesnik
On Fri, Oct 31, 2014 at 1:45 PM, Dr. Bernhard Kleine bernhard.kle...@gmx.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Von: David Nalesnik [mailto:david.nales...@gmail.com] Gesendet: Freitag, 31. Oktober 2014 19:35 An: Dr. Bernhard Kleine Cc: lilypond-user Betreff: Re

Re: Beaming until barline

2014-10-31 Thread David Nalesnik
On Fri, Oct 31, 2014 at 2:39 PM, David Nalesnik david.nales...@gmail.com wrote: Of course this will only produce good results with flat beams! No, that should be OK. I was just thinking that the horizontal scaling might cause the beam to pull away from the stems, but in the examples I've

Re: Beaming until barline

2014-10-31 Thread David Nalesnik
Hi, On Fri, Oct 31, 2014 at 2:39 PM, David Nalesnik david.nales...@gmail.com wrote: You could scale the stencil. This will break down if you have sub-beams because the entire beam is stretched. Thankfully, the coordinates of the various beam segments are cached, and resetting these does get

Re: A pause in 3/4 measure

2014-10-31 Thread David Nalesnik
On Fri, Oct 31, 2014 at 4:25 PM, Dr. Bernhard Kleine bernhard.kle...@gmx.net wrote: The following shows my problem: I want to move the rest symbols: [...] And still have the glyph for full rest. Bernhard I gave you a link for this earlier in the thread. Did the snippet there not

Re: Beaming until barline

2014-11-01 Thread David Nalesnik
On Fri, Oct 31, 2014 at 6:32 PM, Gilberto Agostinho gilbertohasn...@gmail.com wrote: David Nalesnik-2 wrote The attached file is what I come up with. Absolutely fantastic, David! Thanks really a lot, this function is looking really great! Glad I can help! By the way, part of this can

Re: Place objects by hand

2014-11-01 Thread David Nalesnik
Hi Joram, On Sat, Nov 1, 2014 at 6:48 PM, Joram Berger joram.ber...@gmx.de wrote: Yay! This is an example where \offset is useful! Try this: \once \offset X-offset -3 DynamicText Hi Trevor, thanks, that's cool! However, how can I control the Y position? Y-offset does not work:

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
Hi, On Sun, Nov 2, 2014 at 6:23 AM, Trevor Daniels t.dani...@treda.co.uk wrote: Noeck wrote Sunday, November 02, 2014 12:46 AM That would be nice, but your example puts the f on the left of the upper note and not centralized between the staves (I am using 2.19.15). You're right, Joram,

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
On Sun, Nov 2, 2014 at 6:55 AM, Trevor Daniels t.dani...@treda.co.uk wrote: David, you wrote Sunday, November 02, 2014 12:44 PM No, it's not a problem with \offset. Substitute this for the call to \offset, and you'll see that it's actually an issue with X-offset here: \once

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
Hi again, On Sun, Nov 2, 2014 at 7:08 AM, David Nalesnik david.nales...@gmail.com wrote: Offsetting arpeggio.positions is nice, I think. (Though not precise; there is quantization which unavoidably kicks in, I think. It's still nice for arpeggios across tiny intervals, where you don't want

Re: barnumber | post-event in music function

2014-11-03 Thread David Nalesnik
Hi Urs, I'll try to address your first problem--which is pretty tricky! On Mon, Nov 3, 2014 at 11:06 AM, Urs Liska u...@openlilylib.org wrote: Hi Scheme wizards, can you help me? I have two unrelated questions regarding the attached file. It is a very much stripped down version of a

Re: Changing thickness of ParenthesesItem

2014-11-04 Thread David Nalesnik
Hi Harm, On Tue, Nov 4, 2014 at 6:16 PM, Thomas Morley thomasmorle...@gmail.com wrote: Hi Abraham, thanks for your reply, sounds logical. OTOH, we have functions like 'make-bezier-sandwich-stencil', which is used in 'make-parenthesis-stencil' and finally in 'parenthesize-stencil' They

Re: General newbie query: Creating and displaying dynamic scores using Lilypond?

2014-11-06 Thread David Nalesnik
Hi, On Thu, Nov 6, 2014 at 10:22 AM, Urs Liska u...@openlilylib.org wrote: Am 06.11.2014 15:57, schrieb Alice Eldridge: Dear Lilypond list, We are plotting a networked score system, where each part can be updated dynamically from a central controller. In the simplest case, this would be

Re: Single Staff Spacing

2014-11-06 Thread David Nalesnik
Hi Chris, On Thu, Nov 6, 2014 at 8:43 PM, Chris Trahan trahan.ch...@gmail.com wrote: I'm new to Lilypond. Welcome to the community! I have a simple score that is short. It's a single staff score. I'm trying to increase the spacing between staves but nothing I try is working. How do I

Re: Piano voices

2014-11-07 Thread David Nalesnik
Hi Joram, A little off-topic, I'm afraid... You write: PS: This is work in progress and there is no fine tuning at all. The positioning of staccato dots is rather irregular--note, for example, m. 70 (bottom staff) and m. 75. If this happens without any intervention on your part, I think that

Re: Single Staff Spacing

2014-11-07 Thread David Nalesnik
Martin, On Fri, Nov 7, 2014 at 1:52 AM, Martin Tarenskeen m.tarensk...@gmail.com wrote: On Fri, 7 Nov 2014, Pierre Perol-Schneider wrote: system-system-spacing #'padding = #20 You all know today it's allowed to use something like: system-system-spacing.padding = #20 It's

Re: Vertical brackets with text around chords

2014-11-07 Thread David Nalesnik
Hi all, Ideally, for this sort of thing there should be a special grob. This grob could also encompass the very common piano notation that shows that a note ought to be taken by the other hand (the bracket with one wing). The attached file creates a basic grob, which I've called PianoBracket.

Re: Vertical brackets with text around chords

2014-11-07 Thread David Nalesnik
On Fri, Nov 7, 2014 at 2:19 PM, David Nalesnik david.nales...@gmail.com wrote: Hi all, Ideally, for this sort of thing there should be a special grob. This grob could also encompass the very common piano notation that shows that a note ought to be taken by the other hand (the bracket

Re: Vertical brackets with text around chords

2014-11-07 Thread David Nalesnik
Hi, On Fri, Nov 7, 2014 at 3:08 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Since it would almost certainly require (or at least benefit from) staff-spanning capabilities (e.g., across the gap in a PianoStaff), couldn’t this nicely combine into a grob which *encompasses*

Re: how to get an acciaccatura (with stroke) at the end of barline?

2014-11-09 Thread David Nalesnik
Hi, On Sun, Nov 9, 2014 at 2:42 PM, Federico Bruni fedel...@gmail.com wrote: Il giorno dom 9 nov 2014 alle 20:52, Mark Stephen Mrotek carsonm...@ca.rr.com ha scritto: OK, I see it. I practice the piano, some Bach, and the notation seems unusual to me (perhaps my limited experience). An

Re: how to get an acciaccatura (with stroke) at the end of barline?

2014-11-09 Thread David Nalesnik
Hi, On Sun, Nov 9, 2014 at 3:35 PM, Thomas Scharkowski tho...@scharkowski.com wrote: I cannot look it up in the moment, but I do not believe the flagged grace is authentic. This is from the Bach-Gesellschaft edition. The Schliefer is another story!

Re: how to get an acciaccatura (with stroke) at the end of barline?

2014-11-09 Thread David Nalesnik
On Sun, Nov 9, 2014 at 4:51 PM, David Nalesnik david.nales...@gmail.com wrote: Hi, On Sun, Nov 9, 2014 at 3:35 PM, Thomas Scharkowski tho...@scharkowski.com wrote: I cannot look it up in the moment, but I do not believe the flagged grace is authentic. This is from the Bach

Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
Hi Jean-Charles, On Tue, Nov 11, 2014 at 9:00 AM, Jean-Charles Malahieude lily...@orange.fr wrote: Hi all, Trying to align a syllable to acciaccaturas, I came across an extender problem: The extender should stop *before* the rest, not when encountering the next acciaccatura. The problem

Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
On Tue, Nov 11, 2014 at 9:53 AM, David Nalesnik david.nales...@gmail.com wrote: Hi Jean-Charles, The problem I see here is that the X-parent of the LyricText is being set to the NoteColumn of main note rather than to the grace note. (Perhaps that's desirable?) This doesn't work: \new

Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
On Tue, Nov 11, 2014 at 10:28 AM, David Nalesnik david.nales...@gmail.com wrote: Ah, OK. That's the solution to Jean-Charles's problem. Nevertheless, it seems that what he describes is a bug. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
On Tue, Nov 11, 2014 at 10:22 AM, David Kastrup d...@gnu.org wrote: Not much of a surprise here. \new Staff \new Voice = music { \grace c'8 } \new Lyrics \with { includeGraceNotes = ##t } \lyricsto music { hi } Ah, OK. That's the solution to Jean-Charles's problem. --David

Re: Replace slur events with skip

2014-11-17 Thread David Nalesnik
Hi Jay, On Mon, Nov 17, 2014 at 6:37 AM, Jay Vara j...@diljun.com wrote: I tried to change the tiedNoteToSkip procedure to also skip slurs. For some reason, it does not seem to work the same way. It skips the first note in a 3 note slur, but not the second. No time to look at this in depth,

Re: Replace slur events with skip

2014-11-17 Thread David Nalesnik
On Mon, Nov 17, 2014 at 7:06 AM, David Nalesnik david.nales...@gmail.com wrote: Hi Jay, On Mon, Nov 17, 2014 at 6:37 AM, Jay Vara j...@diljun.com wrote: I tried to change the tiedNoteToSkip procedure to also skip slurs. For some reason, it does not seem to work the same way. It skips

Re: Replace slur events with skip

2014-11-17 Thread David Nalesnik
On Mon, Nov 17, 2014 at 7:35 AM, David Nalesnik david.nales...@gmail.com wrote: Ties are from note-to-note, and apparently there was thought to be no need of both initiating and terminating events. It does make sense--didn't mean to suggest otherwise! DN

Re: Nalesnik's Roman number analysis code

2014-11-17 Thread David Nalesnik
Hi Ivan, On Mon, Nov 17, 2014 at 5:38 PM, ivan.k.kuznet...@gmail.com wrote: Mr. Nalesnik: thank you for making public your scheme code for writing Roman Numeral/figured bass analysis: http://comments.gmane.org/gmane.comp.gnu.lilypond.general/70354 This code has been invaluable to me

Re: Nalesnik's Roman number analysis code

2014-11-20 Thread David Nalesnik
Hi Ivan, On Mon, Nov 17, 2014 at 8:58 PM, Ivan Kuznetsov ivan.k.kuznet...@gmail.com wrote: Thank you; I appreciate that. On Mon, Nov 17, 2014 at 6:04 PM, David Nalesnik david.nales...@gmail.com wrote: Yes--I'm pretty sure I got it to work with larger columns. I'll have to search

Re: Programming question

2014-11-23 Thread David Nalesnik
Hi, On Sun, Nov 23, 2014 at 3:31 PM, Mike Solomon m...@mikesolomon.org wrote: On Nov 23, 2014, at 10:21 PM, Jay Vara j...@diljun.com wrote: Given that NoteNames are really a type of lyrics, is it possible to have a function that just takes music and returns a text string that is a lyric.

Re: Programming question

2014-11-25 Thread David Nalesnik
On Tue, Nov 25, 2014 at 12:42 PM, Jay Vara j...@diljun.com wrote: This version seems to work. You are creating a list of lyric-events to be fed to the parser rather than a string - is that the difference? Hopefully I can understand your code within a few days. Interestingly, b-flat is coming

Re: Programming question

2014-11-25 Thread David Nalesnik
On Tue, Nov 25, 2014 at 8:49 AM, Jay Vara j...@diljun.com wrote: Trying to force the lyric in David's program to associate with the Staff/Voice, I added a name jun to the voice and see if that worked. [...] In this case, the lyrics, that is the pitch numbers, did not show up at all! Wonder

Re: Programming question

2014-11-25 Thread David Nalesnik
Harm, On Tue, Nov 25, 2014 at 11:54 AM, Thomas Morley thomasmorle...@gmail.com wrote: attached my own attempt using Davids work and some recyceled own codings. Very nice! ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Programming question

2014-11-26 Thread David Nalesnik
Jay, On Wed, Nov 26, 2014 at 4:10 AM, Jay Vara j...@diljun.com wrote: Yay! That works. Not sure why the other way did not work. I tried various ways of getting it to output to a string instead of to a file, something like: #(set! (jv (with-output-to-string (lambda () #{ \displayMusic

Re: Chapter 3 of LilyPond Extending document

2014-11-27 Thread David Nalesnik
On Thu, Nov 27, 2014 at 6:34 AM, Peter Gentry peter.gen...@sunscales.co.uk wrote: This chapter headed LilyPond Scheme Interfaces would be most useful to the tyro since it would help to get information into and out of music streams. However it is missing from the 2.18.2 documentation which

Re: Chapter 3 of LilyPond Extending document

2014-11-27 Thread David Nalesnik
Hi Peter, On Thu, Nov 27, 2014 at 11:35 AM, Peter Gentry peter.gen...@sunscales.co.uk wrote: You are spot on David. I spend a lot of time transposing music for a small band of amateur wind players. I use the said snippet as an include file enharmonic.ly to tidy up the accidentals. My issue

Re: Chapter 3 of LilyPond Extending document

2014-11-27 Thread David Nalesnik
Hi again, On Thu, Nov 27, 2014 at 2:39 PM, David Nalesnik david.nales...@gmail.com wrote: You could search the music expression for context modifications. Try running this to see what kind of information would be accessible to you from the music expression you'd be running \naturalizeMusic

Re: Modified enharmonic.ly (from snippets)

2014-12-02 Thread David Nalesnik
Hi Peter, On Tue, Dec 2, 2014 at 11:38 AM, Peter Gentry peter.gen...@sunscales.co.uk wrote: naturalizeMusic = #(define-music-function (parser location m) (ly:music?) (naturalize m)) \version 2.18.2 % Bach Minuet from Partita No1 #(set-global-staff-size 23) \header { title =

Re: Ties

2014-12-18 Thread David Nalesnik
Hi Bill, On Thu, Dec 18, 2014 at 6:03 PM, William Marchant wmarch...@eastlink.ca wrote: I am using the tilde to tie notes together to match the words. I get the following error: /tmp/frescobaldi-R8ynF5/tmpl9Xudz/IfTouKnewSusie.ly:13:4 http://0: warning: unterminated tie a4~ g2 e4 |

Re: How to position a markup on top of the system?

2014-12-19 Thread David Nalesnik
Hi Wim, On Fri, Dec 19, 2014 at 10:00 AM, Wim van Dommelen m...@wimvd.nl wrote: Hi, I’m trying to position an arrow on the system, please see the added .PNG for what the composer originally wrote down on paper. Changing the Y-offset moves the object but it keeps on flipping on top or

Re: Trying to replicate an obscure pedal marking from a ~1919 score...

2014-12-22 Thread David Nalesnik
Hi, On Mon, Dec 22, 2014 at 8:54 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi Ted, I'm curious if this is a style that lilypond can support. You can have the pedal line be a line drawing of Grumpy Cat if you want. ;) In other words: yes, this is a style [of pedal

Re: Trying to replicate an obscure pedal marking from a ~1919 score...

2014-12-22 Thread David Nalesnik
Hi Ted, On Mon, Dec 22, 2014 at 9:16 AM, Ted Lemon mel...@fugue.com wrote: On Dec 22, 2014, at 10:04 AM, David Nalesnik david.nales...@gmail.com wrote: I always thought the traditional Ped. looked a bit like an elephant... Heh! Yes, I can see that. Or perhaps like a Snuffleupagus

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
Hi, On Thu, Dec 25, 2014 at 10:01 AM, Ted Lemon mel...@fugue.com wrote: On Dec 25, 2014, at 10:50 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: \override Arpeggio.stencil = ##f \barsSixToEight \revert Arpeggio.stencil This will prevent it showing up in the output, but it'll

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
On Thu, Dec 25, 2014 at 10:49 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi, This will prevent it showing up in the output, but it'll still show up in the midi, won't it? Hmmm… I think it probably will. So maybe use tags instead? e.g. (warning: UNTESTED CODE!):

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
Joel. On Thu, Dec 25, 2014 at 12:06 PM, David Nalesnik david.nales...@gmail.com wrote: I can't test it with the example the OP has given, since it doesn't compile. Ah, I see the note about changing the language of the example on GitHub. --David

Re: glissando to a nearby modified pitch doesn't always work inside a triplet

2014-12-27 Thread David Nalesnik
Hi, On Sat, Dec 27, 2014 at 2:41 PM, list_lilypond list_lilyp...@infopower.nl wrote: My guess is that there is not enough space between the two notes where the glissando needs to be because the pitch modifier occupies so much horizontal space that lilypond 'decides' that the lenght of the

Re: \\[ as music function – stack overflow

2014-12-28 Thread David Nalesnik
Hi Simon, On Sun, Dec 28, 2014 at 9:01 AM, Simon Albrecht simon.albre...@mail.de wrote: Hello, when I start to compile the attached file, lily takes a long time for parsing and then exits with Microsoft’s stack overflow/stack exhaustion error code. I tested this with lily 2.19.8 and .15 and

Re: Beaming problem

2014-12-28 Thread David Nalesnik
Wim, On Sun, Dec 28, 2014 at 11:47 AM, Shane Brandes sh...@grayskies.net wrote: Wim, you are missing the open [ for the groupings in the bottomstaff. regards, Shane On Sun, Dec 28, 2014 at 12:32 PM, Wim van Dommelen m...@wimvd.nl wrote: Hi, I stumbled on a small beaming problem.

Re: undesired courtesy

2014-12-28 Thread David Nalesnik
Martin, On Sun, Dec 28, 2014 at 6:02 PM, catal...@hotmail.com catal...@hotmail.com wrote: Hi all, The following code produces the desired semi-sharp but it is preceded by a courtesy accidental. Any idea how I can get rid of it? Thanks! Martin \version 2.18.0 \language italiano

Re: display flat symbol in ees major

2014-12-29 Thread David Nalesnik
Hi, and welcome to the community! On Mon, Dec 29, 2014 at 12:16 PM, Jinsong Zhao jsz...@yeah.net wrote: Hi there, I am try to learn LilyPond by doing. I have a score, which display a flat symbol in ees major. However, I can't get that in LilyPond. \version 2.19.15 \relative c, { \clef

Re: adding stems to clusters

2014-12-29 Thread David Nalesnik
Hi Jaime, On Mon, Dec 29, 2014 at 4:50 PM, Jaime E Oliver jaime.oliv...@gmail.com wrote: Hi all, Is there a way to add stems to cluster events made with something like \makeClusters { c e8 c e8 c e8 c e8 c e8 } so that there is a sense of the underlying rhythmic structure? The Notation

Re: adding stems to clusters

2014-12-29 Thread David Nalesnik
Hi again, On Mon, Dec 29, 2014 at 6:06 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Jaime, I'll look into lengthening it to reach the stem. Not at all easy, I'm afraid. Are you looking for the cluster-band sort of notation, or would individual clusters per stem suffice (like

Re: adding stems to clusters

2014-12-29 Thread David Nalesnik
On Mon, Dec 29, 2014 at 6:43 PM, David Nalesnik david.nales...@gmail.com wrote: Hi again, On Mon, Dec 29, 2014 at 6:06 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Jaime, I'll look into lengthening it to reach the stem. Not at all easy, I'm afraid. Are you looking

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
On Wed, Dec 31, 2014 at 9:12 AM, Urs Liska u...@openlilylib.org wrote: Am 31.12.2014 um 15:26 schrieb Kieren MacMillan: Hello all, I’m putting together a stylesheet based on mid-20th-Century Warner-Chappell musical theatre vocal books, and would like to mimic more closely their tie shape:

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
On Wed, Dec 31, 2014 at 9:20 AM, David Nalesnik david.nales...@gmail.com wrote: On Wed, Dec 31, 2014 at 9:12 AM, Urs Liska u...@openlilylib.org wrote: Without trying it out I'd expect Janek's \shapeII (in openlilylib) and using it with polar coordinates should help you. But then you'd

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Kieren, On Wed, Dec 31, 2014 at 9:30 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, I think that you should investigate the numerous properties listed under details (http://lilypond.org/doc/v2.18/Documentation/internals/tie) for finding the basic shape. I tried

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Hi Pierre, On Wed, Dec 31, 2014 at 9:46 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: Hi Kieren, Here's a bad one : \version 2.19.15 \paper { paper-width = 100 paper-height = 30 ragged-right = ##f indent = 0 tagline = ##f } { a'1 -\tweak thickness

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Hi Pierre, On Wed, Dec 31, 2014 at 10:24 AM, Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: Hi David, See the following : \version 2.19.15 \paper { paper-width = 100 paper-height = 50 ragged-right = ##f indent = 0 tagline = ##f } { a'1 -\tweak thickness

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Hi Abraham, On Wed, Dec 31, 2014 at 11:09 AM, tisimst tisimst.lilyp...@gmail.com wrote: It certainly does say that these are supposed to be visible in the IR, but why aren't they? What can we do to get things like this there? I'm happy to assist if I can be given some direction... I'm a

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
On Wed, Dec 31, 2014 at 11:59 AM, David Nalesnik david.nales...@gmail.com wrote: Hi Abraham, Is the documentation in the NR not being derived from the doc string of the interface? Sorry, I mean IR. ___ lilypond-user mailing list lilypond-user

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Abraham, On Wed, Dec 31, 2014 at 11:47 AM, tisimst tisimst.lilyp...@gmail.com wrote: tisimst wrote I took a look into the source code and here's what it says about each of the details properties (found in 2.19.15 lily/tie.cc with the default values found on IR web page and in

Re: making a Tie more parabolic

2014-12-31 Thread David Nalesnik
Trevor, On Wed, Dec 31, 2014 at 12:41 PM, Trevor Daniels t.dani...@treda.co.uk wrote: tisimst wrote Wednesday, December 31, 2014 5:09 PM I took a look into the source code and here's what it says about each of the details properties (found in 2.19.15 lily/tie.cc with the default values

Re: Piano scoring with centered dynamics

2015-01-03 Thread David Nalesnik
Hi Arno, On Sat, Jan 3, 2015 at 10:47 AM, Arno Waschk hamama...@gmx.de wrote: Obviously the piano dynamics template did not make it from 2.12 to 2.18 docs, which is a pity. Even although the example given in 2.12 seems overloaded by other tweakings (which may or may not be helpful for users)

Re: staccato dots and slurs in second voice

2015-01-26 Thread David Nalesnik
Hi Werner, On Mon, Jan 26, 2015 at 12:24 AM, Werner LEMBERG w...@gnu.org wrote: That's effectively what I'm doing. I'm changing the X-offset callback because it's only there that the property toward-stem-shift is read (see scm/output-lib.scm). The trick is allowing two different

Re: lengthening broken ties

2015-02-04 Thread David Nalesnik
On Wed, Feb 4, 2015 at 2:29 PM, David Nalesnik david.nales...@gmail.com wrote: The example file shows how minimum-length and the new property interact with each other. Attached is an image of the output of the example. ___ lilypond-user mailing

Re: lengthening broken ties

2015-02-04 Thread David Nalesnik
, so I'm not so sure that this patch is interfering. --David From 66e797dc7421f9b142b8186cacfd499490d97b1f Mon Sep 17 00:00:00 2001 From: David Nalesnik david.nales...@gmail.com Date: Wed, 4 Feb 2015 14:07:01 -0600 Subject: [PATCH] Allow independent adjustment of minimum length for spanner siblings

Re: lengthening broken ties

2015-02-04 Thread David Nalesnik
On Wed, Feb 4, 2015 at 2:29 PM, David Nalesnik david.nales...@gmail.com wrote: The example file shows how minimum-length and the new property interact with each other. Will also work with objects other than ties. See attached for slurs, hairpins, and glissandi. --David \version

Re: lengthening broken ties

2015-02-03 Thread David Nalesnik
Hi Werner, On Tue, Feb 3, 2015 at 7:40 AM, Werner LEMBERG w...@gnu.org wrote: Folks, I'm trying to work around an old problem of broken ties in tightly setted music: They can degenerate to a dot, having no horizontal extensions anymore. Following the example in section `Difficult

Re: lengthening broken ties

2015-02-04 Thread David Nalesnik
Hi Werner, On Wed, Feb 4, 2015 at 12:14 AM, Werner LEMBERG w...@gnu.org wrote: Don't know. In any case, I think the goal should be to make this work with an override of 'minimum-length, rather than setting 'minimum-length though 'after-line-breaking. The very problem is that

Re: lengthening broken ties

2015-02-04 Thread David Nalesnik
On Wed, Feb 4, 2015 at 7:45 AM, David Nalesnik david.nales...@gmail.com wrote: Hi Werner, On Wed, Feb 4, 2015 at 12:14 AM, Werner LEMBERG w...@gnu.org wrote: Don't know. In any case, I think the goal should be to make this work with an override of 'minimum-length, rather than setting

Re: lengthening broken ties

2015-02-05 Thread David Nalesnik
On Wed, Feb 4, 2015 at 3:43 PM, Werner LEMBERG w...@gnu.org wrote: If it's convenient, have a look at the attached patch/sketch. It adds a property, minimum-length-left-broken, which lets you adjust broken bits that start a line. Excellent! What an improvement with just a few lines of

Re: centering full-measure objects (notes and/or rests)

2015-02-07 Thread David Nalesnik
Hi, On Tue, Feb 3, 2015 at 10:30 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hello all, I have a single chord in the last measure of my piece — unfortunately, it isn’t centered by default: \version 2.19.15 testing = { c''4 c'' c'' c'' | c''1 \bar |. } \layout {

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