This page is a quick guide on how to use your own audio. Since browsers can't directly access client audio playback, you'll need to route your playback into a virtual microphone, then allow the browser to capture that mic.
That's the gist of it, and this can be achieved in a number of ways. The simplest I am aware of is using Realtek's Stereo Mix driver if you are using a Realtek audio chip.
My preferred way of doing this is with the Voicemeeter application. All versions are donation-ware, so I reccomend going for Voicemeeter Banana.
Once the application is installed, go to sound settings and set "Voicemeeter Input" as your default playback/output device. This should route all your PC audio into the Voicemeeter application, in the middle column labeled "Voicemeeter Input".
To route this source to a virtual microphone, click either B1 or B2 in that column to route to output B1 or B2 (you will be asked to select one of these by the browser). To hear the audio playback yourself, you will want to also click A1 on the source to route that audio to output A1, then define what output A1 *is* by clicking on "A1" in the top right of the application and selecting the playback device.
Once configured, you should be sending your PC audio both to a virtual mic and to your playback device. To use my visualizers, simply click "use your mic" then select the virtual mic you configured (Voicemeeter out B1, Realtek Stereo Mix, etc.).