torstenanders Posted October 26, 2017 Share Posted October 26, 2017 I would like to use keywords as instrument identifiers in def-score like shown below. (def-score flute (:key-signature 'chromatic :time-signature '(4 4) :tempo 100 :layout (flute-layout :flute)) (:flute :omn '((q c5 d5 f5 g5) (q c5 d5 f5 g5)))) Unfortunately, this does not work for generating notation, only the playback works. The reason I would like to use keywords is that this would provide a more smooth integration with the format I am using for polyphonic score transformations, which looks like shown below (short example for violin and cello). See code examples at https://github.com/tanders/tot/blob/master/sources/score.lisp; you can see the documentation of this code at http://htmlpreview.github.com/?https://github.com/tanders/tot/blob/master/doc/sources/score.html. '(:vln ((q g4) (q. c5 e d5 q e5 f5) (h. e5)) :vlc ((q g3) (q c4 b3 a3 g3) (h. c3))) If it is not possible to have keywords as instrument identifiers in def-score then I can of course transform my keywords automatically into symbols in the Opusmodus package, but I would first like to know whether disallowing keywords in def-score is intentional. Best, Torsten Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.