Results 1 to 4 of 4

Thread: URGENT : QMultimedia : get the datas of a RAW (audio) file.

  1. #1
    Join Date
    Oct 2009
    Posts
    38
    Platforms
    Unix/X11 Windows
    Thanks
    13

    Default URGENT : QMultimedia : get the datas of a RAW (audio) file.

    Hello !

    The sound datas are stored into the RAW file as Signed Integers.

    But the datas look like this :

    Qt Code:
    1. þûþýþûþûþúþøþøþ÷þøþùþøþöþõþóþòþñþðþðþðþþÀþÁþÁþ¿þ»þºþºþ»þ»þ¹þ¸þ·þ´þ²þ±þ¯þ¯þ®þ*þ«þ©þ©þªþªþ¨þ§þ¥þ¢þ¡þ*þŸþžþœþšþ™þ™þ™þ—þ”þ”þ”þ“þþŒþŒþ‹þŒþ‹þ‰þ†þƒþ„
    To copy to clipboard, switch view to plain text mode 

    How can I get the values of the integers ?
    I think that a QAudioInfo (cf. readData/writeData) might do it, but I don't know how to use it !
    (I already checked the documentation)

    Please help !

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: URGENT : QMultimedia : get the datas of a RAW (audio) file.

    I couldn't find any reference to QAudioInfo in the documentation.

    There's a spectrum analyzer example that makes use of the raw data.
    http://qt.gitorious.org/qt/qt/trees/4.6/demos/spectrum

  3. #3
    Join Date
    Oct 2009
    Posts
    38
    Platforms
    Unix/X11 Windows
    Thanks
    13

    Default Re: URGENT : QMultimedia : get the datas of a RAW (audio) file.

    sorry I meant QAudioDeviceInfo
    thanks for the link, I'll study that

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: URGENT : QMultimedia : get the datas of a RAW (audio) file.

    A small note: Marking a thread as "urgent" typically has the opposite effect. You are not paying for support so people will take insult which may mean you get fewer answers.

Similar Threads

  1. Replies: 0
    Last Post: 6th December 2009, 13:14
  2. Replies: 5
    Last Post: 18th December 2008, 13:58
  3. [URGENT] Weird compile error [URGENT]
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 24th May 2008, 23:54
  4. To make audio and video file player in Qt
    By merry in forum Qt Programming
    Replies: 11
    Last Post: 24th January 2008, 06:31
  5. Printing RGB datas into widget
    By agsrinivasan in forum Qt Programming
    Replies: 4
    Last Post: 7th February 2007, 09:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.