-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Requires permission android.permission.RECORD_AUDIO #4
Comments
This might be a Termux-API required permission. I'll look in to it |
Ah thanks for the pointer. I didn't have Termux-API installed so I did that now (https://f-droid.org/en/packages/com.termux.api/) Then I granted Termux-API microphone permission in the android settings. I also installed termux-api package with Now the permission error is gone. Then I got an error
So I fixed that. |
What type of audio files are supported? I tried recording one with Also where does |
it's` designed to work on .wav files, you can check the encoding using ffmpeg from within termux. This should also be the default microphone recording format if you use termux-microphone-record. A note on that, when stopping termux-microphone-record, you need to give the system a second (I use a 200 ms wait) to finalize the file before you do anything with the data. sapphire-core.py doesn't come from anywhere. I have a personal script I was using for it that ties into the Sapphire assistant/Sapphire Framework prototype I've been working on in Python. You can make a file called sapphire-core.py and put ANY python into it, and it'll executre. Personally, I was using it to take the transcription file and use it to interpret the command of the user. A form of running an assistant with 'less than real time' command recognition |
Android 11
The text was updated successfully, but these errors were encountered: