How to set up VLC to play media content / stream to a different output other than the default?

We would like to stream multiple analogue microphone inputs through Raspberry Pi.

We have a following configuration:

  • Raspberry Pi 3B/4
  • 2 or more identical USB audio cards

How to create script to start HTTP streaming audio inputs when available?