VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
test(ios): fix variable name clash in the dub French check
debpalashbe996b833cd9
diff --git a/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift b/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swiftindex be30937a1..e6c230e75 100644--- a/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift+++ b/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift@@ -197,9 +197,9 @@ func realAuxiliaryPhoneDubOfflineAndResume() async throws {print("Phone dub native segments:", result.segments.map { $0.speech.text })print("Phone dub native translation:", translated)// Must be French, not the source echoed back (the prompt once named the source "auto").- let source = result.segments.map { $0.speech.text }.joined(separator: " ").lowercased()+ let spoken = result.segments.map { $0.speech.text }.joined(separator: " ").lowercased()let words = Set(translated.split { !$0.isLetter && $0 != "'" }.map(String.init))- #expect(translated != source && !words.isDisjoint(with: ["le", "la", "les", "des", "du", "un", "une", "et", "est", "par", "pour", "vous", "comment", "toi"]))+ #expect(translated != spoken && !words.isDisjoint(with: ["le", "la", "les", "des", "du", "un", "une", "et", "est", "par", "pour", "vous", "comment", "toi"]))let wave = try await store.file(request.id,result.outputs[0].file)let decoded = try await AVPhoneAudioDecoder().decode(source: wave,output: root.appendingPathComponent("result.pcm"),maxSeconds: 30,progress: { _ in })#expect(try decoded.frames > 1000)