From: Paul Brossier Date: Thu, 14 Sep 2017 12:38:15 +0000 (+0200) Subject: python/demos/demo_tapthebeat.py: prefix unused arguments with _ X-Git-Tag: 0.4.6~34 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c4fc0f2b95b05cabdeaf37e1058aa1a252753786;p=aubio.git python/demos/demo_tapthebeat.py: prefix unused arguments with _ --- 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: