More on clickless looping(sorry!)

Aug 29, 2009 at 2:02pm

More on clickless looping(sorry!)

Hi folks first off sorry to bring this topic up again I know there is loads in the archive but I’ve searched for days and haven’t successfully found a solution to this so maybe one of the gurus can tackle it or advise us lesser beings on how to go about solving it.

I HAVE to use groove~ and waveform~ to do some looping but changing the loop points gives clicks. I’ve smoothed the loop with grooveduck~ already and am using snap to zero on the waveform~ and only sending new loop points when I’m finished selecting in waveform~. I’ve meditated on using poly~, a second groove~ or a ramp at the signal driven loop start point.

I’ve included a patch for you all to have a look at. Loopers may find it fun but when reselecting loop points of tones it clicks. Any suggestions/help graciously accepted. I know there are quite a few people experiencing this problem so please help if you can.

ps thanks to anyone who contributed code to this patch already. Most notably the waveform functions.Simple but nice.

– Pasted Max Patch, click to expand. –

edit: grooveduck~ (save as stereoduck in filepath)

– Pasted Max Patch, click to expand. –
#45268
Aug 29, 2009 at 2:56pm

there’s not stereo duck in your patch…
anyway it’s not made for groove but you can have a look at this for play~ :

– Pasted Max Patch, click to expand. –

and this for wave~

– Pasted Max Patch, click to expand. –

i hope it helps.
don’t forget to check wavefade-folder in the example patches.
f./

#163124
Aug 29, 2009 at 3:26pm

Thanks for your reply f I’ve just included grooveduck~ in original post.

I’d seen the play solution before and it doesn’t work for the bigger picture I have in mind and from quickly testing the wave example that doesn’t give smoothing when re-selecting loop points.

I already have smooth looping, its when I re-select the loop points while the file plays that I get the clicks.

Testing with wavefade also resulted in clicks when I change the start time while the file is playing..

#163125
Aug 31, 2009 at 12:14pm

Exactly what I needed. Thank you Raja. Now to study exactly what you’ve done…

Thanks again

#163127
Sep 1, 2009 at 7:49am

Raja, do you think you could post a solution with play~ and wave~.
I have been creating a poly~ synth with groove, much like the sampler of dx1200. I’v been through the tutorials, but it is not the first time I’v picked apart your code and understood it much better.

Well, I understand if you dont have the time.

R

#163128
Sep 4, 2009 at 7:58am

Wow, THANK YOU SO MUCH. THis was a lot of help. I’m diving in, call for backup!

#163131
Sep 10, 2009 at 3:52am

Wouldn’t it work to simply route the output through a low-pass filter with the filter frequency set above the limit of human hearing, and at any point that you’re afraid of producing a click, temporarily sweep the filter frequency down low enough to filter out click-like sounds A click results not just from a possible discontinuity in the waveform, but from a discontinuity in the waveform’s rate of change. An LPF would smooth that out.

#163132
Sep 11, 2009 at 4:01am

Oh, you’re right. I didn’t realize what you were doing was so computationally cheap.

#163134

You must be logged in to reply to this topic.