
Downmixes one AudioFrame to mono, resamples to 16 kHz, and runs SeamlessM4T v2 speech-to-text translation into a configured target language, returning a single String; silent or failing audio yields the empty string.
Translate a recorded clip set into another language and publish the running text. The frame source paces audio, this component decodes and translates each chunk, and the JSON sink streams the strings out.
Compare same-language transcription against cross-language translation on the same source by fanning one audio stream into a verbatim ASR path and this translation path.
String before the model runs, and any exception raised during decoding is caught and also returned as the empty string, so a failing call is indistinguishable from genuine silence.String; multi-channel input is downmixed to mono and any sample rate other than 16 kHz is resampled internally before inference.Automated release