calculate the frequency of a 12m wav