[Solved] Tone Generator for newest SDK, possibly 3rd party cross platform sound library



  • I want to write an application for people with Tinnitus, its a simple Tone Generator that can be used to stream sound or tones to the user via a headset or speakers, the tones may include Sine, Square, Triangle, Saw-tooth and more, as well as noise and other sound effects.

    I could not find anything in Qt 5.x that jumped out at me, so I have opened my options to possibly a 3rd party cross platform sound library that would allow such sound capabilities.


  • Lifetime Qt Champion

    Hi,

    QAudioOutput can be used for audio output

    "DSPFilters":https://github.com/vinniefalco/DSPFilters for the audio manipulation.

    If QAudioOutput doesn't fit the bill then Portaudio might.

    Hope it helps



  • Thanks, I gave up on the examples (4.x) for QAudioOutput due to obsolete calls, but looked at it again since you suggested it, and found it works once I updated the examples, so this is worth looking at now.

    I will look into "PortAudio":http://portaudio.com/, it looks promising also, but I would like a Qt component so I will try the above first, and keep this as an Alternative.

    Update: Actually PortAudio is a better option, and the one I chose to go with. Thanks again.


  • Lifetime Qt Champion

    You're welcome !

    You'd better follow the Qt 5 documentation examples, they should be up to date.


Log in to reply
 

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