Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-06-13 | 2.2 kB | |
v0.13.0 source code.tar.gz | 2025-06-13 | 1.5 MB | |
v0.13.0 source code.zip | 2025-06-13 | 1.6 MB | |
Totals: 3 Items | 3.1 MB | 1 |
New API
- Async VAD Support:
voiceActivityAsync(in:)
method forVoiceActivityDetector
- Segments Discovery Callback:
transcribe()
method is now acceptingSegmentDiscoveryCallback
to receive sortable segments while transcribing with accurate seek values
⚠️ Deprecated Functions → Utility Classes
Existing code continues to work with deprecation warnings.
:::swift
// Old → New
compressionRatio(of:) → TextUtilities.compressionRatio(of:)
formatSegments(_:withTimestamps:) → TranscriptionUtilities.formatSegments(_:withTimestamps:)
loadTokenizer(for:tokenizerFolder:useBackgroundSession:) → ModelUtilities.loadTokenizer(for:tokenizerFolder:useBackgroundSession:)
modelSupport(for:from:) → ModelUtilities.modelSupport(for:from:)
detectModelURL(inFolder:named:) → ModelUtilities.detectModelURL(inFolder:named:)
findLongestCommonPrefix(_:_:) → TranscriptionUtilities.findLongestCommonPrefix(_:_:)
mergeTranscriptionResults(_:confirmedWords:) → TranscriptionUtilities.mergeTranscriptionResults(_:confirmedWords:)
resolveAbsolutePath(_:) → FileManager.resolveAbsolutePath(_:)
Protocol-Based Decoder Inputs
:::swift
// Old
func decodeText(using decoderInputs: DecodingInputs) -> DecodingResult
// New
func decodeText(using decoderInputs: any DecodingInputsType) -> DecodingResult
What's Changed
- Fix modelSupport where prefix overlaps with different hardware chips by @a2they in https://github.com/argmaxinc/WhisperKit/pull/326
- fix: the issue where filenames containing dots are not handled correctly when generating the report path by @JimLiu in https://github.com/argmaxinc/WhisperKit/pull/333
- Sortable segment discovery during VAD chunking by @ZachNagengast in https://github.com/argmaxinc/WhisperKit/pull/334
- Refactor and cleanup utils, add protocol
DecodingInputsType
for DecoderInputs by @a2they in https://github.com/argmaxinc/WhisperKit/pull/338
New Contributors
- @JimLiu made their first contribution in https://github.com/argmaxinc/WhisperKit/pull/333
Full Changelog: https://github.com/argmaxinc/WhisperKit/compare/v0.12.0...v0.13.0