[sldev] Wind Sound CPU usage.

Jason Giglio gigstaggart at gmail.com
Wed Mar 5 13:07:56 PST 2008


Aimee Trescothick wrote:
> Removing the damping causes audibly abrupt changes, almost clicks, when 
> starting and stopping movement. Try hovering in place and then flying up 
> or down a short distance.
> 

Mine doesn't do that any more than the original client.  Even with the 
damping the changes are pretty abrupt.  I did get pops when starting 
when I accidentally biased the rng though.

Did you actually try my patch?  I'd like you to try it before you 
conclude it sounds any differently from the original.


> Looking at the frequency spectrum of the final wind noise, most of 
> what's generated is being filtered out, so a lot of work is being done 
> for nothing. Just tried a quick experiment  generating it at 14.7k and 
> then interpolating groups of 3 samples, which seems to work OK, giving a 
> roughly similar spectrum.
> 

Yes, I thought about doing that.

> I've attached the rough patch of what I was playing with, it's a bit 
> ugly and not quite right as there's a little crackle creeping in, but 
> shows what I'm on about :)

The filter seems very sensitive when the white noise becomes biased in 
the least bit.  Your interpolation may be biasing the output somehow 
subtly.  The whole filter setup is very touchy.




More information about the SLDev mailing list