in reply to Convert wav file to letters

Anon's advice on correlation and convolution is good. Check PDL for fast mathematics which will support that very well, particularly the Fourier transforms. It even has some builtin support for Audio.

After Compline,
Zaxo