[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore default-stem-attachment with note-head-stencil-overri
From: |
Keith OHara |
Subject: |
Re: How to restore default-stem-attachment with note-head-stencil-override? |
Date: |
Fri, 20 Jul 2012 18:18:53 -0700 |
User-agent: |
Opera Mail/12.00 (Win32) |
On Fri, 20 Jul 2012 15:25:53 -0700, Thomas Morley <address@hidden> wrote:
I'm coming up now with the code below.
Testing it with different note-head-styles returns weird output or
log-warnings while using 'mensural, 'neomensural and 'petrucci.
A bug?
I can't read Scheme, but I think so.
(ratio (/ (car stem-attach) (cdr stem-attach)))
(y-coord (/ y-factor ratio)))
I don't know how the address or decrement registers affect things, but
stem-attach is likely to contain zeros for note-head styles that are not
slanted, or for stems that attach in the center. In one of these two lines
you are likely pushing a zero on the stack before your division.