Hissing problem with buffer in sampler

nilzie's icon

Hi,

I'm making an attempt on creating a sampler to use as a plugin in Max For Live.

The sampler is built around the "free elastic" work by Devin Kerr. ( http://www.devinkerr.com/2008/10/30/free_elastic-independent-pitchspeed-control-in-max/) Thanks Devin!

And the problem I have is with a hissing noise when I play my samples through the groove objects. I haven't had any problems like this before, and am using the same setup (specified below). I would be very grateful for any input on this problem!!!

I'm including a small aiff file. But the problem stays with other audio clips as well.

Max Patch
Copy patch and select New From Clipboard in Max.

And - the file will only work if you keep the attached "fft.maxpat" in the same folder as the patch itself.

4753.fft.maxpat
Max Patch
nilzie's icon

My setup is

MacBook Pro - Intel Core 2 Duo - 2,4 GHz - OSX 10.6.8 - Apogee Duet - Ableton Live 8.3.4 - Max 6.0.8 - M4L

nilzie's icon

The problem seems to come from my buffer having bad format of the lenght of the sample and/or channels.

Now I'm sending buffer an aiff.-file via a message with "import $1 0. -1." And this results in the hissing noise over the aiff.-file.

But if I just send the .aiff-file via a message with "read $1" buffer works without the hissing sound. How should I format the "import"-message? I want to be able to use it to be able to send a .mov-file to buffer...