FrequencyAnalizatorGoertzelMag Method |
64 kbit/s bitrate (8 kHz sampling frequency × 8 bits per sample)
Namespace:
Ozeki.Media
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntaxpublic static float GoertzelMag(
int frequency,
int sampleRate,
byte[] dataB
)
Public Shared Function GoertzelMag (
frequency As Integer,
sampleRate As Integer,
dataB As Byte()
) As Single
public:
static float GoertzelMag(
int frequency,
int sampleRate,
array<unsigned char>^ dataB
)
static member GoertzelMag :
frequency : int *
sampleRate : int *
dataB : byte[] -> float32
Parameters
- frequency
- Type: SystemInt32
Hz - sampleRate
- Type: SystemInt32
Sample per sec - dataB
- Type: SystemByte
8 bits per sample
Return Value
Type:
SingleIf the value is greater than 0.01, the frequeny is detected
See Also