[Pkg-utopia-maintainers] Bug#1025069: Roland STUDIO-CAPTURE Multichannel

Lucas jaffa225man at gmail.com
Fri Mar 31 11:47:25 BST 2023


I had been happily using my Roland STUDIO-CAPTURE on recent kernels
with only minor changes to /etc/pulse/daemon.conf:
default-sameple-format = S24LE
default-sample-rate = 96000

After upgrading to bookworm and away from pure pulseaudio to
pipewire-pulse (on wireplumber) I only have "Dummy Output" selectable
in Gnome's Settings.
I have modified what I could from 48000 rates to 96000 in
/usr/share/pipewire, but that didn't solve it (and I can't seem to
find a global setting for sample format).  Prior to that, I'd tried
setting the STUDIO-CAPTURE's own rate to 48000 Hz, without change to
Gnome Settings' "Dummy Output" option only.

What does seem to have worked (for now) is running pavucontrol and
setting the Configuration tab's STUDIO-CAPTURE Profile to MultiChannel
Output (or selecting it as the default device for the Input and Output
tabs).  I haven't rebooted yet, though, and I think I'll be needing to
set it again after every boot, as after setting it, it changes Gnome
Settings' "Output Device" to nothing and is greyed out.  The "Input
Device" there may be changed to "Analog Input - STUDIO-CAPTURE", but
that reverts to the "Dummy Output" and no audio.

I think it may have to do with the STUDIO-CAPTURE's many outputs, but
I'm not sure where to set that, aside from possibly creating a device
definition, which pulseaudio alone didn't require.

Here's my pactl list sinks output after pavucontrol sets it up
working, if it helps:
Sink #470
    State: RUNNING
    Name: alsa_output.usb-Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4-01.multichannel-output
    Description: STUDIO-CAPTURE Multichannel
    Driver: PipeWire
    Sample Specification: s32le 10ch 96000Hz
    Channel Map: aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 65536 / 100% / 0.00 dB,   aux1: 65536 / 100% / 0.00
dB,   aux2: 65536 / 100% / 0.00 dB,   aux3: 65536 / 100% / 0.00 dB,
aux4: 65536 / 100% / 0.00 dB,   aux5: 65536 / 100% / 0.00 dB,   aux6:
65536 / 100% / 0.00 dB,   aux7: 65536 / 100% / 0.00 dB,   aux8: 65536
/ 100% / 0.00 dB,   aux9: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source:
alsa_output.usb-Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4-01.multichannel-output.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY
    Properties:
        alsa.card = "3"
        alsa.card_name = "STUDIO-CAPTURE"
        alsa.class = "generic"
        alsa.device = "0"
        alsa.driver_name = "snd_usb_audio"
        alsa.id = "USB Audio"
        alsa.long_card_name = "Roland STUDIO-CAPTURE at
usb-0000:05:00.0-4, high speed"
        alsa.name = "USB Audio"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "Roland STUDIO-CAPTURE at
usb-0000:05:00.0-4, high speed"
        api.alsa.card.name = "STUDIO-CAPTURE"
        api.alsa.path = "hw:3"
        api.alsa.pcm.card = "3"
        api.alsa.pcm.stream = "playback"
        audio.channels = "10"
        audio.position = "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7,AUX8,AUX9"
        card.profile.device = "3"
        device.api = "alsa"
        device.class = "sound"
        device.id = "43"
        device.profile.description = "Multichannel"
        device.profile.name = "multichannel-output"
        device.routes = "0"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "STUDIO-CAPTURE"
        node.name =
"alsa_output.usb-Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4-01.multichannel-output"
        node.nick = "STUDIO-CAPTURE"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:3:hw:3:playback"
        priority.driver = "1000"
        priority.session = "1000"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "53"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "42"
        object.serial = "470"
        node.max-latency = "16384/96000"
        api.alsa.period-size = "512"
        api.alsa.period-num = "64"
        api.alsa.headroom = "512"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "3"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio3"
        device.bus = "usb"
        device.bus-id =
"usb-Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4-01"
        device.bus_path = "pci-0000:05:00.0-usb-0:4:1.1"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-usb"
        device.name =
"alsa_card.usb-Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4-01"
        device.nick = "STUDIO-CAPTURE"
        device.plugged.usec = "19929357"
        device.product.id = "0x0160"
        device.product.name = "STUDIO-CAPTURE"
        device.serial = "Roland_STUDIO-CAPTURE_STCP80008c08d018c010005040a0d0c4"
        device.subsystem = "sound"
        sysfs.path =
"/devices/pci0000:00/0000:00:0b.0/0000:05:00.0/usb5/5-4/5-4:1.1/sound/card3"
        device.vendor.id = "0x0582"
        device.vendor.name = "Roland Corp."
        device.string = "3"
    Formats:
        pcm


And, here it is after Gnome's Settings changes it back to "Dummy
Output" by setting Input to "Analog Input - STUDIO-CAPTURE":
Sink #1105
    State: RUNNING
    Name: auto_null
    Description: Dummy Output
    Driver: PipeWire
    Sample Specification: float32le 2ch 48000Hz
    Channel Map: front-left,front-right
    Owner Module: 4294967295
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 /
100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: auto_null.monitor
    Latency: 0 usec, configured 0 usec
    Flags: DECIBEL_VOLUME LATENCY
    Properties:
        node.name = "auto_null"
        device.description = "Dummy Output"
        audio.rate = "48000"
        audio.channels = "2"
        audio.position = "FL,FR"
        media.class = "Audio/Sink"
        factory.name = "support.null-audio-sink"
        node.virtual = "true"
        monitor.channel-volumes = "true"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "69"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "108"
        object.serial = "1105"
    Formats:
        pcm


I think my cause might be different, but it matches the original subject.
Thanks for any help!



More information about the Pkg-utopia-maintainers mailing list