RewriteEngine On
RewriteRule ^(.*)\.wav$ capcha.php?wav=$1.wav [L]