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. [Solved] Tone Generator for newest SDK, possibly 3rd party cross platform sound library
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k 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.
  • Q Offline
    Q Offline
    QutWizard
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QutWizard
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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