Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

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

    General and Desktop
    audio recording audio file save
    4
    5
    1087
    Loading More Posts
    • 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_
      Priyank_ last edited by 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.Sumi 1 Reply Last reply Reply Quote 0
      • A
        alogim last edited by

        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 Reply Quote 0
        • Ni.Sumi
          Ni.Sumi @Priyank_ last edited by 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_ 1 Reply Last reply Reply Quote 1
          • Priyank_
            Priyank_ @Ni.Sumi last edited by

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

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              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 Reply Quote 0
              • First post
                Last post