Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

new mic integration #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

erikvillegas1
Copy link

Added WITMicViewController and supporting files (reachability class, waveform drawing class, WITResponse model object, sounds, and images). Users just need to create a child controller that is of type WITMicViewController and become it's delegate.

Other changes I made to SDK:

  • Added code that allows the microphone to cancel the request when no speech is detected.
  • Switched timer implementation from CADisplayLink to NSTimer so the mic can detect audio levels when app is in the background
  • Modified the AVAudioSession to switch audio routes depending on whether headset was plugged in or not.

@lasryaric
Copy link
Contributor

Hi @erikvillegas1 - I have to work on the SDK and I wanted to start from your pull request since there is many interesting things in it.

The problem is that it does not compile.
Here is a short list of what is missing:

And I found other issue when enabling the debug mode (by adding #define WIT_DEBUG 1).

So it looks like you forgot to push a commit or forgot a few files. Can you please fix it so I can have a look at it and work on top of it?

thanks.

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

Successfully merging this pull request may close these issues.

3 participants