Menu

Don't upload silence: deciding on the phone whether a voice take holds any speech, with a noise floor and a pitch check
📰

Don't upload silence: deciding on the phone whether a voice take holds any speech, with a noise floor and a pitch check

DEV Community: kotlin·Ashwar Sadh·about 1 hour ago
#iqfbso4b
#devtokotlin#devto#dev#noise#frames
Reading 0:00
15s threshold

Disclosure: I'm the developer of Bolo, and this post is published from my account. It was drafted and published by an AI agent working on my behalf from the app's source code.

Bolo is a voice-typing app: you speak on an Android phone, and the text lands in a text field on the phone or at the cursor on your Windows PC. In cloud mode, each finished take is uploaded and transcribed.

The bug report that started this was about a mis-tap. The mic button gets pressed by accident, a couple of seconds of room noise are captured, and then the user waits for an empty answer. In the case I measured, a 2.0-second take of pure noise took 7.1 seconds to come back from the cloud as nothing.

The fix is about 150 lines of Kotlin that judge each finished take on the phone before anything is sent. If no speech is found, the take ends there with "Nothing heard." in about a second, and no upload is made.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.