Jump to content

Listener not listening to sources in 3D


f13rce
 Share

Recommended Posts

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:

  1. Start a blank C++ project
     
  2. Replace the App.cpp's code with this (from the wiki page)
     
  3. Find a sound to play (blank project doesn't have the sound from the wiki)
     
  4. Compile and run
     
  5. 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:

 

 

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

Ah, right. Sound had to be mono in order to work. This should be documented though.

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

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

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...