Crying Baby Audio Scrub

Experiment to see if crying baby audio can be scrubbed with audio inpainting (use-case: WIP parenting and content creation!)

About This Project

Crying-Baby-Audio-Scrub is a one-time Python experiment that evaluates whether AI-based audio cleaning can remove baby crying and fussing from voice recordings. The project was motivated by the needs of parents who dictate messages, notes, or emails while caring for young children, where background noise can degrade speech-to-text accuracy. The stated goal was not to produce completely child-free audio, but to determine whether the recording could be cleaned enough for speech-to-text systems to function properly.

The repository compares an unedited recording of a shopping list captured over a baby's crying against a version processed with DeepFilterNet, a local deep learning noise suppression model. Transcripts from both versions were generated with the OpenAI Whisper API and compared using a dedicated evaluation script, with results stored in a JSON file. The project also includes an isolated sample of crying audio and documents a second category of cloud-based or GUI audio scrubbing tools that were tested outside the repository. The technical setup relies on Python managed with uv.

The main finding was that Whisper already handled the background crying well, with only five or six minor word-choice differences across 119 seconds of audio between the original and processed transcripts. The project suggests that for voice dictation with this type of background noise, audio cleaning preprocessing may be unnecessary. The work is most relevant to developers building speech-to-text features for parenting or hands-free dictation use cases, and to anyone evaluating whether noise removal is worth adding to a transcription pipeline.

Project Details

Tags

background-noise-removaldeepnetexperimentspocstt

Explore More Projects