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: 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: 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: 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: 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: 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: 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: 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:

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: 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:

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: 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: 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: 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: 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: 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: 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-14 Thread David Nalesnik
On Tue, Oct 14, 2014 at 1:57 AM, Janek Warchoł What i find most fascinating about your work is that you say this after already making the function quite intelligent :) I appreciate that, but I'd like to have some sort of analysis of context, so you wouldn't end up shutting it off for

Re: Automatic ottava handling

2014-10-14 Thread David Nalesnik
David, On Tue, Oct 14, 2014 at 10:53 AM, David Bellows davebell...@gmail.com wrote: Wow! It works perfectly! I am officially replacing my software method with your Lilypond approach. Not only does it do everything I wanted but it has better fined-grained control since it uses ledger lines and

Re: automatic fingering annotation

2014-10-14 Thread David Nalesnik
Hi Erik, On Tue, Oct 14, 2014 at 1:28 PM, erik flister erik.flis...@gmail.com wrote: thanks a lot david, i learned a lot from studying this! Glad to hear it! looks like there would be two options to get lilypond to report pitch info: \void \displayLilyMusic % types absolute pitches

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: spacing of triplets

2014-10-13 Thread David Nalesnik
On Mon, Oct 13, 2014 at 12:09 PM, Mark Stephen Mrotek When I extract the code for these measures, extracted.ly, the triplets are more evenly spaced, extracted.pdf. Where should I look for a remedy? Thank you for your kind attention. Mark Stephen Mrotek Mark, The

Re: Automatic ottava handling

2014-10-13 Thread David Nalesnik
Hi, On Mon, Oct 13, 2014 at 1:18 PM, David Bellows davebell...@gmail.com wrote: OK, I've now played around with it and it works very nicely and will be easy to integrate into my software. You've already put a lot of work into this so I hate to point out any of my peculiar preferences, but

Re: Automatic ottava handling

2014-10-13 Thread David Nalesnik
On Mon, Oct 13, 2014 at 3:01 PM, Janek Warchoł janek.lilyp...@gmail.com wrote: Awesome work, David! Thanks! I think it would be great to actually have some default ottava settings in official lilypond (e.g. something like \ottavate #4 #-4). I think so too, but I'd like for the function

Re: automatic fingering annotation

2014-10-12 Thread David Nalesnik
Hi Erik, On Sun, Oct 12, 2014 at 2:35 AM, erik flister erik.flis...@gmail.com wrote: hi- i'm writing some software that generates .ly files and want to offer the option to automatically add (woodwind) fingering chart annotations to the engraving. the project is in haskell and i'd rather

Re: automatic fingering annotation

2014-10-12 Thread David Nalesnik
On Sun, Oct 12, 2014 at 9:34 AM, David Nalesnik david.nales...@gmail.com wrote: It is possible to create markups in the score through a Scheme engraver. The one I've attached looks for a NoteHead that has had its 'display-property property set to #t. I mean 'display-fingering

Re: Contemporary Music Notation

2014-10-12 Thread David Nalesnik
On Sun, Oct 12, 2014 at 7:06 AM, Piaras Hoban phoba...@googlemail.com wrote: I thought it might be interesting for those wondering what's possible in lilypond to see some examples from the field. I've put together a page collating those things I've done in the past year or so. I'm

Re: How to get the total length of Sequential Music

2014-10-12 Thread David Nalesnik
Hi Hans, On Sun, Oct 12, 2014 at 4:38 AM, Hans Sommer hansisom...@gmx.de wrote: Hello, I am relatively new to Lilypond. I try to check the total length of a SequentialMusic part, i.e. my_score_part = { c'4 d e f } I want to get the result 4 quarters (or any other numerical

Re: Automatic ottava handling

2014-10-12 Thread David Nalesnik
Hi, On Sat, Oct 11, 2014 at 9:05 PM, David Nalesnik I'll look into fixing up build-new-elts so there won't be so much duplication of code. Then it will be a lot cleaner to deals with bassas, OK, now it will provide automatic bassas as well. The function \ottavate now takes two numbers

Re: How to get the total length of Sequential Music

2014-10-12 Thread David Nalesnik
On Sun, Oct 12, 2014 at 5:59 PM, Hans Sommer hansisom...@gmx.de wrote: David Nalesnik david.nalesnik at gmail.com writes: Hi Hans, On Sun, Oct 12, 2014 at 4:38 AM, Hans Sommer hansisommer at gmx.de wrote:Hello, I am relatively new to Lilypond. I try to check the total length

Re: Automatic ottava handling

2014-10-11 Thread David Nalesnik
Hi, On Wed, Oct 8, 2014 at 9:48 AM, David Bellows davebell...@gmail.com wrote: Here's a preliminary experiment. It will add an automatic \ottava 1 before passages where notes have at least a specified number of ledger lines. The attached function will work with more complex music

Re: Automatic ottava handling

2014-10-11 Thread David Nalesnik
Hi David, On Sat, Oct 11, 2014 at 4:45 PM, David Bellows davebell...@gmail.com wrote: The attached function will work with more complex music expressions. Nicely done! I really like the greater flexibility achieved based on using ledger lines. Fortunately in this project I don't use chords

Re: Automatic ottava handling

2014-10-11 Thread David Nalesnik
On Sat, Oct 11, 2014 at 5:38 PM, David Nalesnik This will all be better once this thing has the ability to detect the current clef. It looks like that's possible, because calling \clef ... adds a 'PropertySet event to the mix, and 'clefMiddleCPosition (which the ledger-line counter

Re: empty left space in measures

2014-10-09 Thread David Nalesnik
Hi Kai, On Thu, Oct 9, 2014 at 11:05 AM, Dr. med. Kai Lautenschläger dr.lautenschlae...@gmx.net wrote: Thanks Trevor, Am 9.10.2014 um 15:44 schrieb Trevor Daniels t.dani...@treda.co.uk: Kai, you wrote Thursday, October 09, 2014 2:27 PM In many of my scores for choral pieces I see an

Re: Automatic ottava handling

2014-10-07 Thread David Nalesnik
Hi, On Mon, Oct 6, 2014 at 3:51 PM, David Bellows davebell...@gmail.com wrote: I ended up creating my own solution to use in my code that generates scores. Unfortunately it doesn't really translate into anything usable by anyone else. Likewise I created my own staff switching method as well

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

2014-10-06 Thread David Nalesnik
Hi Jacques, On Mon, Oct 6, 2014 at 1:32 PM, Jacques Menu imj-...@bluewin.ch wrote: Hello folks, I’d like to produce the text « très vite » in the same way as this: But I failed at finding a way with the usual spanners, that accept text at both sides but not in the middle it seems.

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-02 Thread David Nalesnik
On Wed, Oct 1, 2014 at 4:41 PM, Jay Vara j...@diljun.com wrote: I wonder two things: (1) Is there a way to combine the notes and rests in the 1/4 division of the bars? Not sure what you mean. In the example below, it looks strange that there are two tied eighth-note Gs instead of a

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-02 Thread David Nalesnik
On Thu, Oct 2, 2014 at 7:11 AM, Jay Vara j...@diljun.com wrote: David, I tried your snippet with a different meter and it gives some weird results. It seems to produce additional bars - I changed the bar after the compound meter to double bar so we can see the extraneous bars. And the notes

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-02 Thread David Nalesnik
On Thu, Oct 2, 2014 at 7:28 AM, David Nalesnik david.nales...@gmail.com wrote: On Wed, Oct 1, 2014 at 4:41 PM, Jay Vara j...@diljun.com wrote: I wonder two things: (1) Is there a way to combine the notes and rests in the 1/4 division of the bars? Not sure what you mean

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-01 Thread David Nalesnik
Hi Jay, On Mon, Sep 29, 2014 at 3:42 AM, Jay Vara j...@diljun.com wrote: Hi David, Thank you very much. Now I know how to use the listeners! With your change it seems to work for the two-staff example with (7 4) (1 4) (2 4) meter. This is the only case of compound metre that I commonly

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-01 Thread David Nalesnik
On Wed, Oct 1, 2014 at 11:52 AM, David Nalesnik david.nales...@gmail.com wrote: Every time process_music () is called and there are note events, we figure out how long the note to typeset should be. It should be no longer than what's specified, than what is left to do and it should

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-10-01 Thread David Nalesnik
On Wed, Oct 1, 2014 at 12:14 PM, Jay Vara j...@diljun.com wrote: Also, I just saw your next note - that note and rest events do not cross added bar lines. In that case, what do they mean by sub-bar units in lily/completion-noteheads-engraver.cc? If they mean sub-bar units of the compound

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
On Sun, Sep 28, 2014 at 10:30 AM, Jay Vara j...@diljun.com wrote: I wanted to get bar lines after each sub-meter of a compound meter, and to have Completion_heads_engraver recognize these bar lines and split and tie notes as needed. Thanks to David and Jan-Peter, I was able to change their

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
changes Provided by Jan-Peter Voigt Presumably written by David Nalesnik I think you must have gotten this here: http://www.mail-archive.com/lilypond-user%40gnu.org/msg78039.html It says it's written by Jan-Peter, based on something I wrote. What that something could be, I don't know anymore

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
Hi Jay, On Sun, Sep 28, 2014 at 12:48 PM, David Nalesnik david.nales...@gmail.com wrote: On Sun, Sep 28, 2014 at 10:30 AM, Jay Vara j...@diljun.com wrote: I wanted to get bar lines after each sub-meter of a compound meter, and to have Completion_heads_engraver recognize these bar lines

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
Hi Jay, On Sun, Sep 28, 2014 at 3:29 PM, Jay Vara j...@diljun.com wrote: David, If I use the compound meter which has a (1 4) as one of the moments, it does not work. It seems to be treated as a (2 4). Actually, I think the Completion_heads_engraver may be the one with a problem. I checked

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
Hi Jay, On Sun, Sep 28, 2014 at 5:46 PM, Jay Vara j...@diljun.com wrote: Hi David, Actually, your logic and reasoning were quite correct. Only, the format statement was before the measureLength was set. I moved the format statement after the context-set-property and it now shows that the

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
Hi Jay, On Sun, Sep 28, 2014 at 7:24 PM, David Nalesnik david.nales...@gmail.com wrote: Possibly the problem is that the custom engraver is setting measureLength too late for Completion_heads_engraver to use it? That just might be it. The Completion_heads_engraver listens for note-events

Re: Spanner.center.text property?

2014-09-20 Thread David Nalesnik
Hi Kieren, On Fri, Sep 19, 2014 at 9:10 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David et al., What’s the current status on “measure-attached spanners”? http://lists.gnu.org/archive/html/lilypond-user/2013-12/msg01032.html I haven't been able to look at this,

Re: Programming Question

2014-09-19 Thread David Nalesnik
Hi Jay, On Fri, Sep 19, 2014 at 4:53 AM, Jay Vara j...@diljun.com wrote: Paul, can read up on them in the Guile manual). Here's the section on equality (eq? eqv? and equal?): https://www.gnu.org/software/guile/manual/guile.html#Equality I've found the guile

Re: moving tweaks into markup-definition

2014-09-19 Thread David Nalesnik
Hi Orm, On Wed, Sep 17, 2014 at 7:57 AM, Orm Finnendahl orm.finnend...@selma.hfmdk-frankfurt.de wrote: Am Mittwoch, den 17. September 2014 um 07:53:48 Uhr (+0100) schrieb James: Do you have any other suggestions we could improve the documentation with perhaps? The main problem in this

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 4:43 AM, Jay Vara j...@diljun.com wrote: I'm not top posting. I am using NoteNames context to print the note names automatically for scales of half notes, quarter notes and eighth notes. I have redefined the NoteNames using override NoteName.Stencil. I

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 7:01 AM, David Nalesnik david.nales...@gmail.com wrote: myNoteNames = #(lambda (size) (lambda (grob) #(define (myNoteNames size) (lambda (grob) Or even the cryptic #(define ((myNoteNames size) grob) Now, if you want to have LilyPond detect the note

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 7:42 AM, Jay Vara j...@diljun.com wrote: Yay! I tried the cryptic version you suggested, and it works nicely. The syntax does take some time to get used to. When lilypond displays an error, is it possible to know which line of code the error is in? I am using

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 9:54 AM, Jay Vara j...@diljun.com wrote: On the other hand, what would be nice is if the NoteName could be changed based on duration. In particular, if the note is a half note, I would like to add a character (say a - or a a) to the note name. This could be

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 10:54 AM, Jay Vara j...@diljun.com wrote: Is this the way I enter it? For some reason, does not seem to be working - it seems to be ignoring the suffix. By the time you set the 'text property, new-name doesn't hold the newest name, rather the variable text

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 9:57 AM, Jay Vara j...@diljun.com wrote: David: Friscobaldi says: Starting lilypond-windows.exe 2.18.2 [Alam-Ata.ly]... Processing `c:/users/arjuna/appdata/local/temp/frescobaldi- pvt8zv/tmptpz4so/Alam-Ata.ly' Parsing... Interpreting

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 6:28 PM, Jay Vara j...@diljun.com wrote: I am not top-posting David, I defined a second variable nsiz which is 1, 2 or 3 Tried (case duration-log ((nsiz) a ) (else ))) This condition was never succeeding although I printed out nsiz and

Re: Can NoteNames in higher octaves be changed?

2014-09-16 Thread David Nalesnik
Hi Jay, On Tue, Sep 16, 2014 at 6:52 AM, Jay Vara j...@diljun.com wrote: I'm not top posting. David, How I wish I could understand how you do what you do! It all looks like magic to me. Is there a place that shows how to use all these functions? There is a list of Scheme functions (

Re: Can NoteNames in higher octaves be changed?

2014-09-16 Thread David Nalesnik
Jay, One more thing. For chords, the note name text would be a single string a' cis' e'. Don't know if you need that extra ability, but that would of course require some string manipulation. --David ___ lilypond-user mailing list

Re: Can NoteNames in higher octaves be changed?

2014-09-16 Thread David Nalesnik
Jay, On Tue, Sep 16, 2014 at 11:03 AM, Jay Vara j...@diljun.com wrote: David, That worked. I have now defined a 2.5 octave range that covers most of my music. Nice to hear! I will try to learn the scm slowly - I should say it is a bit confusing with all the different levels of

Re: moving tweaks into markup-definition

2014-09-16 Thread David Nalesnik
Hello, On Tue, Sep 16, 2014 at 4:33 PM, Orm Finnendahl orm.finnend...@selma.hfmdk-frankfurt.de wrote: Hi, here is the next question: Is there a way to move the tweaks in the following code into the markup definition of secs so that they don't clutter up the score? The only way I can

Re: moving tweaks into markup-definition

2014-09-16 Thread David Nalesnik
On Tue, Sep 16, 2014 at 6:19 PM, Orm Finnendahl orm.finnend...@selma.hfmdk-frankfurt.de wrote: Hi David, thanks a lot, that definitely helps! I tried to manipulate the assoc list of props by consing to it but lacking the knowledge of the structure of the prop variable didn't get me

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-15 Thread David Nalesnik
Hi Jay, On Mon, Sep 15, 2014 at 1:18 AM, Jay Vara j...@diljun.com wrote: David, Thank you. I will try posting with the line you suggested. As for the link to the not-working example, it is found here: http://goo.gl/n54RZB -- the snippet is called bar-lines-lyric-only

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-15 Thread David Nalesnik
Jay, On Mon, Sep 15, 2014 at 8:41 AM, Jay Vara j...@diljun.com wrote: David, Sorry, I did not know that I was using the regression code. No problem! You will find some interesting stuff in the regression tests, though the focus is not on providing helpful code for users. There are some

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-15 Thread David Nalesnik
On Mon, Sep 15, 2014 at 11:16 AM, David Nalesnik david.nales...@gmail.com wrote: A subset of the LSR is in the official documentation, but there are many more snippets. Follow the link on the page referenced above. (Hmm...not working for me. I believe the address has changed slightly

Re: Can NoteNames in higher octaves be changed?

2014-09-15 Thread David Nalesnik
Hi Jay, On Mon, Sep 15, 2014 at 4:27 AM, Jay Vara y...@diljun.com wrote: I'm not top posting. NoteNames will print the higher (and lower) octave names with printOctaveNames set to true. It prints them as c', d', c, d, etc. My question is: Is it possible to have the higher octaves print

Re: Can NoteNames in higher octaves be changed?

2014-09-15 Thread David Nalesnik
On Mon, Sep 15, 2014 at 6:55 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Jay, On Mon, Sep 15, 2014 at 4:27 AM, Jay Vara y...@diljun.com wrote: I'm not top posting. NoteNames will print the higher (and lower) octave names with printOctaveNames set to true. It prints them as c

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