JulioHerrlein Posted July 8, 2022 Share Posted July 8, 2022 Dear Janusz and Friends, ;; I have a question about dictum and its relation with making revisions, like trying to improve the scores for better readability for real musicians. I will demonstrate with a kind of notation I use a lot in my writing. Let´s start with a motif spread through some bars. (setf time-signatures '((2 4 1) (2 4 1) (4 4 1) (2 4 1))) (omn-to-time-signature (gen-repeat 5 '(-e cs6 stacc h. c6 p<f>p long -q)) time-signatures) ;; I use the notation below (the omn result from the expression above) just to keep track of what I´m doing but... ((-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc) (h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q)) ;; for the final writing, I have to rewrite it again in this way, in order to be correctly read and played ((-e cs6 mf stacc q c6 p< tie+long) (q f> tie q p) (-q -e cs6 mf stacc q c6 p< tie+long q f> tie) (q c6 p -) (-e cs6 mf stacc q c6 p< tie+long) (q c6 f> tie q p) (-q -e cs6 mf stacc) (q c6 p< tie q f> tie+long) (q c6 p -) (-e cs6 mf stacc q c6 p< tie+long) (q c6 f> tie q p) (-q)) ;; But, since there are many different ways to express the same length situation, it´s difficult to find a condition to put in the dictum expression to make the substitutions. Doing manually is painful both in Opusmodus or in the notation software. It´s a kind of boring stuff that we have to do as composers. (omn :length '((-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc) (h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q))) ((-1/8 1/8 1/4) (1/2) (-1/4 -1/8 1/8 1/2) (1/4 -1/4) (-1/8 1/8 1/4) (1/2) (-1/4 -1/8 1/8) (1/2) (1/4 -1/4) (-1/8 1/8 1/4) (1/2) (-1/4)) ;;when extracting the length information from the omn phrase, the tie is not present as length. And in this case, maybe a good idea would be to have a kind of "tie2" attribute, only for the cases where the tie is functioning as a duration, and not as an expressive or articulation tie. I think the the tie as a duration should be translated in length value, because essentially this is the meaning of the tie when connecting the same two notes. ;; As the number of notes is altered when using the tie, the distribute-stream processes are also altered. We have to make the manual adjustments and also calculate the new streams of notes considering the repetitions of notes that must occur in the case of durational ties. ;; So, that is my questions concerning the power of Dictum to make revision that could be useful to prepare a score for a definitive and readable form. Looking forward to your ideas and suggestions. All the best ! Julio Quote Link to comment Share on other sites More sharing options...
opmo Posted July 9, 2022 Share Posted July 9, 2022 What about adding a new keyword :merge-ties (default t): (omn-to-time-signature '((-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc) (h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q)) '((2 4 2) (4 4 1) (2 4 8) (1 4 1)) :merge-ties nil) (omn-to-time-signature '((-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q -e cs6 mf stacc) (h c6 p<f>p tie+long) (q c6 -) (-e cs6 mf stacc q c6 p<f>p tie+long) (h c6) (-q)) '(4 4) :merge-ties nil) JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
opmo Posted July 9, 2022 Share Posted July 9, 2022 Dictum is not made for notation readability, it is an omn event editing tool (like hand edit). The tie is part of the omn only. JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
JulioHerrlein Posted July 9, 2022 Author Share Posted July 9, 2022 Thanks a lot, Janusz This is a good solution to the note values. But I also have to redistribute the dynamics, like p < f > p, alongside the notes. Maybe a distribute stream of the velocity only ? It looks good, but I got an error here > Error: Too many arguments in call to #<Compiled-function omn-to-time-signature #x30000136862F>: > 4 arguments provided, at most 2 accepted. > While executing: omn-to-time-signature, in process Listener-1(7). > Type cmd-. to abort, cmd-\ for a list of available restarts. > Type :? for other options. 10 > It´s already implemented ? Or this is for the next release ? Best, Julio Quote Link to comment Share on other sites More sharing options...
opmo Posted July 9, 2022 Share Posted July 9, 2022 next update JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
JulioHerrlein Posted July 9, 2022 Author Share Posted July 9, 2022 Great ! Thank you ! 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.