help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 12th root of x


From: Montgomery-Smith, Stephen
Subject: Re: 12th root of x
Date: Mon, 7 Oct 2019 12:44:42 +0000

You can also get it in cents using the formula:

1200 * log(x) / log(2)
From: Help-octave <help-octave-bounces+stephen=address@hidden> on behalf of harish3679 <address@hidden>
Sent: Monday, October 7, 2019 12:26:20 AM
To: address@hidden
Subject: Re: 12th root of x
 
Hi Guys,

Thanks for all your inputs. Here is what I got:

Octave:
>> x = (531441/524288)^(1/12)
x =  1.0011
>> rats(x)
ans =   886/885

Scala:
>>insert
_Position:2
_Pitch:886/885
>>show
 0:          1/1               0.000000 unison, perfect prime
 1:       1024/729         588.269995 Pythagorean diminished fifth
 2:        886/885          1.955092

Finally got my answer 1.96 when rounded in cents for 12th of pythagorean
comma for fifths







--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]