class InevitableCacophony::MidiGenerator::FrequencyTable::OutOfRange
Raised when there is no MIDI index available for a note we're trying to output
Public Class Methods
new(frequency, table)
click to toggle source
Calls superclass method
# File lib/inevitable_cacophony/midi_generator/frequency_table.rb, line 18 def initialize(frequency, table) super("Not enough MIDI indices to represent #{frequency} Hz. "\ "Available range is #{table.inspect}") end