Caution
You're reading an old version of this documentation. If you want up-to-date information, please have a look at 0.10.2.
librosa.util.example_audio_file
- librosa.util.example_audio_file()[source]
Get the path to an included audio example file.
Warning
This function is deprecated in 0.8, and will be removed in 0.9. Instead, use
librosa.util.example
.- Returns:
- filenamestr
Path to the audio example file included with librosa
Examples
>>> # Load the waveform from the example track >>> y, sr = librosa.load(librosa.util.example_audio_file())