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. Using Low Level Audio
Qt 6.11 is out! See what's new in the release blog

Using Low Level Audio

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 3 Posters 4.8k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #5

    Then a bit more of advanced audio processing, in that case Qt is not the best tool for the "editing" part. You can use a library like DSPFilters for the audio processing.

    QAudioOutput is used to send data to an audio device, so basically what you will have processed.

    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
    • W Offline
      W Offline
      wwolff
      wrote on last edited by
      #6

      Well, the things start to work, but if i understand correctly , and looking at the back-end list i will only be able to decode audio in windows?

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

        What do you mean by "only decode" ?

        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
        • W Offline
          W Offline
          wwolff
          wrote on last edited by
          #8

          On Windows machines.

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

            I understood that you are working on Windows what I would like you to explain is what you mean by "only decode" ?

            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
            • W Offline
              W Offline
              wwolff
              wrote on last edited by
              #10

              Ha! Ok,

              Becouse looking at the table , for example the decode funtionality is not present, so in android machines for example, i will be able to use the QAudioDecoder class to open my audio and process it?

              i only see this funtionality avaliable for :
              Media Foundation (Windows) and GStreamer (Unix)

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

                Are you talking about audio files ?

                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
                • W Offline
                  W Offline
                  wwolff
                  wrote on last edited by
                  #12

                  yep!

                  Basically i want load a wave or mp3 file, store it in a buffer and during the play...apply some filters in real-time to hear the results...
                  Everything is working using the QAudioOutput and QAudioDecoder examples, but my concern now is about how many platforms i will be able to make this run.
                  My engine runs in many platforms(Windows,Mac,Android,iOS) acctually using Qt , and the Audio component is the only component that are using yet external sdk to work properly and i want remove this sdk to make possible use only the low level part of Qt , as i do with graphics(OpenGL).

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

                    Ok, clearer now.

                    Well, as you already discovered, the QAudioDecoder class is not yet available on all platforms so you have to rely on that other SDK currently to provide that part.

                    By the way; which one are you using right now ?

                    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
                    • W Offline
                      W Offline
                      wwolff
                      wrote on last edited by
                      #14

                      Im using FMod, but i want a library where i can compile it toguether with my engine on the target plattform.
                      The only plattform that make this possible was the YSE sdk , but i not test it yet...

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        wwolff
                        wrote on last edited by
                        #15

                        Another idea about this topic that happen is becouse the main development hosts platforms(Windows and Linux) the decoder works...i will develop a little aplication to manage my own format of sound and images.
                        So, thia application basically will convert all the images and sound in a already prepeared buffer (in a buffer defined by me) to be loaded in the engine...
                        I believe in thia way i can then code my own decoder and use the low level QAudioOutput class to play it!

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

                          IIRC, there are already some application mixing Qt and SFML that might be also an in-between solution.

                          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