Re: Automatic ottava handling

2014-10-22 Thread Gilberto Agostinho
new one). But I can't emphasize this enough: your function is extremely useful as it is right now! Take care and thanks again for all of your efforts, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167807.html Sent

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 >

Re: Automatic ottava handling

2014-10-22 Thread Gilberto Agostinho
quarter notes/beats/time units/bars between notes in LilyPond). Thanks once again and take care! Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167790.html Sent from the User mailing list archive at Nabble.com. _

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-21 Thread Gilberto Agostinho
ing forward to v3.0 of your function! Thanks once again for your effort, and take care, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167775.html Sent from the User mailing list archive at Nabble.com. ___

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

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) > (stop-at-rests . #t)

Re: Automatic ottava handling

2014-10-21 Thread Gilberto Agostinho
but only notes with less (not inclusive) than 4 ledger lines are displayed without ottava bassa in the bass clef. Best, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167762.html Sent from the User mailing list archive at

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

Re: Automatic ottava handling

2014-10-21 Thread Gilberto Agostinho
lberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167757.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

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

Re: Automatic ottava handling

2014-10-21 Thread Gilberto Agostinho
Automatic-ottava-handling-tp167190p167744.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatic ottava handling

2014-10-14 Thread Kieren MacMillan
Hi David, > But maybe this is an enhancement which could come later? I was going to chime in a lot earlier in this thread, with a suggestion for a “minimum in/out” parameter… but I thought better of it, since you were pushing ahead with improvements so quickly. =) Clearly, such an enhancement

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-14 Thread David Bellows
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 markings (like mine does). And it's got to be more efficient than mine (I had

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: Automatic ottava handling

2014-10-13 Thread Janek Warchoł
Awesome work, David! I think it would be great to actually have some default ottava settings in official lilypond (e.g. something like \ottavate #4 #-4). best, Janek 2014-10-12 21:07 GMT+02:00 David Nalesnik : > Hi, > > On Sat, Oct 11, 2014 at 9:05 PM, David Nalesnik >> >> >> I'll look into fixin

Re: Automatic ottava handling

2014-10-12 Thread David Bellows
That is amazing work! I don't have the time to experiment with it right now but I will do so tonight and let you know tomorrow the results. But based on your example this looks like it will be perfect. I think the negative numbers for the bassa is a good choice as that was what I was imagining in t

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

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 Bellows
>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 problem, less fortunately is that I need it for the bassa as well. But I wil

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: Automatic ottava handling

2014-10-08 Thread David Bellows
>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. This is a terrific start! The solution I'm using in my program counts the number of commas or single quotes and applies the ottava marking based on th

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: Automatic ottava handling

2014-10-06 Thread David Bellows
ond. > > Best, > Gilberto Agostinho > > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167195.html > Sent from the User mailing list archive at Nabble.com. > > _

Re: Automatic ottava handling

2014-10-05 Thread Gilberto Agostinho
) would be a fantastic addition to LilyPond. Best, Gilberto Agostinho -- View this message in context: http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167195.html Sent from the User mailing list archive at Nabble.com. ___ l

Re: Automatic ottava handling

2014-10-05 Thread Malte Meyn
There is a pitch-dependent staff switching automatism in LilyPond (I don’t know how it works but you can have a look at piano/harp section in the notation reference) so I think what you are asking for should at least not be impossible. Am 05.10.2014 um 17:52 schrieb David Bellows: This is pro

Automatic ottava handling

2014-10-05 Thread David Bellows
This is probably asking a lot, but is there a way to have ottava markings used automatically? It sounds like a complicated function since you'd also want it to be able to span consecutive notes but being able to specify when (as in how many ledger lines above the staff) it would kick in would be re