[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Calculating Semitones in an octave
From: |
harish3679 |
Subject: |
Calculating Semitones in an octave |
Date: |
Wed, 29 Jan 2020 10:53:39 -0600 (CST) |
Hi guys,
To find frequency using semitones value from A=440Hz
We have, f = 2^(n/12)*440 //where n is the semitone value
Now, to find semitone value for A=432Hz from 440Hz
It is 432 = 2^(n/12)*440
I came up with 2^n=0.92668
Although have no clue how to calculate this in octave rather got an error
saying
"2^(n)=0.92668
parse error:
invalid left hand side of assignment"
Someone, please shed light on this part
Regards,
Harish
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- Calculating Semitones in an octave,
harish3679 <=