Looping backwards and forwards with groove~ problem
Hello,
I am trying to create a loop of a part inside a buffer, that should alternate between going backwards and forwards. I found a patch to start with and it is basically working fine. The only problem is, that everytime the direction switches I get a click sound. Can anyone help me smoothing out the transition?
use waveform~ with your groove~ object. There is a "snap to zero crossing" feature on there that will help you avoid those nasty clicks. . Also please select "copy compressed code" when in max and post that on the forum here cuz its easier to exchange code that way
thanks for the information and the patch! I tried you patch an loaded my file, but I am still getting klicks...any idea why? Is there a way to do a little crossfade or something like that?
I try to play a stereo file of a short piano chord, where I want to cut off the attack and then go in both directions as I explained. Is stereo a problem? I also tried to put the buffer to one channel, but still get clicks... When I use the number boxes before the wavefrom~ the number boxes after the object have exactly the same numbers... so waveform~ doesn't seem to transfrom the numbers to zero crossing... or am I totally wrong here?
if u can find the "grooveduck" abstraction, might be in your max searchpath already thatll probably help some as well but your probably still get some clicking although in my experience these two techniques tend to help. i am guessing that the clicking happens bc you gotta change the numbers that determine the loop start and end points only when the audio reaches the end or beginning of the loop depending on if your moving forwards or backwards. maybe ill try making something like this when i get home if i can swing it
also it prob will sound better if u just use select a portion if the waveform with your mouse instead of using the number boxes
thanks for your help! The grooveduck abstraction helps a lot! With this it works a lot better .... the thing with the mouse is, that I want to create a background atmosphere that is constantly changing slightly... so I want to change the loop start and endpoint after everytime the loop played with a random number....