< Back to IRCAM Forum

Wrong proportional rhythmic values?

Hi All,

I have a little problem, nothing of urgent or important, but something I can not explain.
I enclose a screenshot of a simple (incomplete) patch for transforming numerical proportions into rhythmic values inside a specified range.
Well, apart last series (2 2 1 2 1 1 1 1 1), I always loose the last rhythmic value.
For example in figure you have not last value of 10500 ms. (see first line of OM Listener), that is five beats and one half. The same with other series.
Am I missing some step?

Thank you in advance, ciao

fdsdb

Schermata-2017-05-29-alle-19.19.11.png

hi fdsdb

Not really clear what you want to do most particularly in the om-scale/sum method. You have as first argument a list of list.
Maybe some explanation, and even better the patch itself will help

Best
K

Hi Karim,

Thank you for fast reply. I enclose the patch.
My aim is to distribute along the time of 18 seconds, rhythmic figures proportional to the choosen numeric series.
For example, if I had this numeric series (1 3 2 3), along 18 seconds the rhythmic result should have to be: half, dot whole, whole, dot whole.
My problem in the patch is that last rhythmic figure is lost. I have tested the same algorithm in PWGL and it works.
I hope i have been clear, my English is not properly that of Shakespeare… Thank you again for support.

Ciao

Fabio

10_durate_ricorsive_bis.omp (15 KB)

Hi Fabio,

No problem, got it. By the way my english is not that good either. It is just to figure out the problem. I don’t use the thisng you input your data (am old school i suppose…). That’s why i didn’t get it. Thought it might be a list of list. Anyhow.
Here it is.
The problem is with omquantify old old bug. By the way the thing PWGL use comes from this code.
So in order to “fix” it i propose this patch. omquantify don’t manage pretty well measures. Sometimes they are cropped (like in your case), sometimes, you will have more than you need… Anyhow, this is a trick to get what you want, and sometimes more…
(cf inclosed patch)
Best
K

10_durate_ricorsive_ter.omp (9.1 KB)

Hi Karim,

Thank you very much, fast and exact as usual. I understand your integration and correction, and I will teasurize it for next patches.
I continue in using numbers and proportions in composing, it is another type of old school… in our case old like wine is very good :wink:

Ciao

Fabio