I Mix Up L and N, So I Built a Practice App

I mix up L and N. That is why I built L & N: Speech Practice, a small app for practising the contrast in English, Mandarin and Cantonese. I use it myself, and both the pronunciation feedback and the listening exercises have been useful in my own practice.

The loop is short: hear a word, say it, see what the recognizer heard, and try again. There is also a separate listening test. Keeping those two activities separate turned out to be an important design choice.

The engineering details below describe the first listening build, which I wrote about on September 20, 2026.

A score should tell me what happened

If I am practising light and the recognizer hears night, a cheerful percentage is not enough. I need to see the word it heard and which contrast to work on.

That build combined word recognition with a small model that examined the beginning of the recording. The recognizer established which member of the pair it heard when it could; the onset model contributed acoustic evidence about L versus N. When the recognizer clearly heard the other word, the score was capped and the feedback said so. An empty transcript produced no saved score.

This division matters because an early hand-written acoustic rule disagreed with the recognizer even on the app’s own example audio. Replacing it with a trained onset model helped, but hiding the disagreement behind a single number would have left the interface confusing.

The onset-model development note explains that change and its tests. Most of that model’s training speech was English and came from one speaker, so those test results are not an accuracy claim for everyone speaking into a phone. What I want from the practice screen is useful feedback I can inspect, not a certificate for my pronunciation.

Hearing the difference is a separate exercise

The Listen tab plays a short sequence from one pair:

light · night · light · light · night

You tap what you heard in order, then submit. Each result row shows the played word and your answer, with a replay button. Nothing is revealed partway through the round.

The L & N web app's Listen screen, with English light/night selected and a five-word round ready to play.

The web app, ready for a five-word round.

Rounds have three, five or seven words. Both words appear, repeats are allowed, and a word never repeats more than three times in a row. I kept the sequences short so remembering a long list would not become the main task; this is still a listening-and-memory exercise, not a pure measurement of hearing.

Unlike the pronunciation score, the listening result needs no speech model: it compares each tap with the word that was played. That makes a mistake easy to revisit. Play the missed position again, then hear its partner.

Small audio decisions matter

The two words in a pair use the same synthetic voice. Otherwise, a listener might learn to distinguish the voices rather than the consonants. There is one voice for each language, with checks on the generated clips before they enter the listening exercise.

Those checks did not settle every case. Two Cantonese clips remained ambiguous under the verification pipeline, so their pairs were left out of that first listening test. They remained available in pronunciation practice. An uncertain example should not quietly become the answer key.

Each isolated word is also a separate audio file. An earlier playback approach relied on seeking within a longer recording, which did not work consistently across the web and native asset handlers. Small files made playback easier to reason about.

The normal web path schedules the clips on the Web Audio clock. A fallback uses an audio element. There is an extra pause before a repeated word, so night, night is less likely to sound like one long word. The listening-exam implementation note covers the sequence rules, clip checks and playback paths.

Try one pair

Not sure whether you hear the difference? The free light and night audio lesson has both examples and a short practice sequence you can try before installing anything.

Start with a three-word round. Replay a missed position, compare the two examples, then switch to speaking practice and record one word. There is no need to turn it into a long study session.

Get L & N on the App Store or Google Play. The US iPhone price is $0.99; check the store listing for your region. There is no account to create. The short English walkthrough shows the app before you install it.

Leave a Reply