PitchDetector::Note class of PicoRuby

Type aliases

note_t

{ note: String, octave: Integer, cents: Integer, frequency: String }

Singleton methods

new

PitchDetector::Note.new(Float | Integer reference) -> void

Instance methods

freq_to_note

instance.freq_to_note(Float | Integer frequency) -> note_t

note_to_freq

instance.note_to_freq(String note, Integer octave) -> (Float | nil)
Tags: class