How does one delay samples (input) in samples (unit) these days?
-
[delay~] or [z~] equivalent with Pd Vanilla?
-
@ricky Probably [delwrite~] and [delread~] ....... ([vd~]) or [delread4~] with interpolation.
If you mean in Vanilla.
More here....... https://forum.pdpatchrepo.info/topic/8214/more-precision-in-delay-lines-with-feedback
@Maelstorm's patches have disappeared though. Maybe they can be found......?
But they were probably this........ Look in Pd/doc/3.audio.examples/G05.execution.order...... for a single sample delay without using [block].
Otherwise [block~ 1]
David. -
Yeah, I basically want to delay an audio signal by n samples.
-
I sometimes use fexpr~ for very short audio delays, here's a demonstration patch:
Not sure how expensive this is. The negative number in the square brackets is the number of samples to delay by. Just to see what would happen, I tried 64 and 65 and it appeared to work (at least when snapshot~ was looking) but I got an error message in the console:expr: input vector index < -VectorSize, (vector x1[-65.000000]) $x1 - 65 fexpr~: index assumed to be = -64 fexpr~: no error report till next reset