[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] BBC lib question



hi all!
now,i am studing BBC cut lib.(its great!)
and,i find that code form [BBCut1.1FurtherExamples].
this code print stetes of MultiProc.

so,i want to use this states to another
trigger like bass drum when states produce 1.

does anyone teach me how to do this?


masa.
peace!

--------------------------------------------------------------
(
var sf;

sf=SoundFiles3.new.init([":Sounds:break"],[8]);

{var ec; 
ec=1.neg;

thisSynth.tempo_(2.7);

BBCut.ar(BBCutSynthParam.easysf(sf), MultiProc(
[
BBCutProc.new, //for plain play
WarpCutProc1(phraselength:4.0)        //for obvious fill
]
, {ec=ec+1; [0,1,0,1].wrapAt(ec).postln;}))

}.play

------------------------------------------------------------
//want to trigger 

TSpawn.ar({SinOsc.ar(50)*Line.kr(1,0,0.5)}),2,nil,trig);