[racket] "HtDP-style" sound exercises

From: Noel Welsh (noelwelsh at gmail.com)
Date: Wed Oct 20 16:50:04 EDT 2010

Looks fun.

On Mon, Oct 18, 2010 at 8:56 PM, John Clements
<clements at brinckerhoff.org> wrote:

> The challenge is how to deal with generating sounds: do you use vectors, explicit for, or HOF? If the latter, do you use lambda or local?

IIUC, HOFs are the simplest way to do this. You want a function from
any state (e.g. feedback or earlier stages in the graph) to a number.
(Many synth modules have multiple outputs but perhaps you can avoid
this?) It won't be efficient, but that isn't the point here, right? No
idea on lambda vs local; I've never used the latter.


Posted on the users mailing list.