Commit b0ab82b
committed
Tools: Topology: Build topologies with 2-way speaker crossover
This patch modifies cavs-sdw.conf to use sdw-amp-xover.conf
when crossover feature is enabled with SDW_AMP_XOVER set
to true.
The built SDCA function topologies are
sof-sdca-2amp-id2-xover.tplg and
sof-sdca-2amp-feedback-id3-xover.tplg.
The currently built topology duplicates a stereo L,R stream
into L,R,L,R stream and applies 4th order Linkwitz-Riley
low-pass for the first pair and high-pass for the second pair.
The crossover frequency is set to 2 kHz as example. The
crossover parameters should be changed to match the acoustical
design of speaker acoustics of the device. Also there could be
different channels mappings and high/low-pass apply need.
Other variants can be created with the Octave scripts in the
next patch.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent 21beadb commit b0ab82b
2 files changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
122 | | - | |
123 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
124 | 140 | | |
125 | 141 | | |
126 | 142 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
28 | 42 | | |
0 commit comments