milkdrop2077 / MilkDrop3

MilkDrop 3.0, supports any audio source, double-preset (.milk2), loading presets based on beat detection and much more...
https://twitter.com/MilkDrop2077
514 stars 26 forks source link

foobar2000 component (music player plugin) + Discord streaming #45

Open redactedscribe opened 8 months ago

redactedscribe commented 8 months ago

Would it be possible to integrate the program as a component (plugin) for foobar2000? The benefits I see are for streaming, in particular streaming via Discord: When screen-sharing the fb2k app to be able to stream in stereo (screen-sharing just a screen is in mono I believe), if MilkDrop3 was part of foobar2000 as a UI element (or even as a child popup window) then both the stereo music and the visualizations could be streamed simultaneously.

Streaming often entails using some loopback device (VoiceMeeter) to merge multiple audio sources, and in my case MilkDrop3 isn't responding to fb2k because fb2k is set to use a different output rather than the Primary Sound Driver. If MilkDrop3 was a component, it could be made to respond no matter fb2k's chosen output. Granted, an audio output selector could be implemented into the standalone application would be more universal.

Not sure what other benefits there could be, but I understand that maintaining plugins for various players would require a lot more effort compared to just the one standalone app.

Maybe there's some other solution to being able to stream a single app which both has the music and the visualizations in one. Could MilkDrop3 forward the audio somehow? Then streaming the MilkDrop3 app would be the solution, no plugin needed.

Thanks.

milkdrop2077 commented 8 months ago

Hi, like you've mentioned, maintaining plugins for various players would require a lot more effort compared to just the one standalone app. I'm working on the ability to let the user choose what audio device MilkDrop3 should use, it's almost there.

Screenshot 2024-01-07 103102

I'll look into the ability to get the audio data from one specific app instead of the whole audio device too, it's on my to-do list, but this will take time to code!

redactedscribe commented 7 months ago

In my original comment I mentioned stereo vs mono, but it turns out that Discord these days streams audio in stereo regardless of whether you're streaming an app or your screen (desktop). Good news. Therefore all I really need is your next release which can select a device and I should be able to stream in stereo (by streaming my screen) and show the visualizations simultaneously without issue.