How to save raw data as .wav file



  • Hi folks,

    In my code I read an arbitrary .wav file, use filter operation on received data and analyze the signal.
    However at the end I would like to save processed data to a new .wav file.

    I've got raw data and sample rate - is there any build in set of Qt functions I can utilize in my project?
    Or should I just make a mirror class to my "read wav" one?
    (It was not wrote by me, but I can still understand it).

    On this forum I've found sth like this:
    http://qt-project.org/forums/viewthread/6899

    But this is probably not what I am looking for.
    I just do not want to waste my time if there is a simpler approach.



  • It's not only the Americans who experienced such things like this. This is a global economic problem that everyone of us should be aware of in order to survive. A study released Tuesday by the United States Census Bureau shows that progressively Americans are giving up their battle to stay afloat in an economic climate that refuses to recuperate. The number of Americans residing beneath the poverty line has increased to its highest number since the bureau started keeping such reports in 1959. Article resource: " Americans below poverty line is highest number since records began":http://personalmoneynetwork.com/moneyblog/2011/09/13/below-poverty-line/



  • There are no direct qt functions to write to a '.wav' file
    you have to write as per standard WAV file format
    use the code in the referred post


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.