Module: Muse

Defined in:
lib/muse/version.rb,
lib/muse.rb,
lib/muse/wav.rb,
lib/muse/config/chords.rb,
lib/muse/config/envelope.rb,
lib/muse/config/harmonic.rb

Overview

Muse Copyright © 2012 Chang Sau Sheong

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

Defined Under Namespace

Modules: Config, Envelope, Harmonic Classes: DataChunk, FormatChunk, RiffChunk, Song, TempData, WavFormat, WavHeader

Constant Summary collapse

NOTES =
%w(_ a ais b c cis d dis e f fis g gis)
FREQUENCIES =
{
  :ais1 => -34, :b1   => -33, :cis2 => -32,  :d2   => -31, :dis2 => -30,
  :e2   => -29, :f2   => -28, :fis2 => -27,  :g2   => -26, :gis2 => -25,
  :a2   => -24, :ais2 => -23, :b2   => -22,  :c3   => -21, :cis3 => -20, 
  :d3   => -19, :dis3 => -18, :e3   => -17,  :f3   => -16, :fis3 => -15, 
  :g3   => -14, :gis3 => -13, :a3   => -12,  :ais3 => -11, :b3   => -10, 
  :c4   => -9,  :cis4 => -8,  :d4   => -7,   :dis4 => -6,  :e4   => -5,  
  :f4   => -4,  :fis4 => -3,  :g4   => -2,   :gis4 => -1,  :a4   => 0,
  :ais4 => 1,   :b4   => 2,   :c5   => 3,    :cis5 => 4,   :d5   => 5, 
  :dis5 => 6,   :e5   => 7,   :f5   => 8,    :fis5 => 9,   :g5   => 10,   
  :gis5 => 11,  :a5   => 12,  :ais5 => 13,   :b5   => 14,  :c6   => 15,
  :cis6 => 16,  :d6   => 17,  :dis6 => 18,   :e6   => 19,  :f6   => 20,
  :fis6 => 21,  :g6   => 22,  :gis6 => 23
}
VERSION =
"0.0.12"