From 03d7fafff27767d0d5707cb17166963d652cb953 Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 24 Oct 2012 17:30:30 +0200 Subject: [examples] Rename peaks to frames in plot peaks, clearer --- examples/plotpeaks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/plotpeaks.py b/examples/plotpeaks.py index ef2a1a4..7c7b59e 100644 --- a/examples/plotpeaks.py +++ b/examples/plotpeaks.py @@ -15,8 +15,8 @@ audio = audio[len(audio) / 2:(len(audio) / 2) + 4096] # peak detection using the SndObj library pd = simpl.SndObjPeakDetection() pd.max_peaks = 20 -peaks = pd.find_peaks(audio) +frames = pd.find_peaks(audio) # plot peaks using matplotlib -simpl.plot.plot_peaks(peaks) +simpl.plot.plot_peaks(frames) plt.show() -- cgit v1.2.3