bug-lilypond
[Top][All Lists]
Advanced

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

Re: (attn doc team) Re: Diatonic notation system


From: Trevor Daniels
Subject: Re: (attn doc team) Re: Diatonic notation system
Date: Wed, 14 Jan 2009 14:09:45 -0000


Valentin Villenave wrote Sunday, January 11, 2009 2:56 PM

2008/12/11 Trevor Daniels <address@hidden>:

Graham Breed wrote Thursday, December 11, 2008 1:01 AM


I can demonstrate the bug with that file though.  Here's an example:

\version "2.11.65"
\include "arabic.ly"

melody = \relative {
 \key re \bayati
 do re mi fa sol la si do
}

\score {
 \new Staff \melody
 \layout { }
 \midi { }
}

It fails with

"""
Interpreting music...
bayati_ar.ly:5:2: warning: No ordering for key signature alterations

 \key re \bayati
Preprocessing graphical objects...
Interpreting music...

/home/graham/lilypond/usr/share/lilypond/current/scm/lily-library.scm:149:5:
In procedure ly:book-process in expression (process-procedure book
paper ...):

/home/graham/lilypond/usr/share/lilypond/current/scm/lily-library.scm:149:5:
Wrong type (expecting exact integer): -3/2
"""

Removing the \midi{} line fixes it.  Similarly, removing the \midi{ }
from Hans's file fixes that.  So it's not that it works with
quartertones but not other inflections.  It looks like it doesn't work
with any pitch-bent MIDI.

I pointed out this bug some time ago, see

http://lists.gnu.org/archive/html/lilypond-user/2008-06/msg00642.html

but at the time no one verified it so it didn't make it to the bug list. Now
you have verified it I'll post it there now.

Hm, I'd happily add such things but I need to (remotely) understand
what the bug is... Sorry for digging this out after a month, but could
you provide me with some help?

I'll try.

A mode contains a quarter tone generates the warning:

D:/Users/Trevor/Leisure/Music/LilyPond/Tests/test1.ly:7:4: warning: No ordering for key signature alterations

and if a \midi { } statement is included this error is also generated:

Interpreting music... C:/Program Files/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:149:5: In procedure ly:book-process in expression (process-procedure book paper ...): C:/Program Files/LilyPond/usr/share/lilypond/current/scm/lily-library.scm:149:5: Wrong type (expecting exact integer): -1/2

Here's a minimal file to demonstrate the problem:

mode = #`((1 . ,SEMI-FLAT))
\score {
 \relative c'' {
   \key c \mode
   c4
 }
\layout { }
\midi { }
}

This example is musical nonsense, but the same construct is
used, for example, in the bayati mode in ly/arabic.ly, and
generates similar errors.

Trevor





reply via email to

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