Commit Graph

93 Commits (hotfix)

Author SHA1 Message Date
Christophe Favergeon b46a2f86b5 First version of the dynamic time warping algorithm.
F32 only. Some windows suppported.
3 years ago
Christophe Favergeon f757add3bb Added window functions for use with Fourier transforms.
Regular functions for use with tone detection and noise estimation.
Flat-top windows for estimation of tone amplitudes.

Parameters of the windows are given.

Kaiser window missing (Bessel function not available in the library).

No f16 implementation since it is not accurate enough. It is better
to compute a f32 window and convert to f16 after.
3 years ago
Silfurion 633ab5913e Add Conversion functions from and to 64 bit floating point
Cleaned f64 conversion functions.
3 years ago
Christophe Favergeon 91ef795234 Corrected issue #66
Saturation problem in arm_absmax_no_idx_q(7|15|31)
Difference of behavior for absmax_q(7|15|31) between reference and code:
reference is first max found. Code was last max found.
3 years ago
Christophe Favergeon 633b528421 Corrected issue #49
Incorrect out of bounds value for linear interpolation (float).
3 years ago
Christophe Favergeon 865419778b Added tests for the new accumulate functions.
Corrected build issue on Neon without aarch64 support.
Corrected some Doxygen issues
3 years ago
Christophe Favergeon 91f599c052 Householder and QR decomposition for matrices (f64,f32,f16).
(not yet optimized)
3 years ago
Christophe Favergeon 99bcacd027 CMSIS-DSP: Some improvements for sign conversion warnings.
Added new tests for function in utils.h
4 years ago
Christophe Favergeon 29cb70ce55 CMSIS-DSP: scalar atan2 q31, q15, f32 and f16
Correction to q15 and q31 division when denominator is max
negative value.
4 years ago
Christophe Favergeon 8dcdb350a4 CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64.
Reworked q7 to have a bit more accuracy.
4 years ago
Christophe Favergeon 47a987217f CMSIS-DSP: Mean square error q7 4 years ago
Christophe Favergeon 02d4e88031 CMSIS-DSP: Reworked sqrt q15 and q31 4 years ago
Christophe Favergeon cd7ecea5a7 CMSIS-DSP: Corrected some failing f16 tests. 4 years ago
Christophe Favergeon 3976ce6959 CMSIS-DSP: Corrected wrong test pattern for fixed point division. 4 years ago
Christophe Favergeon 8092cc61f9 CMSIS-DSP: New MFCC Q15 and Q31
arm_cmplx_mag_q15 reworked to be more accurate but less efficient.

New function arm_cmplx_mag_fast_q15 introduced to retain previous
(less accurate) but faster behavior.

Improvement to Python wrapper to support the new functions.
4 years ago
Christophe Favergeon 99dc566e87 CMSIS-DSP: MVE versions of vlog q15 and q31 and PythonWrapper fix
PythonWrapper was no more building on windows due to a too long
link command line.

A temporary fix was made. But on long term the wrapper must be refactored
into submodules to allow to more easily add new functions.
4 years ago
Christophe Favergeon 0597838b9f CMSIS-DSP: New f64 tests
Tests for : BasicMaths, ComplexMaths, Stats, FastMath
Filtering, Distances, Support.

Some tests are disabled because only a subset
of the functions has been converted to f64.
4 years ago
Christophe Favergeon 9674e00294 CMSIS-DSP: log f16 update 4 years ago
Christophe Favergeon 8fb55a90b7 CMSIS-DSP: Added MFCC F16
This first version is not very accurate due to problems with the log.
A coming commit will improve the log accuracy.

Issues #1305 and #1304 also corrected as part of this commit.
4 years ago
Christophe Favergeon 3d264cfabb CMSIS-DSP: MFCC F32
MFCC F32 implementation
MFCC F32 tests
MFCC F32 in Python wrapper
Python wrapper structure updated to support submodule like
cmsisdsp.mfcc and cmsisdsp.fixedpoint
PythonWrapper tests updated to use the new fixedpoint
cmsisdsp.mfcc is used to generate the mel filter, dct and window coefficients.
4 years ago
Christophe Favergeon 9f36d99a0b CMSIS-DSP: Correction os issue 1274
arm_mat_solve_lower_triangular_f32 and arm_mat_solve_upper_triangular_f32
had constraints which could be removed to make the function
more generic.
4 years ago
Christophe Favergeon 840a233053 CMSIS-DSP: Scalar version for arm_vlog_q31
Added scalar version of arm_vlog_q15

