Hi all,
I just started playing with up-sampled sub-patches (thanks Iohannes), and
found out that the inlet~ object upsamples its input by interspersing
zeros with the samples coming in. So for instance, if you're upsampling
by four and put in 1, 1, 1, ... you get out 1, 0, 0, 0, 1, 0, 0, 0, 1, ...
This seems to be scaled wrong, since if you low-pass it you should
get out approximately 1/4, 1/4, 1/4, ... ; I noticed the problem trying
to run an audio signal into the frequency input of a phasor~ and getting
1/4 the right frequency.
It seems to me the best default behavior would be to have a, b, c, ...
turn into a, a, a, a, b, b, b, b, c, c, c, c, ... so that you would
get at least "reasonable" behavior (and anyway, it's no more expensive
than the current setup.) Would this break people's patches that use
upsampling? I assume people use some kind of filter after the inlet~
object, and am hoping that, whatever the most popular filters are, they
only look at every nth (4th, for instance) sample of the input, so
nothing should be broken by doing this...
cheers
Miller