Skip to content
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

Added iOS audio recording implementation #435

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nephyx
Copy link
Contributor

@Nephyx Nephyx commented Oct 12, 2018

Added audio recording and playback for iOS using Apple's Objective-C API via pyobjus.
Audio files are recorded with 44.1 kHz sample rate in WAV format.

Related to pull request #428.
Closes issue #282.

@tito tito self-assigned this Oct 12, 2018
@burgil
Copy link

burgil commented May 31, 2021

Thank you very much, I was looking for this, I was actually looking for STT solution that will work with iOS but then I figured that I might be able to do it myself by sending audio recordings to an external server, Is there any plans for an iOS STT solution?

Also, According to the Supported APIs table Speech to Text (STT) only works on Android but shouldn't it also work on Windows using something like this?: https://pypi.org/project/SpeechRecognition/1.2.3/

@banasiakmichal
Copy link

banasiakmichal commented Feb 8, 2022

Hi there, guys do You still support audio recording for iOS (?)
I checked out code from https://github.com/Nephyx/plyer/blob/ios_audio/plyer/platforms/ios/audio.py.
Basically there are some issues ( iOS 15.2, iPhone 7). The output looks like this:

[INFO ] [Base ] Start application main loop
2022-02-08 15:12:41.751431+0200 domi[8191:4020460] Unbalanced calls to begin/end appearance transitions for <SDL_uikitviewcontroller: 0x7f7be77cdd80>.
2022-02-08 15:12:41.752343+0200 domi[8191:4020460] Unbalanced calls to begin/end appearance transitions for <SDL_uikitviewcontroller: 0x7f7be77cdd80>.
2022-02-08 15:13:20.228573+0200 domi[8191:4020460] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000038b3ca0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-02-08 15:13:20.286350+0200 domi[8191:4020460] CreateDataFile failed
2022-02-08 15:13:20.287093+0200 domi[8191:4020460] Couldn't create a new audio file object
(lldb)

[Thread 1 : EXC_BAD_ACCESS (Code = 1, address = 0x30000008)]

is it a problem with device memory ?? Could You give any tips ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants