Results 1 to 4 of 4

Thread: Audio player to play an array

  1. #1
    Join Date
    Dec 2012
    Posts
    45
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Windows
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Audio player to play an array

    I want to make an audio player in qt in which if i give an array it should play it and give a output sound, can any one give me a strat up idea to do so ?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Audio player to play an array


  3. #3
    Join Date
    Dec 2012
    Posts
    45
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Windows
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: Audio player to play an array

    i want to know how to convert an array to audio format so that we can use it as input to QAudioOuput class

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Audio player to play an array

    If the array is a typical pile of samples then the example in the QAudioOutput docs coupled with QBuffer (in place of QFile) should be sufficient to play the sound. Otherwise, convert of array of what to what audio format?

Similar Threads

  1. Replies: 0
    Last Post: 19th September 2011, 10:11
  2. looping problem in phonon audio player
    By vinayaka in forum Newbie
    Replies: 2
    Last Post: 12th August 2011, 10:04
  3. how to play audio file in qml
    By hema in forum Newbie
    Replies: 0
    Last Post: 10th August 2011, 10:57
  4. play audio url
    By tungvc in forum Qt Programming
    Replies: 0
    Last Post: 15th July 2010, 11:04
  5. To make audio and video file player in Qt
    By merry in forum Qt Programming
    Replies: 11
    Last Post: 24th January 2008, 06:31

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.