Haresh e-mailed me off-list and I am responding here.
I think this may be something like what you were looking for:
http://groups.yahoo.com/group/harmonic_entropy/files/dyadic/haresh2.gi
f
For a less refined ear, this may be more appropriate:
http://groups.yahoo.com/group/harmonic_entropy/files/dyadic/haresh1.gi
f
Let me know what else you'd like me to do.
-Paul