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. Frequenz Analyse FFT
QtWS25 Last Chance

Frequenz Analyse FFT

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 187.8k Views
  • 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.
  • J Offline
    J Offline
    JoWe
    wrote on last edited by
    #1

    I'm looking for the fastest solution to output from the microphone the strongest current frequency of the frequency spectrum on a text label.
    Open microphone Internal or external
    Start recording
    Save it to a file
    Detect the strongest frequency (25 - 15000 Hz)
    Save results in textlabel.
    Loop Recording to stop.

    Close the file

    raven-worxR 1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hallo! Audio recording is easy with QAudioRecorder Class. For the analyzing part you'll need to find other 3rd party stuff unless you're willing to reinvent the wheel.

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        This a good starting point as it allows to select device etc.
        http://doc.qt.io/qt-5/qtmultimedia-multimedia-audiorecorder-example.html

        1 Reply Last reply
        1
        • J JoWe

          I'm looking for the fastest solution to output from the microphone the strongest current frequency of the frequency spectrum on a text label.
          Open microphone Internal or external
          Start recording
          Save it to a file
          Detect the strongest frequency (25 - 15000 Hz)
          Save results in textlabel.
          Loop Recording to stop.

          Close the file

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @JoWe
          something like the spectrum example?
          Also see this blog post.

          Or this old Qt4 spectrum analyser example.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          3

          • Login

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