< Back to IRCAM Forum

Conversion of hertz to cents in Openmusic

Hi guys,

Need your help urgently!

How would I convert hertz value to corresponding cents in Openmusic? Also, how can I connect inpult with outpult? Would that lead to conversion?

Thanks a lot

Hi
To convert herta to midicents and vice-versa , use f->mc and mc->f functions , to be found in :
Fucntions/Score/Conversions…

Best
K

Hi K,

Thanks for the reply.

I converted hertz to midicents, but how can I get them in a numerical format? I need the final outcome to look like this:

(4700)

?

((4702) (4706) (4716) (4734) (4744) (4750) (4742) (4712) (4688) (4694 4708) (4718) (4712) (4716) (4722) (4730) (4744) (4740) (4742) (4744) (4740)

(4730) (4708) (4714) (4700) (4706) (4716) (4736) (4738) (4752) (4738) (4732) (4720) (4722) (4736) (4726) (4708) (4712) (4716) (4732) (4748) (4736)

(4720) (4732) (4736) (4710) (4702) (4704) (4706) (4718) (4730) (4750) (4736) (4728) (4724) (4720) (4736) (4740) (4730) (4724) (4700) (4704) (4714)

(4716) (4722) (4734) (4730) (4726) (4738) (4728) (4744) (4728) (4720) (4702) (4696) (4710) (4714) (4724) (4710) (4734) (4748) (4738) (4734) (4742)

(4720) (4704) (4656) (4648) (4682) (4718))

Could you provide step by step instructions. Sorry, have trouble of figuring this program out. Really appreciate your help!

Regards

Hi,

You must use “APPROX-M” ----> Functions/Score/Conversions/APPROX-M, see the screenshot :

OM => ((7752) (8288) (8604) (8698) (8786) (8870) (8504) (8040) (7586) (7404) (6968) (6386)) ----> Approx-M ----> :

OM => ((7800) (8300) (8600) (8700) (8800) (8900) (8500) (8000) (7600) (7400) (7000) (6400))

Regards.

Didier

OMApprox.jpg

Hi Didier,

Could you explain how you got nth-harm and the numbers in the top row of your example (11,15,18,19…) and what do they mean? I tried using “APPROX-M” function but did not get anything…

Thanks a lot!

Regards

Hi Oska,

"Could you explain how you got nth-harm and the numbers in the top row of your example (11,15,18,19…) and what do they mean? "

This numbers are the range (row ?) of harmonics series. For her utilisation, you must download Esquisse Library where there are two modules in “Spectral-Harmony” : “Harm-series” and “nth-harm”.

Harm-series” displays a harmonic series (here 24 harmonics) and “nth-harm”, you can choose the precis rank (?) of each harmonic and so, to construct your harmonique series as you wish.

Regards.

Didier

PS : sorry for my bad english. What is the correct term for “le rang des harmoniques”, rank, range or row ?

Hi guys,

Thanks for your replies.

But the problem is that when I use Functions/Score/Conversions, f->mc and mc->f, this is what I get, please see the screenshot. Not even close to what I need.

So, what should I do next?

I need the final result to look like this:

((4702) (4706) (4716) (4734) (4744) (4750) (4742) (4712) (4688) (4694 4708) (4718) (4712) (4716) (4722) (4730) (4744) (4740) (4742) (4744) (4740)

(4730) (4708) (4714) (4700) (4706) (4716) (4736) (4738) (4752) (4738) (4732) (4720) (4722) (4736) (4726) (4708) (4712) (4716) (4732) (4748) (4736)

(4720) (4732) (4736) (4710) (4702) (4704) (4706) (4718) (4730) (4750) (4736) (4728) (4724) (4720) (4736) (4740) (4730) (4724) (4700) (4704) (4714)

Got stuck here, don’t know what to do next.

Help, please

Oksa

image.jpg

Dear Oska

It will be much more convinient ot send your patch …
Your problem seems to be approximation. But in your screenshot i see ONLY sdif files…
Maybe it is another problem…

Best
K

Hi Karim,

Sorry for the delay in respond…

Not quite sure which patch I should send for you to be able to determine the problem…

But here I’ve attached four screenshots which show step by step results I get (step 4 is the last step in this sequence)

Please take a look and let me know if snapshots are indicative enough and what should I do next to get the result I need (please see the previous post)?

Thank you very much,

Oksa

step1.jpg