[py] fix output in demo_notes.py (closes gh-411, thanks to @ensonic)
authorStefan Sauer <st.kost+github@gmail.com>
Sun, 13 Oct 2024 12:02:36 +0000 (14:02 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 15 Nov 2025 11:25:24 +0000 (12:25 +0100)
note_str was not used.

python/demos/demo_notes.py

index 301013a..978d895 100755 (executable)
@@ -32,6 +32,6 @@ while True:
     new_note = notes_o(samples)
     if (new_note[0] != 0):
         note_str = ' '.join(["%.2f" % i for i in new_note])
-        print("%.6f" % (total_frames/float(samplerate)), new_note)
+        print("%.6f %s" % ((total_frames/float(samplerate)), note_str))
     total_frames += read
     if read < hop_s: break