|Platforms||ios 10.3, requires ARC|
Start recording when the user speaks. All you have to do is tell us when to
start listening. Then we wait for an audible noise and start recording. This is
mostly useful for user speech input and the "Start talking now prompt".
:pizza: Virtual tip jar: https://amazon.com/hz/wishlist/ls/EE78A23EEGQB
- You can start recording when sound is detected, or immediately
- Sound stops recording when the user is done talking
- Works with ARC and iOS 5+
First, install by adding
pod 'FDSoundActivatedRecorder', '~> 1.0.0' to your
Import the project with:
Then begin listening with:
self.recorder = FDSoundActivatedRecorder() self.recorder.delegate = self self.recorder.startListening()
A full implementation example is provided in this project.
If your app is in the app store, I would much appreciate if you could add your
app to https://www.cocoacontrols.com/controls/fdsoundactivatedrecorder under
"Apps using this control" and "I Use This Control".
The full API, from Wed, 01 May 2019 10:47:08 +0000
Wed, 01 May 2019 10:47:08 +0000