Picon

scroll randomly inside the buffer

Hello, I want to create inside my synthdef a random scroll which I will
control it by the pattern, so means I need to define the factor as an
argument, my synth looks like this, I have a dust now where suppose it
scroll randomly inside the each BufFrame, even it sounds like I have some
doubts could that implemented better.
Thanks
Best
\K.
(
SynthDef(\grains,{
        |bufnum=0, trigger=1, startPos=0.0, rate= 1, attack=0.01,
sustain=0.6,
release=0.5, panDev=200, pan=0.5, st=0.0|
        var play;
        Out.ar(0,Pan2.ar(
        Linen.kr(Impulse.kr(0), attack, sustain, release, doneAction: 2)*
play=PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum) * rate, trigger,
Dust.kr(0, 1.linlin(0,1,st,BufFrames.kr(bufnum))),
 loop:0, doneAction:2),
 Dust.kr(panDev, pan),0.7)
 )
}).add;
)

--

-- 
bla...bla http://konstantinos-vasilakos.blogspot.com/

_______________________________________________
sc-users mailing list

(Continue reading)

Daniel Mayer | 10 Feb 00:20
Picon

Re: scroll randomly inside the buffer


-----Ursprüngliche Nachricht-----
Von: "Konstantinos Vasilakos" <k.vasilakos@...>
Gesendet: 09.02.2012 18:13:59
An: "Super Collider" <sc-users@...>
Betreff: [sc-users] scroll randomly inside the buffer

>Hello, I want to create inside my synthdef a random scroll which I will
>control it by the pattern, so means I need to define the factor as an
>argument, my synth looks like this, I have a dust now where suppose it
>scroll randomly inside the each BufFrame, even it sounds like I have some
>doubts could that implemented better.
>Thanks
>Best
>\K.

Hi,

maybe there is misunderstanding about the functioning of Dust.
It's producing impulses, this is useful for all kinds of triggering,
but here you have a SynthDef for single grains. Of course you could
also define all kinds of changes within short grains too,
but if you're going to control panning, startpos, etc. via Patterns you would
rather first define them as simple control args in the SynthDef.

Though an alternative appraoch would be to have a separate
LFO Synth for startPos control of all (ephemeral) granular synths -
I'm doing it mostly this way.

BTW there are PlayBuf and granulation examples in the Tour_of_Ugens help file
(Continue reading)

Picon

Re: scroll randomly inside the buffer

Thanks, for helping me out to build a decent Granulator, and the tutorial
suggestions as well, btw speaking of granulators I really appreciated the
Crashed letters of yours, musically is very well knitted, and technical
side it's very clean and flexible. I guess that has to do with the
material someone uses as well.
Best
\K.
>
> -----UrsprÃŒngliche Nachricht-----
> Von: "Konstantinos Vasilakos" <k.vasilakos@...>
> Gesendet: 09.02.2012 18:13:59
> An: "Super Collider" <sc-users@...>
> Betreff: [sc-users] scroll randomly inside the buffer
>
>>Hello, I want to create inside my synthdef a random scroll which I will
>>control it by the pattern, so means I need to define the factor as an
>>argument, my synth looks like this, I have a dust now where suppose it
>>scroll randomly inside the each BufFrame, even it sounds like I have some
>>doubts could that implemented better.
>>Thanks
>>Best
>>\K.
>
> Hi,
>
> maybe there is misunderstanding about the functioning of Dust.
> It's producing impulses, this is useful for all kinds of triggering,
> but here you have a SynthDef for single grains. Of course you could
> also define all kinds of changes within short grains too,
> but if you're going to control panning, startpos, etc. via Patterns you
(Continue reading)


Gmane