View Single Post
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#229
oscp (0.9.7-55) stable; urgency=low

* new effect: earwax (from sox 14.4.2, toggled with shift-W by default or in eq window)
* new effect: contrast (from sox 14.4.2, toggled with shift-C by default or in eq window)

unfortunatelly n900@500mhz is too slow for earwax, any neon wizard able to speed up this code?: (p->tap, earwax_filt, ibuf and obuf are 32bit ints, output is double, NUMTAPS is 64)

<code>
while (len--) { output=0; // update taps and calculate output
for(i=NUMTAPS-1; i; --i) { p->tap[i]=p->tap[i-1]; output+=p->tap[i] * earwax_filt[i]; }
p->tap[0] = *ibuf++/64; output += p->tap[0] * earwax_filt[0]; // scale output
*obuf++ = output;
}
</code>
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post: