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.

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.
  • P Offline
    P Offline
    Priyank_
    wrote on 6 Mar 2016, 17:36 last edited by Priyank_ 3 Jun 2016, 17:39
    #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?

    N 1 Reply Last reply 6 Mar 2016, 19:41
    0
    • A Offline
      A Offline
      alogim
      wrote on 6 Mar 2016, 18:36 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
      • P Priyank_
        6 Mar 2016, 17:36

        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?

        N Offline
        N Offline
        Ni.Sumi
        wrote on 6 Mar 2016, 19:41 last edited by Ni.Sumi 3 Jun 2016, 19:44
        #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

        P 1 Reply Last reply 7 Mar 2016, 21:16
        1
        • N Ni.Sumi
          6 Mar 2016, 19:41

          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

          P Offline
          P Offline
          Priyank_
          wrote on 7 Mar 2016, 21:16 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 7 Mar 2016, 22:41 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

            5/5

            7 Mar 2016, 22:41

            • Login

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