Calculating total delay of tapin/tapout series?

Charles Turner's icon

Hi-

An elementary question, but I'd appreciate a reality check from someone. How to calculate the total delay in a series of [tapin]/[tapout] objects.

[tapin]/[tapout] will delay a signal in increments smaller than vector size, correct?
Let's say I have a vector size of 512 samples, or roughly 11ms.
I want to delay a signal by 5ms in each of two [tapin]/[tapout]s.

So: is total delay 10ms (ie 5ms + 5ms)?

...or is it 21ms (ie 5ms + 11ms + 5ms)?

Thanks, Charles

andrea agostini's icon

no, tapin~/tapout~ don't allow for delay times smaller than the vector size. you have to use delay~ or comb~ for that.
aa

Charles Turner's icon

Well that answers that! Don't know where I got the idea that they would.

Thanks again, Charles

Charles Turner's icon
Max Patch
Copy patch and select New From Clipboard in Max.

On second thought, are you sure you're correct? I just made this test, and with the vector size set at 512 samples, the resulting audio file shows two clicks spaced 5ms apart:

Charles Turner's icon

Oops! You're right. When the vector size is 64 samples it's 5ms apart, but when it's 512, the delay looks like about 11ms...