PDA

View Full Version : Audio Recording with Phonon



Nemo
11th June 2008, 11:54
Hi guys,

I have been trying to create a Audio Recorder with Qt so that I can use it on my Mac and PC. I tried to use Phonon but I cannot seem to find any examples or Documentation as to how to do it. Could any one please suggest a way of doing this or point me to an example ? Any help would be appreciated. Thanks in advance.

JimDaniel
11th June 2008, 21:02
From my experience with Phonon, its not able to do anything like that at the moment. Its very new, they plan to add many features, audio capture is surely one of them. Right now I believe its only good for simple media playback.

In the meantime, I suggest using a library like FMOD. Its free for non-commercial use, or very cheap if you plan to distribute for a low price on the internet. Plus its awesome. Like Qt for audio. :-)

Nemo
11th June 2008, 23:41
Thank you! FMOD does look very inviting, I will look into its details tomorrow, any suggestions for similar software for video ? :)

JimDaniel
12th June 2008, 00:33
Not really. At work we use DirectShow, which sort of sucks. We are looking forward to the day when Phonon is capable for capturing video/audio.

I attached a Qt FMOD sound class I used for a project awhile back. It's only for streaming sound, useful for an audio player, but maybe you can use it somewhere, or at least get an idea how FMOD works alongside Qt.

2323

Nemo
12th June 2008, 06:31
Thanks mate. Looks like we will probably not do this module in QT afterall.