feat: long press voice button to pick audio file from device#5
feat: long press voice button to pick audio file from device#5cookie223 wants to merge 1 commit intomemex-lab:mainfrom
Conversation
Adds long press gesture on the mic/voice button in the input sheet to open a file picker and select an existing audio file (m4a, mp3, wav, ogg) instead of recording a new one. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Thanks a lot for your contribution to the project! I’m currently working on a feature to support a local speech-to-text (STT) model, specifically SenseVoiceSmall. The reason for this is that most LLMs don't natively support direct audio input. By using a standalone local model, we can handle transcription without requiring additional API keys. This feature might have some code conflicts with your PR. To help me test if the local model can handle your use case effectively, could you let me know the typical size of the audio files you usually upload? Really appreciate you helping out with the development! |
|
For my own use case it is usually voice memo/voice recorder recorded audio. They won't be very large, at most a few MB. |
Summary
m4a,mp3,wav,oggHow it works
Testing
file_pickerpackage supports iOS but behavior on iOS has not been confirmedNotes
This uses the existing
file_pickerdependency. No new packages were added.🤖 Generated with Claude Code