Hi Ryan,

If it helps, I was getting the same problem using the pre-compiled binary in VirtualBox on a Macbook Pro 5,2 using OS X lion.  I had tried it with Ubuntu Studio 12.04 and 12.10 (in VB) and distortion didn't work on either of those.  I also tried installing Ubuntu 12.04 and 12.10, thinking it was a problem with the low-latency kernel in Ubuntu Studio, and then just installing Rakarrack (apt-get install rakarrack - it took care of installing all dependencies including JACK) and distortion didn't work.  In call cases the result was the same: no errors, all other effects seem to work (at least the ones I tried) but distortion didn't. It didn't seem to matter what settings I had in VB or which version of VB I was using.  I tried a single CPU, both CPUs, up to 4GB of RAM and no difference. I'm guessing if you tried Ubuntu Studio (or just Ubuntu) in VB, you could reproduce the problem on your machine.

I will try VB on my Macbook again if I have time and let you know.

Thanks again for your help!
Tim

On 11/29/12 9:26 PM, Ryan Billing wrote:
For git, you just need to install fftw3 library.  In Debian Squeeze this package is:
libfftw3-dev

(Probably has the same name with Ubuntu; but if not, it will be very similar)
You will probably have no trouble compiling after that.  The configure script should have told you the fftw3 lib was missing.  If not, let me know.

Now the question is why distortion works when you compile it on your machine, but the pre-compiled version does not work.  Something was optimized for the target machine that takes advantage of something your hardware platform does not support.  My guess is it has something to do with some of the math functions, but it may be something with the waveshaper object not being accessed correctly.  It's really strange that it does not create an error or make the program crash.

I know you probably are happy now that it works, as compiled from source, but it would be nice if we can find out why this happens for some machines with the pre-compiled binary.  There needs to be something in the compiler flags to make it so the binary is largely hardware independent...is a tough trade-off because sacrificing optimization makes the program eat more CPU...but then, maybe something can be done to the code to avoid this issue.

Here is my idea if you have time to play some more with the pre-installed binary:
Try the different types of distortion wave shapes.  Try adjusting drive and level, as well as wet/dry mix.
Try the StompBox effect and see if you get the same problems...try all of the stompbox models in StompBox.

If any of those give distortion like you expect, then let me know.  It may help narrow down the problem. 

If you're satisfied with your solution, don't feel obligated to help.  It's just that I don't have any way to find this problem without owning the hardware configuration where this problem happens.
Thanks,
Ryan

On 11/29/2012 09:06 AM, Tim Urberg wrote:
Ok, I can confirm that compiling it myself *did* fix the problem.  I was able to compile straight from git though, I got an error on configure.  I'll post that later.  I was able to compile the most recent release that you can download from website.  So thanks for your help!

Here's the error I got when I tried to compile what I downloaded from git:

tim@tim-laptop:~/rakarrack/rakarrack$ make
Making all in src
make[1]: Entering directory `/home/tim/rakarrack/rakarrack/src'
make  all-am
make[2]: Entering directory `/home/tim/rakarrack/rakarrack/src'
g++ -DHAVE_CONFIG_H -I.     -Wall -msse2 -mfpmath=sse  -ffast-math -ftree-vectorize -fvect-cost-model -pipe  -fsigned-char -I/usr/include/freetype2 -g -O2 -D_THREAD_SAFE -D_REENTRANT     -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.C
In file included from Harmonizer.h:31,
                 from global.h:191,
                 from main.C:28:
smbPitchShift.h:46:19: error: fftw3.h: No such file or directory
In file included from Harmonizer.h:31,
                 from global.h:191,
                 from main.C:28:
smbPitchShift.h:79: error: ‘fftw_complex’ does not name a type
smbPitchShift.h:80: error: ‘fftw_plan’ does not name a type
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/tim/rakarrack/rakarrack/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tim/rakarrack/rakarrack/src'
make: *** [all-recursive] Error 1
tim@tim-laptop:~/rakarrack/rakarrack$


Tim

On 11/28/12 6:51 PM, Ryan Billing wrote:
Does your computer support SSE or SSE2 instructions?  I am wondering if the ppa build included some hardware options that your computer does not support.

Have you tried rakarrack from the official repository using the package manager?

Something that will help determine whether the problem is something to do with the compilation vs your hardware is if you compile it on your own machine.

I can't think why distortion would not work, but the other FX would work?  Is this the case, or do none of the FX work?

If you would be so kind as to compile it on your own hardware, I can help you through the process (if you need help).  It is not very hard, even if you have never done it before.  If you are experienced with compiling sources, then I suggest building rakarrack from the current development (git).  Either way, it would be good to find out the results of building 0.6.1 on your own machine so we can learn what causes the problem.
Ryan

On 11/28/2012 03:31 PM, Tim Urberg wrote:
I found this post when doing a Google Search as I have the same problem.  It appears as though distortion does not work in 0.6.1.  Here is what I did, and I apologize for not having any logs yet.

I did all the following on a Dell Inspiron 9300 with a 1.6ghz Pentium M processor, 2GB of RAM, and 160 GB hard drive:
Jack version 0.118.0 - There were no errors in Jack or Rakarrack through out this process.  I used the Spandex preset to test distortion.

1. I installed Ubuntu 12.04 and installed Rakarrack 0.6.1 (http://packages.ubuntu.com/pt/precise/rakarrack) - result, distortion did not work.
2. I reformatted the same machine and installed Ubuntu 10.04 and installed Rakarrack 0.3.0 (http://packages.ubuntu.com/pt/lucid/rakarrack) - result distortion *did* work, but I did not have all the built-in preset banks that I liked
3. I updated my ppa to include version 0.5.8 (https://launchpad.net/~philip5/+archive/extra/+build/1809286) - result distortion *still* worked, but I still did not have all the built-in presets (one bank vs three).
4. I updated my ppa again to go up to version 0.6.1 (https://launchpad.net/~autostatic/+archive/ppa/+build/2042082) - result distortion did *not* work, but I now had the 3 banks I was looking for.

Let me know if you need more info.

Thanks,
Tim
------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net
_______________________________________________ Rakarrack-users mailing list Rakarrack-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rakarrack-users


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net


_______________________________________________
Rakarrack-users mailing list
Rakarrack-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rakarrack-users
    

------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net
_______________________________________________ Rakarrack-users mailing list Rakarrack-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rakarrack-users