[sldev] [VWR] openAL wind generator WIP

Carsten Juttner carjay at gmx.net
Sat Jan 12 11:37:09 PST 2008


Robin Cornelius wrote:
> If any one has any ideas on completing the wind noise, from comments 
> left on the openAL JIRA it appears it may not be too long before we 
> can look at merging :-)

Alright, took a look at it as promised, it does not work because the 
wind buffers are never associated with the source (which produced an 
error in the log, maybe your diff was not against the final version you 
were using?) and also the position of the wind is set somewhere far away 
from the listener (close to the origin) so once that position is set up 
you never hear it.

Another problem is that the wind generating code is using as input the 
same buffer that it writes to which produces a surreal reverberating sound.

IIRC, in FMOD, the DSP is inserted after the final result of all 
sources, so the incoming buffer is the final mixdown of all sources 
(without the internet stream). OpenAL seems not to give access to this 
final output stage so it will probably be hard to make it work in the 
same fashion.

But think it should be enough to simply play back the wind as it is 
generated though I get the feeling the sound is still not exactly the 
same, I will make some comparisons later.

Thanks for your and Segs effort, it is great to finally have full open 
source sound output. :)

Regards,
Carsten



More information about the SLDev mailing list