Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Recording audio to multiple files
Qt 6.11 is out! See what's new in the release blog

[solved] Recording audio to multiple files

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 969 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved