wireplumber wip for stt audio sink
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"wireplumber.components": [
|
||||
{
|
||||
"name": "whisper-combined-setup",
|
||||
"type": "virtual-item/item",
|
||||
"provides": "virtual-item"
|
||||
}
|
||||
],
|
||||
"wireplumber.settings": {
|
||||
"node.rules": [
|
||||
{
|
||||
"matches": [
|
||||
{
|
||||
"node.name": "whisper-combined"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"update-props": {
|
||||
"node.description": "Whisper Combined Audio",
|
||||
"media.class": "Audio/Sink"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"context.objects": [
|
||||
{
|
||||
"factory": "adapter",
|
||||
"args": {
|
||||
"factory.name": "support.null-audio-sink",
|
||||
"node.name": "whisper-combined",
|
||||
"node.description": "Whisper Combined Audio",
|
||||
"media.class": "Audio/Sink",
|
||||
"audio.channels": 2,
|
||||
"audio.position": "[ FL FR ]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"factory": "adapter",
|
||||
"args": {
|
||||
"factory.name": "support.null-audio-sink",
|
||||
"node.name": "whisper-speaker-loopback",
|
||||
"node.description": "Speaker to Whisper Loopback",
|
||||
"media.class": "Stream/Output/Audio",
|
||||
"audio.channels": 2,
|
||||
"stream.capture.sink": "@DEFAULT_SINK@",
|
||||
"stream.playback.sink": "whisper-combined"
|
||||
}
|
||||
},
|
||||
{
|
||||
"factory": "adapter",
|
||||
"args": {
|
||||
"factory.name": "support.null-audio-sink",
|
||||
"node.name": "whisper-mic-loopback",
|
||||
"node.description": "Mic to Whisper Loopback",
|
||||
"media.class": "Stream/Output/Audio",
|
||||
"audio.channels": 2,
|
||||
"stream.capture.sink": "@DEFAULT_SOURCE@",
|
||||
"stream.playback.sink": "whisper-combined"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user