lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read out the slope of a beam?


From: Thomas Morley
Subject: Re: How to read out the slope of a beam?
Date: Wed, 12 Oct 2011 13:30:32 +0200

Hi David,

2011/10/12 David Nalesnik <address@hidden>
Hi Harm,

(...)
  (beam-positions (ly:grob-property grob 'positions))
  (beam-slant (if (> (car beam-positions) (cdr beam-positions)) -1 1))
           (orig-slope (* beam-slant (/ (- beam-length-y beam-thickness) beam-length-x)))

(...)
 
Hope this helps!

David

this works fine.
Seems I've been a blockhead. 

Thanks to enlighten me.

Harm


reply via email to

[Prev in Thread] Current Thread [Next in Thread]