From c4fc0f2b95b05cabdeaf37e1058aa1a252753786 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 14 Sep 2017 14:38:15 +0200 Subject: [PATCH] python/demos/demo_tapthebeat.py: prefix unused arguments with _ --- python/demos/demo_tapthebeat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/demos/demo_tapthebeat.py b/python/demos/demo_tapthebeat.py index fb3117c7..0483379d 100755 --- 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: -- 2.11.0