Updated PythonWrapper with vlog q31 and q15
Corrected small compilation issue with AC5 compiler.
4 years ago
Christophe Favergeon 1019e4c4a8 CMSIS-DSP: Correcting a bug in matrix inversion
When pivot is 0, the row permutation code was not correct and failing on
some matrixes (but not all matrixes).
5 years ago
Christophe Favergeon 90c27e0f4a CMSIS-DSP: Added absmin and absmax
Scalar versions only.
f32, f16, q31, q15, q7.
5 years ago
Christophe Favergeon baa16ae1a1 CMSIS-DSP: Correcting issue #1165 5 years ago
Christophe Favergeon e9a8ba6255 CMSIS-DSP: Scalar version of Levinson Durbin algorithms.
f32, f16 and q31.
5 years ago
Christophe Favergeon 68dd797c99 CMSIS-DSP: Helium code for clipping functions. 5 years ago
Christophe Favergeon 0556e5fb2a CMSIS-DSP: Added scalar version of clipping functions. 5 years ago
Christophe Favergeon 4357c9e947 CMSIS-DSP: Added scalar f32 quaternion functions.
Some correction for RFFT Fast f32 in Python wrapper
5 years ago
Christophe Favergeon 9a254bc926 CMSIS-DSP: Improvements for building with gcc on M55.
Solve most of f16 issues. But there are still some remaining
build issues with gcc10q4.

2 functions are reverting to scalar version when build with gcc on M55.
(Since Helium versions of those functions are not building).
5 years ago
Christophe Favergeon 212e9cb805 CMSIS-DSP: Added Cholesky decomposition
LL^t and LDL^t variant.

Added foward and backward substitution to solve linear systems
with triangular matrix.
5 years ago
Christophe Favergeon 078c0b282d CMSIS-DSP: Improved f16 scalar code. 5 years ago
Christophe Favergeon 1b34e464ba CMSIS-DSP: Added new f16 tests 5 years ago
Christophe Favergeon d4b4df5198 CMSIS-DSP: Added f32 distance tests 5 years ago
Christophe Favergeon 1b0af07ac9 CMSIS-DSP: Added stats and SVM tests 5 years ago
Christophe Favergeon c2325e1370 CMSIS-DSP: Added Bayes benchmarks 5 years ago
Christophe Favergeon 69d56b1a31 CMSIS-DSP: f16 versions of classical ML functions 5 years ago
Christophe Favergeon b8c9c080d7 CMSIS-DSP: Adedd f16 test patterns for Bayes classifier 5 years ago
Christophe Favergeon 886692b84e CMSIS-DSP: Added f16 test patterns for SVM 5 years ago
Christophe Favergeon 2cafb0c42f CMSIS-DSP: Added f16 test patterns for distance functions 5 years ago
Christophe Favergeon 55c9be8af0 CMSIS-DSP: Added additional f16 statistics functions
and the required f16 fast math functions.
5 years ago
Christophe Favergeon 534c34f883 CMSIS-DSP: Added f16 support functions 5 years ago
Christophe Favergeon 51be1901ce CMSIS-DSP: Added f16 versions of statistics functions. 5 years ago
Christophe Favergeon 71218873eb CMSIS-DSP: Added f16 versions of linear and bilinear interpolations 5 years ago
Christophe Favergeon d2d691cc23 CMSIS-DSP: Added f16 matrix functions 5 years ago
Christophe Favergeon 7d79ffa51f CMSIS-DSP: Added arm_correlate_f16
Corrected PythonWrapper issues due to new f16 functions
5 years ago
Christophe Favergeon f0750e92c2 CMSIS-DSP: Added f16 version of biquads.
Corrected few doxygen issues.
5 years ago
Christophe Favergeon 7c55ae80f7 CMSIS-DSP: Added arm_fir_f16
Improved f16 comlex dot product
Correction to compile flags to FFT tables for MVE version.
5 years ago
Christophe Favergeon ebf9104c4e CMSIS-DSP: Added complex math f16 5 years ago
Christophe Favergeon 41f2015387 CMSIS-DSP: Re-organization of arm_math.h
arm_math.h splitted into several headers.
Interpolation functions moved from arm_math.h to a separate folder.
5 years ago