1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 22:21:11 +02:00

commit patch greatly improving the detection of format of raw audio files, by Philipp Sibler

This commit is contained in:
RichardAsh1981@gmail.com
2014-07-21 21:14:37 +00:00
parent e62d3a55c6
commit 89fc0bf6b7
9 changed files with 940 additions and 9 deletions

View File

@@ -0,0 +1,32 @@
/**********************************************************************
Audacity: A Digital Audio Editor
SpecPowerMeter.h
Philipp Sibler
**********************************************************************/
#ifndef __AUDACITY_SPECPOWERMETER_H_
#define __AUDACITY_SPECPOWERMETER_H_
class SpecPowerMeter
{
int mSigLen;
float* mSigI;
float* mSigFR;
float* mSigFI;
float CalcBinPower(float* sig_f_r, float* sig_f_i, int loBin, int hiBin);
int Freq2Bin(float fc);
public:
SpecPowerMeter(int sigLen);
~SpecPowerMeter();
float CalcPower(float* sig, float fc, float bw);
};
#endif