My main Miggy HD appears to be dead, very dead. I had assumed that all my old Programming efforts would have been lost... but I did find some of my workings that I did for a Softsynth I was working on about 8 years ago...
To my surprise I have found that my idea of a "low pass filter" was, (how shall I put it?)... "novel".
It seems that I would take an average of the previous x (the higher the value of x the steeper the cutoff frequency)amount of samples and use them to generate the new value...
While this does attenuate the higher frequencies it does so in a linear fasion, also for high values of x it creates some very weird waveforms... and probably accounts for the weird sound that my soft synth produced :-D
In my defence at small values of x, it's great for cleaning up a noisey recording.
In Pseudo code (from memory):
Input_Audio_array[]
Output_Audio_array[]
x=cutoff_frequency
For i=0 to Audio_array_lenght
accumulator=0
For v=0 to x
accumulator = accumulator + Input_Audio_array[ i - v ]
Next
Output_Audio_array[x] = accumulator / x
Next
Made me smile... now to implement one properly I think :-D