Skip to content

Conversation

@singalsu
Copy link
Contributor

@singalsu singalsu commented Jul 1, 2022

This patch adds a section about measuring acoustical speaker
frequency response and design of IIR and FIR equalizers to
improve it.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com

@lgirdwood
Copy link
Member

lgirdwood commented Jul 4, 2022

@singalsu can you check CI thanks.

@ShriramShastry
Copy link

ShriramShastry commented Jul 6, 2022

I'm not sure how the graphs are constructed, even though the target filter response charts are produced; therefore, a brief explanation of the input type and filter type used would be useful.

Thank you !!

@marc-hb
Copy link
Collaborator

marc-hb commented Jul 6, 2022

The build in https://github.com/thesofproject/sof-docs/runs/7148090318?check_suite_focus=true failed because of... some unrelated doxygen copy/paste from @juimonen , see thesofproject/sof#5731 (comment)

Fix submitted in thesofproject/sof#5995, please help review (@juimonen is on vacation)

@singalsu
Copy link
Contributor Author

@lgirdwood Could someone review this please?

This patch adds a section about measuring acoustical speaker
frequency response and design of IIR and FIR equalizers to
improve it.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the add_equalizers_tutorial branch from cdb599f to 8817a50 Compare February 1, 2023 07:53
@singalsu
Copy link
Contributor Author

singalsu commented Feb 1, 2023

I'm not sure how the graphs are constructed, even though the target filter response charts are produced; therefore, a brief explanation of the input type and filter type used would be useful.

Thank you !!

Did the text leave to you opens? I know it's harder to review markup language with pictures separately, but the text describes the steps done where the plots were created. Executing with some own tuning case the commands should help explain what happens.

Copy link

@ShriramShastry ShriramShastry left a comment

Choose a reason for hiding this comment

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

Thank you!!
I'm okay with plot responses.
Ideally, I would conduct my own test and analyse the results.

@btian1
Copy link

btian1 commented Feb 2, 2023

these are great pictures in frequency domain, and very helpful for audio algorithm developers.
Can we follow up with some pictures in time domain with sweep signal, it is more straightforward for non-audio algorithm developers, it will directly show which part of freq was impacted in a sweep signal.


The settings file

.. code-block:: bash
Copy link
Contributor

Choose a reason for hiding this comment

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

When the "bash" is used as the language mode for styling while it is just 'cat' followed by a content of a file that uses different language, some strange color styling appears. Might be better to just paste the content and put the file name next it it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder if there's a suitable code-block style for generic ASCII stuff. Do you have a recommendation? Just pasting the content without code-block would apply text formatting to it that would mess it up.

Copy link
Contributor

Choose a reason for hiding this comment

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

You may replace it with (note the :: at the end of the previous paragraph)

The settings file::

   The content of the file (each line indented)
   that is not processed and rendered using monospace font.

psycho-acoustics. Therefore ⅓ octaves should be the smallest feasible
width of octaves smoothing to use.

.. figure:: Picture_response_with_smoothing.png
Copy link
Contributor

Choose a reason for hiding this comment

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

It is recommended to use SVG images because 1) they are scalable without loosing a quality and 2) text labels etc. that are part of the graphics are searchable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, octave seems to now have svg as option for print. Hopefully also web browsers are OK with it. I will test it for next contribution.

Copy link
Contributor

Choose a reason for hiding this comment

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

All plantuml diagrams are already rendered to SVG and I have not seen any issues with web browsers reported.

@singalsu
Copy link
Contributor Author

singalsu commented Feb 2, 2023

these are great pictures in frequency domain, and very helpful for audio algorithm developers. Can we follow up with some pictures in time domain with sweep signal, it is more straightforward for non-audio algorithm developers, it will directly show which part of freq was impacted in a sweep signal.

That could be easily added to EQ tool, e.g. just show the resulting lin or log chirp waveform of the design. It would help to understand the dB -> linear amplitude impact.

@lgirdwood lgirdwood merged commit 96128fe into thesofproject:master Feb 3, 2023
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.

6 participants