Welcome to %s forums

BrainModular Users Forum

Login Register

patch with sampler clicking

I need help on a Patch
Post Reply
tanabarbier
Member
Posts: 159
Location: Mexico D.F.
Contact:

Unread post by tanabarbier » 28 Jan 2011, 00:29

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 !

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 28 Jan 2011, 00:58

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.

tanabarbier
Member
Posts: 159
Location: Mexico D.F.
Contact:

Unread post by tanabarbier » 28 Jan 2011, 01:55

Thanks !

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

tanabarbier
Member
Posts: 159
Location: Mexico D.F.
Contact:

Unread post by tanabarbier » 28 Jan 2011, 03:21

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 ?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 28 Jan 2011, 09:30

can you try this way : (if you have a decent block size )
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests