Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
On Tue, Nov 11, 2014 at 10:28 AM, David Nalesnik 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

Re: lyrics extender and acciaccatura

2014-11-11 Thread David Nalesnik
On Tue, Nov 11, 2014 at 9:53 AM, David Nalesnik 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&#

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 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 I see he

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 wrote: > Hi, > > On Sun, Nov 9, 2014 at 3:35 PM, Thomas Scharkowski > wrote: > >> I cannot look it up in the moment, but I do not believe the flagged grace >> is authentic. > > > This is from the Bach-Ges

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 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! ___ lilypond-user

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 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 after grace con

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: Vertical brackets with text around chords

2014-11-07 Thread David Nalesnik
On Fri, Nov 7, 2014 at 2:19 PM, David Nalesnik 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 with

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. No

Re: Single Staff Spacing

2014-11-07 Thread David Nalesnik
Martin, On Fri, Nov 7, 2014 at 1:52 AM, Martin Tarenskeen 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 in the docs

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 t

Re: Single Staff Spacing

2014-11-06 Thread David Nalesnik
Hi Chris, On Thu, Nov 6, 2014 at 8:43 PM, Chris Trahan 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 increase the space b

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 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 > a set score,

Re: Changing thickness of ParenthesesItem

2014-11-04 Thread David Nalesnik
Hi Harm, On Tue, Nov 4, 2014 at 6:16 PM, Thomas Morley 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 are not used here o

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 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 function actually in us

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
Hi again, On Sun, Nov 2, 2014 at 7:08 AM, David Nalesnik 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

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
On Sun, Nov 2, 2014 at 6:55 AM, Trevor Daniels 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 \override Dynam

Re: Place objects by hand

2014-11-02 Thread David Nalesnik
Hi, On Sun, Nov 2, 2014 at 6:23 AM, Trevor Daniels 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, \offset is

Re: Place objects by hand

2014-11-01 Thread David Nalesnik
Hi Joram, On Sat, Nov 1, 2014 at 6:48 PM, Joram Berger 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: > > Warning: t

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

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

Re: Beaming until barline

2014-10-31 Thread David Nalesnik
Hi, On Fri, Oct 31, 2014 at 2:39 PM, David Nalesnik 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 a resp

Re: Beaming until barline

2014-10-31 Thread David Nalesnik
On Fri, Oct 31, 2014 at 2:39 PM, David Nalesnik 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 tried,

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. Bernh

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 'b

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 out

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'" ye

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 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: > http://lilypond.1069038.n5.nabble.com/Can-I-ma

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 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) > (numb

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

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. &

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 wrote: > Minimal example: > > /\version "2.19.15" > \relative c' { > > % === (The following two lines only for cosmetic purposes) === > \override Glissando.minimum-length = #12 > \override Glissando.spri

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 wrote: > 2014-10-25 17:51 GMT+02:00 David Nalesnik : > >> Hi Peter, >> >> On Sat, Oct 25, 2014 at 10:41 AM, Peter Crighton >> wrote: >> >>> I now wanted to improve the function

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 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 Peter, On Sat, Oct 25, 2014 at 10:41 AM, Peter Crighton wrote: > 2014-10-24 23:01 GMT+02:00 Peter Crighton : > >> 2014-10-24 16:54 GMT+02:00 Robin Bannister : >> >>> So it looks like LilyPond wants to merge the rests, >>> but will do this only if they seem identical. >>> >>> >>> Having read t

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 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 that, or point me a

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

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 InstrumentN

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,

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 p

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)

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! > &g

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

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, b

Re: Automatic ottava handling

2014-10-21 Thread David Nalesnik
On Tue, Oct 21, 2014 at 12:03 PM, David Nalesnik 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 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" :) > &g

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 wro

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 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 stencil function,

Re: Unexpected behaviour of script-stencil-hack

2014-10-14 Thread David Nalesnik
On Tue, Oct 14, 2014 at 5:38 PM, Thomas Morley 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 ___ l

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 wrote: > Hi David, > > 2014-10-15 0:54 GMT+02:00 David Nalesnik : > > Hi Harm, > > > > On Tue, Oct 14, 2014 at 5:38 PM, Thomas Morley > > > wrote: > >> > >> Hi folks, > >>

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 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 > #(lambda

Re: automatic fingering annotation

2014-10-14 Thread David Nalesnik
Hi Erik, On Tue, Oct 14, 2014 at 1:28 PM, erik flister 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 to console > \in

Re: Automatic ottava handling

2014-10-14 Thread David Nalesnik
David, On Tue, Oct 14, 2014 at 10:53 AM, David Bellows 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 not octave > marki

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 inc

Re: Automatic ottava handling

2014-10-13 Thread David Nalesnik
On Mon, Oct 13, 2014 at 3:01 PM, Janek Warchoł 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 to be more intellige

Re: Automatic ottava handling

2014-10-13 Thread David Nalesnik
Hi, On Mon, Oct 13, 2014 at 1:18 PM, David Bellows 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 just in > case you fee

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

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 wrote: > > David Nalesnik gmail.com> writes: > > > > > Hi Hans, > > On Sun, Oct 12, 2014 at 4:38 AM, Hans Sommer gmx.de> > wrote:Hello, > > I am relatively new to Lilypond. > > I try to check

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 functio

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 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 representation) > > and

Re: Contemporary Music Notation

2014-10-12 Thread David Nalesnik
On Sun, Oct 12, 2014 at 7:06 AM, Piaras Hoban 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 speechless! --David _

Re: automatic fingering annotation

2014-10-12 Thread David Nalesnik
On Sun, Oct 12, 2014 at 9:34 AM, David Nalesnik 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. >

Re: automatic fingering annotation

2014-10-12 Thread David Nalesnik
Hi Erik, On Sun, Oct 12, 2014 at 2:35 AM, erik flister 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 not learn > scheme o

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 (whic

Re: Automatic ottava handling

2014-10-11 Thread David Nalesnik
Hi David, On Sat, Oct 11, 2014 at 4:45 PM, David Bellows 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 so that's not > a

Re: Automatic ottava handling

2014-10-11 Thread David Nalesnik
Hi, On Wed, Oct 8, 2014 at 9:48 AM, David Bellows 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 expressions. The only pr

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 : > > > > > Kai, you wrote Thursday, October 09, 2014 2:27 PM > > > >> In many of my scores for choral pieces I see an effe

Re: Automatic ottava handling

2014-10-07 Thread David Nalesnik
Hi, On Mon, Oct 6, 2014 at 3:51 PM, David Bellows 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 so > that rests woul

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 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. > > Thanks for you

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 wrote: > > > On Wed, Oct 1, 2014 at 4:41 PM, Jay Vara wrote: > >> >> >> >>> I wonder two things: >>> >>> (1) Is there a way to combine the notes and rests in the 1/4 division of >>>

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 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 are not p

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

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 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 meter, they shou

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

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 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 use > that h

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

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 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 engraver > do

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 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 by > varyi

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 wrote: > > > On Sun, Sep 28, 2014 at 10:30 AM, Jay Vara 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 s

Re: Thanks to David Nalesnik and Jan-Peter Voigt

2014-09-28 Thread David Nalesnik
gt; > %{ > Based on a Scheme engraver that places > double bar lines before time signature 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

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

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”? > > I haven't been able to look at this, u

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

Re: Programming Question

2014-09-19 Thread David Nalesnik
Hi Jay, On Fri, Sep 19, 2014 at 4:53 AM, Jay Vara 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 manual t

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 6:28 PM, Jay Vara 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 > duratio

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 9:57 AM, Jay Vara 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 music...[8][16][24][32][40][48][56][6

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 10:54 AM, Jay Vara 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 does. You

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 9:54 AM, Jay Vara 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 > more in

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 7:42 AM, Jay Vara 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 Friscobaldi. > Y

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 7:28 AM, David Nalesnik wrote: > > > On Thu, Sep 18, 2014 at 7:01 AM, David Nalesnik > wrote: > > >> >> > >> >> Now, if you want to have LilyPond detect the note durations and make the >> fontsize decisions

Re: Programming Question

2014-09-18 Thread David Nalesnik
On Thu, Sep 18, 2014 at 7:01 AM, David Nalesnik wrote: > myNoteNames = > #(lambda (size) >(lambda (grob) > > > > #(define (myNoteNames size) >(lambda (grob) > > Or even the cryptic #(define ((myNoteNames size) grob) > > Now, if you want to hav

Re: Programming Question

2014-09-18 Thread David Nalesnik
Hi Jay, On Thu, Sep 18, 2014 at 4:43 AM, Jay Vara 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 need differ

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 a

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

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 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 parenthesis. >

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 lilypond-user@gnu

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 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 ( http://lily

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 wrote: > Hi Jay, > > On Mon, Sep 15, 2014 at 4:27 AM, Jay Vara wrote: > >> > I'm not top posting. >> >> NoteNames will print the higher (and lower) octave names with >> printOctaveNames set to true. I

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 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 using a > d

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 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, but I

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