shithub: aubio

Download patch

ref: 2cedc83dcec78641e8947f2d7cf84a33bebe1803
parent: 973206a0e1dfb51b94d47af22b644743d2f711bf
author: Paul Brossier <piem@piem.org>
date: Fri Mar 8 09:38:45 EST 2013

demos/demo_onset.py: simplify imports

--- 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