Jump to content

Recommended Posts

How can I display a score compiled like this

(compile-score '((<def-score-name> :start 1 :end 90)))

with display-musicxml?

This gives an error:

(compile-score '((<def-score-name> :start 1 :end 90))))

Any idea?


Link to comment
Share on other sites

 (compile-score '((<name> :start 1 :end 90)))




(display-musicxml (compile-score '((<name> :start 1 :end 90)) :output :musicxml))


You don't need to use compile-score, you could add the :start 1 and :end 90 into the def-score:


(def-score name
           (:key-signature 'chromatic
            :time-signature ’(4 4)
            :tempo 60
            :start 1 :end 90
            :layout (piano-layout 'rhand 'lhand))
  :omn rh
  :port 0
  :channel 1
  :sound 'gm
  :program 'acoustic-grand-piano)
 (lhand :omn lh))


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use Privacy Policy