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? -
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? -
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 -
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.