sound.synth.note_freq

sound.synth

note_freq(name) -> hz

Convert a note name to a frequency

name is a letter, an optional # or b, and an octave: "A4", "C#5", "Eb3". A4 is 440 Hz, in equal temperament. Returns nil for a name it cannot read.