python/demos/demo_tapthebeat.py: prefix unused arguments with _
authorPaul Brossier <piem@piem.org>
Thu, 14 Sep 2017 12:38:15 +0000 (14:38 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 14 Sep 2017 12:38:15 +0000 (14:38 +0200)
python/demos/demo_tapthebeat.py

index fb3117c..0483379 100755 (executable)
@@ -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: