Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to save raw data as .wav file

How to save raw data as .wav file

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 3.3k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    archound
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JhezzyK
      Banned
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • K Offline
        K Offline
        kqt-mr-nv6
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved