Unsolved QT application/function to just record audio and save it.
-
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? -
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. -
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 -
@Ni.Sumi Thanks mate! I read that.. understood as well.. now.. how i can save that recorded audio?
-
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.