convert_to_Hz

ketos.audio.annotation.convert_to_Hz(x)[source]

Convert a frequency specified as a string with SI units, e.g. “11kHz” to a float with units of Hz.

Args:
x: str

Frequency specified as a string with SI units, e.g. “11kHz”

Returns:
: float

Frequency in Hz.