Stream audio from another application
3 ways to stream music or other audio from an application
1. Internal audio routing software
You can use Dante Via or another "audio router" that will send the audio from an application on your computer to the web browser. In this way the browser understands the signal of your choice as an audio input.
>> See details and explanation here.
2. Loop trick
If you don't want to install a special software, you can also do the trick manually. For this you set up an "audio cable loop": You simply take a 3,5mm audio cable, and plug it in both the output and input of your computer, so basically the computer "hears" its own audio signal.
If your computer does only have one audio jack for input/output, you can simply get an external USB sound card that offers separate in- and outputs. You can get them for under 10 Dollars, like this one here on Amazon