feat: add NVIDIA Parakeet TDT v3 as alternative ASR engine#51
Merged
Conversation
4e3399e to
6a6e8b6
Compare
…gine Introduce `TranscribingEngine` protocol to abstract ASR backends, allowing users to switch between WhisperKit and Parakeet in Settings. Parakeet runs via FluidAudio CoreML (~50 MB model, ~10× faster than Whisper Large v3, 25 European languages). - Add `TranscribingEngine` protocol with `mergeDualSourceSegments` default impl - Add `ParakeetEngine` wrapping FluidAudio's `AsrManager`/`AsrModels` - Conform `WhisperKitEngine` to protocol, move merge logic to extension - Add `TranscriptionEngineSetting` enum + engine picker in SettingsView - Wire `activeTranscriptionEngine` through AppState → PipelineQueue - Auto-load selected engine model on app launch - Update 559 tests (0 failures) Closes #47
- ParakeetEngineTests (13): initial state, protocol conformance, merge, dedup - TranscribingEngineTests (14): mergeDualSourceSegments labels, sorting, delay, empty inputs - ParakeetE2ETests (6): model load, transcription with fixture, German content - AppStateTests +5: engine switching (activeTranscriptionEngine, pipeline wiring) Total: 559 → 597 tests, 0 failures
- Add TranscribingEngine protocol and ParakeetEngine to project structure - Update pipeline diagrams to show [WhisperKit | Parakeet] engine selection - Add engine comparison table (languages, model size, speed) - Update recording pipeline to reflect 16kHz capture-time normalization - Update test counts (597)
6a6e8b6 to
22aa1e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TranscribingEngineprotocol to abstract ASR backends (WhisperKit, Parakeet)ParakeetEnginewrapping FluidAudio's CoreML-based Parakeet TDT v3 (~50 MB model, ~10× faster than Whisper Large v3, 25 European languages)Test plan
ParakeetEngineTests(13 unit tests: state, conformance, merge, dedup)TranscribingEngineTests(14 tests: mergeDualSourceSegments protocol extension)ParakeetE2ETests(6 tests: model load, transcription, German content)AppStateTests+5 engine switching testsCloses #47