mirror of https://github.com/thesofproject/sof.git
Tools: Test: Audio: Fix typos in tools/test/audio/*
This patch fixes the typos in audio test Matlab code. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
ae4c30207e
commit
e6f677959b
|
@ -11,7 +11,7 @@ function [n_fail, n_pass, n_na] = src_test(bits_in, bits_out, fs_in_list, fs_out
|
|||
% fs_out - vector of rates out
|
||||
%
|
||||
% A default in-out matrix with 32 bits data is tested if the
|
||||
% paremeters are omitted.
|
||||
% parameters are omitted.
|
||||
%
|
||||
|
||||
% SPDX-License-Identifier: BSD-3-Clause
|
||||
|
@ -386,7 +386,7 @@ end
|
|||
% in the plot as additional freqiencies than main linear up sweep. The aliasing
|
||||
% can be a line, few lines, or lattice pattern depending the SRC conversion
|
||||
% to test. The main sweep line should be steady level and extend from near
|
||||
% zero freqeuncy to near Nyquist (Fs/2).
|
||||
% zero frequency to near Nyquist (Fs/2).
|
||||
|
||||
function fail = chirp_test(t)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ function test = fr_test_measure(test)
|
|||
%% t = fr_test_measure(t)
|
||||
%
|
||||
% Measure frequency response from captured frequency sweep created by
|
||||
% fr_test_input() that sets most of the input struct fiels. The output
|
||||
% fr_test_input() that sets most of the input struct fields. The output
|
||||
% is read from file t.fn_out.
|
||||
%
|
||||
% The test criteria is defined with first three or four latter input
|
||||
|
|
|
@ -61,7 +61,7 @@ else
|
|||
out = [];
|
||||
end
|
||||
|
||||
%% Exctract channels to measure
|
||||
%% Extract channels to measure
|
||||
scale = 1/2^(bits_out-1);
|
||||
lout = length(out);
|
||||
nx = floor(lout/test.nch);
|
||||
|
|
|
@ -8,7 +8,7 @@ function x = multitone( fs, f, amp, tlength )
|
|||
% fs - Sample rate
|
||||
% f - Frequency (Hz)
|
||||
% a - Amplitude (lin)
|
||||
% t - Lenght in seconds
|
||||
% t - Length in seconds
|
||||
%
|
||||
% Example:
|
||||
% x = multitone(48000, [997 1997], 10.^([-26 -46]/20), 1.0);
|
||||
|
|
|
@ -3,7 +3,7 @@ function [y, mark]= sync_chirp(fs, direction)
|
|||
%% [y, mark]= sync_chirp(fs, direction)
|
||||
%
|
||||
% Returns a chirp signal that can be used to mark end and beginning of audio
|
||||
% tests to syncronize input and captured output accurately.
|
||||
% tests to synchronize input and captured output accurately.
|
||||
%
|
||||
% Input
|
||||
% fs - sample rate
|
||||
|
|
Loading…
Reference in New Issue