@ -1,6 +1,6 @@
FluidBufSTFT : FluidBufProcessor {
FluidBufSTFT : FluidBufProcessor {
* kr { | source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth esis , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , trig = 1 , blocking = 1 |
* kr { | source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , trig = 1 , blocking = 1 |
/ / source = source . asUGenInput ;
/ / source = source . asUGenInput ;
@ -8,12 +8,12 @@ FluidBufSTFT : FluidBufProcessor {
source = source ? - 1 ;
source = source ? - 1 ;
magnitude = magnitude ? - 1 ;
magnitude = magnitude ? - 1 ;
phase = phase ? - 1 ;
phase = phase ? - 1 ;
resynth esis = resynth esis ? - 1 ;
resynth = resynth ? - 1 ;
^ FluidProxyUgen . kr ( \FluidBufSTFTTrigger , - 1 , source , startFrame , numFrames , startChan , magnitude , phase , resynth esis , inverse , padding , windowSize , hopSize , fftSize , trig , blocking ) ;
^ FluidProxyUgen . kr ( \FluidBufSTFTTrigger , - 1 , source , startFrame , numFrames , startChan , magnitude , phase , resynth , inverse , padding , windowSize , hopSize , fftSize , trig , blocking ) ;
}
}
* process { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth esis , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , freeWhenDone = true , action |
* process { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , freeWhenDone = true , action |
/ / source = source . asUGenInput ;
/ / source = source . asUGenInput ;
@ -21,27 +21,27 @@ FluidBufSTFT : FluidBufProcessor {
source = source ? - 1 ;
source = source ? - 1 ;
magnitude = magnitude ? - 1 ;
magnitude = magnitude ? - 1 ;
phase = phase ? - 1 ;
phase = phase ? - 1 ;
resynth esis = resynth esis ? - 1 ;
resynth = resynth ? - 1 ;
^ this . new (
^ this . new (
server , nil , [ magnitude , phase , resynth esis ] . select { | b | b != - 1 }
server , nil , [ magnitude , phase , resynth ] . select { | b | b != - 1 }
) . processList (
) . processList (
[ source , startFrame , numFrames , startChan , magnitude , phase , resynth esis , inverse , padding , windowSize , hopSize , fftSize , 0 ] , freeWhenDone , action
[ source , startFrame , numFrames , startChan , magnitude , phase , resynth , inverse , padding , windowSize , hopSize , fftSize , 0 ] , freeWhenDone , action
) ;
) ;
}
}
* processBlocking { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth esis , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , freeWhenDone = true , action |
* processBlocking { | server , source , startFrame = 0 , numFrames = - 1 , startChan = 0 , magnitude , phase , resynth , inverse = 0 , windowSize = 1024 , hopSize = - 1 , fftSize = - 1 , padding = 1 , freeWhenDone = true , action |
/ / source = source . asUGenInput ;
/ / source = source . asUGenInput ;
source = source ? - 1 ;
source = source ? - 1 ;
magnitude = magnitude ? - 1 ;
magnitude = magnitude ? - 1 ;
phase = phase ? - 1 ;
phase = phase ? - 1 ;
resynth esis = resynth esis ? - 1 ;
resynth = resynth ? - 1 ;
^ this . new (
^ this . new (
server , nil , [ magnitude , phase , resynth esis ] . select { | b | b != - 1 }
server , nil , [ magnitude , phase , resynth ] . select { | b | b != - 1 }
) . processList (
) . processList (
[ source , startFrame , numFrames , startChan , magnitude , phase , resynth esis , inverse , padding , windowSize , hopSize , fftSize , 1 ] , freeWhenDone , action
[ source , startFrame , numFrames , startChan , magnitude , phase , resynth , inverse , padding , windowSize , hopSize , fftSize , 1 ] , freeWhenDone , action
) ;
) ;
}
}
}
}