Add voice notes: on-device transcription, multi-language, watch capture
- Schema v2: Note.AudioInfo, .m4a sidecar next to the note JSON in iCloud - AudioRecorderService (iOS/macOS) + SpeechAnalyzer transcription pipeline with enabled-language set and confidence-based auto-pick, re-transcribe menu - Settings > Transcription > Languages with asset download/reserve handling - watchOS app + accessory complication: one-button recorder, WCSession transferFile to phone, WatchInbox staging, direct-upsert ingestion - Player UI, transcription status chips, quick-capture mic in notes list - Version 0.2, changelog + README updated
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import SwiftUI
|
||||
|
||||
@main
|
||||
struct NotesWatchApp: App {
|
||||
@State private var services = WatchAppServices()
|
||||
@Environment(\.scenePhase) private var scenePhase
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
NavigationStack {
|
||||
RecordView()
|
||||
}
|
||||
.environment(services)
|
||||
.task { services.bootstrap() }
|
||||
.onOpenURL { url in services.handleDeepLink(url) }
|
||||
}
|
||||
.onChange(of: scenePhase) { _, phase in
|
||||
services.handleScenePhase(phase)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user