Skip to content

Conversation

@singalsu
Copy link
Collaborator

@singalsu singalsu commented Apr 1, 2025

No description provided.

@singalsu
Copy link
Collaborator Author

singalsu commented Apr 1, 2025

Still draft, I'll test locally that new conversions plus existing ones work.

singalsu added 4 commits April 2, 2025 15:52
The added check loads for Octave the signal package. In
Matlab it is available if licensed without need for explicitly
loading it.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
With these additions the new generated and exported SRC
coefficients sets match the existing hand-edited header
files for coefficients.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This change adds conversions from 48 and 96 kHz to rates
11.025 and 22.05 kHz. A column for 64 kHz output rate is
added for completeness, since it is the only missing
standard rate (e.g. for MPEG), but no conversions are
activated for it while there is no requirement yet.

Some comments are added to script and some formatting is
done for readability for supported conversions.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds coefficients modifications to support conversion
from 48 and 96 kHz to 11.025 and 22.05 kHz. All files were
generated with Matlab with run of script sof_src_ipc4_int32.m.

The previous set was generated with Matlab, so these were too
to minimize the patch since there are differences in the FIR
calculation functions in signal processing package.

The files with only copyright year changed to this year 2025
but no other changes were left out from patch to keep this small.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the src_add_96k_conversions branch from 0901cab to 76b3bee Compare April 2, 2025 13:40
@singalsu singalsu marked this pull request as ready for review April 2, 2025 16:02
@singalsu singalsu requested a review from abonislawski as a code owner April 2, 2025 16:02
@singalsu singalsu requested review from kv2019i, lgirdwood and lyakh April 2, 2025 16:03
Copy link
Member

@abonislawski abonislawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wszypelt can we add new conversion rates to full scope or any other test plan which fully stresses SRC?

pkg load signal
end


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary second blank line

@wszypelt
Copy link

wszypelt commented Apr 8, 2025

@singalsu @abonislawski Is the scope we see in the code already final? Mariusz will create new tests, but it will take a while

@lgirdwood lgirdwood merged commit 895be79 into thesofproject:main Apr 8, 2025
41 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants