lilypond-user
[Top][All Lists]
Advanced

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

Problem with MIDI generation with 2.1.18


From: darius
Subject: Problem with MIDI generation with 2.1.18
Date: Wed, 11 Feb 2004 00:05:47 +0100
User-agent: Internet Messaging Program (IMP) 3.2

Hi !

I upgraded to cygwin 2.1.18 yesterday, and experienced two problems:

-  \autochange does not seem to work as well as it used to be.
    I guess I did something wrong. Here is my PianoStaff:

solo = \context PianoStaff = solo <<
        \property Staff.midiInstrument="vibraphone"
        \context Staff=up { 
           \property Staff.midiInstrument="vibraphone"
            \context Voice=foo{
               \notes { \time 4/4  \key b \minor }
                \voiceOne
                \HighSoloNotes
            }
        }
        \context Staff=down {
            \property Staff.midiInstrument="vibraphone"
             \notes { \time 4/4  \key b \minor }
            \clef bass
            \autochange \context Voice = bar {\LowSoloNotes}
        }
    >>



- MIDI file generation crashes with a stack trace (the log is given below)
  I tried to simplify a number of things, assuming that this might be due
  to excessively complex data structure, but it did not help. 

  This raises a related question about Lilypond's internals: 
  when are variables expanded ? when I write:

a = \notes {a b c d e f }

b = \notes { \a \a \a }

  are the a's in b expanded when declaring b, or when actually using b ?

Cheers,

Darius/.

lilypond (GNU LilyPond) 2.1.18
Opening pipe `/usr/bin/lilypond-bin --version '
Opening pipe `kpsexpand \$TEXMF'
Opening pipe `kpsewhich -expand-path=\$T1FONTS'
Invoking `/usr/bin/lilypond-bin  -I /cygdrive/z/concerto -I 
/cygdrive/z/concerto 
-I /cygdrive/z/concerto --no-paper --verbose Ostinato'
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.1.18'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'

[/usr/share/lilypond/2.1.18/scm/define-music-types.scm][/usr/share/lilypond/2.1.
18/scm/output-lib.scm][/usr/share/lilypond/2.1.18/scm/c++.scm]
[/usr/share/lilypond/2.1.18/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.
1.18/scm/chord-entry.scm][/usr/share/lilypond/2.1.18/scm/chord-generic-names.
scm][/usr/share/lilypond/2.1.18/scm/molecule.scm][/usr/share/lilypond/2.1.
18/scm/new-markup.scm][/usr/share/lilypond/2.1.18/scm/bass-figure.scm]
[/usr/share/lilypond/2.1.18/scm/music-functions.scm][/usr/share/lilypond/2.1.
18/scm/part-combiner.scm][/usr/share/lilypond/2.1.
18/scm/define-music-properties.scm][/usr/share/lilypond/2.1.18/scm/auto-beam.
scm][/usr/share/lilypond/2.1.18/scm/chord-name.scm][/usr/share/lilypond/2.1.
18/scm/define-translator-properties.scm][/usr/share/lilypond/2.1.
18/scm/translation-functions.scm][/usr/share/lilypond/2.1.18/scm/script.scm]
[/usr/share/lilypond/2.1.18/scm/drums.scm][/usr/share/lilypond/2.1.18/scm/midi.
scm][/usr/share/lilypond/2.1.18/scm/beam.scm][/usr/share/lilypond/2.1.
18/scm/clef
Now processing: `Ostinato.ly'
Parsing...[/usr/share/lilypond/2.1.18/ly/init.ly[/usr/share/lilypond/2.1.
18/ly/declarations-init.ly[/usr/share/lilypond/2.1.18/ly/nederlands.ly]
[/usr/share/lilypond/2.1.18/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.1.
18/ly/script-init.ly][/usr/share/lilypond/2.1.18/ly/scale-definitions-init.ly]
[/usr/share/lilypond/2.1.18/ly/grace-init.ly][/usr/share/lilypond/2.1.
18/ly/midi-init.ly[/usr/share/lilypond/2.1.18/ly/performer-init.ly]]
[/usr/share/lilypond/2.1.18/ly/engraver-init.ly][/usr/share/lilypond/2.1.
18/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.1.18/ly/spanners-init.ly]
[/usr/share/lilypond/2.1.18/ly/property-init.ly]][/cygdrive/z/concerto/Ostinato.
ly[/usr/share/lilypond/2.1.18/fonts/afm/feta20.afm][/usr/share/lilypond/2.1.
18/fonts/tfm/feta20.tfm]Interpreting music...elapsed time: 0.42 seconds.scm]
[/usr/share/lilypond/2.1.18/scm/slur.scm][/usr/share/lilypond/2.1.18/scm/font.
scm][/usr/share/lilypond/2.1.18/scm/define-grob-properties.scm]
[/usr/share/lilypond/2.1.18/scm/define-grobs.scm][/usr/share/lilypond/2.1.
18/scm/define-grob-interfaces.scm][/usr/share/lilypond/2.1.18/scm/paper.scm]
Backtrace:
In /usr/share/lilypond/2.1.18/scm/part-combiner.scm:
 568:  981* [generate-split-list ((# #) (# #) (# #) (# #) ...)]
 553:  982  (if (null? event-list) (quote ()) ...)
      ...
 567:  983  [cons (#<Mom 271/2> . -1) ...
 568:  984*  [generate-split-list ((# #) (# #) (# #) (# #) ...)]
 553:  985   (if (null? event-list) (quote ()) ...)
       ...
 567:  986   [cons (#<Mom 136> . 1) ...
 568:  987*   [generate-split-list ((# #) (# #) (# #) (# #) ...)]
 553:  988    (if (null? event-list) (quote ()) ...)
        ...
 567:  989    [cons (#<Mom 545/4> . 1) ...
 568:  990*    [generate-split-list ((# #) (# #) (# #) (# #) ...)]
 553:  991     (if (null? event-list) (quote ()) ...)
 555:  992     (let* (# # # #) (if # # #))
 558:  993*    [filter #<procedure #f (x)> (#<Music NoteEvent>)]
In /usr/share/guile/1.6/srfi/srfi-1.scm:
 743:  994     (letrec ((filiter (lambda # #))) (filiter pred list (quote ())))
         ...
 746:  995     [filiter #<procedure #f (x)> () ...
 747:  996*     (cond ((pred (car rest)) (cons (car rest) result)) (#t result))
 747:  997*     [#<procedure #f (x)> #<Music NoteEvent>]
In /usr/share/lilypond/2.1.18/scm/part-combiner.scm:
 559:  998      [equal? ...
 559:  999*      [ly:get-mus-property #<Music NoteEvent> ...
 559: 1000*       (quote name)

/usr/share/lilypond/2.1.18/scm/part-combiner.scm:559:67: In expression (quote 
name):
/usr/share/lilypond/2.1.18/scm/part-combiner.scm:559:67: Stack overflow
lilypond: warning: `usr' failed (status 2) (ignored)


lilypond: error: LilyPond failed on input file Ostinato (exit status 2)
Traceback (most recent call last):
  File "/usr/bin/lilypond", line 869, in ?
    run_lilypond (files, dep_prefix)
  File "/usr/bin/lilypond", line 292, in run_lilypond
    ly.exit (status)
  File "/usr/share/lilypond/2.1.18/python/lilylib.py", line 130, in exit
    raise _ ('Exiting (%d)...') % i
Exiting (512)...
Cleaning /cygdrive/c/DOCUME~1/PC123/LOCALS~1/Temp/tmpZ_YSLBlilypond...

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/






reply via email to

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