Skip to content

Commit

Permalink
Tools: Topology2: Add pre-processing to ACE3.x PCM DMIC topologies
Browse files Browse the repository at this point in the history
The topologies for PCs those have PCH DMIC enabled have too silent
noteboook lid microphones capture level. It can be improved with
enable of DRC and beamformer TDFB components in topologies build.
Since the same pipelines are not used for other microphone
endpoints, it is safe to apply fixed processing configuration.

The topologies with -2ch are set with DRC profile "dmic_default"
and with TDFB profile "line2_generic_pm10deg". It provides about
+10 dB boost to sound level and a user facing microphone stereo
beam that improves signal-to-noise ratio. The user space controls
are disabled by default, so the user needs to set the features
on with alsamixer or amixer conmmands.

The 4ch topologies are set with passthrough blob for beamformer.
With a lot of variation in array form factors there is no generic
setting available. The DRC setting is the same for 4ch and
provides +10 dB boost.

The impacted topologies are:

- sof-ptl-rt722-4ch

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu committed Nov 28, 2024
1 parent eefdb9e commit 7bcd9a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/topology/topology2/production/tplg-targets-ace3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ JACK_RATE=96000,DEEP_BUF_JACK_RATE=96000"
PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,DMIC0_ID=5,DMIC1_ID=6,HDMI1_ID=7,HDMI2_ID=8,HDMI3_ID=9,\
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-rt722-4ch.bin"
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-rt722-4ch.bin,DMIC0_ENHANCED_CAPTURE=true,\
EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default"

"cavs-sdw\;sof-ptl-rt712-l2-rt1320-l1\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_LINKS=2,\
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
Expand Down

0 comments on commit 7bcd9a9

Please sign in to comment.