Skip to content

Fix filterdesign and enable test#203

Merged
ed-xmos merged 1 commit intoxmos:developfrom
ed-xmos:feature/filter_design_test
Aug 8, 2023
Merged

Fix filterdesign and enable test#203
ed-xmos merged 1 commit intoxmos:developfrom
ed-xmos:feature/filter_design_test

Conversation

@ed-xmos
Copy link
Copy Markdown
Contributor

@ed-xmos ed-xmos commented Jul 28, 2023

#201

Note - this does result in:

mic_array/script/filter_design/filter_tools.py:82: UserWarning: max filter coefficient > 2^15, scaling coefficients, some may be lost
warnings.warn("max filter coefficient > 2^15, scaling coefficients, some may be lost")

Which may not be good?

@ed-xmos ed-xmos requested a review from Allan-xmos July 28, 2023 10:56
@mbanth mbanth added the type:testing Issue with testing label Jul 28, 2023
@mbanth mbanth assigned ed-xmos and unassigned mbanth Jul 28, 2023
Copy link
Copy Markdown
Contributor

@Allan-xmos Allan-xmos left a comment

Choose a reason for hiding this comment

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

Looks good to me. I would keep the warning as a reminder for now. Doing a 5 stage MA filter (needed for 32kHz) results in coefficients with a >int16 dynamic range, which causes the warning and scaling.

@ed-xmos ed-xmos merged commit 567b09d into xmos:develop Aug 8, 2023
@ed-xmos ed-xmos deleted the feature/filter_design_test branch August 8, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:testing Issue with testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants