Skip to content

Add braille dot waveform rendering style - #27

Merged
juliarvalenti merged 2 commits into
mainfrom
feat/braille-waveform-style
Feb 20, 2026
Merged

juliarvalenti merged 2 commits into
mainfrom
feat/braille-waveform-style

Conversation

@juliarvalenti

Copy link
Copy Markdown
Owner

Summary

  • Adds a WaveformStyle enum (bars / braille) to OverlayConfig, replacing a plain bool with an extensible pattern for future rendering styles
  • In braille mode, each amplitude sample is rendered as a column of Unicode braille characters (U+2800 block), with dots filled symmetrically from the center outward
  • Column spacing mirrors the bar renderer so all 50 columns fill the full widget width
  • Live preview in Advanced Settings reflects the style selection in real time
  • Config persists to YAML via dacite's cast=[WaveformStyle]

Test plan

  • Toggle Waveform Style between Bars and Braille Dots in Advanced Settings — live preview updates immediately
  • Record audio in braille mode — dots scroll left-to-right and amplitude is reflected in dot height
  • Save settings and relaunch — braille mode persists
  • Verify ruff check and pyright pass with 0 errors

🤖 Generated with Claude Code

juliarvalenti and others added 2 commits February 20, 2026 14:10
Introduces a WaveformStyle enum (bars/braille) to OverlayConfig, replacing
the previous boolean flag with an extensible pattern for future styles.

In braille mode, each bar is rendered as a column of Unicode braille
characters (U+2800 block) with dots filled symmetrically from center
outward based on amplitude. Column spacing mirrors the bar renderer so
all 50 columns fill the full widget width with no excess padding.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@juliarvalenti
juliarvalenti merged commit aaf184a into main Feb 20, 2026
@juliarvalenti
juliarvalenti deleted the feat/braille-waveform-style branch February 20, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant