audioflux.utils.hz_to_note

audioflux.utils.hz_to_note(frequencies)

Convert the frequency (Hz) to note.

Parameters
frequencies: float

the frequency

Returns
out:

note

Examples

>>> import audioflux as af
>>> af.utils.hz_to_note(32.703)
'C1'
>>> af.utils.hz_to_note(440)
'A4'