remodeled wav library; added frequencies analyzer