Sha256: c2a80dfcf36361f7bd15240f8a340e6b82c85dd23b9571074c0e11aae9dbbfea

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

module Mml2wav
  module Scale
    FREQUENCIES = {
      "c"  => 32.70325 ,
      "c#" => 34.647875,
      "c+" => 34.647875,
      "d-" => 34.647875,
      "d"  => 36.708125,
      "d#" => 38.890875,
      "d+" => 38.890875,
      "e-" => 38.890875,
      "e"  => 41.2035  ,
      "f"  => 43.6535  ,
      "f#" => 46.24925 ,
      "f+" => 46.24925 ,
      "g-" => 46.24925 ,
      "g"  => 48.999375,
      "g#" => 51.913125,
      "g+" => 51.913125,
      "a-" => 51.913125,
      "a"  => 55.0     ,
      "a#" => 58.2705  ,
      "a+" => 58.2705  ,
      "b-" => 58.2705  ,
      "b"  => 61.735375,
      "r"  => 0,
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mml2wav-0.0.6 lib/mml2wav/scale.rb
mml2wav-0.0.5 lib/mml2wav/scale.rb
mml2wav-0.0.4 lib/mml2wav/scale.rb
mml2wav-0.0.3 lib/mml2wav/scale.rb