[PD] Scope of [block~] and [switch~]

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 20 17:42:04 CEST 2008


Miller Puckette wrote:
> One small warning - the output of samplerate~ is confusing if there is
> overlap - samplerate~ output goes up by the overlap factor, which is
> arguably incorrect.  It needs replacing by a more comprehensive solution.
> 
> Also the default upsampling algorithm is incorrect - if you upsaple by
> 2, for instance, incoming signals get interleaved with zeros, which does
> not result in a unity DC gain.  I've been fretting over whether this
> should be changed (incompatibly!) to make it "correct' or just leave it wrong.


personally i would just change it.
if somebody relies on a certain upsampling algorithm, they should 
explicitely specify so in the creation arguments.
(or even better, use a separate object that fills the gaps in the 
zero-padded signal with something more sophisticated)


fgmsdr
IOhannes




More information about the Pd-list mailing list