In [1]:
import numpy as np, scipy, matplotlib.pyplot as plt, pandas as pd, seaborn as sns
sns.set(style='whitegrid')
import IPython.display as ipd
%run detect_peaks.py
plt.rcParams['figure.figsize'] = [10, 5]
%matplotlib inline
In [5]:
import librosa, librosa.display
In [3]:
x, sr = librosa.load('P2_Exrpt.wav')
ipd.Audio(x, rate=sr)
Out[3]: