f13rce Posted May 7, 2015 Share Posted May 7, 2015 I was trying to get sources spawned at positions where you can hear where it's coming from, but whenever I try to spawn a listener and a source (regardless of position), the sound would still sound 2D. Steps to reproduce: Start a blank C++ project Replace the App.cpp's code with this (from the wiki page) Find a sound to play (blank project doesn't have the sound from the wiki) Compile and run Use arrow keys and hear no difference Would be nice if this could get fixed soon. I'm using the latest Beta version. Haven't tested it with Lua though. Example project can be downloaded by downloading the attachment below: Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
macklebee Posted May 7, 2015 Share Posted May 7, 2015 The sound you use has to be in mono format to get the 3d spatialization, but it could be related to the problems that I just reported 5 days ago here: http://www.leadwerks.com/werkspace/topic/12542-source-setrange-issue/ Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
f13rce Posted May 7, 2015 Author Share Posted May 7, 2015 Ah, right. Sound had to be mono in order to work. This should be documented though. Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
macklebee Posted May 7, 2015 Share Posted May 7, 2015 Ah, right. Sound had to be mono in order to work. This should be documented though. Agree that it should definitely be in the official documentation and especially posted in the documentation for Source. Josk though was nice enough to post it here though: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/source/sourcesetrange-r321 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.