o_e Posted January 24, 2015 Share Posted January 24, 2015 Hi, Don't know if this is a known issue: (setf one '((q g3 = = tie)(q g3 = =))) (setf two '((q g3 g3 g3 tie)(q g3 = =))) (get-time-signature one) -->((4 4 1) (3 4 1)) ;wrong (get-time-signature two) -->((3 4 2)) ;correct best ole Quote Link to comment Share on other sites More sharing options...
opmo Posted January 24, 2015 Share Posted January 24, 2015 (edited) This is correct.'((q g3 = = tie) (q g3 = =))Check the OMN grammar.'((q g3 mp = = p) (q g3 = =))The OMN grammar is quite powerful, is good to know how it works.(q g3 e pp stacc) = 3/8 (q g3 e - stacc) = 5/8 (q g3 - - stacc) = 4/4 Edited July 25, 2015 by opmo Quote Link to comment Share on other sites More sharing options...
o_e Posted January 25, 2015 Author Share Posted January 25, 2015 (setf eins '((q g3 = = tie) (q g3 = =))) (get-time-signature eins) -->((4 4 1) (3 4 1)) I don't understand the idea behind, counting beats in 'eins' I count 6 beats (overall), 'get-time-signature' tells me there are 7 beats (overall) (I would understand: -->((4 4 1) (2 4 1))) But what I was asking originally was the (imo) inconsistency that 'get-time-signature' reports different results when using pitch-symbols instead of pitch-symbol repeat signs (=) (third pitch-symbol in the example..)? (setf one '((q g3 = = tie)(q g3 = =))) (get-time-signature one) -->((4 4 1) (3 4 1)) (setf two '((q g3 g3 g3 tie)(q g3 = =))) (get-time-signature two) -->((3 4 2)) btw. how can I post my code also in a different font like in your examples..? Quote Link to comment Share on other sites More sharing options...
opmo Posted January 25, 2015 Share Posted January 25, 2015 (edited) Every symbol <pitch> <length> <velocity> <attribute> after a repeat = or extended repeat == symbol, is counted as a new value.(q c4 = = tie) = 4/4Otherwise you need to write:(q c4 = = c4 tie) = 4/4which you can if you prefer.I might write a document which explains the grammar in more details. Edited July 25, 2015 by opmo Quote Link to comment Share on other sites More sharing options...
opmo Posted January 25, 2015 Share Posted January 25, 2015 Regarding the code, please select the code, and press <> button form the text tool section (above). Quote Link to comment Share on other sites More sharing options...
o_e Posted January 25, 2015 Author Share Posted January 25, 2015 Every symbol <pitch> <length> <velocity> <attribute> after a repeat = or extended repeat == symbol, is counted as a new value.(q c4 = = tie) = 4/4Otherwise you need to write:(q c4 = = c4 tie) = 4/4which you can if you prefer.I might write a document which explains the grammar in more details.Thanks for shed light on this.Now I understand (a little more :-)). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.