Thanks Chuckk.
The patch gives a nice result, smoothing out sudden changes to the
input. In that sense it's exactly what I'm looking for, showing how
relatively simple math can be used on a midi stream for musical
effects. Unfortunately I don't understand much of how it works, and I
have the sense that it's too complex to use as an introduction for
people new to PD.
Perhaps just a few changes (like making the table visible?) would
make the processes clear enough that it would be more intuitive? I
didn't get your second example, it sounds like your changes were
moving in this direction.
Thanks very much for your help,
Ollie
On 15 Sep 2006, at 20:11, Chuckk Hubbard wrote:
On 9/15/06, Ollie Glass ollieglaskovik@gmail.com wrote:
2 Averaging the last 10 values received from a midi controller and outputting that average every time a control message is received.
Hi Ollie. Here's one way to do that. The setup on the right adds the 9 previous values to the new value and averages. The setup on the left moves the last 8 values up one in the table and puts the newest one in.
Put your cc input where the numberbox is and the output where the "print average" object is. <average.pd>