| Author |
Message |
moudi
Joined: Oct 07, 2006 Posts: 58 Location: Bern Switzerland
|
Posted: Sun Feb 10, 2008 6:59 am Post subject:
OT: struggle with frequency calculations |
 |
|
hi dear chuckists
i recently started to learn a bit more of the mathematical backgrounds behind music. (the inital point was that Inventor mentioned those Musimathics books which i'm reading at the moment. great hint btw).
unfortunately, i'm already confused after the first three chapters
in chapter 3.1 they show how to calculate semitones.
when i try to calculate the fifth in chuck wiith the mentioned formula, i get the right frequency. below chuck code shows the calculation of the ratio:
| Code: | //Calculate the Ratio of the fifth
<<<Math.pow(2.0,7.0/12)>>>; |
but in 3.3.3 they wrote that you can multiply the base frequency with a ratio of 3/2 to get the fifth. this ratio of 3/2 comes from the definition here in the book:
f= frequency
2f = 1st octave
3f = ocatve + fifth
4f = 2nd octave
according this definition you can define 3/2 as the ratio for the fifth and 4/3 as the ratio of the fourth.
however, when i try to calculate the frequency this way, i get a slightly different result.
so what the heck am i thinking wrong
a confused novice
/moudi |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 10752 Location: Netherlands, Enschede
Audio files: 22
G2 patch files: 287
|
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 6248 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Feb 10, 2008 7:30 am Post subject:
|
 |
|
I'm not sure I understand the question 100% but could you be running into this?
http://en.wikipedia.org/wiki/Pythagorean_comma
A friendly warning; tunings and experiments with them are lots of fun but also a excellent way to drive yourself insane.
Oh, I just see Jan beat me to a reply but I'll post anyway for the different angle. _________________ while(!machine.crash() ) <<<"all is well">>>; |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 10752 Location: Netherlands, Enschede
Audio files: 22
G2 patch files: 287
|
Posted: Sun Feb 10, 2008 8:01 am Post subject:
|
 |
|
| Kassen wrote: | | A friendly warning; tunings and experiments with them are lots of fun but also a excellent way to drive yourself insane. |
Or into a Pythagorean coma  _________________ Jan |
|
|
Back to top
|
|
 |
moudi
Joined: Oct 07, 2006 Posts: 58 Location: Bern Switzerland
|
Posted: Sun Feb 10, 2008 8:58 am Post subject:
|
 |
|
| BlueHell wrote: | | The first expression is according to the twelve tone equal tempered scale (as used on a piano), which gives an approximation for the pure fifth from the 2nd expression. |
you both hit the bull's eye with the first shot
| Kassen wrote: | | A friendly warning; tunings and experiments with them are lots of fun but also a excellent way to drive yourself insane. |
too late, already addicted
also good to know that there exists a subsection for these kind of things.
thanks to both for your replies.
/moudi |
|
|
Back to top
|
|
 |
renderful

Joined: Apr 18, 2007 Posts: 10 Location: Boulder, Co
|
Posted: Sun Feb 10, 2008 9:39 pm Post subject:
|
 |
|
| Thanks for pointing out the Musimathics books! |
|
|
Back to top
|
|
 |
moudi
Joined: Oct 07, 2006 Posts: 58 Location: Bern Switzerland
|
Posted: Tue Feb 12, 2008 9:09 am Post subject:
|
 |
|
| renderful wrote: | | Thanks for pointing out the Musimathics books! |
yep, they're just great! I can really recommend them.
thanks to inventor for mention them. |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 1168 Location: Florida, USA
Audio files: 50
|
Posted: Wed Feb 13, 2008 4:02 am Post subject:
|
 |
|
| cool moudi, glad i could help in some way. After the recent treatment I've gotten from the web, it's nice to hear somebody say something nice for a change, lol! |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 6248 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Feb 14, 2008 8:05 am Post subject:
|
 |
|
| Inventor wrote: | | After the recent treatment I've gotten from the web, it's nice to hear somebody say something nice for a change, lol! |
*hug* _________________ while(!machine.crash() ) <<<"all is well">>>; |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 1168 Location: Florida, USA
Audio files: 50
|
Posted: Thu Feb 14, 2008 8:11 am Post subject:
|
 |
|
| ty for hugh, Usenet can be cruel! |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 6248 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Feb 14, 2008 8:48 am Post subject:
|
 |
|
http://www.urbandictionary.com/define.php?term=hugh
Usually urbandictionary helps me out with terms like that but I'm still lost.
Never got the hang of usenet... _________________ while(!machine.crash() ) <<<"all is well">>>; |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 1168 Location: Florida, USA
Audio files: 50
|
Posted: Thu Feb 14, 2008 8:54 am Post subject:
|
 |
|
| i'm so tired this morning that i misspelled hug! hugh = hug! haha! |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 6248 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Feb 14, 2008 9:42 am Post subject:
|
 |
|
Ha ha ha ha!
That's halfway across the keyboard! :¬) _________________ while(!machine.crash() ) <<<"all is well">>>; |
|
|
Back to top
|
|
 |
|