Home
last modified time | relevance | path

Searched refs:fft_p2 (Results 1 – 6 of 6) sorted by relevance

/dports/audio/noise-repellent-lv2/noise-repellent-0.1.5-3-g7f5a8fb/src/
H A Dspectral_processing.c63 preprocessing(float noise_thresholds_offset, float *fft_p2, in preprocessing() argument
82 *(transient_present) = transient_detection(fft_p2, transient_preserv_prev, in preprocessing()
91 compute_alpha_and_beta(fft_p2, noise_thresholds_p2, fft_size_2, in preprocessing()
120 memcpy(smoothed_spectrum, fft_p2, sizeof(float) * (fft_size_2 + 1)); in preprocessing()
141 spectral_gain(float *fft_p2, float *noise_thresholds_p2, float *noise_thresholds_scaled, in spectral_gain() argument
150 power_subtraction(fft_size_2, fft_p2, noise_thresholds_scaled, Gk); in spectral_gain()
157 wiener_subtraction(fft_size_2, fft_p2, noise_thresholds_scaled, Gk); in spectral_gain()
H A Dextra_functions.c421 spectral_envelope(int fft_size_2, float *fft_p2, int samp_rate, float *spectral_envelope_values)
453 float spectrum_energy_val = fft_p2[i]; // * fft_p2[i];
476 spectral_peaks(int fft_size_2, float *fft_p2, FFTPeak *spectral_peaks, int *peak_pos,
490 fft_magnitude_db[k] = to_dB(sqrtf(fft_p2[k]));
762 transient_detection(float *fft_p2, float *transient_preserv_prev, float fft_size_2,
768 reduction_function = spectral_flux(fft_p2, transient_preserv_prev, fft_size_2);
784 memcpy(transient_preserv_prev, fft_p2, sizeof(float) * (fft_size_2 + 1));
958 get_info_from_bins(float *fft_p2, float *fft_magnitude, float *fft_phase,
968 fft_p2[0] = real_p * real_p;
994 fft_p2[k] = p2;
H A Destimate_noise_spectrum.c178 get_noise_statistics(float *fft_p2, int fft_size_2, float *noise_thresholds_p2, in get_noise_statistics() argument
188 noise_thresholds_p2[k] = fft_p2[k]; in get_noise_statistics()
192 noise_thresholds_p2[k] += ((fft_p2[k] - noise_thresholds_p2[k]) / window_count); in get_noise_statistics()
H A Dnrepel.c131 float *fft_p2; //power spectrum member
261 self->fft_p2 = (float *)calloc((self->fft_size_2 + 1), sizeof(float)); in instantiate()
518 get_info_from_bins(self->fft_p2, self->fft_magnitude, self->fft_phase, in run()
530 if (!is_empty(self->fft_p2, self->fft_size_2)) in run()
536 adapt_noise(self->fft_p2, self->fft_size_2, self->noise_thresholds_p2, in run()
553 get_noise_statistics(self->fft_p2, self->fft_size_2, in run()
564 preprocessing(self->thresholds_offset_linear, self->fft_p2, in run()
577 spectral_gain(self->fft_p2, self->noise_thresholds_p2, in run()
H A Dmasking.c410 compute_alpha_and_beta(float *fft_p2, float *noise_thresholds_p2, int fft_size_2,
429 estimated_clean[k] = MAX(fft_p2[k] - noise_thresholds_p2[k], FLT_MIN);
/dports/audio/eq10q-lv2/eq10q-2.2/
H A Deq.c96 fftw_plan fft_p, fft_p2; member
120 fftw_destroy_plan(plugin->fft_p2); in cleanupEQ()
278 …plugin_data->fft_p2 = fftw_plan_r2r_1d(FFT_N, plugin_data->fft_in2, plugin_data->fft_out2, FFTW_R2… in instantiateEQ()
490 fftw_execute(plugin_data->fft_p2); in runEQ_v2()