The problem: music that does not play
I sit down to work and want music now. The Music app on my Mac took ages to load, and then I still had to find something to play. Every time, it pulled me out of the work, and it got on my nerves.
The fix: one click, or ask the AI
The first way is one click. The app is just a note in the menu bar, with no window. It opens by itself at login, plays music stored on the computer so nothing loads from the network, and remembers the mix and the spot where I stopped. Stations are music folders: calm classical, energetic classical and electronic. The Mix station shuffles everything.
The second way is to ask the AI. I tell my AI system I need focus music, say something energetic. The agent lists the mixes, picks a few to match the mood and starts them with one command, for example Nota --cmd pick "Vivaldi" "Bach".
What I learned building it
My AI system wrote the app in one Claude Code session on 24 November 2026: a little over 350 lines of Swift in a single file. Two small things stuck with me. With a temporary signature, macOS asked for access to the music folder again after every change; signing with a developer certificate fixed that. And an app called just “Focus” got mixed up in Spotlight with the system Focus mode, hence Focus Nota.
So far I am the only one who has tried it, on my own Mac.
The code is MIT-licensed on GitHub.
Sources
- Apple, SMAppService (developer documentation): the
mainAppobject corresponds to the main application as a login item; macOS 13 and later. - Andrt, Focus Nota (2026): source code and the control commands.