Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio: MFCC: Fix build of component for current SOF #9365

Merged
merged 6 commits into from
Aug 21, 2024

Commits on Aug 21, 2024

  1. Audio: MFCC: Fix build of component for current SOF

    It has not been possible to build the component earlier for Zephyr
    IPC4 systems. This patch makes the next fixes:
    
    - Add SOF_MODULE_INIT() and include of rtos/init.h
    - For unit test fix the init function to
      sys_comp_module_mfcc_interface_init()
    - To Zephyr/CMakeLists.txt add the needed math library sources
    - Add .toml files for rimage for IPC4 systems
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2893ca0 View commit details
    Browse the repository at this point in the history
  2. Tools: Topology2: Move IIR blob define to upper level from pipeline

    The same dai-copier-eqiir-gain-module-copier-capture pipeline can
    be used for both DMIC0 and DMIC1, with different IIR setting,
    so the blob definition is moved to dmic-generic.conf where the
    pipeline is instantiated.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    88407bf View commit details
    Browse the repository at this point in the history
  3. Tools: Topology2: Add MFCC component and topologies for hda-generic

    This patch adds build of topologies
    - sof-hda-generic-cavs25-2ch-mfcc.tplg
    - sof-hda-generic-cavs25-4ch-mfcc.tplg
    - sof-hda-generic-ace1-2ch-mfcc.tplg
    - sof-hda-generic-ace1-4ch-mfcc.tplg
    
    The MFCC is connected to 16 kHz DMIC1 DAI. The MFCC bitstream
    is passed to capture PCM. The DMIC1 pipeline style is copied
    from DMIC0:
    
    DAI copier -> IIR -> gain -> module_copier -> MFCC -> host copier
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    4b21164 View commit details
    Browse the repository at this point in the history
  4. Tools: Tune: MFCC: Add export of default blob for tplg2

    This patch updates the setup_mfcc.m Octave script to produce
    configuration blob for topology version 2 builds.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    1e62f6d View commit details
    Browse the repository at this point in the history
  5. Tools: Tune: MFCC: Fix channels handling in audio feature plotter

    In test topologies the MFCC data can be packed to 1, 2, or 4
    channels stream. This change fixes the shown time scale for
    audio features 3D plot.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    1deaad3 View commit details
    Browse the repository at this point in the history
  6. App: Boards: Temporarily always set MFCC kconfig to yes

    To see draft CI build results, will be removed later for
    proposal.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    8243c8e View commit details
    Browse the repository at this point in the history