Is there a way to intercept and record all sounds happening in a browser tab using Audio API or some other method.
Let's say I am watching simultaneously three YouTube videos in one tab, can I record that using Audio API?
This isn't really directly possible (for security and privacy reasons). As a user, it's possible to set it up - by setting a loopback audio driver as your audio output driver for the YT tabs - but not in a totally automated way.
(This is a duplicate, btw - of Cross application audio analysis with the Web Audio API, et al.)