Recently, a friend of mine asked me about how to graph the envelope of
an audio input over time. This week's example comprises my answer, a
patch that gives a visual read-out of the signal envelope over a
specified time interval.
This patch is especially useful for those of you who are interested in
using envelope-following to modulate some other parameter, and would
just like to know what kind of data you're working with. I chose to use
an aesthetic based around the familiar function UI-object.
Besides demonstrating a way to roll your own heart-monitor, it also
shows some techniques for doing simple procedural animation using OpenGL
sketch messages and matrix data.
I hope you all enjoy, and have a great weekend.