Use Qwen3-ASR as production speech recognizer
This commit is contained in:
@@ -158,7 +158,7 @@ function wavFromPcm16(pcm: Buffer, sampleRate = 24000): Buffer {
|
||||
}
|
||||
|
||||
// The browser transcription relay sends 8 kHz G.711 mu-law, while Athena's
|
||||
// existing Whisper endpoint accepts PCM WAV uploads.
|
||||
// transcription endpoint accepts PCM WAV uploads.
|
||||
function wavFromMulaw8k(audio: Buffer): Buffer {
|
||||
const pcm = Buffer.allocUnsafe(audio.length * 2);
|
||||
for (let i = 0; i < audio.length; i += 1) {
|
||||
@@ -578,7 +578,7 @@ export default definePluginEntry({
|
||||
register(api) {
|
||||
api.registerRealtimeTranscriptionProvider({
|
||||
id: "athena-talk",
|
||||
label: "Athena Whisper (Diktieren)",
|
||||
label: "Athena Qwen3-ASR (Diktieren)",
|
||||
defaultModel: "whisper-1",
|
||||
models: ["whisper-1"],
|
||||
autoSelectOrder: 1,
|
||||
|
||||
Reference in New Issue
Block a user