projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python/demos/demo_reading_speed.py: avoid unused variable
[aubio.git]
/
python
/
demos
/
demo_reading_speed.py
diff --git
a/python/demos/demo_reading_speed.py
b/python/demos/demo_reading_speed.py
index
dbf7caf
..
90739f3
100755
(executable)
--- a/
python/demos/demo_reading_speed.py
+++ b/
python/demos/demo_reading_speed.py
@@
-88,7
+88,7
@@
def read_file_aubio(filename):
f = aubio.source(filename, hop_size = 1024)
total_frames = 0
while True:
-
samples
, read = f()
+
_
, read = f()
total_frames += read
if read < f.hop_size: break
return total_frames, f.samplerate