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. QT application/function to just record audio and save it.
QtWS25 Last Chance

QT application/function to just record audio and save it.

Scheduled Pinned Locked Moved Unsolved General and Desktop
audio recordingaudio file save
5 Posts 4 Posters 1.5k Views
  • 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.
  • Priyank_P Offline
    Priyank_P Offline
    Priyank_
    wrote on last edited by Priyank_
    #1

    Being a complete noob, i need to know how to "press a button->record audio->save".

    I want when a button in my project is pressed.. it pops up a dialog window with a function of 1.record 2. stop. 3. save.. when save is clicked it saves the recorded .wav/.raw file.
    I need to submit my project soon, so i'm in a hurry. Help?

    Ni.SumiN 1 Reply Last reply
    0
    • A Offline
      A Offline
      alogim
      wrote on last edited by
      #2

      Show us your efforts. Ask for specific help, about a concept you didn't understand.
      It looks like you want us to do your job.

      1 Reply Last reply
      0
      • Priyank_P Priyank_

        Being a complete noob, i need to know how to "press a button->record audio->save".

        I want when a button in my project is pressed.. it pops up a dialog window with a function of 1.record 2. stop. 3. save.. when save is clicked it saves the recorded .wav/.raw file.
        I need to submit my project soon, so i'm in a hurry. Help?

        Ni.SumiN Offline
        Ni.SumiN Offline
        Ni.Sumi
        wrote on last edited by Ni.Sumi
        #3

        Hi @Priyank_

        For recording, saving in the directory in Qt, Qt have already made an example. You can reuse this example.
        http://doc.qt.io/qt-5/qtmultimedia-audiorecorder-example.html

        Priyank_P 1 Reply Last reply
        1
        • Ni.SumiN Ni.Sumi

          Hi @Priyank_

          For recording, saving in the directory in Qt, Qt have already made an example. You can reuse this example.
          http://doc.qt.io/qt-5/qtmultimedia-audiorecorder-example.html

          Priyank_P Offline
          Priyank_P Offline
          Priyank_
          wrote on last edited by
          #4

          @Ni.Sumi Thanks mate! I read that.. understood as well.. now.. how i can save that recorded audio?

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

            Hi and welcome to devnet,

            That's exactly what the example shows how to do. Take a look at the toggleRecord function. It's there that the recording starts.

            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

            • Login

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