Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. 3D Audio - it´s possible with Qt?
Forum Updated to NodeBB v4.3 + New Features

3D Audio - it´s possible with Qt?

Scheduled Pinned Locked Moved Game Development
10 Posts 3 Posters 3.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.
  • W Offline
    W Offline
    wwolff
    wrote on last edited by
    #1

    Hi!

    I´m building a 3D Game Engine based on Qt.
    I like a lot the Multimedia Framework , but i dont see yet how can i give a 3D position to a sound source.
    This is important in a gave, and is a basic feature in a game engine.
    Anyone know if this exists in Qt?

    Kind Regards.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hronom
      wrote on last edited by
      #2

      Here is my "post":http://qt-project.org/forums/viewthread/23884/ where i asked somthing similar, becouse i need 3d sound from C++ code, not from QML.

      Offtopic:
      But Qt devs has another opinion and since that date do not open QML 3d sound api for C++ devs.

      Looks like Digia has too many managers that looks from users side to develop Qt framework. But Qt framework used by developers, and some project needs C++ solutions... and this is very sad...

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

        Yes i agree with you.

        I´m looking for C++ classes to deal with it, for example, to develop some VST plug-ins for Audio DAWS and 3D routines for my engine.

        it´s really sad we have a lot of things on QML and not in the C++ classes, mainly for someone who develop middlewares.

        I´m experiencing this with Textures too , where i only can use the textures if i use the Widget, or have my own custom image loading Objects.

        Sadly i will choose another library to handle the sound of my engine, but it will be great have this types of funtionality in a C++ Class, like a doppler effect and 3D sound positioning to make possible deal with sound in Qt too.

        Thanks so much for your response!

        Kind Regards.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sreich
          wrote on last edited by
          #4

          sure it'd be a great thing to have 3d sound, but that is a pretty highly specialized requirement i would say, which is probably mostly used just for games...it's all a matter of prioritization, and of course, 3d visuals is more important than sound...

          Software Developer for KDE

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Hronom
            wrote on last edited by
            #5

            Yes its right, but specialized or not it's already has C++ realization. So i dont think that opening 3d sound API for public using take much time, for Qt devs.

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

              Yes, i´m just wondering if its possible Panning a Stereo track in Qt...if this is possible it will be fast for me implement the 3D position funtionality...

              Anyone know if this is possible?
              I will be really appreciated some help in this subject , since we have only "play" examples, and i like a lot all other fintionalities, like the sound Decoder...

              Kind Regards.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sreich
                wrote on last edited by
                #7

                oh you mean qt already has 3d positioning support, just not exposed through C++? Wasn't aware of that. I have heard that even qt 5.1 has latency issues though for games...(with the exception of the decoders)

                Software Developer for KDE

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hronom
                  wrote on last edited by
                  #8

                  [quote author="sreich" date="1381161095"]oh you mean qt already has 3d positioning support, just not exposed through C++? Wasn't aware of that. I have heard that even qt 5.1 has latency issues though for games...(with the exception of the decoders)[/quote]
                  Yes! Here what i'm talking about "QtAudioEngine":http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtaudioengine1-audioengine.html and if you look to source of QtAudioEngine you see C++ code... it's paradox!))) I mean it's PARADOX that i cant use feature writed on C++ from C++ app...

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sreich
                    wrote on last edited by
                    #9

                    Right, right. that is very annoying.

                    I also heard that there's an open bug report for a big leak in the qml side and even C++ side, when you change streams. even if you explicitly delete them.

                    Software Developer for KDE

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

                      It´s possible Pan a sound in Qt? using C++?

                      Regards.

                      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