mirror of https://github.com/thesofproject/sof.git
Tools: Topology2: Add DC block component
This patch adds the widget class dcblock and a sample bytes configuration blobs. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
bb8d6baf45
commit
269d8d5924
|
@ -0,0 +1,65 @@
|
|||
#
|
||||
#
|
||||
# A generic dcblock component. All attributes defined herein are namespaced
|
||||
# by alsatplg to "Object.Widget.dcblock.attribute_name"
|
||||
#
|
||||
# Usage: this component can be used by declaring in the parent object. i.e.
|
||||
#
|
||||
# Object.Widget.dcblock."N" {
|
||||
# index 1
|
||||
# }
|
||||
# }
|
||||
|
||||
#
|
||||
# Where M is pipeline ID and N is a unique integer in the parent object.
|
||||
|
||||
Class.Widget."dcblock" {
|
||||
#
|
||||
# Pipeline ID
|
||||
#
|
||||
DefineAttribute."index" {
|
||||
type "integer"
|
||||
}
|
||||
|
||||
#
|
||||
# Unique instance for EQ IIR widget
|
||||
#
|
||||
DefineAttribute."instance" {
|
||||
type "integer"
|
||||
}
|
||||
|
||||
# Include common widget attributes definition
|
||||
<include/components/widget-common.conf>
|
||||
|
||||
attributes {
|
||||
!constructor [
|
||||
"index"
|
||||
"instance"
|
||||
]
|
||||
!mandatory [
|
||||
"num_input_pins"
|
||||
"num_output_pins"
|
||||
"num_input_audio_formats"
|
||||
"num_output_audio_formats"
|
||||
]
|
||||
|
||||
!immutable [
|
||||
"uuid"
|
||||
"type"
|
||||
]
|
||||
!deprecated [
|
||||
"preload_count"
|
||||
]
|
||||
unique "instance"
|
||||
}
|
||||
|
||||
#
|
||||
# Default attributes for dcblock
|
||||
#
|
||||
# b809efaf-5681-42b1-9ed6-04bb012dd384
|
||||
uuid "af:ef:09:b8:81:56:b1:42:9e:d6:04:bb:01:2d:d3:84"
|
||||
type "effect"
|
||||
no_pm "true"
|
||||
num_input_pins 1
|
||||
num_output_pins 1
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x41,0xe3,0x6f,0x3d,0x41,0xe3,0x6f,0x3d,
|
||||
0x41,0xe3,0x6f,0x3d,0x41,0xe3,0x6f,0x3d,
|
||||
0x41,0xe3,0x6f,0x3d,0x41,0xe3,0x6f,0x3d,
|
||||
0x41,0xe3,0x6f,0x3d,0x41,0xe3,0x6f,0x3d"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x92,0x20,0x28,0x3f,0x92,0x20,0x28,0x3f,
|
||||
0x92,0x20,0x28,0x3f,0x92,0x20,0x28,0x3f,
|
||||
0x92,0x20,0x28,0x3f,0x92,0x20,0x28,0x3f,
|
||||
0x92,0x20,0x28,0x3f,0x92,0x20,0x28,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x73,0x09,0xc6,0x3a,0x73,0x09,0xc6,0x3a,
|
||||
0x73,0x09,0xc6,0x3a,0x73,0x09,0xc6,0x3a,
|
||||
0x73,0x09,0xc6,0x3a,0x73,0x09,0xc6,0x3a,
|
||||
0x73,0x09,0xc6,0x3a,0x73,0x09,0xc6,0x3a"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xd4,0x6d,0x4d,0x3e,0xd4,0x6d,0x4d,0x3e,
|
||||
0xd4,0x6d,0x4d,0x3e,0xd4,0x6d,0x4d,0x3e,
|
||||
0xd4,0x6d,0x4d,0x3e,0xd4,0x6d,0x4d,0x3e,
|
||||
0xd4,0x6d,0x4d,0x3e,0xd4,0x6d,0x4d,0x3e"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x7c,0xd0,0x7e,0x3f,0x7c,0xd0,0x7e,0x3f,
|
||||
0x7c,0xd0,0x7e,0x3f,0x7c,0xd0,0x7e,0x3f,
|
||||
0x7c,0xd0,0x7e,0x3f,0x7c,0xd0,0x7e,0x3f,
|
||||
0x7c,0xd0,0x7e,0x3f,0x7c,0xd0,0x7e,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xf6,0x0c,0xd5,0x3f,0xf6,0x0c,0xd5,0x3f,
|
||||
0xf6,0x0c,0xd5,0x3f,0xf6,0x0c,0xd5,0x3f,
|
||||
0xf6,0x0c,0xd5,0x3f,0xf6,0x0c,0xd5,0x3f,
|
||||
0xf6,0x0c,0xd5,0x3f,0xf6,0x0c,0xd5,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x63,0xd7,0x3d,0x3f,0x63,0xd7,0x3d,0x3f,
|
||||
0x63,0xd7,0x3d,0x3f,0x63,0xd7,0x3d,0x3f,
|
||||
0x63,0xd7,0x3d,0x3f,0x63,0xd7,0x3d,0x3f,
|
||||
0x63,0xd7,0x3d,0x3f,0x63,0xd7,0x3d,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xa6,0x88,0xbf,0x3f,0xa6,0x88,0xbf,0x3f,
|
||||
0xa6,0x88,0xbf,0x3f,0xa6,0x88,0xbf,0x3f,
|
||||
0xa6,0x88,0xbf,0x3f,0xa6,0x88,0xbf,0x3f,
|
||||
0xa6,0x88,0xbf,0x3f,0xa6,0x88,0xbf,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x3c,0x9d,0xfc,0x3e,0x3c,0x9d,0xfc,0x3e,
|
||||
0x3c,0x9d,0xfc,0x3e,0x3c,0x9d,0xfc,0x3e,
|
||||
0x3c,0x9d,0xfc,0x3e,0x3c,0x9d,0xfc,0x3e,
|
||||
0x3c,0x9d,0xfc,0x3e,0x3c,0x9d,0xfc,0x3e"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x22,0xfd,0xa9,0x3f,0x22,0xfd,0xa9,0x3f,
|
||||
0x22,0xfd,0xa9,0x3f,0x22,0xfd,0xa9,0x3f,
|
||||
0x22,0xfd,0xa9,0x3f,0x22,0xfd,0xa9,0x3f,
|
||||
0x22,0xfd,0xa9,0x3f,0x22,0xfd,0xa9,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xe6,0x21,0xbb,0x3e,0xe6,0x21,0xbb,0x3e,
|
||||
0xe6,0x21,0xbb,0x3e,0xe6,0x21,0xbb,0x3e,
|
||||
0xe6,0x21,0xbb,0x3e,0xe6,0x21,0xbb,0x3e,
|
||||
0xe6,0x21,0xbb,0x3e,0xe6,0x21,0xbb,0x3e"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x6a,0x6a,0x94,0x3f,0x6a,0x6a,0x94,0x3f,
|
||||
0x6a,0x6a,0x94,0x3f,0x6a,0x6a,0x94,0x3f,
|
||||
0x6a,0x6a,0x94,0x3f,0x6a,0x6a,0x94,0x3f,
|
||||
0x6a,0x6a,0x94,0x3f,0x6a,0x6a,0x94,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x96,0x27,0xf5,0x3d,0x96,0x27,0xf5,0x3d,
|
||||
0x96,0x27,0xf5,0x3d,0x96,0x27,0xf5,0x3d,
|
||||
0x96,0x27,0xf5,0x3d,0x96,0x27,0xf5,0x3d,
|
||||
0x96,0x27,0xf5,0x3d,0x96,0x27,0xf5,0x3d"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xfa,0x86,0x53,0x3f,0xfa,0x86,0x53,0x3f,
|
||||
0xfa,0x86,0x53,0x3f,0xfa,0x86,0x53,0x3f,
|
||||
0xfa,0x86,0x53,0x3f,0xfa,0x86,0x53,0x3f,
|
||||
0xfa,0x86,0x53,0x3f,0xfa,0x86,0x53,0x3f"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
# Exported with script example_dcblock.m 04-Oct-2023
|
||||
# cd tools/tune/dcblock; octave example_dcblock.m
|
||||
Object.Base.data."dcblock_config" {
|
||||
bytes "
|
||||
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
|
||||
0x20,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xec,0x51,0xb8,0x3e,0xec,0x51,0xb8,0x3e,
|
||||
0xec,0x51,0xb8,0x3e,0xec,0x51,0xb8,0x3e,
|
||||
0xec,0x51,0xb8,0x3e,0xec,0x51,0xb8,0x3e,
|
||||
0xec,0x51,0xb8,0x3e,0xec,0x51,0xb8,0x3e"
|
||||
}
|
Loading…
Reference in New Issue