Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -88,7 +88,7 @@ def read_file_aubio(filename): · 87 unmodified lines | ||
| 88 | 88 | f = aubio.source(filename, hop_size = 1024) |
| 89 | 89 | total_frames = 0 |
| 90 | 90 | while True: |
| 91 | − samples, read = f() | |
| 91 | + _, read = f() | |
| 92 | 92 | total_frames += read |
| 93 | 93 | if read < f.hop_size: break |
| 94 | 94 | return total_frames, f.samplerate |