Forums > MaxMSP

Accurate delay timing

May 24, 2007 | 11:05 pm

I am using a series of delay objects to create sequences of oddly timed bangs, these are used to trigger sounds outside of max. The only problem is that the delay times are not consistent/accurate, leading to the time for one complete sequence to vary and also the actual timing between bangs is slightly off the timings desired.

Is there any way to delay a bang accurately and therefore consistently, either in samples or milliseconds. If anyone knows a way of doing this or has any suggestions they would be gretly received.


May 24, 2007 | 11:26 pm

Try turning overdrive on (in the options menu)

If that doesn’t work, you could use signal rate objects to generate your bangs. That would guarantee a much more accurate overall timing of the entire cycle, but the individual bangs could still be slightly mistimed.

For instance, try [phasor~ 1] into a [>~ 0.5] into an [edge~]. That will give you a bang out of the edge~ object once per second.

Do you have a lot of other stuff going on in your patch that could be clogging up the queue and getting in the way of your bangs getting through on time? If so, perhaps strategically adding some [deferlow] objects on non-time-sensitive processes could help.

-scott


May 24, 2007 | 11:33 pm

Like this with line~

#P window setfont "Sans Serif" 9.;
#P flonum 216 103 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 236 188 15 0;
#P window linecount 1;
#P message 215 128 44 196617 0 , 1 $1;
#P newex 214 154 32 196617 line~;
#P connect 3 0 1 0;
#P connect 0 1 2 0;
#P connect 1 0 0 0;
#P window clipboard copycount 4;

On 5/24/07 7:05 PM, "Daniel Shah" wrote:

>
> I am using a series of delay objects to create sequences of oddly timed bangs,
> these are used to trigger sounds outside of max. The only problem is that the
> delay times are not consistent/accurate, leading to the time for one complete
> sequence to vary and also the actual timing between bangs is slightly off the
> timings desired.
>
> Is there any way to delay a bang accurately and therefore consistently, either
> in samples or milliseconds. If anyone knows a way of doing this or has any
> suggestions they would be gretly received.

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


May 24, 2007 | 11:37 pm

Some additional issues.

Integer delay times are probably truncated causing time to expire early.
There is a minimum delay time – used to be 5 ms.
Overdrive on or off?
Delays in series or parallel?

On 5/24/07 7:05 PM, "Daniel Shah" wrote:

>
> I am using a series of delay objects to create sequences of oddly timed bangs,
> these are used to trigger sounds outside of max. The only problem is that the
> delay times are not consistent/accurate, leading to the time for one complete
> sequence to vary and also the actual timing between bangs is slightly off the
> timings desired.
>
> Is there any way to delay a bang accurately and therefore consistently, either
> in samples or milliseconds. If anyone knows a way of doing this or has any
> suggestions they would be gretly received.

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


May 25, 2007 | 12:09 am

Thanks


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