Processing the audio once

A microphone listening for a French wake word and a German command receives a single stream of audio. Alkove Spot sends it through shared layers first. In the release, the Alkove Cue file that processes the audio is 1.3 MB and the shared Spot file is 0.55 MB. Those files are the same for both languages. When another language is added, Spot also sends the shared audio features through a separate layer for that language.[1]

Each language has a 0.34 MB file in Spot. Moving from one language to two also loads Alkove's 264 KB classifier, which picks among the loaded languages. That makes the second language different from later additions in a product team's file budget. It brings in two new files. A subsequent language adds just its own weights. A device that ships with one language still carries out the shared audio processing.[1]

The cost of an always-on microphone

In Alkove's Galaxy Z Fold8 measurement, the shared layers and one language processed one second of audio in 4.1 ms of CPU time. For a product listening in several languages, one variable is how often each language layer runs. Alkove's software uses the layers for the languages of the target words. When some of the speech reaching the microphone has nothing to do with those commands, the timing of these calls may also affect the total CPU workload.[1]

An interface that uses one command language has less reason to keep every language on the device. In an interface that listens in several languages at once, users experience the difference in which speech the device accepts as a command. Spot's option to listen after a pause affects that decision. The hardware question is how much work the device does on each chunk of audio while it waits, as well as how many weights it carries per language.[1]