Searched refs:spectral_flatness (Results 1 – 6 of 6) sorted by relevance
26 rtc::ArrayView<const int, kHistogramSize> spectral_flatness, in FindFirstOfTwoLargestPeaks() argument42 if (spectral_flatness[i] > peak_value) { in FindFirstOfTwoLargestPeaks()48 peak_value = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()49 *peak_weight = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()51 } else if (spectral_flatness[i] > secondary_peak_value) { in FindFirstOfTwoLargestPeaks()53 secondary_peak_value = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()54 secondary_peak_weight = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()
66 float* spectral_flatness) { in UpdateSpectralFlatness() argument67 RTC_DCHECK(spectral_flatness); in UpdateSpectralFlatness()75 *spectral_flatness -= kAveraging * (*spectral_flatness); in UpdateSpectralFlatness()93 *spectral_flatness += kAveraging * (spectral_tmp - *spectral_flatness); in UpdateSpectralFlatness()140 &features_.spectral_flatness); in Update()
34 if (features_.spectral_flatness < kHistogramSize * kBinSizeSpecFlat && in Update()35 features_.spectral_flatness >= 0.f) { in Update()36 ++spectral_flatness_[features_.spectral_flatness * kOneByBinSizeSpecFlat]; in Update()
59 width_prior = model.spectral_flatness > prior_model.flatness_threshold in Update()66 (prior_model.flatness_threshold - model.spectral_flatness)) + in Update()
19 spectral_flatness = kSfFeatureThr; in SignalModel()
27 float spectral_flatness; member