Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -44,7 +44,7 @@ a_tempo = aubio.tempo("default", win_s, hop_s, samplerate) · 43 unmodified lines | ||
| 44 | 44 | click = 0.7 * np.sin(2. * np.pi * np.arange(hop_s) / hop_s * samplerate / 3000.) |
| 45 | 45 | |
| 46 | 46 | # pyaudio callback |
| 47 | −def pyaudio_callback(in_data, frame_count, time_info, status): | |
| 47 | +def pyaudio_callback(_in_data, _frame_count, _time_info, _status): | |
| 48 | 48 | samples, read = a_source() |
| 49 | 49 | is_beat = a_tempo(samples) |
| 50 | 50 | if is_beat: |