I’m going to showcase the HeadSpin audio apis. In this demonstration, I will:
- Start a Google Hangouts with myself
- Capture the audio and,
- Injected it on the device.
So what I’ll do now is leverage our audio capture API and I will go ahead and execute this.
I’ve specified the max duration to be 30 seconds. What will happen now is that any audio that I utter in this remaining 30 seconds will be captured as part of the API. So that said just talk through a couple more utterances here. Today is Monday, October 8th. And currently this audio is being captured and I will inject this into the session. So now that this is finished.
I have an audio ID, which I can use for the next step of the pipeline which is preparing the audio for the injection. So I’ll go ahead and place my audio ID in this parameter now go ahead and run the prepared pan.
So my audio is finished preparing. And now what I can do is because this session is still ongoing. Go ahead and inject it into the session.
Max duration 30 seconds. What will happen now is that any audio that order in this remaining 30 seconds will be captured as part of the API. That said just talk through a couple more utterances here. Today is Monday, October 8th.
Lastly what I can do is now that I’ve injected the Audio, I can actually also go ahead and download it. So I will use our download endpoint and just pass in the audio ID and grab a local copy.
Accelerate your Automation Skills
Introducing HeadSpin University