Jump to content

[Indie 3.1]Source:SetRange() Bug?


DudeAwesome
 Share

Recommended Posts

I tried to create a small ambient/noise script like noise.lua

 

but

 

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/source/sourcesetrange-r321

 

will not work. I tried to set Range to 0.1 but I can hear the sound attached to a pivot far far away. it also will not work with the standard Noise.lua script. Is this a bug?

It doesn´t work... why? mhmmm It works... why?

Link to comment
Share on other sites

I´m blind? dont see listener class here

 

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/

 

but

 

 

Listener:Create() 

 

 

is highlighted in leadwerks.

 

 

edit:

 

ok I´m confused. its in the index page listed

http://www.leadwerks.com/werkspace/page/documentation/_/index/

 

I thought the index page == all functions from command reference?

It doesn´t work... why? mhmmm It works... why?

Link to comment
Share on other sites

ok it have something to do with my .wav file but I dont know why. the files from the leadwerks demo are ok. my files are audible everytime

 

 

 

edit:

 

aggror was faster :D

 

ok maybe this is default knowledge but may put a note on the api that the soundfile have to be mono.

It doesn´t work... why? mhmmm It works... why?

Link to comment
Share on other sites

ok it works but I´m not happy. when I look to the object then the split between right and left audiochannel is pretty hard. Is there a way to do this smoother? when I stay in front of a radio I want to hear it with both ears and not just with the closest one. when I look exact to the radio its "ok".

 

it sounds like "audiolaggs" when I look on an object and move the character (fps view) because of the toggle between left and right channel

 

 

it sounds like there a just 3 ways

 

left on right off

left on right on

left off right on

 

there is no transition between it

 

like

 

30% left 70% right

It doesn´t work... why? mhmmm It works... why?

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...