Mixing audio streams
jankokaj last edited by
So far I have been able to make a media player using phonon and create interface in QML to control it. Now I would like to be able to play karaoke files in my media player and as I understood I cannot use phonon for this as it does not have low level audio support.
I would like to record audio from the input and mix it with audio playing from an mp3 or midi file. Can somebody point me in the right direction? Which approach to take and what to learn in Qt? Is Qt multimedia able to do this?
Any advice is welcome as I am completely unfamiliar with this level of audio manipulation.
Hi and welcome to devnet,
Qt Multimedia might not be the best framework for that task. However what you can try is to retrieve audio from both the file using QAudioDecoder and the microphone using QAudioInput and then use a library like DSPFilters to the mixing part before you output the result with QAudioOutput
Hope it helps