Are you sure your running pulseaudio as systemwide daemon and that the user running nodered is part of the pulse and the pulse-access group?
I just plugged the ps eye into a test pi. I did not change anything in the asound.conf or asoundrc file so its not system default its just plugged in.
I did pactl list
and got this:
Source #3
State: SUSPENDED
Name: alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input
Description: Sony Playstation Eye Multichannel
Driver: module-alsa-card.c
Sample Specification: s16le 4ch 16000Hz
Channel Map: front-left,front-right,rear-left,rear-right
Owner Module: 12
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB, rear-left: 65536 / 100% / 0.00 dB, rear-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "USB Camera-B4.09.24.1"
alsa.long_card_name = "OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-0000:01:00.0-1.3, hi"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.1"
sysfs.path = "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/sound/card2"
udev.id = "usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01"
device.bus = "usb"
device.vendor.id = "1415"
device.vendor.name = "Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc."
device.product.id = "2000"
device.product.name = "Sony Playstation Eye"
device.serial = "OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1"
device.string = "hw:2"
device.buffering.buffer_size = "256000"
device.buffering.fragment_size = "128000"
device.access_mode = "mmap+timer"
device.profile.name = "multichannel-input"
device.profile.description = "Multichannel"
device.description = "Sony Playstation Eye Multichannel"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Formats:
pcm
copied the name and set up a sox record node like this:
and the recording worked no problem:
Im even using voice2json right now streaming from the Playstation eye with the sox record node to the wake word node and this works no problem.
As its pulse I just tested and I can record from it with another record node at the same time no problem.
And as I said the Playstation Eye is not in my asound.conf I just plugged it in and went straight to nodered.
Edit:
Also making sure when you tried recording from nodered you hadn’t started Rhasspy back up or you were using pulseaudio as a source from Rhasspy.