Home
last modified time | relevance | path

Searched refs:gain (Results 1 – 25 of 71) sorted by relevance

123

/sof-2.7.6/tools/tune/multiband_drc/
Diir_gen_quant_coefs.m19 % Adjust the stage gain (push gains to the last stage) of emphasis filter
32 function [emp, deemp] = emp_deemp_stage_biquad(gain, f1, f2);
34 [z1, p1] = emp_stage_roots(gain, f1);
35 [z2, p2] = emp_stage_roots(gain, f2);
45 % For emphasis filter, alpha should be > 1. Record the alpha gain and then we
46 % will do the stage gain adjustment afterwards.
49 % [ a2 a1 b2 b1 b0 shift gain]
56 % [ a2 a1 b2 b1 b0 shift gain]
61 function [zero, pole] = emp_stage_roots(gain, normalized_freq);
63 gk = 1 - gain / 20;
[all …]
Dexample_multiband_drc.m21 % stage_gain: The gain of each emphasis filter stage
35 % attack: The time to reduce the gain by 10dB, in seconds
36 % release: The time to increase the gain by 10dB, in seconds
/sof-2.7.6/tools/topology/topology2/
Dcavs-gain-hda.conf4 <include/components/gain.conf>
6 <include/pipelines/cavs/gain-playback.conf>
7 <include/pipelines/cavs/gain-capture.conf>
155 gain-playback.1 {
163 Object.Widget.gain.1{
171 gain-playback.3 {
178 Object.Widget.gain.1{
186 gain-playback.5 {
193 Object.Widget.gain.1{
201 gain-playback.6 {
[all …]
Dcavs-windows-simple-pipeline.conf4 <include/components/gain.conf>
9 <include/pipelines/cavs/mixout-gain-playback.conf>
10 <include/pipelines/cavs/gain-capture.conf>
83 gain-capture.2 {
90 Object.Widget.gain.1{
101 mixout-gain-playback.3 {
108 Object.Widget.gain.1{
/sof-2.7.6/tools/tune/eq/
Dgui.m119 gain = str2double(get(biquad.gain.edit, "string")); variable
122 peq = [peq; type, freq, gain, Q];
157 set_section_visibility(biquad.gain, "off");
161 set_section_visibility(biquad.gain, "off");
165 set_section_visibility(biquad.gain, "off");
169 set_section_visibility(biquad.gain, "off");
173 set_section_visibility(biquad.gain, "on");
177 set_section_visibility(biquad.gain, "on");
181 set_section_visibility(biquad.gain, "on");
185 set_section_visibility(biquad.gain, "on");
[all …]
Deq_iir_blob_quant.m9 % k - gain
50 scale_max = -6; % dB, scale biquads peak gain to this
80 gain = 1; variable
84 % scaling shifts and finally gain multiplier for output.
109 gain = gain*gain_remain; variable
123 %% Apply remaining gain at last section output
125 section_shift = -fix(log(gain)/log(2));
126 section_gain= gain/2^(-section_shift);
140 %fprintf('sec=%d, shift=%d, gain=%f\n', n, section_shift, section_gain);
Deq_iir_blob_decode.m102 gain = gaini/2^14; variable
103 b0 = b0 * 2^(-shifti) * gain;
/sof-2.7.6/src/math/
Diir_df2t_hifi3.c56 ae_f32x2 gain; in iir_df2t() local
87 AE_LA32X2_IP(gain, align, coefp); in iir_df2t()
111 acc = AE_MULF32R_HH(gain, tmp); /* Gain */ in iir_df2t()
/sof-2.7.6/src/audio/drc/
Ddrc_hifi3.c100 ae_f32 gain; in drc_update_detector_average() local
149 gain = volume_gain(p, abs_input_array[i]); /* Q2.30 */ in drc_update_detector_average()
150 gain_diff = AE_SUB32(gain, detector_average); /* Q2.30 */ in drc_update_detector_average()
153 if ((int32_t)gain > NEG_TWO_DB_Q30) { in drc_update_detector_average()
157 gain = AE_SRAI32R(gain, 4); /* Q2.30 -> Q6.26 */ in drc_update_detector_average()
158 db_per_frame = drc_mult_lshift(drc_lin2db_fixed(gain), in drc_update_detector_average()
167 detector_average = gain; in drc_update_detector_average()
/sof-2.7.6/tools/topology/topology2/include/pipelines/cavs/
Dmixout-gain-playback.conf50 gain."1" {
Dgain-capture.conf52 gain."1" {
Dgain-playback.conf52 gain."1" {
/sof-2.7.6/tools/test/audio/
Dsof_test_perf_config.m37 test.g_db_tol = 0.5; % Tolerance for gain
38 test.g_db_expect = 0.0; % Expected gain
Dsof_test_perf_README.txt25 quality are gain, frequency response (FR), and total harmonic
102 sof_audio_quality_test.sh. It won't proceed if the gain test is not
103 passing. Based on the reported difference vs. expected 0 dB gain
104 adjust the alsamixer settings for you USB sound card capture gain. The
114 desktop. Once the gain test is passed the script executes the FR and
/sof-2.7.6/tools/tune/drc/
Dexample_drc.m22 % attack: The time to reduce the gain by 10dB, in seconds
24 % release: The time to increase the gain by 10dB, in seconds
/sof-2.7.6/tools/tune/src/
Dsrc_generate.m130 % Distribute gain also
131 cnv1.gain = cnv1.gain/2;
132 cnv2.gain = cnv2.gain/2;
/sof-2.7.6/tools/topology/topology1/m4/
Deq_iir_coef_highpass_20hz_0db_16khz.m41 # 20 Hz second order high-pass, gain 0 dB, created with example_iir_eq.m 27-Nov-2019
Deq_iir_coef_highpass_20hz_0db_48khz.m41 # 20 Hz second order high-pass, gain 0 dB, created with example_iir_eq.m 27-Nov-2019
Deq_iir_coef_highpass_20hz_20db_16khz.m41 # 20 Hz second order high-pass, gain 20 dB, created with example_iir_eq.m 30-Mar-2020
Deq_iir_coef_highpass_20hz_20db_48khz.m41 # 20 Hz second order high-pass, gain 20 dB, created with example_iir_eq.m 30-Mar-2020
Deq_iir_coef_highpass_30hz_0db_16khz.m41 # 30 Hz second order high-pass, gain 0 dB, created with example_iir_eq.m 27-Nov-2019
Deq_iir_coef_highpass_30hz_0db_48khz.m41 # 30 Hz second order high-pass, gain 0 dB, created with example_iir_eq.m 27-Nov-2019
Deq_iir_coef_highpass_30hz_20db_16khz.m41 # 30 Hz second order high-pass, gain 20 dB, created with example_iir_eq.m 30-Mar-2020
Deq_iir_coef_highpass_30hz_20db_48khz.m41 # 30 Hz second order high-pass, gain 20 dB, created with example_iir_eq.m 30-Mar-2020
Deq_iir_coef_highpass_40hz_0db_16khz.m41 # 40 Hz second order high-pass, gain 0 dB, created with example_iir_eq.m 27-Nov-2019

123