sounds in code ?

BlitzMax Forums/BlitzMax Programming/sounds in code ?

errm.. OK.. just read what I wrote and I figured it needs explaining what Im after...

I have looked at the TAudioSample and seen some examples of it but I just dont get it.
The examples I have seen dont seem to be change the volume of a sample which is one thing Im after.. but also.. I just dont get it.. for example in the help you have a this explanation
'length is the number of samples to allocate for the sample' ??.. eh ?

frequency I suppose is the sampling frequency.. fine.. but then what does the data you put into the sample actually mean ?

can I define the volume of the sound ?
can someone here explain what the data you supply mean in a way even I can understand ?