view branches/carfac_cpp/src/unit_conversion.cpp @ 702:7acfa23cde23

Factor out common test utility functions and clean up carfac_test.
author ronw@google.com
date Mon, 01 Jul 2013 19:02:32 +0000
parents d59c0d65624b
children
line wrap: on
line source
#include "unit_conversion.h"

float ERB_Hz(float cf_hz, float erb_break_freq, float erb_q){
  return (erb_break_freq + cf_hz) / erb_q;
}