I'm working through the second volume of Musimathics, by Gareth Loy, and learning quite a lot. I'd like to actually start realizing some of the topics he covers on my own in Max/MSP to help make them more concrete, and I'm having some troubles.
For instance, I'm now reading about filters, and their supporting mathematics. As a rather simple example, I'd like to build my own lowpass filter in Max/MSP. I know how to implement one through the built in filtering objects in Max/MSP, but building one on my own will give me the opportunity to better understand what's really occuring.
He gives the equation for a lowpass filter thus:
y(nT) = x(nT) + x[(n-1)T]
where y(nT) is the input signal, n is an instantaneous sample, and T is time.
His explanation of the operation of this filter makes perfect sense, but realizing it in Max/MSP is giving me problems. I'm sure there's a simple answer, but I'm just not getting it.
How would one realize such an equation? I appreciate your help!