iracema.io.audiofile¶
Methods for reading and writing raw audio files.
-
iracema.io.audiofile.
read
(file_location)[source]¶ Read audio file from the local file system or download it from URL.
- Parameters
file_location (str) – Path or URL to the file that will be loaded.
- Returns
data (numpy array) – Audio data.
fs (int) – Sampling frequency.
file_name (str) – Base name of the loaded file.