acceleration question: using DIY delta and snapshot -type abstractions

Oct 27, 2011 at 1:05pm

acceleration question: using DIY delta and snapshot -type abstractions

Hi
I am using several [pipe] and [delay] objects to capture the rate of change in one slider, as acceleration data for a second slider (via message to [line~]); it works, but is occasionally unreliable, and I suspect my implementation is clunky due to my DIY versions of delta/snapshot. Are there any glaring optimzations possible that I’ve missed here:

– Pasted Max Patch, click to expand. –

Thanks
Brendan

#59589
Oct 27, 2011 at 8:37pm

Hi brendan,

I haven’t look at your patch in details, and it may not help, but I usually
write a delta this way :

– Pasted Max Patch, click to expand. –

As well, to smooth things with [line], you may consider using its second argument (the time grain) maybe.

hope this helps

#214445
Oct 27, 2011 at 9:14pm

Hi Ch
yeah this is the method I’m using – the issue is that sometimes (rarely) the delta is incorrect; low when it should have been high. But only rarely.

Brendan

#214446
Oct 28, 2011 at 11:00am

yeah this is the method I’m using

you probably posted a wrong patch then, cause it’s not the one used in what you posted

#214447
Oct 28, 2011 at 12:39pm

Look inside the [myDelta] subpatch

#214448
Oct 28, 2011 at 10:58pm

I did :)

#214449
Oct 29, 2011 at 1:28am

Hi Ch
the patch you posted as a suggestion uses [t f f] -> [-] in exactly the same way I do.

#214450
Oct 29, 2011 at 8:57am

hi brendan,

we’re not going to continue this discussion for ever please.
have a look to the patch you posted, and see that you’re using a [pipe 20] in it. I dont that like solution, cause it strongly relies on the line and pipe timings.

It’s up to you, but this :

– Pasted Max Patch, click to expand. –

is not this :

– Pasted Max Patch, click to expand. –
#214451

You must be logged in to reply to this topic.