Commit Graph

247 Commits

Author SHA1 Message Date
kennethreitz 94de406bdc Website: Apple Music first
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 04:30:18 -04:00
kennethreitz 5b01e3b610 Website: add Apple Music link
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 04:28:22 -04:00
kennethreitz 5366dad797 Remove 'every note placed by hand' — not accurate for most tracks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:14:36 -04:00
kennethreitz a3256ac15d play.py: slower spectrum decay (0.4/frame) — peaks hold and fall gently
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:31:13 -04:00
kennethreitz b81df2bd22 Remove heart
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:08:54 -04:00
kennethreitz 143c7b4852 Website: thanks for listening ♡
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:06:19 -04:00
kennethreitz cce0a750c3 play.py: auto-detect terminal width for spectrum analyzer
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:43:20 -04:00
kennethreitz 0d26840ace Website: pytheory link → pytheory.kennethreitz.org
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:41:03 -04:00
kennethreitz d6c003514a Website: PWA manifest for iOS home screen install + background audio
Add to Home Screen on iOS to get background playback, standalone
app mode, and the album cover as the app icon.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:39:27 -04:00
kennethreitz dec607e6ae Website: iOS background playback fixes + lock screen seek bar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:36:49 -04:00
kennethreitz 1a1062edeb Website: Media Session API — background playback + lock screen controls
Shows album art, title, artist on lock screen. Play/pause/next/prev
from notification. Audio continues when phone screen is off.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:32:34 -04:00
kennethreitz d53a2c80c1 Website: absolute URLs for Twitter/OG social cards
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:29:42 -04:00
kennethreitz 78a2fa715c Website: source code link per track — links to GitHub .py file
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:26:02 -04:00
kennethreitz 01abf2fdb7 Website: add YouTube Music link
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:10:28 -04:00
kennethreitz 4d87419eab Website: add Spotify link
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:08:56 -04:00
kennethreitz 8ac8907e5a Website: album description prose between cover and tracklist
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:39:21 -04:00
kennethreitz 361badf2e5 Embed album cover art in all MP3s
1024x1024 PNG cover in ID3v2 tags. Shows in any music player.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:34:37 -04:00
kennethreitz 419cbd5f3e Dockerfile: install zip for album download generation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:30:47 -04:00
kennethreitz cc56d075ee Website: download all zip (built in Docker), duration, tab title
Zip generated at Docker build time — not checked into git.
Album duration shown (83:58). Browser tab shows now playing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:29:40 -04:00
kennethreitz f9d45dcde9 Website: sticky oscilloscope — stays on screen when scrolling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:24:20 -04:00
kennethreitz 265346eaf9 Add Gauges analytics
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:21:02 -04:00
kennethreitz 938086337a Website: album art 560px — go big
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:17:40 -04:00
kennethreitz 75b70fabcb Website: album art 460px — the goldilocks size
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:16:04 -04:00
kennethreitz fdfe46860f Website: album art 380px — cover + a few tracks above the fold
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:14:37 -04:00
kennethreitz 1520a787b3 Website: bigger album art (560px, responsive)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:12:35 -04:00
kennethreitz 71eca537ab Re-encode all MP3s at 320 CBR with ID3 tags
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:10:40 -04:00
kennethreitz 5c28ee5fff Add ID3 tags to all MP3s — artist, album, track number, genre, year
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:07:25 -04:00
kennethreitz 0b1c7fa199 Website: MP3 download button per track
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:06:03 -04:00
kennethreitz 80bb3ae1de play.py: bass tilt 30%→10% on spectrum
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 07:59:55 -04:00
kennethreitz fabcd0de92 play.py: spectrum 76 chars wide — nearly full terminal width
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 07:59:11 -04:00
kennethreitz ef6e7ab54c play.py: spectrum peak hold with slow decay
Peaks hold and decay by 1 level per frame (~40fps = smooth falloff).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 07:57:43 -04:00
kennethreitz 219ac4974b play.py: tilt EQ on spectrum — bass reduced 70%, highs untouched
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 07:57:09 -04:00
kennethreitz 054d837454 play.py: spectrum log 8→3 — quiet parts nearly silent on display
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 07:56:09 -04:00
kennethreitz 76bcc531f9 play.py: spectrum log 15→8 — even more contrast
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:38:40 -04:00
kennethreitz 1dd53ac8c0 play.py: reduce log compression on spectrum (50→15) for more contrast
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:38:02 -04:00
kennethreitz dc8e9627d7 play.py: extra newline before controls
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:36:29 -04:00
kennethreitz c43156e40b play.py: 3-row braille spectrum — 12 levels of vertical resolution
Each frequency band maps to 0-12 height across 3 rows of braille.
Top row shows peaks only, bottom row shows everything.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:33:39 -04:00
kennethreitz 387fcfb3d7 play.py: spectrum above controls, progress below
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:30:44 -04:00
kennethreitz 72ab3c7949 play.py: lighter braille spectrum — ⡀⡄⡆⡇
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:28:55 -04:00
kennethreitz 135ea951d2 play.py: braille spectrum analyzer ⡀⡄⡆⡇⣇⣧⣷⣿
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:28:13 -04:00
kennethreitz b87188798b play.py: log scale on spectrum analyzer for better sensitivity
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:26:53 -04:00
kennethreitz e5e0093dc9 Fix oscilloscope — overwrite in place instead of scrolling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:25:19 -04:00
kennethreitz ebb6067e53 play.py: FFT spectrum analyzer with colored frequency bands
Logarithmic frequency bins via FFT. Bass (green) → mids (yellow) →
highs (red). Block characters ▁▂▃▄▅▆▇█. 40fps at 48 bands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:24:20 -04:00
kennethreitz 2bb36d0e41 play.py: 40fps oscilloscope with centered waveform display
Shorter sample window (30ms), finer block characters, centered
on zero crossing. Flat line shows as ─, peaks as █.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:22:45 -04:00
kennethreitz 186e5b8aff play.py: oscilloscope refresh 20fps (was ~7fps)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:21:48 -04:00
kennethreitz 5f1b95609b play.py: terminal oscilloscope during playback
Block character waveform (▁▂▃▄▅▆▇█) sampled from the audio buffer
at the current playback position. Amber colored. Updates in real time
above the progress bar.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:21:18 -04:00
kennethreitz 8b9dcb4bd4 Disable share links on tracks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:05:02 -04:00
kennethreitz 695c5ef98f Update uv.lock for Python 3.14
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 00:56:25 -04:00
kennethreitz b6009f9a11 Add web player — HTML5 audio, oscilloscope, SEO, share links
Static site with nginx on fly.io. Features:
- Album art, track list with descriptions and metadata
- Persistent bottom player bar with seek, volume, next/prev
- Real-time oscilloscope via Web Audio API
- Deep linking via URL hash (#track_name)
- Share link per track (copy to clipboard)
- Keyboard shortcuts (space, arrows, n/p)
- Mobile responsive
- SEO meta tags, Open Graph, Twitter cards
- Streaming service link placeholders
- MP3s converted from WAVs for web delivery

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 00:39:40 -04:00
kennethreitz c1b4a11d51 Update album description in README.md
Removed a sentence about a piano's story from the album description.
2026-04-03 20:34:27 -04:00