Skip to content

Audio mixing from 2 channels #1313

Answered by dturner
MohdIrfan12 asked this question in Q&A
Discussion options

You must be logged in to vote

Does oboe support audio mixing?

The Oboe core codebase does not include any mixing functionality, however, mixing is pretty simple and is demonstrated in some of the samples using the shared Mixer class. Example usage here.

An app I am working on has the following use case...

It sounds like a karaoke app where the user listens to a song through headphones and sings into the microphone to create a voice recording. The voice recording is then mixed with the original song.

If that's the use case then it's pretty simple. You need an output stream to play the song, and an input stream to record the microphone. Once the song is finished, iterate through the recording, mixing it with the or…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dturner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1205 on June 22, 2021 08:45.