Add audio recording feature to SampleUpload component

- Introduced functionality to record audio directly from the microphone, allowing users to switch between uploading files and recording.
- Implemented state management for recording status and duration, with user feedback through toast notifications.
- Updated Info.plist to include microphone usage description for better user transparency.
- Enhanced the UI with tabs for selecting between upload and record modes, improving user experience.
This commit is contained in:
Jamie Pine
2026-01-25 12:47:07 -08:00
parent c876fabcd4
commit 6fa2966371
5 changed files with 391 additions and 43 deletions
+2
View File
@@ -6,5 +6,7 @@
<string>voicebox</string>
<key>CFBundleIconName</key>
<string>voicebox</string>
<key>NSMicrophoneUsageDescription</key>
<string>voicebox needs microphone access to record voice samples for voice cloning.</string>
</dict>
</plist>