@ -1,6 +1,6 @@
FluidBufScale : FluidBufProcessor {
* kr { | source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , map = 0 , curvature = 0 , clipping = 0 , trig = 1 , blocking = 1 |
* kr { | source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , clipping = 0 , trig = 1 , blocking = 1 |
source = source . asUGenInput ;
destination = destination . asUGenInput ;
@ -8,10 +8,10 @@ FluidBufScale : FluidBufProcessor {
source . isNil . if { " FluidBufScale: Invalid source buffer " . throw } ;
destination . isNil . if { " FluidBufScale: Invalid destination buffer " . throw } ;
^ FluidProxyUgen . kr ( \FluidBufScaleTrigger , - 1 , source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , map , curvature , clipping , trig , blocking ) ;
^ FluidProxyUgen . kr ( \FluidBufScaleTrigger , - 1 , source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , clipping , trig , blocking ) ;
}
* process { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , map = 0 , curvature = 0 , clipping = 0 , freeWhenDone = true , action |
* process { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , clipping = 0 , freeWhenDone = true , action |
source = source . asUGenInput ;
destination = destination . asUGenInput ;
@ -22,11 +22,11 @@ FluidBufScale : FluidBufProcessor {
^ this . new (
server , nil , [ destination ]
) . processList (
[ source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , map , curvature , clipping , 0 ] , freeWhenDone , action
[ source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , clipping , 0 ] , freeWhenDone , action
) ;
}
* processBlocking { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , map = 0 , curvature = 0 , clipping = 0 , freeWhenDone = true , action |
* processBlocking { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , numChans = - 1 , destination , inputLow = 0 , inputHigh = 1 , outputLow = 0 , outputHigh = 1 , clipping = 0 , freeWhenDone = true , action |
source = source . asUGenInput ;
destination = destination . asUGenInput ;
@ -37,7 +37,7 @@ FluidBufScale : FluidBufProcessor {
^ this . new (
server , nil , [ destination ]
) . processList (
[ source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , map , curvature , clipping , 1 ] , freeWhenDone , action
[ source , startFrame , numFrames , startChan , numChans , destination , inputLow , inputHigh , outputLow , outputHigh , clipping , 1 ] , freeWhenDone , action
) ;
}
}