Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 3 hours, 42 minutes ago

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

Square Root in Open Music

Author 2 Subscribed Users |
Profile photo of AlexTKirk
AlexTKirk

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

September 14, 2017 at 14:51 #23699
Profile photo of jmdbrady
JeanMichelDarremont

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

Attachments:
  1. Capture-d’écran-2017-09-14-à-16.12.24

    Capture-d’écran-2017-09-14-à-16.12.24.png

  2. Capture-d’écran-2017-09-14-à-16.12.24

    Capture-d’écran-2017-09-14-à-16.12.24.png

September 14, 2017 at 15:08 #23700
Profile photo of jmdbrady
JeanMichelDarremont

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

Attachments:
  1. Capture-d’écran-2017-09-14-à-16.12.241

    Capture-d’écran-2017-09-14-à-16.12.241.png

  2. Capture-d’écran-2017-09-14-à-16.12.241

    Capture-d’écran-2017-09-14-à-16.12.241.png

September 14, 2017 at 15:12 #23703
Profile photo of AlexTKirk
AlexTKirk

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…

September 14, 2017 at 15:28 #23706
Profile photo of jmdbrady
JeanMichelDarremont

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.

September 14, 2017 at 17:39 #23707
Profile photo of AlexTKirk
AlexTKirk

Thanks! :-)

September 15, 2017 at 15:36 #23709

You must be logged in to reply to this topic.

Log in now