File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22# SPDX-License-Identifier: BSD-3-Clause
3- # Copyright(c) 2022 Intel Corporation. All rights reserved.
3+ # Copyright(c) 2022-2026 Intel Corporation. All rights reserved.
44
55set -e
66
77RAW_INPUT=in.raw
88RAW_OUTPUT=mfcc.raw
99
10- export LD_LIBRARY_PATH=../../testbench/build_testbench/sof_ep/install/lib:../../testbench/build_testbench/sof_parser/install/lib
11-
12- TESTBENCH=../../testbench/build_testbench/install/bin/testbench
13- OPT=" -q -r 16000 -R 16000 -c 1 -n 1 -b S16_LE -t ../../build_tools/test/topology/test-playback-ssp5-mclk-0-I2S-mfcc-s16le-s16le-48k-24576k-codec.tplg"
10+ TESTBENCH=$SOF_WORKSPACE /sof/tools/testbench/build_testbench/install/bin/sof-testbench4
11+ TOPOLOGY=$SOF_WORKSPACE /sof/tools/build_tools/topology/topology2/development/sof-hda-benchmark-mfcc16.tplg
12+ OPT=" -r 16000 -c 2 -b S16_LE -p 3,4 -t $TOPOLOGY -i $RAW_INPUT -o $RAW_OUTPUT "
1413
1514# Convert input audio file raw 16 kHz 1 channel 16 bit
1615sox --encoding signed-integer " $1 " -L -r 16000 -c 1 -b 16 " $RAW_INPUT "
You can’t perform that action at this time.
0 commit comments