From 45074320ccfbde367f41f150cc40fbc5e1a7595d Mon Sep 17 00:00:00 2001 From: John Glover Date: Thu, 4 Oct 2012 10:38:58 +0200 Subject: [examples] Rename variables in plotpartials for clarity. --- examples/plotpartials.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/plotpartials.py') diff --git a/examples/plotpartials.py b/examples/plotpartials.py index 65017b0..cf06ae1 100644 --- a/examples/plotpartials.py +++ b/examples/plotpartials.py @@ -11,9 +11,9 @@ audio = simpl.read_wav(sys.argv[1])[0] pd = simpl.LorisPeakDetection() pd.max_peaks = 30 -peaks = pd.find_peaks(audio) +frames = pd.find_peaks(audio) pt = simpl.MQPartialTracking() pt.max_partials = 30 -partials = pt.find_partials(peaks) -simpl.plot_partials(partials, show_peaks=False) +frames = pt.find_partials(frames) +simpl.plot_partials(frames, show_peaks=False) plt.show() -- cgit v1.2.3