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. Is there a way to read the audio file in QT(Eg: .Mp3 format)
Forum Updated to NodeBB v4.3 + New Features

Is there a way to read the audio file in QT(Eg: .Mp3 format)

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 6 Posters 1.9k 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.
  • ManiRonM Offline
    ManiRonM Offline
    ManiRon
    wrote on last edited by
    #1

    I am trying to create a code to read the audio data from the .Mp3 file format is it possible in QT?

    RatzzR jsulmJ beeckscheB 3 Replies Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      No direct classes like this. Some third party library(e.g mp3codec) should be able to help here. I feel it should be straightforward.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      D 1 Reply Last reply
      1
      • ManiRonM ManiRon

        I am trying to create a code to read the audio data from the .Mp3 file format is it possible in QT?

        RatzzR Offline
        RatzzR Offline
        Ratzz
        wrote on last edited by
        #3

        @ManiRon
        Are you looking for http://doc.qt.io/qt-5/audiooverview.html ?

        --Alles ist gut.

        1 Reply Last reply
        5
        • ManiRonM ManiRon

          I am trying to create a code to read the audio data from the .Mp3 file format is it possible in QT?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ManiRon You should specify what you mean by "read audio data". Do you want to play MP3 or extract the audio data from such files?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          ManiRonM 1 Reply Last reply
          3
          • jsulmJ jsulm

            @ManiRon You should specify what you mean by "read audio data". Do you want to play MP3 or extract the audio data from such files?

            ManiRonM Offline
            ManiRonM Offline
            ManiRon
            wrote on last edited by
            #5

            @jsulm

            extract the audio data

            jsulmJ 1 Reply Last reply
            0
            • ManiRonM ManiRon

              @jsulm

              extract the audio data

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @ManiRon I don't think Qt will help you here (you can play MP3 with Qt though). You will need to use some third party library as @dheerendra wrote.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • ManiRonM ManiRon

                I am trying to create a code to read the audio data from the .Mp3 file format is it possible in QT?

                beeckscheB Offline
                beeckscheB Offline
                beecksche
                wrote on last edited by beecksche
                #7

                @ManiRon

                Like @Ratzz said, I would start looking for QAudioDecoder and QAudioProbe , all mentioned in the overview.

                With QAudioProbe you can use the audio data, eg for a FFT.

                1 Reply Last reply
                3
                • dheerendraD dheerendra

                  No direct classes like this. Some third party library(e.g mp3codec) should be able to help here. I feel it should be straightforward.

                  D Offline
                  D Offline
                  DyraSan
                  wrote on last edited by DyraSan
                  #8

                  Mr. dheerendra , would you suggest me any 2 or 3 good third party library? As I am newbie, I dont know.

                  vidmate

                  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