From 135ea951d248a61e1e5a83c745a562b85f6e207a Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 4 Apr 2026 01:28:13 -0400 Subject: [PATCH] =?UTF-8?q?play.py:=20braille=20spectrum=20analyzer=20?= =?UTF-8?q?=E2=A1=80=E2=A1=84=E2=A1=86=E2=A1=87=E2=A3=87=E2=A3=A7=E2=A3=B7?= =?UTF-8?q?=E2=A3=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.py b/play.py index b6e6a58..4b30494 100644 --- a/play.py +++ b/play.py @@ -323,7 +323,7 @@ def play_audio(buf, sample_rate, title="", info_lines=None, offset_sec=0.0): # Spectrum analyzer — FFT frequency bands displayed as EQ bars import numpy as np scope_w = 48 - bars = " ▁▂▃▄▅▆▇█" + bars = "⠀⡀⡄⡆⡇⣇⣧⣷⣿" window_size = int(sample_rate * 0.05) start_s = max(0, pos - window_size // 2) end_s = min(total_frames, start_s + window_size)