Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: greg on August 21, 2006, 06:41:54 AM
-
Hi All,
I'm a newcomer to the Wintermute Engine, and I have a couple questions about its music and sound functionalities:
1. According to the manual, there are 5 music channels. Are all five of these channels dedicated solely to music and not used by any PlaySound commands? (Also, by default, does PlayMusic try to use Channel 0?)
2. I know there's not a built-in function for this, but could you suggest a way to filter an audio file within WME as to change the pitch or speed of the playback?
Thanks so much for your help!
Greg
-
1. According to the manual, there are 5 music channels.
-
just out of the curiosity, why would one want to speed up the playback, when it sounds so silly in audio files? ;)
-
just out of the curiosity, why would one want to speed up the playback, when it sounds so silly in audio files? ;)
Remember those helium-filled baloons in Curse of Monkey Island? ;)
-
can i adresse the Game.PlaySound to a channel like the Game.PlayMusic??
it is not documented this way.
but how can i change the volume of a specific sound while all others volume is staying constant ??
Greets
stucki
-
It's even more nice than that. You can attach the sound to any entity you have, so for example completely dynamic entity would look like:
var entity = Scene.CreateEntity();
entity.PlaySound("some_sound.ogg");
entity.SetSoundVolume(50);
this way you can attach your sounds to anything on scene without thinking about channels.
-
thanks very much. helped me alot !
and you are right. thats even better !!!!!
O0 ::rock O0
stucki