3dsound

Blitz3D Forums/Blitz3D Beginners Area/3dsound

Ben(t)(Posted 2008) [#1]
is there a way to pause 3d sounds?


Zethrax(Posted 2008) [#2]
PauseChannel and ResumeChannel.


Pete Carter(Posted 2008) [#3]
i couldnt get emitsound working in my game when i used emitsound i couldnt get it to respond to any channel commands.

so ive stuck to 2d sound, ill come back to this one and see what others say.


Naughty Alien(Posted 2008) [#4]
MP3 (if you using it) sometimes doing that...use ogg instead


Ben(t)(Posted 2008) [#5]
so the channel commands should work for 3d sounds and 2d sound?


Zethrax(Posted 2008) [#6]
EmitSound returns a sound channel handle which you can use with all the sound channel commands, including PauseChannel and ResumeChannel. Make sure you load the 3D sound by using Load3DSound.

Also make sure you have created a listener (by using CreateListener) to actually 'hear' the sound. A listener is just a 3D entity, similar to a pivot so you can parent it, position it, etc, as required.


Ben(t)(Posted 2008) [#7]
I think I'm getting it now. thanks :-)