Music and Mathematics. Finding the natural scale generator. The best way?

Posted by Alfonso de la Osa on Stack Overflow See other posts from Stack Overflow or by Alfonso de la Osa
Published on 2010-04-06T07:13:27Z Indexed on 2010/04/06 11:23 UTC
Read the original article Hit count: 235

Filed under:
|
|

Hi!

I wrote this post Music and Mathematics, finding the Natural and the Pentatonic scales.

Is a method to find the Natural scale. I want to discuss it and find if its true. This is the code of the reasoning in js.

<script>
  var c = 12/7;
  var tot = 0;

  var scale = [];
  while(tot < (14 - c)){
    tot += c;
    scale.push(Math.round(tot));
  }
  if(scale.length == 8){
    document.write(scale + " " + c + "<br />");
  }
</script>

© Stack Overflow or respective owner

Related posts about music

Related posts about mathematics