-
Notifications
You must be signed in to change notification settings - Fork 139
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
Could not find PyAudio #389
Comments
Thanks for the report. Unfortunately Android doesn't support any of the standard Linux audio APIs, so I think PyAudio / PortAudio would require a new backend in order to work. If anyone else needs this package, please click the thumbs-up button above and subscribe to this issue, and we may look into it in the future. |
Is there any progress on this subject? |
Not yet, sorry. |
After three days of searching a solution i came to know that it is not compatible with android studio 🥲 i am a beginner/student i wanted to implement PayAudio in my Final year project.. my request is to please make it possible... |
You can use the standard Android audio APIs directly, either in Java, Kotlin, or in Python using the Chaquopy API. For an example, see here. |
i think our goal is to convert speech to text real time. so i have an idea, we pass bytes array as agrument of python function, then python function detect and return text to android . Is this solution possible? |
Yes, that should be possible. But I don't think we currently support any Python packages which can decode compressed audio, unless there's a pure-Python option I don't know abot. So you'd have to pass the audio as an uncompressed WAV file, or raw PCM. |
After 3 years any progress? Chaquopy version 15.0.1MacOS 13.5.2Relevant parts of your build.gradle file
Describe your issue
FAILURE: Build failed with an exception. |
No, because as I said above, this would require a substantial amount of work on PyAudio's side. |
I installed chaquopy on my Android Studio then ı tried to run below code
But I got this error
The text was updated successfully, but these errors were encountered: