Skip to content

Instantly share code, notes, and snippets.

@dreamcat4
Last active December 2, 2023 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreamcat4/42260017a29eb7c718c10bbaec60f69b to your computer and use it in GitHub Desktop.
Save dreamcat4/42260017a29eb7c718c10bbaec60f69b to your computer and use it in GitHub Desktop.
{
"id": 58,
"type": "PipeWire:Interface:Device",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"change-mask": [
"props",
"params"
],
"props": {
"alsa.card": 0,
"alsa.card_name": "Pro40-00822d",
"alsa.driver_name": "snd_dice",
"alsa.long_card_name": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.acp.auto-port": false,
"api.acp.auto-profile": false,
"api.alsa.card": 0,
"api.alsa.card.longname": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.alsa.card.name": "Pro40-00822d",
"api.alsa.path": "hw:0",
"api.alsa.use-acp": true,
"api.dbus.ReserveDevice1": "Audio0",
"client.id": 44,
"device.api": "alsa",
"device.bus": "firewire",
"device.bus-id": "firewire-0x00130e040140822d",
"device.bus-path": "pci-0000:2a:00.0",
"device.description": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)",
"device.enum.api": "udev",
"device.icon-name": "audio-card-analog-firewire",
"device.name": "alsa_card.firewire-0x00130e040140822d",
"device.nick": "Pro40-00822d",
"device.plugged.usec": 65610057309,
"device.product.id": "0x0005",
"device.product.name": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)",
"device.serial": "0x00130e040140822d",
"device.string": 0,
"device.subsystem": "sound",
"device.sysfs.path": "/devices/pci0000:00/0000:00:1c.0/0000:29:00.0/0000:2a:00.0/fw2/fw2.0/sound/card0",
"device.vendor.id": "0x130e",
"device.vendor.name": "Texas Instruments",
"factory.id": 14,
"media.class": "Audio/Device",
"object.id": 58,
"object.path": "alsa:pcm:0",
"object.serial": 58
},
"params": {
"EnumProfile": [
{
"index": 0,
"name": "off",
"description": "Off",
"priority": 0,
"available": "yes",
"classes": [
0
]
},
{
"index": 1,
"name": "output:multichannel-output+input:multichannel-input",
"description": "Multichannel Duplex",
"priority": 101,
"available": "unknown",
"classes": [
2,
[
"Audio/Source",
1,
"card.profile.devices",
[
4
]
],
[
"Audio/Sink",
1,
"card.profile.devices",
[
5
]
]
]
},
{
"index": 2,
"name": "output:multichannel-output",
"description": "Multichannel Output",
"priority": 100,
"available": "unknown",
"classes": [
1,
[
"Audio/Sink",
1,
"card.profile.devices",
[
5
]
]
]
},
{
"index": 3,
"name": "pro-audio",
"description": "Pro Audio",
"priority": 1,
"available": "yes",
"classes": [
2,
[
"Audio/Source",
2,
"card.profile.devices",
[
2,
3
]
],
[
"Audio/Sink",
2,
"card.profile.devices",
[
0,
1
]
]
]
},
{
"index": 4,
"name": "input:multichannel-input",
"description": "Multichannel Input",
"priority": 1,
"available": "unknown",
"classes": [
1,
[
"Audio/Source",
1,
"card.profile.devices",
[
4
]
]
]
}
],
"Profile": [
{
"index": 3,
"name": "pro-audio",
"description": "Pro Audio",
"priority": 1,
"available": "yes",
"classes": [
2,
[
"Audio/Source",
2,
"card.profile.devices",
[
2,
3
]
],
[
"Audio/Sink",
2,
"card.profile.devices",
[
0,
1
]
]
],
"save": false
}
],
"EnumRoute": [],
"Route": []
}
}
}
{
"id": 123,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 65,
"max-output-ports": 0,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 12,
"n-output-ports": 12,
"state": "suspended",
"error": null,
"props": {
"alsa.card": 0,
"alsa.card_name": "Pro40-00822d",
"alsa.class": "generic",
"alsa.device": 0,
"alsa.driver_name": "snd_dice",
"alsa.id": "DICE",
"alsa.long_card_name": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"alsa.name": "Pro40-00822d",
"alsa.resolution_bits": 24,
"alsa.subclass": "generic-mix",
"alsa.subdevice": 0,
"alsa.subdevice_name": "subdevice #0",
"api.alsa.card.longname": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.alsa.card.name": "Pro40-00822d",
"api.alsa.path": "hw:0,0",
"api.alsa.pcm.card": 0,
"api.alsa.pcm.stream": "playback",
"audio.adapt.follower": "",
"audio.channels": 12,
"audio.position": "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7,AUX8,AUX9,AUX10,AUX11",
"card.profile.device": 0,
"client.id": 44,
"clock.name": "api.alsa.0",
"clock.quantum-limit": 8192,
"device.api": "alsa",
"device.class": "sound",
"device.id": 58,
"device.profile.description": "Pro",
"device.profile.name": "pro-output-0",
"device.profile.pro": true,
"device.routes": 0,
"factory.id": 18,
"factory.mode": "merge",
"factory.name": "api.alsa.pcm.sink",
"library.name": "audioconvert/libspa-audioconvert",
"media.class": "Audio/Sink",
"node.description": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) Pro",
"node.driver": true,
"node.name": "alsa_output.firewire-0x00130e040140822d.pro-output-0",
"node.nick": "Pro40-00822d",
"node.pause-on-idle": false,
"object.id": 123,
"object.path": "alsa:pcm:0:hw:0,0:playback",
"object.serial": 123,
"priority.driver": 1500,
"priority.session": 1500,
"session.suspend-timeout-seconds": 0
},
"params": {
"EnumFormat": [
{
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "S32LE",
"rate": {
"default": 48000,
"min": 44100,
"max": 48000
},
"channels": 12,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9",
"AUX10",
"AUX11"
]
}
],
"PropInfo": [
{
"id": "volume",
"description": "Volume",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "mute",
"description": "Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "channelVolumes",
"description": "Channel Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "channelMap",
"description": "Channel Map",
"type": "",
"container": "Array"
},
{
"id": "monitorMute",
"description": "Monitor Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "monitorVolumes",
"description": "Monitor Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "softMute",
"description": "Soft Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "softVolumes",
"description": "Soft Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"name": "monitor.channel-volumes",
"description": "Monitor channel volume",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.disable",
"description": "Disable Channel mixing",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.min-volume",
"description": "Minimum volume level",
"type": {
"default": 0,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.max-volume",
"description": "Maximum volume level",
"type": {
"default": 10,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.normalize",
"description": "Normalize Volumes",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.mix-lfe",
"description": "Mix LFE into channels",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.upmix",
"description": "Enable upmixing",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.lfe-cutoff",
"description": "LFE cutoff frequency",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.fc-cutoff",
"description": "FC cutoff frequency (Hz)",
"type": {
"default": 0,
"min": 0,
"max": 48000
},
"params": true
},
{
"name": "channelmix.rear-delay",
"description": "Rear channels delay (ms)",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.stereo-widen",
"description": "Stereo widen",
"type": {
"default": 0,
"min": 0,
"max": 1
},
"params": true
},
{
"name": "channelmix.hilbert-taps",
"description": "Taps for phase shift of rear",
"type": {
"default": 0,
"min": 0,
"max": 255
},
"params": true
},
{
"name": "channelmix.upmix-method",
"description": "Upmix method to use",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"simple",
"Simple upmixing",
"psd",
"Passive Surround Decoding"
]
},
{
"id": "rate",
"description": "Rate scaler",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "quality",
"name": "resample.quality",
"description": "Resample Quality",
"type": {
"default": 4,
"min": 0,
"max": 14
},
"params": true
},
{
"name": "resample.disable",
"description": "Disable Resampling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "dither.noise",
"description": "Add noise bits",
"type": {
"default": 0,
"min": 0,
"max": 16
},
"params": true
},
{
"name": "dither.method",
"description": "The dithering method",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"rectangular",
"Rectangular dithering",
"triangular",
"Triangular dithering",
"triangular-hf",
"Sloped Triangular dithering",
"wannamaker3",
"Wannamaker 3 dithering",
"shaped5",
"Lipshitz 5 dithering"
]
},
{
"name": "debug.wav-path",
"description": "Path to WAV file",
"type": "",
"params": true
},
{
"name": "channelmix.lock-volumes",
"description": "Disable volume updates",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"id": "device",
"name": "api.alsa.path",
"description": "The ALSA device",
"type": "hw:0,0"
},
{
"id": "deviceName",
"description": "The ALSA device name",
"type": ""
},
{
"id": "cardName",
"description": "The ALSA card name",
"type": ""
},
{
"id": "latencyOffsetNsec",
"description": "Latency offset (ns)",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
}
},
{
"name": "audio.channels",
"description": "Audio Channels",
"type": 12,
"params": true
},
{
"name": "audio.rate",
"description": "Audio Rate",
"type": 0,
"params": true
},
{
"name": "audio.format",
"description": "Audio Format",
"type": "UNKNOWN",
"params": true
},
{
"name": "audio.position",
"description": "Audio Position",
"type": "[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9, AUX10, AUX11 ]",
"params": true
},
{
"name": "audio.allowed-rates",
"description": "Audio Allowed Rates",
"type": "[ ]",
"params": true
},
{
"name": "api.alsa.period-size",
"description": "Period Size",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.period-num",
"description": "Number of Periods",
"type": {
"default": 0,
"min": 0,
"max": 1024
},
"params": true
},
{
"name": "api.alsa.headroom",
"description": "Headroom",
"type": {
"default": 1024,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.start-delay",
"description": "Start Delay",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.disable-mmap",
"description": "Disable MMAP",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-batch",
"description": "Disable Batch",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-tsched",
"description": "Disable timer based scheduling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.use-chmap",
"description": "Use the driver channelmap",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.multi-rate",
"description": "Support multiple rates",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "api.alsa.htimestamp",
"description": "Use hires timestamps",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "latency.internal.rate",
"description": "Internal latency in samples",
"type": {
"default": 0,
"min": 0,
"max": 65536
},
"params": true
},
{
"name": "latency.internal.ns",
"description": "Internal latency in nanoseconds",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
},
"params": true
},
{
"name": "clock.name",
"description": "The name of the clock",
"type": "api.alsa.0",
"params": true
}
],
"Props": [
{
"volume": 1,
"mute": false,
"channelVolumes": [
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977,
0.511977
],
"channelMap": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9",
"AUX10",
"AUX11"
],
"softMute": false,
"softVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"monitorMute": false,
"monitorVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"params": [
"monitor.channel-volumes",
false,
"channelmix.disable",
false,
"channelmix.min-volume",
0,
"channelmix.max-volume",
10,
"channelmix.normalize",
false,
"channelmix.mix-lfe",
true,
"channelmix.upmix",
true,
"channelmix.lfe-cutoff",
0,
"channelmix.fc-cutoff",
0,
"channelmix.rear-delay",
0,
"channelmix.stereo-widen",
0,
"channelmix.hilbert-taps",
0,
"channelmix.upmix-method",
"none",
"resample.quality",
4,
"resample.disable",
false,
"dither.noise",
0,
"dither.method",
"none",
"debug.wav-path",
"",
"channelmix.lock-volumes",
false
]
},
{
"device": "hw:0,0",
"deviceName": "",
"cardName": "",
"latencyOffsetNsec": 0,
"params": [
"audio.channels",
12,
"audio.rate",
0,
"audio.format",
"UNKNOWN",
"audio.position",
"[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9, AUX10, AUX11 ]",
"audio.allowed-rates",
"[ ]",
"api.alsa.period-size",
0,
"api.alsa.period-num",
0,
"api.alsa.headroom",
1024,
"api.alsa.start-delay",
0,
"api.alsa.disable-mmap",
false,
"api.alsa.disable-batch",
false,
"api.alsa.disable-tsched",
false,
"api.alsa.use-chmap",
false,
"api.alsa.multi-rate",
true,
"api.alsa.htimestamp",
false,
"latency.internal.rate",
0,
"latency.internal.ns",
0,
"clock.name",
"api.alsa.0"
]
}
],
"Format": [],
"EnumPortConfig": [
{
"direction": "Input",
"mode": {
"default": "none",
"alt1": "none",
"alt2": "dsp",
"alt3": "convert"
},
"monitor": {
"default": false,
"alt1": false,
"alt2": true
},
"control": {
"default": false,
"alt1": false,
"alt2": true
}
}
],
"PortConfig": [
{
"direction": "Input",
"mode": "dsp",
"monitor": true,
"control": false,
"format": {
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "F32P",
"channels": 12,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9",
"AUX10",
"AUX11"
]
}
}
],
"Latency": [
{
"direction": "Input",
"minQuantum": 1,
"maxQuantum": 1,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
},
{
"direction": "Output",
"minQuantum": 0,
"maxQuantum": 0,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
}
],
"ProcessLatency": [
{
"quantum": 0,
"rate": 0,
"ns": 0
}
],
"Tag": []
}
}
}
{
"id": 124,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 65,
"max-output-ports": 0,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 8,
"n-output-ports": 8,
"state": "suspended",
"error": null,
"props": {
"alsa.card": 0,
"alsa.card_name": "Pro40-00822d",
"alsa.class": "generic",
"alsa.device": 1,
"alsa.driver_name": "snd_dice",
"alsa.id": "DICE",
"alsa.long_card_name": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"alsa.name": "Pro40-00822d",
"alsa.resolution_bits": 24,
"alsa.subclass": "generic-mix",
"alsa.subdevice": 0,
"alsa.subdevice_name": "subdevice #0",
"api.alsa.card.longname": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.alsa.card.name": "Pro40-00822d",
"api.alsa.path": "hw:0,1",
"api.alsa.pcm.card": 0,
"api.alsa.pcm.stream": "playback",
"audio.adapt.follower": "",
"audio.channels": 8,
"audio.position": "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7",
"card.profile.device": 1,
"client.id": 44,
"clock.name": "api.alsa.0",
"clock.quantum-limit": 8192,
"device.api": "alsa",
"device.class": "sound",
"device.id": 58,
"device.profile.description": "Pro 1",
"device.profile.name": "pro-output-1",
"device.profile.pro": true,
"device.routes": 0,
"factory.id": 18,
"factory.mode": "merge",
"factory.name": "api.alsa.pcm.sink",
"library.name": "audioconvert/libspa-audioconvert",
"media.class": "Audio/Sink",
"node.description": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) Pro 1",
"node.driver": true,
"node.name": "alsa_output.firewire-0x00130e040140822d.pro-output-1",
"node.nick": "Pro40-00822d",
"node.pause-on-idle": false,
"object.id": 124,
"object.path": "alsa:pcm:0:hw:0,1:playback",
"object.serial": 124,
"priority.driver": 1228,
"priority.session": 1228,
"session.suspend-timeout-seconds": 0
},
"params": {
"EnumFormat": [
{
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "S32LE",
"rate": {
"default": 48000,
"min": 44100,
"max": 48000
},
"channels": 8,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7"
]
}
],
"PropInfo": [
{
"id": "volume",
"description": "Volume",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "mute",
"description": "Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "channelVolumes",
"description": "Channel Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "channelMap",
"description": "Channel Map",
"type": "",
"container": "Array"
},
{
"id": "monitorMute",
"description": "Monitor Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "monitorVolumes",
"description": "Monitor Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "softMute",
"description": "Soft Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "softVolumes",
"description": "Soft Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"name": "monitor.channel-volumes",
"description": "Monitor channel volume",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.disable",
"description": "Disable Channel mixing",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.min-volume",
"description": "Minimum volume level",
"type": {
"default": 0,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.max-volume",
"description": "Maximum volume level",
"type": {
"default": 10,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.normalize",
"description": "Normalize Volumes",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.mix-lfe",
"description": "Mix LFE into channels",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.upmix",
"description": "Enable upmixing",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.lfe-cutoff",
"description": "LFE cutoff frequency",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.fc-cutoff",
"description": "FC cutoff frequency (Hz)",
"type": {
"default": 0,
"min": 0,
"max": 48000
},
"params": true
},
{
"name": "channelmix.rear-delay",
"description": "Rear channels delay (ms)",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.stereo-widen",
"description": "Stereo widen",
"type": {
"default": 0,
"min": 0,
"max": 1
},
"params": true
},
{
"name": "channelmix.hilbert-taps",
"description": "Taps for phase shift of rear",
"type": {
"default": 0,
"min": 0,
"max": 255
},
"params": true
},
{
"name": "channelmix.upmix-method",
"description": "Upmix method to use",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"simple",
"Simple upmixing",
"psd",
"Passive Surround Decoding"
]
},
{
"id": "rate",
"description": "Rate scaler",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "quality",
"name": "resample.quality",
"description": "Resample Quality",
"type": {
"default": 4,
"min": 0,
"max": 14
},
"params": true
},
{
"name": "resample.disable",
"description": "Disable Resampling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "dither.noise",
"description": "Add noise bits",
"type": {
"default": 0,
"min": 0,
"max": 16
},
"params": true
},
{
"name": "dither.method",
"description": "The dithering method",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"rectangular",
"Rectangular dithering",
"triangular",
"Triangular dithering",
"triangular-hf",
"Sloped Triangular dithering",
"wannamaker3",
"Wannamaker 3 dithering",
"shaped5",
"Lipshitz 5 dithering"
]
},
{
"name": "debug.wav-path",
"description": "Path to WAV file",
"type": "",
"params": true
},
{
"name": "channelmix.lock-volumes",
"description": "Disable volume updates",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"id": "device",
"name": "api.alsa.path",
"description": "The ALSA device",
"type": "hw:0,1"
},
{
"id": "deviceName",
"description": "The ALSA device name",
"type": ""
},
{
"id": "cardName",
"description": "The ALSA card name",
"type": ""
},
{
"id": "latencyOffsetNsec",
"description": "Latency offset (ns)",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
}
},
{
"name": "audio.channels",
"description": "Audio Channels",
"type": 8,
"params": true
},
{
"name": "audio.rate",
"description": "Audio Rate",
"type": 0,
"params": true
},
{
"name": "audio.format",
"description": "Audio Format",
"type": "UNKNOWN",
"params": true
},
{
"name": "audio.position",
"description": "Audio Position",
"type": "[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7 ]",
"params": true
},
{
"name": "audio.allowed-rates",
"description": "Audio Allowed Rates",
"type": "[ ]",
"params": true
},
{
"name": "api.alsa.period-size",
"description": "Period Size",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.period-num",
"description": "Number of Periods",
"type": {
"default": 0,
"min": 0,
"max": 1024
},
"params": true
},
{
"name": "api.alsa.headroom",
"description": "Headroom",
"type": {
"default": 1024,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.start-delay",
"description": "Start Delay",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.disable-mmap",
"description": "Disable MMAP",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-batch",
"description": "Disable Batch",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-tsched",
"description": "Disable timer based scheduling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.use-chmap",
"description": "Use the driver channelmap",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.multi-rate",
"description": "Support multiple rates",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "api.alsa.htimestamp",
"description": "Use hires timestamps",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "latency.internal.rate",
"description": "Internal latency in samples",
"type": {
"default": 0,
"min": 0,
"max": 65536
},
"params": true
},
{
"name": "latency.internal.ns",
"description": "Internal latency in nanoseconds",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
},
"params": true
},
{
"name": "clock.name",
"description": "The name of the clock",
"type": "api.alsa.0",
"params": true
}
],
"Props": [
{
"volume": 1,
"mute": false,
"channelVolumes": [
1,
1,
1,
1,
1,
1,
1,
1
],
"channelMap": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7"
],
"softMute": false,
"softVolumes": [
1,
1,
1,
1,
1,
1,
1,
1
],
"monitorMute": false,
"monitorVolumes": [
1,
1,
1,
1,
1,
1,
1,
1
],
"params": [
"monitor.channel-volumes",
false,
"channelmix.disable",
false,
"channelmix.min-volume",
0,
"channelmix.max-volume",
10,
"channelmix.normalize",
false,
"channelmix.mix-lfe",
true,
"channelmix.upmix",
true,
"channelmix.lfe-cutoff",
0,
"channelmix.fc-cutoff",
0,
"channelmix.rear-delay",
0,
"channelmix.stereo-widen",
0,
"channelmix.hilbert-taps",
0,
"channelmix.upmix-method",
"none",
"resample.quality",
4,
"resample.disable",
false,
"dither.noise",
0,
"dither.method",
"none",
"debug.wav-path",
"",
"channelmix.lock-volumes",
false
]
},
{
"device": "hw:0,1",
"deviceName": "",
"cardName": "",
"latencyOffsetNsec": 0,
"params": [
"audio.channels",
8,
"audio.rate",
0,
"audio.format",
"UNKNOWN",
"audio.position",
"[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7 ]",
"audio.allowed-rates",
"[ ]",
"api.alsa.period-size",
0,
"api.alsa.period-num",
0,
"api.alsa.headroom",
1024,
"api.alsa.start-delay",
0,
"api.alsa.disable-mmap",
false,
"api.alsa.disable-batch",
false,
"api.alsa.disable-tsched",
false,
"api.alsa.use-chmap",
false,
"api.alsa.multi-rate",
true,
"api.alsa.htimestamp",
false,
"latency.internal.rate",
0,
"latency.internal.ns",
0,
"clock.name",
"api.alsa.0"
]
}
],
"Format": [],
"EnumPortConfig": [
{
"direction": "Input",
"mode": {
"default": "none",
"alt1": "none",
"alt2": "dsp",
"alt3": "convert"
},
"monitor": {
"default": false,
"alt1": false,
"alt2": true
},
"control": {
"default": false,
"alt1": false,
"alt2": true
}
}
],
"PortConfig": [
{
"direction": "Input",
"mode": "dsp",
"monitor": true,
"control": false,
"format": {
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "F32P",
"channels": 8,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7"
]
}
}
],
"Latency": [
{
"direction": "Input",
"minQuantum": 1,
"maxQuantum": 1,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
},
{
"direction": "Output",
"minQuantum": 0,
"maxQuantum": 0,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
}
],
"ProcessLatency": [
{
"quantum": 0,
"rate": 0,
"ns": 0
}
],
"Tag": []
}
}
}
{
"id": 125,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 0,
"max-output-ports": 65,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 0,
"n-output-ports": 10,
"state": "suspended",
"error": null,
"props": {
"alsa.card": 0,
"alsa.card_name": "Pro40-00822d",
"alsa.class": "generic",
"alsa.device": 0,
"alsa.driver_name": "snd_dice",
"alsa.id": "DICE",
"alsa.long_card_name": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"alsa.name": "Pro40-00822d",
"alsa.resolution_bits": 24,
"alsa.subclass": "generic-mix",
"alsa.subdevice": 0,
"alsa.subdevice_name": "subdevice #0",
"api.alsa.card.longname": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.alsa.card.name": "Pro40-00822d",
"api.alsa.path": "hw:0,0",
"api.alsa.pcm.card": 0,
"api.alsa.pcm.stream": "capture",
"audio.adapt.follower": "",
"audio.channels": 10,
"audio.position": "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7,AUX8,AUX9",
"card.profile.device": 2,
"client.id": 44,
"clock.name": "api.alsa.0",
"clock.quantum-limit": 8192,
"device.api": "alsa",
"device.class": "sound",
"device.id": 58,
"device.profile.description": "Pro",
"device.profile.name": "pro-input-0",
"device.profile.pro": true,
"device.routes": 0,
"factory.id": 18,
"factory.mode": "split",
"factory.name": "api.alsa.pcm.source",
"library.name": "audioconvert/libspa-audioconvert",
"media.class": "Audio/Source",
"node.description": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) Pro",
"node.driver": true,
"node.name": "alsa_input.firewire-0x00130e040140822d.pro-input-0",
"node.nick": "Pro40-00822d",
"node.pause-on-idle": false,
"object.id": 125,
"object.path": "alsa:pcm:0:hw:0,0:capture",
"object.serial": 125,
"priority.driver": 2500,
"priority.session": 2500,
"session.suspend-timeout-seconds": 0
},
"params": {
"EnumFormat": [
{
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "S32LE",
"rate": {
"default": 48000,
"min": 44100,
"max": 48000
},
"channels": 10,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
]
}
],
"PropInfo": [
{
"id": "volume",
"description": "Volume",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "mute",
"description": "Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "channelVolumes",
"description": "Channel Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "channelMap",
"description": "Channel Map",
"type": "",
"container": "Array"
},
{
"id": "monitorMute",
"description": "Monitor Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "monitorVolumes",
"description": "Monitor Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "softMute",
"description": "Soft Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "softVolumes",
"description": "Soft Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"name": "monitor.channel-volumes",
"description": "Monitor channel volume",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.disable",
"description": "Disable Channel mixing",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.min-volume",
"description": "Minimum volume level",
"type": {
"default": 0,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.max-volume",
"description": "Maximum volume level",
"type": {
"default": 10,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.normalize",
"description": "Normalize Volumes",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.mix-lfe",
"description": "Mix LFE into channels",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.upmix",
"description": "Enable upmixing",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.lfe-cutoff",
"description": "LFE cutoff frequency",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.fc-cutoff",
"description": "FC cutoff frequency (Hz)",
"type": {
"default": 0,
"min": 0,
"max": 48000
},
"params": true
},
{
"name": "channelmix.rear-delay",
"description": "Rear channels delay (ms)",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.stereo-widen",
"description": "Stereo widen",
"type": {
"default": 0,
"min": 0,
"max": 1
},
"params": true
},
{
"name": "channelmix.hilbert-taps",
"description": "Taps for phase shift of rear",
"type": {
"default": 0,
"min": 0,
"max": 255
},
"params": true
},
{
"name": "channelmix.upmix-method",
"description": "Upmix method to use",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"simple",
"Simple upmixing",
"psd",
"Passive Surround Decoding"
]
},
{
"id": "rate",
"description": "Rate scaler",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "quality",
"name": "resample.quality",
"description": "Resample Quality",
"type": {
"default": 4,
"min": 0,
"max": 14
},
"params": true
},
{
"name": "resample.disable",
"description": "Disable Resampling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "dither.noise",
"description": "Add noise bits",
"type": {
"default": 0,
"min": 0,
"max": 16
},
"params": true
},
{
"name": "dither.method",
"description": "The dithering method",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"rectangular",
"Rectangular dithering",
"triangular",
"Triangular dithering",
"triangular-hf",
"Sloped Triangular dithering",
"wannamaker3",
"Wannamaker 3 dithering",
"shaped5",
"Lipshitz 5 dithering"
]
},
{
"name": "debug.wav-path",
"description": "Path to WAV file",
"type": "",
"params": true
},
{
"name": "channelmix.lock-volumes",
"description": "Disable volume updates",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"id": "device",
"name": "api.alsa.path",
"description": "The ALSA device",
"type": "hw:0,0"
},
{
"id": "deviceName",
"description": "The ALSA device name",
"type": ""
},
{
"id": "cardName",
"description": "The ALSA card name",
"type": ""
},
{
"id": "latencyOffsetNsec",
"description": "Latency offset (ns)",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
}
},
{
"name": "audio.channels",
"description": "Audio Channels",
"type": 10,
"params": true
},
{
"name": "audio.rate",
"description": "Audio Rate",
"type": 0,
"params": true
},
{
"name": "audio.format",
"description": "Audio Format",
"type": "UNKNOWN",
"params": true
},
{
"name": "audio.position",
"description": "Audio Position",
"type": "[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9 ]",
"params": true
},
{
"name": "audio.allowed-rates",
"description": "Audio Allowed Rates",
"type": "[ ]",
"params": true
},
{
"name": "api.alsa.period-size",
"description": "Period Size",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.period-num",
"description": "Number of Periods",
"type": {
"default": 0,
"min": 0,
"max": 1024
},
"params": true
},
{
"name": "api.alsa.headroom",
"description": "Headroom",
"type": {
"default": 1024,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.start-delay",
"description": "Start Delay",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.disable-mmap",
"description": "Disable MMAP",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-batch",
"description": "Disable Batch",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-tsched",
"description": "Disable timer based scheduling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.use-chmap",
"description": "Use the driver channelmap",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.multi-rate",
"description": "Support multiple rates",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "api.alsa.htimestamp",
"description": "Use hires timestamps",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "latency.internal.rate",
"description": "Internal latency in samples",
"type": {
"default": 0,
"min": 0,
"max": 65536
},
"params": true
},
{
"name": "latency.internal.ns",
"description": "Internal latency in nanoseconds",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
},
"params": true
},
{
"name": "clock.name",
"description": "The name of the clock",
"type": "api.alsa.0",
"params": true
}
],
"Props": [
{
"volume": 1,
"mute": false,
"channelVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"channelMap": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
],
"softMute": false,
"softVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"monitorMute": false,
"monitorVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"params": [
"monitor.channel-volumes",
false,
"channelmix.disable",
false,
"channelmix.min-volume",
0,
"channelmix.max-volume",
10,
"channelmix.normalize",
false,
"channelmix.mix-lfe",
true,
"channelmix.upmix",
true,
"channelmix.lfe-cutoff",
0,
"channelmix.fc-cutoff",
0,
"channelmix.rear-delay",
0,
"channelmix.stereo-widen",
0,
"channelmix.hilbert-taps",
0,
"channelmix.upmix-method",
"none",
"resample.quality",
4,
"resample.disable",
false,
"dither.noise",
0,
"dither.method",
"none",
"debug.wav-path",
"",
"channelmix.lock-volumes",
false
]
},
{
"device": "hw:0,0",
"deviceName": "",
"cardName": "",
"latencyOffsetNsec": 0,
"params": [
"audio.channels",
10,
"audio.rate",
0,
"audio.format",
"UNKNOWN",
"audio.position",
"[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9 ]",
"audio.allowed-rates",
"[ ]",
"api.alsa.period-size",
0,
"api.alsa.period-num",
0,
"api.alsa.headroom",
1024,
"api.alsa.start-delay",
0,
"api.alsa.disable-mmap",
false,
"api.alsa.disable-batch",
false,
"api.alsa.disable-tsched",
false,
"api.alsa.use-chmap",
false,
"api.alsa.multi-rate",
true,
"api.alsa.htimestamp",
false,
"latency.internal.rate",
0,
"latency.internal.ns",
0,
"clock.name",
"api.alsa.0"
]
}
],
"Format": [],
"EnumPortConfig": [
{
"direction": "Output",
"mode": {
"default": "none",
"alt1": "none",
"alt2": "dsp",
"alt3": "convert"
},
"monitor": {
"default": false,
"alt1": false,
"alt2": true
},
"control": {
"default": false,
"alt1": false,
"alt2": true
}
}
],
"PortConfig": [
{
"direction": "Output",
"mode": "dsp",
"monitor": true,
"control": false,
"format": {
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "F32P",
"channels": 10,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
]
}
}
],
"Latency": [
{
"direction": "Input",
"minQuantum": 0,
"maxQuantum": 0,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
},
{
"direction": "Output",
"minQuantum": 1,
"maxQuantum": 1,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
}
],
"ProcessLatency": [
{
"quantum": 0,
"rate": 0,
"ns": 0
}
],
"Tag": []
}
}
}
{
"id": 126,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 0,
"max-output-ports": 65,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 0,
"n-output-ports": 10,
"state": "suspended",
"error": null,
"props": {
"alsa.card": 0,
"alsa.card_name": "Pro40-00822d",
"alsa.class": "generic",
"alsa.device": 1,
"alsa.driver_name": "snd_dice",
"alsa.id": "DICE",
"alsa.long_card_name": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"alsa.name": "Pro40-00822d",
"alsa.resolution_bits": 24,
"alsa.subclass": "generic-mix",
"alsa.subdevice": 0,
"alsa.subdevice_name": "subdevice #0",
"api.alsa.card.longname": "Focusrite SAFFIRE_PRO_40 (serial 33325) at fw2.0, S400",
"api.alsa.card.name": "Pro40-00822d",
"api.alsa.path": "hw:0,1",
"api.alsa.pcm.card": 0,
"api.alsa.pcm.stream": "capture",
"audio.adapt.follower": "",
"audio.channels": 10,
"audio.position": "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7,AUX8,AUX9",
"card.profile.device": 3,
"client.id": 44,
"clock.name": "api.alsa.0",
"clock.quantum-limit": 8192,
"device.api": "alsa",
"device.class": "sound",
"device.id": 58,
"device.profile.description": "Pro 1",
"device.profile.name": "pro-input-1",
"device.profile.pro": true,
"device.routes": 0,
"factory.id": 18,
"factory.mode": "split",
"factory.name": "api.alsa.pcm.source",
"library.name": "audioconvert/libspa-audioconvert",
"media.class": "Audio/Source",
"node.description": "TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) Pro 1",
"node.driver": true,
"node.name": "alsa_input.firewire-0x00130e040140822d.pro-input-1",
"node.nick": "Pro40-00822d",
"node.pause-on-idle": false,
"object.id": 126,
"object.path": "alsa:pcm:0:hw:0,1:capture",
"object.serial": 126,
"priority.driver": 2228,
"priority.session": 2228,
"session.suspend-timeout-seconds": 0
},
"params": {
"EnumFormat": [
{
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "S32LE",
"rate": {
"default": 48000,
"min": 44100,
"max": 48000
},
"channels": 10,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
]
}
],
"PropInfo": [
{
"id": "volume",
"description": "Volume",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "mute",
"description": "Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "channelVolumes",
"description": "Channel Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "channelMap",
"description": "Channel Map",
"type": "",
"container": "Array"
},
{
"id": "monitorMute",
"description": "Monitor Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "monitorVolumes",
"description": "Monitor Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"id": "softMute",
"description": "Soft Mute",
"type": {
"default": false,
"alt1": false,
"alt2": true
}
},
{
"id": "softVolumes",
"description": "Soft Volumes",
"type": {
"default": 1,
"min": 0,
"max": 10
},
"container": "Array"
},
{
"name": "monitor.channel-volumes",
"description": "Monitor channel volume",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.disable",
"description": "Disable Channel mixing",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.min-volume",
"description": "Minimum volume level",
"type": {
"default": 0,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.max-volume",
"description": "Maximum volume level",
"type": {
"default": 10,
"min": 0,
"max": 10
},
"params": true
},
{
"name": "channelmix.normalize",
"description": "Normalize Volumes",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "channelmix.mix-lfe",
"description": "Mix LFE into channels",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.upmix",
"description": "Enable upmixing",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "channelmix.lfe-cutoff",
"description": "LFE cutoff frequency",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.fc-cutoff",
"description": "FC cutoff frequency (Hz)",
"type": {
"default": 0,
"min": 0,
"max": 48000
},
"params": true
},
{
"name": "channelmix.rear-delay",
"description": "Rear channels delay (ms)",
"type": {
"default": 0,
"min": 0,
"max": 1000
},
"params": true
},
{
"name": "channelmix.stereo-widen",
"description": "Stereo widen",
"type": {
"default": 0,
"min": 0,
"max": 1
},
"params": true
},
{
"name": "channelmix.hilbert-taps",
"description": "Taps for phase shift of rear",
"type": {
"default": 0,
"min": 0,
"max": 255
},
"params": true
},
{
"name": "channelmix.upmix-method",
"description": "Upmix method to use",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"simple",
"Simple upmixing",
"psd",
"Passive Surround Decoding"
]
},
{
"id": "rate",
"description": "Rate scaler",
"type": {
"default": 1,
"min": 0,
"max": 10
}
},
{
"id": "quality",
"name": "resample.quality",
"description": "Resample Quality",
"type": {
"default": 4,
"min": 0,
"max": 14
},
"params": true
},
{
"name": "resample.disable",
"description": "Disable Resampling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "dither.noise",
"description": "Add noise bits",
"type": {
"default": 0,
"min": 0,
"max": 16
},
"params": true
},
{
"name": "dither.method",
"description": "The dithering method",
"type": "none",
"params": true,
"labels": [
"none",
"Disabled",
"rectangular",
"Rectangular dithering",
"triangular",
"Triangular dithering",
"triangular-hf",
"Sloped Triangular dithering",
"wannamaker3",
"Wannamaker 3 dithering",
"shaped5",
"Lipshitz 5 dithering"
]
},
{
"name": "debug.wav-path",
"description": "Path to WAV file",
"type": "",
"params": true
},
{
"name": "channelmix.lock-volumes",
"description": "Disable volume updates",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"id": "device",
"name": "api.alsa.path",
"description": "The ALSA device",
"type": "hw:0,1"
},
{
"id": "deviceName",
"description": "The ALSA device name",
"type": ""
},
{
"id": "cardName",
"description": "The ALSA card name",
"type": ""
},
{
"id": "latencyOffsetNsec",
"description": "Latency offset (ns)",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
}
},
{
"name": "audio.channels",
"description": "Audio Channels",
"type": 10,
"params": true
},
{
"name": "audio.rate",
"description": "Audio Rate",
"type": 0,
"params": true
},
{
"name": "audio.format",
"description": "Audio Format",
"type": "UNKNOWN",
"params": true
},
{
"name": "audio.position",
"description": "Audio Position",
"type": "[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9 ]",
"params": true
},
{
"name": "audio.allowed-rates",
"description": "Audio Allowed Rates",
"type": "[ ]",
"params": true
},
{
"name": "api.alsa.period-size",
"description": "Period Size",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.period-num",
"description": "Number of Periods",
"type": {
"default": 0,
"min": 0,
"max": 1024
},
"params": true
},
{
"name": "api.alsa.headroom",
"description": "Headroom",
"type": {
"default": 1024,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.start-delay",
"description": "Start Delay",
"type": {
"default": 0,
"min": 0,
"max": 8192
},
"params": true
},
{
"name": "api.alsa.disable-mmap",
"description": "Disable MMAP",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-batch",
"description": "Disable Batch",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.disable-tsched",
"description": "Disable timer based scheduling",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.use-chmap",
"description": "Use the driver channelmap",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "api.alsa.multi-rate",
"description": "Support multiple rates",
"type": {
"default": true,
"alt1": true,
"alt2": false
},
"params": true
},
{
"name": "api.alsa.htimestamp",
"description": "Use hires timestamps",
"type": {
"default": false,
"alt1": false,
"alt2": true
},
"params": true
},
{
"name": "latency.internal.rate",
"description": "Internal latency in samples",
"type": {
"default": 0,
"min": 0,
"max": 65536
},
"params": true
},
{
"name": "latency.internal.ns",
"description": "Internal latency in nanoseconds",
"type": {
"default": 0,
"min": 0,
"max": 2000000000
},
"params": true
},
{
"name": "clock.name",
"description": "The name of the clock",
"type": "api.alsa.0",
"params": true
}
],
"Props": [
{
"volume": 1,
"mute": false,
"channelVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"channelMap": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
],
"softMute": false,
"softVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"monitorMute": false,
"monitorVolumes": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"params": [
"monitor.channel-volumes",
false,
"channelmix.disable",
false,
"channelmix.min-volume",
0,
"channelmix.max-volume",
10,
"channelmix.normalize",
false,
"channelmix.mix-lfe",
true,
"channelmix.upmix",
true,
"channelmix.lfe-cutoff",
0,
"channelmix.fc-cutoff",
0,
"channelmix.rear-delay",
0,
"channelmix.stereo-widen",
0,
"channelmix.hilbert-taps",
0,
"channelmix.upmix-method",
"none",
"resample.quality",
4,
"resample.disable",
false,
"dither.noise",
0,
"dither.method",
"none",
"debug.wav-path",
"",
"channelmix.lock-volumes",
false
]
},
{
"device": "hw:0,1",
"deviceName": "",
"cardName": "",
"latencyOffsetNsec": 0,
"params": [
"audio.channels",
10,
"audio.rate",
0,
"audio.format",
"UNKNOWN",
"audio.position",
"[ AUX0, AUX1, AUX2, AUX3, AUX4, AUX5, AUX6, AUX7, AUX8, AUX9 ]",
"audio.allowed-rates",
"[ ]",
"api.alsa.period-size",
0,
"api.alsa.period-num",
0,
"api.alsa.headroom",
1024,
"api.alsa.start-delay",
0,
"api.alsa.disable-mmap",
false,
"api.alsa.disable-batch",
false,
"api.alsa.disable-tsched",
false,
"api.alsa.use-chmap",
false,
"api.alsa.multi-rate",
true,
"api.alsa.htimestamp",
false,
"latency.internal.rate",
0,
"latency.internal.ns",
0,
"clock.name",
"api.alsa.0"
]
}
],
"Format": [],
"EnumPortConfig": [
{
"direction": "Output",
"mode": {
"default": "none",
"alt1": "none",
"alt2": "dsp",
"alt3": "convert"
},
"monitor": {
"default": false,
"alt1": false,
"alt2": true
},
"control": {
"default": false,
"alt1": false,
"alt2": true
}
}
],
"PortConfig": [
{
"direction": "Output",
"mode": "dsp",
"monitor": true,
"control": false,
"format": {
"mediaType": "audio",
"mediaSubtype": "raw",
"format": "F32P",
"channels": 10,
"position": [
"AUX0",
"AUX1",
"AUX2",
"AUX3",
"AUX4",
"AUX5",
"AUX6",
"AUX7",
"AUX8",
"AUX9"
]
}
}
],
"Latency": [
{
"direction": "Input",
"minQuantum": 0,
"maxQuantum": 0,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
},
{
"direction": "Output",
"minQuantum": 1,
"maxQuantum": 1,
"minRate": 0,
"maxRate": 0,
"minNs": 0,
"maxNs": 0
}
],
"ProcessLatency": [
{
"quantum": 0,
"rate": 0,
"ns": 0
}
],
"Tag": []
}
}
}
S ID QUANT RATE WAIT BUSY W/Q B/Q ERR FORMAT NAME
I 28 0 0 0.0us 0.0us 0.00 0.00 0 Dummy-Driver
R 36 0 0 0.0us 0.0us 0.00 0.00 0 F32P 2 96000 dis.buf
R 37 0 0 0.0us 0.0us 0.00 0.00 0 F32P 2 96000 mic.buf
S 46 0 0 --- --- --- --- 0 Midi-Bridge
S 118 0 0 --- --- --- --- 0 alsa_output.pci-0000_03_00.1.hdmi-stereo
R 120 1024 96000 1.2ms 0.6us 0.11 0.00 1 S32LE 10 48000 alsa_input.firewire-0x00130e0401404f10.multichannel-input
R 29 0 0 60.1us 11.6us 0.01 0.00 0 F32P 4 96000 + def.sink
S 121 0 0 --- --- --- --- 0 alsa_output.firewire-0x00130e040140822d.pro-output-0
S 122 0 0 --- --- --- --- 0 alsa_output.firewire-0x00130e040140822d.pro-output-1
S 123 0 0 --- --- --- --- 0 alsa_input.firewire-0x00130e040140822d.pro-input-0
S 124 0 0 --- --- --- --- 0 alsa_input.firewire-0x00130e040140822d.pro-input-1
I 386 0 0 0.0us 0.0us 0.00 0.00 0 F32LE 2 96000 Firefox
S 389 0 0 --- --- --- --- 0 Firefox
I 397 0 0 0.0us 0.0us 0.00 0.00 0 F32LE 2 96000 Firefox
I 388 0 0 0.0us 0.0us 0.00 0.00 0 F32LE 2 96000 Firefox
S 396 0 0 --- --- --- --- 0 Firefox
S 410 0 0 --- --- --- --- 0 Firefox
I 413 0 0 0.0us 0.0us 0.00 0.00 0 F32LE 2 96000 Firefox
I 401 0 0 0.0us 0.0us 0.00 0.00 0 F32LE 2 96000 Firefox
θ68° [id:~] [venv] $ amixer -c0 cget iface=CARD,name=clock-rate
numid=11,iface=CARD,name='clock-rate'
; type=ENUMERATED,access=rw----W-,values=1,items=4
; Item #0 '44100'
; Item #1 '48000'
; Item #2 '88200'
; Item #3 '96000'
: values=3
θ64° [id:~] [venv] $ amixer -c4 cget iface=CARD,name=clock-rate
numid=11,iface=CARD,name='clock-rate'
; type=ENUMERATED,access=rw----W-,values=1,items=4
; Item #0 '44100'
; Item #1 '48000'
; Item #2 '88200'
; Item #3 '96000'
: values=3
θ65° [id:~] [venv] $
// dice-stream.c - excerpt
// kernel source: https://gitlab.eclipse.org/idlethread/linux/-/blob/aae4e7a8bc44722fe70d58920a36916b1043195e/sound/firewire/dice/dice-stream.c#L20-L31
/*
* dice_stream.c - a part of driver for DICE based devices
*
* Copyright (c) Clemens Ladisch <clemens@ladisch.de>
* Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp>
*
* Licensed under the terms of the GNU General Public License, version 2.
*/
#include "dice.h"
#define CALLBACK_TIMEOUT 200
#define NOTIFICATION_TIMEOUT_MS (2 * MSEC_PER_SEC)
struct reg_params {
unsigned int count;
unsigned int size;
};
const unsigned int snd_dice_rates[SND_DICE_RATES_COUNT] = {
/* mode 0 */
[0] = 32000,
[1] = 44100,
[2] = 48000,
/* mode 1 */
[3] = 88200,
[4] = 96000,
/* mode 2 */
[5] = 176400,
[6] = 192000,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment