Re: Conditionally displaying stems in void notation

2009-09-28 Thread Rodolfo Zitellini
It turns out I was wrong, duration-log can be accessed for the stems. The code now is really simple: turnStemOff = #(lambda (grob) (let* ((dur (ly:grob-property grob 'duration-log))) (if (> dur 1) (ly:stem::print grob And thanks to Mats' snippet, I can (almost) automatically p

Re: Conditionally displaying stems in void notation

2009-09-28 Thread Rodolfo Zitellini
Yes, but I would not have correct crotchets - in this type of void notation crotchets are written out as quavers, with connected stems and all, but with a white notehead. I think I can: 1) write out everything in 3/2 and then alter manually every note <= than a quarter to transform it in an eight 2

Re: Conditionally displaying stems in void notation

2009-09-26 Thread Mats Bengtsson
Isn't it simplest to first use the trick described in http://lsr.dsi.unimi.it/LSR/Item?id=305 to modify the duration of each note to the double, and then alter the note heads. This should give you correct stems. /Mats Rodolfo Zitellini wrote: Hello list, I am trying to typeset a piece in

Re: Conditionally displaying stems in void notation

2009-09-26 Thread Rodolfo Zitellini
> Out of interest, why not enter the music in 3/4 ?  I'm missing > something here. Well yes, it would be indeed simpler to typeset everything in "normal" 3/2 (or 3/4 halving everything), :) but in this particular case I am trying to faithfully reproduce the look of a seventeenth century piece, wit

Re: Conditionally displaying stems in void notation

2009-09-26 Thread Graham Percival
On Sat, Sep 26, 2009 at 10:24:19AM +0200, Rodolfo Zitellini wrote: > I am trying to typeset a piece in 3/2 void notation. I entered all the > music in 3/4 and altered the noteheads with #'duration-log = 1 to make > all notes white. This fakes 3/2 ok, but all notes bigger than a minim > (in 3/2) now