lilypond-devel
[Top][All Lists]
Advanced

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

Re: First attempt at new accidentals in git


From: Rune Zedeler
Subject: Re: First attempt at new accidentals in git
Date: Mon, 12 Nov 2007 01:17:30 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Rune Zedeler skrev:

%%% BEGIN
\version "2.11.32"

#(define (start-of-measure-acc-rule context pitch barnum measurepos)
  (cons #f (equal? measurepos (ly:make-moment 0 1))))

mus = {
  \key des \major
  \transpose c c' {
    g16 g g g' g' d' d' d' g' g' f f gis gis g g' ges1
  }
}
<<
  \new Staff {
    \set Staff.autoCautionaries = #(list 'Staff start-of-measure-acc-rule)
    \relative c' { c4 d e f g gis a ais b2 c }
  }
 >>
%%% END

Hmm, eh, make that

%%% BEGIN
\version "2.11.32"

#(define (start-of-measure-acc-rule context pitch barnum measurepos)
  (cons #f (equal? measurepos (ly:make-moment 0 1))))

<<
  \new Staff {
    \set Staff.autoCautionaries = #(list 'Staff start-of-measure-acc-rule)
    \relative c' { c4 d e f g gis a ais b2 c }
  }
>>
%%% END


TODO:
...

* Implement the old c++-function in scheme instead of using a callback. (Unless it gives too much overhead)

-Rune




reply via email to

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