Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
Add ogg file format support for transcription
grohith3276d1e0fa3b0d3
diff --git a/Sources/Fluid/Services/MeetingTranscriptionService.swift b/Sources/Fluid/Services/MeetingTranscriptionService.swiftindex 7f7539d6..d9e479dd 100644--- a/Sources/Fluid/Services/MeetingTranscriptionService.swift+++ b/Sources/Fluid/Services/MeetingTranscriptionService.swift@@ -159,7 +159,7 @@ final class MeetingTranscriptionService: ObservableObject {// Check file extensionlet fileExtension = fileURL.pathExtension.lowercased()- let supportedFormats = ["wav", "mp3", "m4a", "aac", "flac", "aiff", "caf", "mp4", "mov"]+ let supportedFormats = ["wav", "mp3", "m4a", "ogg", "aac", "flac", "aiff", "caf", "mp4", "mov"]guard supportedFormats.contains(fileExtension) else {throw TranscriptionErrordiff --git a/Sources/Fluid/UI/MeetingTranscriptionView.swift b/Sources/Fluid/UI/MeetingTranscriptionView.swiftindex dc7a95c3..78a520c0 100644--- a/Sources/Fluid/UI/MeetingTranscriptionView.swift+++ b/Sources/Fluid/UI/MeetingTranscriptionView.swift@@ -192,7 +192,7 @@ struct MeetingTranscriptionView: View {Text("Choose Audio or Video File").font(.headline)- Text("Supported: WAV, MP3, M4A, MP4, MOV, and more")+ Text("Supported: WAV, MP3, M4A, OGG, MP4, MOV, and more").font(.caption).foregroundColor(.secondary)}@@ -228,6 +228,7 @@ struct MeetingTranscriptionView: View {UTType(filenameExtension: "wav") ?? .audio,UTType(filenameExtension: "mp3") ?? .audio,UTType(filenameExtension: "m4a") ?? .audio,+ UTType(filenameExtension: "ogg") ?? .audio,],allowsMultipleSelection: false) { result in@@ -544,9 +545,9 @@ struct MeetingTranscriptionView: View {// MARK: - Helper Functions- private static let supportedFileExtensions = ["wav", "mp3", "m4a", "aac", "flac", "aiff", "caf", "mp4", "mov"]+ private static let supportedFileExtensions = ["wav", "mp3", "m4a", "ogg", "aac", "flac", "aiff", "caf", "mp4", "mov"]- private static let dropErrorCopy = "Accepted file types: WAV, MP3, M4A, MP4, MOV, and more."+ private static let dropErrorCopy = "Accepted file types: WAV, MP3, M4A, OGG, MP4, MOV, and more."private func handleDrop(providers: [NSItemProvider]) -> Bool {guard let provider = providers.first else { return false }