groove click

peoplethought@yahoo.com's icon

Groove makes a very noticeable click whenever I trigger it.

All the solutions I've found for this seem to be designed for when you are looping the playback of groove.

I'm not looping it, I'm triggering it through a step sequencer.

I've tried the zero crossing feature of waveform and it doesn't work.

Anyone know how I can fix this?

Mattijs's icon

Quote: peoplethought@yahoo.com wrote on Sun, 15 June 2008 11:34
----------------------------------------------------
> Groove makes a very noticeable click whenever I trigger it.
>
> Anyone know how I can fix this?

Yeah, use the adsr~ external with a 3 ms attack.

Mattijs

f.e's icon
peoplethought@yahoo.com's icon

No, that's not what causes the click. I am automating the start position of the groove and clicks occur all over the place. I do have the sound going through an ADSR and it does help somewhat but the click is still there. I have to turn the attack up pretty high to really get rid of it, and also I sometimes roll the sound pretty quickly (like 16 beats in one step) and this doesnt sound so good with a high attack.

Mattijs's icon

Quote: peoplethought@yahoo.com wrote on Sun, 15 June 2008 12:21
----------------------------------------------------
> No, that's not what causes the click. I am automating the start position of the groove and clicks occur all over the place. I do have the sound going through an ADSR and it does help somewhat but the click is still there. I have to turn the attack up pretty high to really get rid of it, and also I sometimes roll the sound pretty quickly (like 16 beats in one step) and this doesnt sound so good with a high attack.
----------------------------------------------------

Maybe you can post a patch, it's likely that we can then give you a more helpful advise.

Mattijs

f.e's icon
Mattijs's icon

Quote: f.e wrote on Sun, 15 June 2008 12:39
----------------------------------------------------
> Oh, i think i figure where you are. It is obvious your sound will click
> if you retrigger it in the middle of the play, like we do with
> sequencers. The combination 0. 10 to line~ / stop / play / 1. 10 works
> for short sounds but you lose the release stuff. What you should do is
> digg into poly~ to let the sound die while you trigger another copy of it.
>
> f.e
>

Ah, indeed. Yes, you need a polyphonic setup to do this correctly. I just uploaded a polyphonic sampler patch to my user page, but it's more than that, so maybe a little over the top.

Mattijs

peoplethought@yahoo.com's icon

Here is an incredibly simplified version of what my patch is doing. The real patch is really large and complex.

What's going on is the start position is being automated, I do this with a midi controller. I can record the automation into max and max plays that automation into the groove object as the start position. This is why in the examples patch below I have a random generating numbers at such a high speed. This is to simulate the unpredictability of the MIDI controller being used to automate.

The tempo object simulates my 32 step sequencer.

The clicking is most noticeable if you use a low freq bass sample.

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

Mattijs's icon

Quote: peoplethought@yahoo.com wrote on Sun, 15 June 2008 13:33
----------------------------------------------------
> Here is an incredibly simplified version of what my patch is doing. The real patch is really large and complex.
>

Here is a version that I believe does what you need:

At a rate of 60 euro an hour, that will be 15 euro please ;)

Cheers,
Mattijs

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

f.e's icon
peoplethought@yahoo.com's icon

Ok. I'm not using this to play just one sample repeatedly though. I'm using it to remix complex loops and it sounds really terrible clicking every time I skip to another location in the sample.

Olivier Sebillotte's icon

Quote: Mattijs wrote on Sun, 15 June 2008 12:47
----------------------------------------------------
I just uploaded a polyphonic sampler patch to my user page, but it's more than that, so maybe a little over the top.
>
> Mattijs
----------------------------------------------------

Hello Mattijs,

I am interested in you poly sampler, I can't see anything from your user page, I mean
http://www.arttech.nl/

is there another page or path?

thanks a lot

Olivier

ongo73's icon

Hmm I have not read all the replies

but to the best of my knowledge 90% of the time , when audio clicks your ansewer lies in the poly object.

dodgeroo's icon

if you aren't looping then use wave~ or sfplay~ or play~. That should
solve the problem. Or trigger a short ramp when you trigger your file
like 10 or 20 ms using line(~) and/or gain~ or adsr~ or...

On Sun, Jun 15, 2008 at 10:33 AM, Jonathan Dean wrote:
>
> Groove makes a very noticeable click whenever I trigger it.
>
> All the solutions I've found for this seem to be designed for when you are looping the playback of groove.
>
> I'm not looping it, I'm triggering it through a step sequencer.
>
> I've tried the zero crossing feature of waveform and it doesn't work.
>
> Anyone know how I can fix this?
>

peoplethought@yahoo.com's icon

I will look into poly at some point, but for now this solution you gave me is doing what I need. I actualy want it to have only one voice. Thank you.

Stefan Tiedje's icon

Jonathan Dean schrieb:
> I've tried the zero crossing feature of waveform and it doesn't
> work.

A zero cross will usually also create a click, just a bit less prominent
as jumping into a higher gain...
The common solution is to fade in and out, also called envelope. A fade
time of 10 or 20 ms will be sufficient... Just open it when you start to
play, and close before you stop...
There should be plenty of examples in the archives. (You're no the first
who faces this problem...)
Objects to look into: *~, adsr~, trapezoid~, line~ (not necessarily in
that order...;-)

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Stefan Tiedje's icon

Jonathan Dean schrieb:
> Here is an incredibly simplified version of what my path is doing.
> The real patch is really large and complex.

That is sufficient:

Look into the retrigger message to adsr. Or as mentioned already go with
poly~...

At a rate of 120 Euro per hour this tip would cost you only 50 cent... ;-)

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

pdelges's icon

On 17 juin 08, at 08:39, Stefan Tiedje wrote:

> Jonathan Dean schrieb:
>> I've tried the zero crossing feature of waveform and it doesn't
>> work.
>
> A zero cross will usually also create a click, just a bit less
> prominent as jumping into a higher gain...
> The common solution is to fade in and out, also called envelope. A
> fade time of 10 or 20 ms will be sufficient... Just open it when you
> start to play, and close before you stop...
> There should be plenty of examples in the archives. (You're no the
> first who faces this problem...)

jhno's grooveduck example in the "examples" folder is nice and use an
interesting technique (with [*~] and [clip~]).

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl
http://www.crfmw.be/max

Mattijs's icon

You can find my user page on the cycling 74 website, Community -> user pages -> mattijskneppers.

Quote: olivier.seb@free.fr wrote on Sun, 15 June 2008 23:23
----------------------------------------------------
> Quote: Mattijs wrote on Sun, 15 June 2008 12:47
> ----------------------------------------------------
> I just uploaded a polyphonic sampler patch to my user page, but it's more than that, so maybe a little over the top.
> >
> > Mattijs
> ----------------------------------------------------
>
>
>
> Hello Mattijs,
>
> I am interested in you poly sampler, I can't see anything from your user page, I mean
> http://www.arttech.nl/
>
> is there another page or path?
>
> thanks a lot
>
> Olivier
----------------------------------------------------

Olivier Sebillotte's icon

Quote: Mattijs wrote on Tue, 17 June 2008 09:22
----------------------------------------------------
> You can find my user page on the cycling 74 website, Community -> user pages -> mattijskneppers.
>
----------------------------------------------------

thanks a lot Mattijs, I tend to forget this part of cycling website.