Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
3D Audio - it´s possible with Qt?
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?
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.
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...
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!
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...
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.
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...
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 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...
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.
It´s possible Pan a sound in Qt? using C++?