audioflux.utils.note_to_hz

audioflux.utils.note_to_hz(note)

Convert note to the frequency (Hz).

Parameters
note: str

note name

Returns
out: float

frequency (Hz)

Examples

>>> import audioflux as af
>>> af.utils.note_to_hz('C1')
32.70319566257483
>>> af.utils.note_to_hz('G#3')
207.65234878997256
>>> af.utils.note_to_hz('A4')
440.0
>>> af.utils.note_to_hz('Gb5')
739.9888454232688