Page 1 of 1

Posted: 28 Jan 2011, 00:29
by tanabarbier
Hi everybody !
I'm working on a patch with several subpatchs with players, and I'm trying to find a solution to keep the sampler from clicking when I stop it, specially because after it goes through a delay, and the clicks are repeated a lot of times. Kind of ugly...

I tried to make a sort of ramp for the gain of the sampler, with a smoother, and a data delay so that the orders of play and stop arrive after the end of the fade, but it's not working.
What I'm I doing wrong ?

Here's the guilty patch :

http://www.sensomusic.com/forums/upload ... 20clic.pat

If anyone as any idea, I'll be really thankful !

Posted: 28 Jan 2011, 00:58
by 23fx23
hi tanabarbier,

don't have time to check your patch now, but
are your sampler using samples loaded to ram, or direct from disk?. it seems a pb can occur if playing direct from disc.
Senso is aware and looking at it, should be ok in next release, but you can try to set sampler to 'memory' by waiting to check.
http://sensomusic.com/forums/viewtopic.php?id=2667

otherwise there are severals methods to generate fades. one is using a two or more point ramp line module in /data and use
it to control gain of a gain module, or directly the gain of the sampler. or there are ready made ADSR envelopes in /data/enveloppes based on the points module.
another method is using a ramp generator (in data too) an multiply the audio flow by the ramp.

Posted: 28 Jan 2011, 01:55
by tanabarbier
Thanks !

The sample are loaded in the memory. I'll try with the ramp line module, and the ramp generator.

Posted: 28 Jan 2011, 03:21
by tanabarbier
Thanks !
I added a 2 points line, commanding the gain of a audio volume module, but it seems that the problem was that I needed to put an other data delay before the "synchro" input of the sampler, and I setted the different modules with delays at differents times.
here's the fonctionning one :

http://www.sensomusic.com/forums/upload ... 20clic.pat

But could I make it less cpu consuming ?

Posted: 28 Jan 2011, 09:30
by nay-seven
can you try this way : (if you have a decent block size )
Image