Repository navigation
Expand file tree
/
Copy pathphase_vocoder.conf
More file actions
125 lines (115 loc) · 2.41 KB
/
Copy pathphase_vocoder.conf
File metadata and controls
125 lines (115 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
#
# A PHASE_VOCODER component for SOF. All attributes defined herein are namespaced
# by alsatplg to "Object.Widget.phase_vocoder.attribute_name"
#
# Usage: this component can be used by declaring in the parent object. e.g.
#
# Object.Widget.phase_vocoder."N" {
# index 1
# }
#
# Where N is a unique integer in the parent object.
Class.Widget."phase_vocoder" {
#
# Pipeline ID
#
DefineAttribute."index" {
type "integer"
}
#
# Unique instance for PHASE_VOCODER 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"
}
Object.Control {
# Switch controls
mixer."1" {
Object.Base.channel.1 {
name "fc"
shift 0
}
Object.Base.ops.1 {
name "ctl"
info "volsw"
#259 binds the mixer control to switch get/put handlers
get 259
put 259
}
max 1
}
# Enum controls
enum."1" {
Object.Base {
channel.1 {
name "fc"
reg 3
shift 0
}
text.0 {
# Speeds over 1 are disabled for now to be able to operate
# Phase Vocoder Module without DP-DP bind need. The compress
# decoder must be DP, so the DP mode and more free PCM flow
# is not available for the Phase Vocoder.
name "phase_vocoder_speed_enum"
!values [
"0.5"
"0.6"
"0.7"
"0.8"
"0.9"
"1.0"
#"1.1"
#"1.2"
#"1.3"
#"1.4"
#"1.5"
#"1.6"
#"1.7"
#"1.8"
#"1.9"
#"2.0"
]
}
ops.1 {
name "ctl"
info "enum"
#257 binds the mixer control to enum get/put handlers
get 257
put 257
}
}
}
}
#
# Default attributes for phase_vocoder
#
uuid "7a:cb:fb:09:c5:a9:57:4a:84:34:44:40:e5:98:ab:24"
type "effect"
no_pm "true"
num_input_pins 1
num_output_pins 1
}