search for: bark_noise

Displaying 3 results from an estimated 3 matches for "bark_noise".

2000 Dec 29
0
bark_noise
Hello dev people, Can someone please explain me why bark_noise works so well? I can't find any references to theory. I think Monty just made it up (in the Netherlands we say: he sucked it out of his thumb :-) ). Especially why the 1/|frequency distance| thingie is a good spreading function. I tried several different ones, but the original is still the be...
2000 Oct 31
3
bark_noise
I am experiencing some difficulties with vorbis on my LX164 alpha. Specifically, in bark_noise (psy.c) I see the following behaviour on the first pass through the function: val=-3.4e38 del=1 noise[0]+=val*del noise[1]-=val*del norm[0]+=del norm[1]-=del del=1 noise[1]-=val*del <== here is the problem At this point, noise[1]==3.4e38. We are trying to add another 3.4e38 to it and this i...
2000 Nov 26
1
Trivial 12% performance gain in encoding
(well, YMMV, but it got me 12% on Mac OS X Public Beta on my test case). In vorbis/lib/scales.h, add the following after fromdB() #define sqrt_fromdB(x) (exp((x)*.11512925*0.5)) In vorbis/lib/psy.c at the bottom of bark_noise(), do: < noise[i]=sqrt(fromdB(v)); > noise[i]=sqrt_fromdB(v); This avoids the sqrt() call entirely by just doing it as part of the exp(). (I'd send a patch, but my local source tree is severely mauled with timing instrumentation code :) -tim --- >8 ---- List archive...