Lyra
A macOS music player I designed and built from scratch, for people who still keep their music as files
Lyra is a native macOS music player. Point it at the folder where your music lives and it turns it into a tidy library, plays it and shows the lyrics in sync with the song. Design and code are mine, from the design system to the icon. See the code on GitHub
- Client
- Personal project
- Industry
- Desktop app • Music
- Role
- Designer & Developer
- Timeline
- 2026
- Services
- Product Design, UX/UI Design, macOS Development, Design System
- Stack
- Swift 6, SwiftUI, AppKit, AVFoundation, Accelerate, LRCLIB
Context and Idea
I still keep my music as files on my Mac. Players for local libraries either look ten years old or don't show lyrics, so I built my own. The goal: an app that opens, finds the music on its own and lets artwork and lyrics lead, built with the care of a real product rather than an experiment.
Challenges
- Reading different tag formats (ID3, iTunes, FLAC) and rebuilding artists and albums in the right order, artwork included
- Finding the right lyrics even with messy titles: "feat.", "remastered", live versions
- A visualizer that truly reacts to the music without loading the CPU
- A window that works at every size, down to an always-on-top compact mode
The Solution
Onboarding asks for one thing only: your music folder, dragged onto the window if you like. From there Lyra reads the tags, groups everything into artists and albums in disc order and watches the folder for new files. The interface runs on a monochrome design system of my own: a few color tokens for light and dark and a handful of shared components (pills, tick sliders, tiles). On top of it sit home, search, albums, playlists, the queue, full-screen lyrics, the visualizer and a listening recap.
Key Features
- Synced lyrics that highlight each line as it's sung; click a line to jump there
- Instant search split into songs, artists, albums and playlists, best match on top
- A visualizer of stepped gray bands that rises with the music and dissolves into ASCII at the crest
- A listening recap for 7 days, 30 days or all time: hours, top artists and songs, streak and badges
- Compact mode: a tiny always-on-top window with lyrics while you work
- Media keys, Control Center, keyboard shortcuts, light and dark mode
Lyrics that follow the song
The lyrics view is made to be read from across the desk: the line being sung is large and solid, the rest fade out. It scrolls in time on its own, and clicking any line takes the song there. Wrong matches can be fixed by hand with a manual search or an editor.
Search that gets what you mean
Results show up as you type, split into songs, artists, albums and playlists, with the best one up front. Ranking ignores accents and case and favors matches at the start of a word; Return opens the top result.
A visualizer worth looking at
No colored bars: a wave of stepped gray bands that rises with the music, bass in the middle and highs on the edges, crumbling into ASCII characters at the crest. It's the same wave as the onboarding, here driven by the real audio.
A recap of your listening
Lyra remembers what you play, on your Mac and nowhere else, and turns it into a recap: hours listened, top artists and songs, when in the day you listen, your streak and a few badges to unlock.
A tidy library, light or dark
Albums sorted by disc and track, multi-artist credits handled properly, artwork pulled from the files. The whole interface sits on a few color tokens, so dark mode isn't an afterthought but the same system.
Development and Technologies
Written in Swift 6 with SwiftUI, with AppKit where the window needs fine control, and no third-party dependencies. Playback runs on AVFoundation: the visualizer taps the audio as it plays and runs an FFT with Accelerate, bass in the middle and highs on the edges. Lyrics come from LRCLIB: when a song isn't found, Lyra retries with cleaner versions of title and artist and picks the best match. They're saved next to the song, so they work offline too. The scan only re-reads files that changed, and tests cover lyrics parsing, matching and search ranking. Listening history stays on the Mac only.
Conclusion
Lyra is where I owned the whole product cycle: idea, design system, interface, native code, packaging as an.app and a DMG. It's also the app I use every day to listen to music. Explore the repository