Sound commands

Blitz3D Forums/Blitz3D Beginners Area/Sound commands

Rob,
Thanks for the helpful feedback. Nicely explained.

Malice,
Ah thank you for clearing that up. ie. the Channel commands can be applied -while- the sound is playing. Understood!

WolRon,
I wish I could explain. Look at the info for the SoundVolume command:

SoundVolume sound_variable,volume#
Parameters
sound_variable = any valid sound variable previously created with the LoadSound command.
volume# = floating point number from 0 (silence) to 1 (full volume)

Description
Alter the playback volume of your sound effect with this command. This command uses a floating point number from 0 to 1 to control the volume level.


As you can see there's no mention of this command controlling the volume of the entire program, which it doesn't anyway. This is confirmed by the reference to a specific sound within the command's syntax.

Unfortunately the documentation for this and many other commands seem to have been typed up in a couple of seconds, without proof reading. Either that or cut and pasted from other commands with minor alterations.

I surely hope the docs for BlitzMax have been given the attention they deserve.