Jump to content

Recommended Posts

Posted

Hi,

 

What I want is the first pict:

What I get, when I use this:

(setf rhy '(e e 3q = = tie e e))

is seen in the second pict, what am I missing?

Bildschirmfoto 2021-09-25 um 16.19.24.jpg

Bildschirmfoto 2021-09-25 um 16.20.17.jpg

 

 

Ok, I found the solution, writing 3q 3q 3q instead of 3q = =

But then I stumbeled over the next problem, how can I use span with such tied rhymths?

 

What I want is this:

Bildschirmfoto 2021-09-25 um 16.39.09.jpg

 

what I get with span is this:

(setf line '(( c4 d4 e4 f4)( g4 a4)))
(setf rhy '(e e tie 3q 3q 3q tie e e tie 3q tie 3q 3q))
(setf pit (span rhy line))

(make-omn :length rhy
          :pitch  pit)

 

 

 

 

Bildschirmfoto 2021-09-25 um 16.52.06.jpg

Posted

tie is an attribute and not a length tie.

The solution:

'(e e 3q 3q 3q_e e))

 

(setf pitches '((c4 d4 e4 f4) (g4 a4)))
(setf rhy '(e e_3q 3q 3q_e e_3q_3q 3q))

(make-omn :length rhy
          :pitch pitches)
Posted

Thanks! There is one more thing I don't get, pitch-transpose seems to change the rhytm somehow or do I miss again something

:

(setf rhy '(e e_3q 3q 3q_e e_3q_3q 3q)) ;also tried ratios- same result

(setf pit (span rhy line2))

(setf pit2  (make-omn :length rhy
          :pitch  pit))
(setf pit2a (pitch-transpose 2 pit2))

 

Bildschirmfoto 2021-09-25 um 20.58.45.jpg

Bildschirmfoto 2021-09-25 um 20.59.00.jpg

Posted

The result is correct.

Possibly the transposition could be done before the make-omn:

(setf rhy '(e e_3q 3q 3q_e e_3q_3q 3q))
(setf pit '((c4 d4 e4 f4) (g4 a4)))
(setf pit2 (pitch-transpose 2 pit))

(setf omn (make-omn :length rhy
                     :pitch pit2))


At any point (usually at the end of your work) you can run quantize function to make the result look good (tuplet grouping) in notation.

(setf rhy '(1/8 5/24 1/12 5/24 7/24 1/12))
(setf pit '((c4 d4 e4 f4) (g4 a4)))
(setf pit2 (pitch-transpose 2 pit))

(setf omn (make-omn :length rhy
                    :pitch pit2))

(quantize omn '(1 2 3 4))
=> (e d4 e_3q e4 3q fs4 3q_e g4 e_3h a4 3q b4)

 

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