pyFDN.load_audio#
- pyFDN.load_audio(name, *, fs=None, mono=True)[source]#
Load an audio sample distributed with pyFDN.
- Parameters:
name (
str) – Sample name, with or without the.wavextension. Seeavailable_audio().fs (
int|None) – Target sampling rate. A differing source rate is resampled.mono (
bool) – IfTrue, retain only the first channel of multichannel audio.
- Return type:
- Returns:
signal (np.ndarray) – Audio samples as
float64.fs (int) – Sampling rate of the returned signal.