History

demos/demo_onset.py: simplify imports

Paul Brossier committed 13 years ago

Commit 2cedc831 parent 973206a1 file · +1 −2Browse files

Showing the changes to python/demos (1 of 1 file). Show all

Unified · Split

python/demos/demo_onset.py+1−2
@@ -1,8 +1,7 @@
1#! /usr/bin/env python1#! /usr/bin/env python
2 2
3import sys3import sys
4from aubio import onset, source4from aubio import source, onset
5from numpy import array, hstack, zeros
6 5
7win_s = 512 # fft size6win_s = 512 # fft size
8hop_s = win_s / 2 # hop size7hop_s = win_s / 2 # hop size

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t