Sorry guys, I just can't get my head around how to start with this.
All I wish to do (to get me pointed in the right direction), is to average the value of each sequential pair in a wave form.
My guess was something like this:
( / ( + (first s) (first (rest s))) 2)
But I'm not sure if that just does the first two samples, and not the rest?
I tried creating a recursive loop (not knowing if it was needed or not), but just kept running into various errors.
Please can someone give me a hint as to what this should really look like if entered at the Nyquist prompt?