< Back to IRCAM Forum

Square Root in Open Music

Sorry if that´s a stupid question, but how do I make a Square Root calculation in Open Music?

I didn´t found any object called .sqrt or something, also went through the manual and didn´t found anything remote to a Square Root.

Thankfully
Alexandre

Hi Alexandre,

There are two ways to do it:

_Double clic in the patch, type sqrt then you get the lisp function or
_Use power 1/2 ; 25 puissance 1/2 = 5

Hi Alexandre,

There are two ways to do it:

_Double clic in the patch, type sqrt then you get the lisp function or
_Use power 1/2 ; 25 puissance 1/2 = 5

In the same way 12th root = power 1/12

Wow!

Thank you! Didn´t know the answer would come so fast!
Where is this sqrt in the menu, I don´t see it anywere, although typing it worked fine…

sqrt is not in the OM menu it is a pure LISP function. As you know, OM is built upon LISP so you have access to any LISP function and you can patch them as you do with OM boxes. Just type any Common LISP function, it should appear in your patch.

Thanks! :slight_smile: