pacmd_list_json
Read output from pacmd list
and squish it into json. Happens to work on Ubuntu 20.04, but may well not work with anything else or indeed other configurations.
node pacmd_list_json.js
See also
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/812
Similar projects
- https://gist.github.com/zyga/5534776 - didn't work for me.
- Now fixed https://gist.github.com/zyga/5534776#gistcomment-3742655