pyampact.alignmentUtils.load_audiofile
- pyampact.alignmentUtils.load_audiofile(audio_file)[source]
- Loads file for analysis. Currently only the WAV file format is allowed. AIFF, MP3, etc. must be converted prior. - Parameters:
- audio_file (str) – The path to the wav file to be loaded. 
- Returns:
- audio_data (The loaded wav file as a numpy array.) 
- sr (The original sample rate of the audio file.)