projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1bf0e
)
python/demos/demo_tapthebeat.py: prefix unused arguments with _
author
Paul Brossier
<piem@piem.org>
Thu, 14 Sep 2017 12:38:15 +0000
(14:38 +0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 14 Sep 2017 12:38:15 +0000
(14:38 +0200)
python/demos/demo_tapthebeat.py
patch
|
blob
|
history
diff --git
a/python/demos/demo_tapthebeat.py
b/python/demos/demo_tapthebeat.py
index
fb3117c
..
0483379
100755
(executable)
--- a/
python/demos/demo_tapthebeat.py
+++ b/
python/demos/demo_tapthebeat.py
@@
-44,7
+44,7
@@
a_tempo = aubio.tempo("default", win_s, hop_s, samplerate)
click = 0.7 * np.sin(2. * np.pi * np.arange(hop_s) / hop_s * samplerate / 3000.)
# pyaudio callback
-def pyaudio_callback(
in_data, frame_count, time_info,
status):
+def pyaudio_callback(
_in_data, _frame_count, _time_info, _
status):
samples, read = a_source()
is_beat = a_tempo(samples)
if is_beat: