lilypond-user
[Top][All Lists]
Advanced

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

edition-engraver error


From: kieren_macmillan kieren_macmillan
Subject: edition-engraver error
Date: Mon, 26 Feb 2018 07:57:35 -0500 (EST)

Hello all,

Trying to use the EE. Running into the following fatal error:

While evaluating arguments to ly:make-moment in expression (ly:make-moment m/4):
/Volumes/KMac
Seagate/scores/_include/openlilylib/edition-engraver/engine.scm:68:17: Unbound
variable: m/4
Exited with return code 1.

I've never run into this error before. (But then again, my whole setup is
changed here: I'm working remotely, and am borrowing a friend's computer.)

That part of the code doesn't LOOK problematic to me:

(define (short-mom? v)(or (integer? v)(fraction? v)(rational? v)(ly:moment? v)))
; convert to a moment
(define (short-mom->moment m)
  (cond
   ((integer? m)(ly:make-moment m/4))
   ((fraction? m)(ly:make-moment (car m) (cdr m)))
   ((rational? m)(ly:make-moment m))
   ((ly:moment? m) m)
   (else (ly:make-moment 0/4))))
; predicate for a pair of measure and short-mom
(define (mom-pair? v)
  (and (or (pair? v)
           (and (list? v)(= 2 (length v))))
       (integer? (car v))
       (short-mom? (cadr v))))

But then again, my Scheme-fu is zero.

Any help would be appreciated.

Thanks!
Kieren.



reply via email to

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