[PD] Computer Music feature reconsidered

Chuckk Hubbard badmuthahubbard at gmail.com
Fri Sep 15 21:11:06 CEST 2006


On 9/15/06, Ollie Glass <ollieglaskovik at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: average.pd
Type: application/octet-stream
Size: 1247 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060915/2f6cae48/attachment.obj>


More information about the Pd-list mailing list