[gsharp-devel] saving score

bgruber bgruber at nyu.edu
Fri Jun 1 04:20:31 EDT 2007


well, the summer of code is in full swing, and no sooner have a I dug
myself into the gsharp code than I find myself stuck in a hole - I can't
open gsharp scores that I save. Looking into it further, I discovered
that the problem is with the actual scores themselves. I've attached a
copy of a simple, one-note score. You can see that in some places the
class names are being printed after the first slot, like
GSHARP-BUFFER:FIVELINE-STAFF here:

   :staves (#1=[
                :name "default staff" GSHARP-BUFFER:FIVELINE-STAFF
                  :clef [:name :TREBLE GSHARP-BUFFER:CLEF :lineno 2 ]

changing this (and similar errors) I can load up the file, so it's not
stopping me in my tracks nearly as much as I thought.

/brian
-------------- next part --------------
G#V4

[GSHARP-BUFFER:BUFFER
   :min-width 17
   :spacing-style 0.4
   :right-edge 700
   :left-offset 30
   :left-margin 20
   :staves (#1=[
                :name "default staff" GSHARP-BUFFER:FIVELINE-STAFF
                  :clef [:name :TREBLE GSHARP-BUFFER:CLEF :lineno 2 ]
                  :keysig [GSHARP-BUFFER:KEY-SIGNATURE
                             :xoffset 0
                             :staff #1#
                             :alterations #(:NATURAL :NATURAL :NATURAL :NATURAL
                                            :NATURAL :NATURAL :NATURAL) ] ])
   :segments ([GSHARP-BUFFER:SEGMENT
                 :layers ([
                           :name "default layer" GSHARP-BUFFER:MELODY-LAYER
                             :staves (#1#)
                             :head [GSHARP-BUFFER:SLICE
                                      :bars ([GSHARP-BUFFER:MELODY-BAR
                                                :elements COMMON-LISP:NIL ]) ]
                             :body [GSHARP-BUFFER:SLICE
                                      :bars ([GSHARP-BUFFER:MELODY-BAR
                                                :elements ([GSHARP-BUFFER:CLUSTER
                                                              :xoffset 0
                                                              :notehead :FILLED
                                                              :rbeams 0
                                                              :lbeams 0
                                                              :dots 0
                                                              :stem-direction :AUTO
                                                              :notes ([GSHARP-BUFFER:NOTE
                                                                         :pitch 35
                                                                         :staff #1#
                                                                         :head :FILLED
                                                                         :accidentals :NATURAL
                                                                         :dots 0 ]) ]) ]) ]
                             :tail [GSHARP-BUFFER:SLICE
                                      :bars ([GSHARP-BUFFER:MELODY-BAR
                                                :elements COMMON-LISP:NIL ]) ] ])
                 :tempo 128 ]) ]



More information about the gsharp-devel mailing list