lilypond-user
[Top][All Lists]
Advanced

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

First scheme program: Preprocessing graphical objects...Segmentation fau


From: Tim Woodall
Subject: First scheme program: Preprocessing graphical objects...Segmentation fault
Date: Sat, 20 Jun 2009 12:13:37 +0100 (BST)

I'm working on my first ever scheme program. Things were going
swimmingly until I made a typo and:
address@hidden:~/cvs/hanon$ lilypond hanon.ly
GNU LilyPond 2.10.33
Processing `hanon.ly'
Parsing...
Interpreting music...
[8][16][24][32][40][48][56][64][72][80][88][96][101]
Preprocessing graphical objects...Segmentation fault

All because I wrote:
      (append
       (apply-fingering n2 f1)
       (append
        (apply-fingering n2 f2)

instead of
      (append
       (apply-fingering n1 f1)
       (append
        (apply-fingering n2 f2)


It appears that any attempt to use the same "n" object twice results in
a segfault but I can use the same "f" object multiple times. Is this
likely to be something wrong with my program or a bug in lilypond?

My program is rather big for an email (700 lines) so I'll not attach it
here. But it's at:
http://www.woodall.me.uk/hanon/

(You don't need to tell me there are much better ways to do what I'm
doing - at the moment I'm delighted that it works at all and at least I
understand what I'm doing and where I'm trying to go ;-)

Tim.

p.s. For anyone who uses Hanon but can never remember the pieces, the
current version produces a "cheat sheet" which has just enough
information on it to be able to practice while reading a novel without
having to turn the music pages too often - I haven't worked out a
technique for turning the novel pages yet[1], but I'm currently working on
my LH so it's not such a big deal right now.

[1] I'm using a sony ebook so it ought to be easy to rig something up
with a footswitch.

--
God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t,"
and there was light.

   http://www.woodall.me.uk/




reply via email to

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