Case study · iOS App Store · practice.santiagomorel.dev

Music Practice App: from two musicians' idea to the App Store

Ramiro Miranda and Pedro Oviedo, two musicians, wanted a simple way to plan a practice session and run it without juggling apps. I built and shipped it: an iPhone app that works fully offline, with a metronome, drone and on-device tuner, plus a small web app where teachers build practices — by hand or by describing them to Claude — and share them with a code.

Idea Ramiro Miranda & Pedro Oviedo Role built and shipped Timeline Apr – Nov 2026 Stack React Native, Expo, TypeScript, FastAPI, SQLite, MCP
Nov 23
Live on the App Store
16
PRs merged
166
Automated tests
0
Accounts needed to practice
The app

Plan it, run it, see the streak

You build a plan of timed exercises, each with one focus (intonation, rhythm, tone…), then run it as a session with a countdown. The metronome (30–260 BPM, tap tempo, subdivisions), drone and tuner open inside the session, and finished sessions go to a history with total time and day streaks. Everything is stored on the phone.

Practice plan with four timed exercises and a Start session button
The plan: timed exercises, one focus each.
A running session: Scales in C major, focus on intonation, with a countdown
A session, with the tools one tap away.
Tuner with a cents meter, waiting for a note
The tuner listens on the device; nothing is recorded.
The Teacher code screen showing a teacher's practice with Save and start
A teacher's practice, opened with a code.
Teachers

From a teacher's idea to a student's phone, five steps

Teachers use a small FastAPI + SQLite web app. Students never need an account: the code is all they type, and after that the practice works offline.

01 · Invite

A teacher asks for an invite. I accept or decline on an admin page, and they get an email at each step.

02 · Build

They build the practice on the site, or describe it to Claude, which builds it through the site's MCP server.

03 · Share

Each practice gets a short share code. The teacher can stop it or make a new one at any time.

04 · Open

The student types the code once. The app downloads the practice and saves it.

05 · Practice

Sessions always run from the saved copy, offline. Now and then the app checks for the teacher's updates.

Claude as a co-author

Building a practice by describing it

A teacher makes a personal token on the site and adds the MCP server to Claude with one command. Claude gets four tools: list, read, create and update practices. Each is checked by the same rules as the web editor.

Same rules as the web
1–50 exercises, whole minutes only, BPM 30–260. Asked for 90-second exercises in the production test, Claude changed nothing and asked “1 or 2 minutes?” instead of guessing.
No delete tool, on purpose
Deleting, stopping a code or making a new one stay on the web, where a mistake is visible. A leaked token can't wipe what students already use.
Tokens, not passwords
Shown once, stored only as a hash, at most 10 per teacher, and rate-limited. OAuth waits until a real teacher needs it.
What broke, and what it taught

Outtakes from shipping it

Getting a small app through review and onto real phones surfaced problems the simulator never showed.

Apple asked for a video

The first submission was rejected under Guideline 2.1: Apple wanted written notes and a screen recording on a real iPhone. The first recording also showed two bugs.

Fix: two new builds, review notes with a demo code, a clean recording — approved and live on November 23.

Removing one prompt removed both

Hiding the web view's “localhost wants your microphone” prompt also meant iOS never asked, so on a fresh install the tuner heard silence. My test phone had said yes earlier, which hid it.

Fix: the app asks iOS first, re-checks when it comes back, and shows the mic state with an Open Settings button.

The piano note vanished

A piano note fades fast, and the tuner reading disappeared right after the attack.

Fix: hold the last note for a second and show the median of the last five readings.

The tuner heard my voice, not the piano

iOS had quietly picked a pair of Bluetooth glasses as the microphone.

Fix: not a code bug — now the first thing to check, and written down.

The auto-deploy that would have given CI root

I built a GitHub Actions deploy, then saw its key would log in with sudo on a server shared with other projects.

Fix: dropped it. Deploys run by hand from my Mac over Tailscale: tests, upload, health check, and a database backup before migrations.
Choices

Why it's built this way

Local-first
Practice should never depend on a connection. Plans, sessions and saved teacher practices live on the phone; only typing a code needs the network.
A versioned payload
The API sends a schema version. An older app keeps its saved copy and asks for an update instead of breaking.
Invite-only teachers
Sign-in by emailed link, no passwords. The public request form's email repeats nothing the person typed, so it can't be used to send spam.
Small server, small surface
One FastAPI process with SQLite behind Caddy, capped memory and CPU, nightly backups, SSH only over Tailscale.

Credit

The idea came from the musicians Ramiro Miranda and Pedro Oviedo. I built and shipped it. Android is in Google Play closed testing.