From: Paul Brossier Date: Fri, 8 Mar 2013 19:38:45 +0000 (-0500) Subject: demos/demo_onset.py: simplify imports X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2cedc83dcec78641e8947f2d7cf84a33bebe1803;p=aubio.git demos/demo_onset.py: simplify imports --- diff --git a/python/demos/demo_onset.py b/python/demos/demo_onset.py index 75c6f1c5..55b3c695 100755 --- a/python/demos/demo_onset.py +++ b/python/demos/demo_onset.py @@ -1,8 +1,7 @@ #! /usr/bin/env python import sys -from aubio import onset, source -from numpy import array, hstack, zeros +from aubio import source, onset win_s = 512 # fft size hop_s = win_s / 2 # hop size