[LAD] SWH shaper

Lucas Takejame lucas at takejame.com.br
Mon May 5 19:13:48 UTC 2014


Hi guys, I was trying to use Swh lv2 plugin shaper and found something
strange, was it suppose to explode the sound when the waveshape parameter
hits -1 or below? Also when I looked into the code I found this piece:

float shape = 0.0f;

if (shapep < 1.0f && shapep > -1.0f) {
shape = 1.0f;
} else if (shape < 0) {
shape = -1.0f / shape;
} else {
shape = shapep;
}

I think the first *else if* should be about shapep, but I don't know
exactly how this plugin should work, I changed that part to else if (shapep
< 0) but the explosion in sound remains... Do you guys have any Idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20140505/70b7f268/attachment.html>


More information about the Linux-audio-dev mailing list