[Openal] Sound Attributes

Tyhja EugeneSeah at hotmail.com
Sun Sep 30 02:34:28 PDT 2007



Jason Daly wrote:
> 
> Tyhja wrote:
>> I have been searching extensively about openAL and trying to find
>> functions
>> or libraries that allow you to extract attributes of the sound
>> stream/file
>> that is being processed, eg volume,pitch, etc.
>>   
> 
> Volume and pitch are relative values to OpenAL.  That is, all files and 
> buffers you give it are considered 1.0.  If you attach the buffer to a 
> source and set the gain or pitch of the source to a different value, it 
> alters the sound output appropriately when played.
> 
> Can you explain in more detail what exactly you're trying to do?
> 
> -- 
> 
> --"J"
> 
> "I'm a castaway stranded in a desolate land,
>  I can see the footprints in the virtual sand."
> 	--Neil Peart
> 
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
> 
> 

Hi Daniel and Jason,

Thanks for replying. What i am trying to do is to drive a graphical output
based on the changing values of the sound input -- something like a sound
visualisation, if you will. So, you see, i am trying to get the values in
the wave not the file, to affect my visualisation. Searching through the
library, it seems i find that there are functions to get values, but they
are the file values like file frequency 44100 for example. Am i on the right
track here? I'm sorry if this seems trivial to you, i just started on openAL
and i greatly appreciate the help so far.
-- 
View this message in context: http://www.nabble.com/Sound-Attributes-tf4472225.html#a12964129
Sent from the OpenAL - User mailing list archive at Nabble.com.



More information about the Openal mailing list