Read the report (PDF) Code on GitHub

A little board that listens for the r sound

Kids say short words, a speech therapist checks every call, and it all works offline

See how it works

What happens, in three steps

  1. 1

    A child says the word

    Short words with the r sound, like "rabbit". The screen shows the word, its picture, and Patch, the buddy.

  2. 2

    The board judges the r

    Arti, a small model we trained, runs on a Texas Instruments SK-AM62B. No audio leaves the board.

  3. 3

    The speech therapist decides

    The school speech-language pathologist (SLP) sees each call on a laptop and agrees or disagrees.

One word, start to finish

This is an example session. The child's screen is on the left and the SLP's screen is on the right. Step through it with Next or the arrow keys.

    Step 1 of 6

    Pick the look

    On the board

    Child screen, HDMIwatch here
    SLP view, laptopwatch here
    Speak UpExample child, 8 yr 2 mo

    World

    Buddy

    PatchDustyJuniperToffee

    Tap a world to see the child screen change. This page draws Patch only.

    What the SLP sees for one clip

    Arti's call comes with the evidence behind it. Follow the numbers the way an SLP checks one clip.

    1. 1Look at the call
    2. 2 to 4Check the evidence
    3. 5Listen
    4. 6Decide
    Example
    Speak Up
    StudentExample child
    Age8 yr 2 mo
    NowWord 1 of 10
    VoiceChild voice

    Arti suggests

    rabbit
    Arti heard: the r sounded off. Do you agree?
    81% sure. Heard: the r sounded off. Flagged for age 8 yr 2 mo. Model: arti-v2-soft.
    Flagged: this error is expected to be gone by 7 yr 0 mo, and the child is 8 yr 2 mo.
    Measured F3-F2 gap: 1,420 Hz, above the 1,053 Hz line. In the training children, a correct start r measured about 684 Hz and an off one about 1,358 Hz. The measurement agrees with Arti.
    DisagreeThe r sounded right (D)AgreeThe r sounded off (A)Listen
    againL

    Not checked yet. Next keeps Arti's call.

    Next word →

    Evidence: recording, voice, sound picture

    Recording OK0.6 s of speech, loudest point 17,840 of 32,767.
    Picked automatically, listen to check0.30 s to 1.10 s (0.80 s) of 1.40 s

    Sound picture (estimate)

    0k2k4k6kF3-F2 gap 1,420 Hz0.0 s0.1 s0.2 s0.3 s0.4 s0.5 s0.6 s0.7 s0.8 s

    F3-F2 gap where the r should be: 1,420 Hz (experimental).

    F1F2F3where the r should bedark = more energy

    Screening aid, not a diagnosis. The SLP decides.

    1. Arti's call, and how sure it is
    2. Flagged because this error should be gone by age 7
    3. The F3-F2 gap, checked against the training children
    4. The sound picture marks where the r should be
    5. The box is the part Arti scored. Listen to it, or drag it
    6. Listen again, then Agree or Disagree. The SLP decides

    An example clip, not a real child, and we drew the spectrogram for this page. "81% sure" is Arti's p_wrong of 0.81, the same example value as in step 4.

    Practice mode and the Sound Book

    Two more parts of the app, both built. One is for the child between screenings. The other helps the SLP read the evidence.

    Built

    Practice mode, with a coach

    The child says practice words. After a miss, the coach stays on the child's weakest r position, at the start, middle or end of the word, and shows a short tip.

    Tips come from our SLP side and need approval before a child sees them. Qwen, the small language model on the board, only rewords those tips. Code checks every rewording, and if one fails, the child gets the approved tip.

    The child's screen never shows a score or a result. The SLP checks every call.

    Built, draft content

    The Sound Book

    A reference guide for SLPs inside the app, at /book. It explains each part of the SLP screen: the waveform, the spectrogram, the formant dots, pitch, intensity and the F3-F2 gap.

    Then it has one entry per English sound, each with the same four parts:

    1. What it should look like
    2. Why
    3. Typical values, with sources
    4. Common errors

    It is a draft. Numbers we could not confirm are tagged UNVERIFIED, and the example pictures are computer-made from published averages, not recordings of children.

    The finished version would be reviewed by a licensed SLP, use real child recordings collected with consent, and come as a printable booklet plus an in-app guide.

    We tested Arti on children it never heard

    We kept 300 clips from 55 children out of training. Then we checked Arti's calls on them against trained listeners.

    • 268 / 300Arti v2 agreed with the human listener majority on 268 of 300 clear test clips from 55 held-out children.Our first model, v0: 258. The F3-F2 acoustic rule: 214.
    • 46.5 msper word on the TI SK-AM62B, fully offline.Idle board, one thread.
    • +0.338Raising F3 inside the r with Praat raised Arti's error score by +0.338. Outside the r, the control, it moved +0.005.Arti reacts to the real r cue.
    • 125 of 150wrong r sounds caught
    • 7 of 150correct r sounds flagged by mistake
    • 1.27 MBthe model file, about 81,000 parameters

    The test clips come from TalkBank's PERCEPT-R corpus. The children were 6 to 11, and the listeners mostly agreed on these clips. The session in the walkthrough is an example, and so is its p_wrong value.

    What it doesn't do

    • It doesn't diagnose

      It flags what it heard. The SLP agrees or disagrees with every call and makes every decision.

    • It doesn't go online

      There's no network and no cloud. The repo has no audio or child data.

    • We can't share the model

      TalkBank asked us not to share models trained on its PERCEPT-R data. The repo has the training scripts, so you can train your own.

    • More sounds

      For children no SLP has had time to screen yet

      Today Arti checks one sound, r. Next we want more, starting with /s/, and we want Arti to name the kind of error, such as gliding or a lisp. First we need recordings that trained listeners have rated. Almost no public child speech has its errors marked.

    • A camera that watches the mouth

      For the SLP, when a recording is hard to judge by ear

      A Raspberry Pi 5 camera tracks mouth landmarks during each word: lip rounding, lip spread and jaw opening. It keeps only those numbers, never video frames.

      Paired with Arti, that is a second, independent signal. When the two agree, the call is more trustworthy. When they disagree, or Arti is unsure, the clip is flagged for the SLP to watch and listen to first. The SLP decides everything.

    • One board for sound and camera

      For running both models at once, with no internet

      TI's AM62A board has about 2 TOPS of AI acceleration. It would run the audio model and the camera model side by side on one board, in real time, fully offline.

    • Progress the SLP can see

      For the school SLP

      Next, flagged recordings reach the SLP securely, and the SLP can follow each child's progress across sessions. The screening keeps working with no internet.

    • Speech tools that learn each person

      For people a one-size setting fits badly, like an older adult who pauses longer mid-sentence

      Many voice assistants decide you're done after a pause of set length. Older speakers tend to pause more, so an assistant can cut them off.

      Siri and Alexa already let you set a longer wait by hand. Apple's Listen for Atypical Speech and Google's Project Relate already adapt speech recognition to one person's speech.

      Our angle is the habit behind our /s/ check: compare a person with their own speech. A small offline board could learn your pauses that way.

    Where we are now

    Arti checks the r sound on the board, with no internet. The /s/ check is in our code today, as a command-line tool. It compares a child's /s/ with the same child's "sh" and "th" from the same session.

    Its cutoffs are only a starting point. We haven't tested them on rated recordings, and the app doesn't use the check yet. Everything in the cards above is future work.

    More children screened, more time for specialists, and more opportunities for every child to be heard.

    The Speak Up team
    Future work, not built

    Past the r sound

    We built Speak Up for speech therapists, and that took nearly all our time. Talking with other research students showed us that the speech system underneath could do more. It could become the base for a general system that understands atypical speech, describes how it sounds, and finds the patterns that standard speech recognition often overlooks.

    We also want to go past naming an error and work out the articulatory movements that may produce it.

    To get there, the system has to answer one question:

    What acoustic events occurred, how were the sounds produced, how did they differ from the intended sounds, and what patterns emerge across repeated speech?

    The pipeline we would need to build

    1. 1

      Input that keeps the detail

      voice sampletiming + frequency

      A voice sample has to become something a model can read. Standard speech recognition keeps what it needs to find the words. We need the sounds, frequencies and tones in the waveform, and most of all, representations that keep timing and spectral detail.

    2. 2

      Encoders that look for what went wrong

      Exampletypicalrabbitoursrabitthe r sounded off

      Typical encoders are built for transcription. They turn sound into a good guess of the words. Ours would also find patterns in how a sound goes wrong, so the system can transcribe more accurately or describe what is wrong with the sound.

    3. 3

      Finer time slices where it counts

      about 20 msburstfiner slices

      Speech systems usually cut audio into slices of about 20 ms. Quick transitions that release a burst of energy need smaller slices to see clearly. Adaptive resolution uses smaller slices only around those bursts, so the rest stays efficient.

    4. 4

      A richer prediction objective

      modelsounds madeacoustic featuresintended meaningrecurring deviations

      This is what the model tries to produce from everything before it. Most systems aim for the intended words. Ours would predict the sounds made, their acoustic features, the intended meaning, and the deviations that keep coming back. With all four, the system could adjust to fit each user.

    5. 5

      Training with several losses

      phonetic accuracyhow far it straysacoustic behaviortimingmodel

      Most systems train for one thing, fewer transcription errors. We can aim higher. Several losses at once can measure phonetic accuracy, how far a sound strays from its usual form, its acoustic behavior, and its timing.

    The hardest part is the data

    A system like this needs speech from people of every background and age, and from people with speech impairments. Building Arti showed us the gap. Almost no public child speech has its errors marked.

    So we need an efficient way to collect that speech at scale.