Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 6 hours ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

Interpolation of Two Rythms and more…

Author 3 Subscribed Users |
Profile photo of zenouda
zenouda

Hello

Very beginner in OpenMusic, i have three projects I would like to do (I don’t know exactly the difficulty of each) :
– Interpolate two rhythms in a define numbers of step
Since we can find easily patch OM which do this exact operation between 2 chords, I would like to do it between two rhythms. If someone has done this already or an idea to go further….
– Be able to make tempo-counterpoints between different lines
Since OM is able to superimpose different tempo in the same time, i would like to be able to add different tempo in one musical line, OM could go to one tempo to an other in a progressive way then superpose as line as I want…
– Generate all the mélodies possible from a given serie of notes

If someone can help in the way he can, I would be very grateful
Best regards
Hervé

August 22, 2018 at 15:04 #27465
Profile photo of zenouda
zenouda

For the last point :
Generate all the mélodies possible from a given serie of notes

I mean with given rules…
H.

August 22, 2018 at 15:09 #27466
Profile photo of fdsdb
fdsdb

Hi,

I have a patch for interpolating rhythms that can maybe be useful. I have used it in some courses of mine. In my version the rhythms are random generated, if you need exact rhythms it is sufficient to substitute the two random rhythm generations with two different lists (in ms.) of durations related to your rhythms. I enclose the patch.

About last question I can suggest you constraint programming. I don’t know it very good in open Music (I have practiced it more in PWGL), but perhaps a help can come from Situation library. (or similar ones)

Best

Fabio

August 22, 2018 at 15:54 #27467
Profile photo of zenouda
zenouda

I got the 2 patch Thanks a lot !!!!!

August 22, 2018 at 16:01 #27470
Profile photo of Karim
Karim

Dear Herve,

The “two” patches are the same. It is the same old forumnet bug. When you upload a patch or whatever, it is echoed twice for some Weird reason….
Will look into the patch of Fabio and will see if it is not different of that i’ve got…. and if yes will post it here for you …
Best
K

August 22, 2018 at 16:16 #27471
Profile photo of zenouda
zenouda

Yes, I saw it, no problem… :=)

August 22, 2018 at 16:21 #27472
Profile photo of Karim
Karim

Ok so here it is :

One “funny” voice-interpolation patch. It includes many different stuff (such as rotation, etc…)
have fun with it…

Then concerning the tempo in om. It’s rather complicated (i.e the syntax):

– suppose you have two three measures (cf. patch tempo in om):

(? (((4 4) (1 1 1 1)) ((4 4) (1 1 1 1)) ((4 8) (1 1 1 1))))

The tempo will look like that :

(
;always first measure tempo is default :
(1/4 125.0)
;Then comes the other measures :
(
((1 0) (1/4 150.0 t)) ;here the first list is the (measure-index beat-index) zero always being the first
((2 3) (1/8 42 nil)) ;second list is (note figure tempo then nil) ;;;
)
)
The nil is for fixed tempo
t for accel or deccel…

This is brought to you by Magic Carlos…

Best
K

August 22, 2018 at 16:42 #27473
Profile photo of fdsdb
fdsdb

Hi Karim,

Thank you for clarification.

Ciao

Fabio

P.S.
I have just realized I forgot to implement that patch in my library… Next update :-)

August 22, 2018 at 16:43 #27478
Profile photo of Karim
Karim

..Sorry guys, had to delete the tempo patch (wrong one)… Here is the good one

have fun

Best
K

August 22, 2018 at 16:45 #27479
Profile photo of fdsdb
fdsdb

P.P.S.

Thank you also for the patch, I didn’t still know this characteristic.
Good to know.

Ciao

Fabio

August 22, 2018 at 16:50 #27482

You must be logged in to reply to this topic.

Log in now