[solved] Recording audio to multiple files



  • I've tried the examples provided for QAudioRecorder and writing files from a QAudioInput and am able to record audio with a defined number of channels. However, I wonder does anyone know the best way to record multiple audio files (one for each channel of input on the sound card or aggregate device) with QAudioRecorder? For example if our sound card has 4 inputs, the program should create 4 files (recording1.wav, recording2.wav, recording3.wav, recording4.wav) all starting and ending at the same point in time.

    I'm not sure where to start as I don't know how to select a certain 'channel' to assign as an input. Any help greatly appreciated.


  • Lifetime Qt Champion

    Hi,

    QAudioRecorder is not meant for such advance use. You shoulder rather take a look at e.g. PortAudio

    Hope it helps



  • Thanks for the reply. I'll take a look in to port audio.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.