0
0

Hello everybody,

My question is, besides updating the channel position every frame, how to make the channel volume independent to the listener’s position? All samples are loaded with FSOUND_HW3D.

Thanks

Frank

<font size=-1>[ This Message was edited by: frank2000 on 2001-09-15 10:37 ]</font>

  • You must to post comments
0
0

Hi brett,

Thank you for suggestions. If I use FSOUND_SetVolume, do I need to call it every frame in order to keep the volume constant while the listener is moving around?

In my case, I want to implement the player(listener) speaks while walking. The volume of player’s speech/sound-effect channels are independent to player’s position, and other channels remain 3D.

Frank

<font size=-1>[ This Message was edited by: frank2000 on 2001-09-16 09:02 ]</font>

  • You must to post comments
0
0

The streams/samples that you want to play independent of position should be loaded with FSOUND_2D, the other samples can still be loaded in 3D.
If you want to load all samples using HW3D you will have to update the position of these channels so they are at the same position as the player.
You will have to update the position as much as the player moves.
FSOUND_SetVolume should only be called if you want to change the volume.

  • You must to post comments
0
0

Thank you Adion.

I don’t know why samples loaded with FSOUND_2D is different from that of loaded with FSOUND_HW3D (no bass at all for FSOUND_2D). The possible solution is updating channels used by listener every frame……

Is it possible to add functions dealing with my situation in the new version? :smile:

Frank

<font size=-1>[ This Message was edited by: frank2000 on 2001-09-18 23:41 ]</font>

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.