Jump to content

Manipulating Tie as duration in Dictum


Recommended Posts

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))

 

 

image.png.00dcc1f2ce3084e735cd1b86ee9ea4bf.png

 

;; 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))

 

image.png.1ecf8d581f2b8619ce725ce25ea84eae.png

 

;; 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

 

Link to comment
Share on other sites

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)

 

merge-ties-nil.png

 

(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)

 

image.png

Link to comment
Share on other sites

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

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.

Guest
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