Forums > MaxMSP

### Calculating total delay of tapin/tapout series?

Jan 04 2010 | 1:08 pm

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

Jan 04 2010 | 1:53 pm

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

Jan 04 2010 | 4:12 pm

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

Thanks again, Charles

Jan 04 2010 | 4:40 pm

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:

``````
-- Pasted Max  Patch, click to expand. --

```
```
Jan 04 2010 | 4:44 pm

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…

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP