Forums > MaxMSP

Averaging Timer Values? aka knock 3 times on the banger

May 2, 2008 | 12:08 am

– Pasted Max Patch, click to expand. –

The 1st value is always so small in comparison to the rest of the taps (BPM).
Is there an object that will throw out values in a list that are not within a threshold value of each other? So if I tap 4 times, say the tempo calculated are 20, 100, 105, and 98, 20 would automatically get tossed? Or even simpler, an object that will toss out the 1st number, or the lowest in a list?

Am I thinking about this all wrong and ignoring the obvious?


May 2, 2008 | 12:22 am

Fixed a couple little things in the patch, but the first bang is still always much smaller than the rest of the bangs.
Anyone able to explain why?

– Pasted Max Patch, click to expand. –

May 2, 2008 | 12:41 am

CNMAT has lbyl "Look Before You Leap" which doe reality checking on a stream of numbers.

I have an abstraction called "TossFirstPancake" which gets rid of the first of a series of times:

– Pasted Max Patch, click to expand. –

May 2, 2008 | 1:23 am

I’ll check out lbyl later, but your patcher is perfect for what I want to do. Pancakes at the Pantry in LA on me for Chris!

Thanks.


May 2, 2008 | 1:57 am

Here’s what I came up with.

Seems to work. :)

– Pasted Max Patch, click to expand. –

May 2, 2008 | 3:21 am

On May 1, 2008, at 6:23 PM, Don K wrote:
> Pancakes at the Pantry in LA on me for Chris!

I found that place during either a NAMM (when it was in LA) or at an
AES.

Love it in all of its "Old LA" charm.

Chris Muir
cbm@well.com

http://www.xfade.com


May 2, 2008 | 5:23 am

Quote: Chris Muir wrote on Thu, 01 May 2008 20:21
—————————————————-
>
> Love it in all of its "Old LA" charm.
>

I hear it’s only been closed one day in the last 100 years. And that wasn’t the riots or pearl harbor or Kennedy’s assasination. Heath department, they had to clean their kitchen. After decades of 24 hr breakfasts, I think it was a good idea…


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