hi again,
 
my second idea is to get the frequency of the loudest peak in the input sound frequency..
 
any hints?
 
i could compare all the peaks in the table to get the loudest, but isn't that quite slow...
 
thnx
-andre