HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: djdron on 2020-10-27 00:38:49

Title: foo_vis_projectM
Post by: djdron on 2020-10-27 00:38:49
Hi guys!

Just ported projectM visualizer (https://github.com/projectM-visualizer/projectm) (aka Winamp MilkDrop (https://en.wikipedia.org/wiki/MilkDrop)) to foobar2000 visualization (https://github.com/djdron/projectm/tree/foobar2000).

How to use?
Title: Re: foo_vis_projectM
Post by: 2tec on 2020-10-27 01:33:43
Installed and working, seems stable, looks great, thanks, good job. Right click changes to the next visualisation but I couldn't find any settings / parameters / options.
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-01 16:50:15
Published in components page (https://www.foobar2000.org/components/view/foo_vis_projectM)
Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-01 22:18:07
Nice work! It would be glad to see Columns UI support for inserting the panel in layout.
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-02 10:16:30
Nice work! It would be glad to see Columns UI support for inserting the panel in layout.
It may be inserted in any place in the layout.
Read first post in topic)
Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-02 13:56:15
Nice work! It would be glad to see Columns UI support for inserting the panel in layout.
It may be inserted in any place in the layout.
Read first post in topic)
It is only relevant to Default UI. If you want to add support of Columns UI, you will need to do it explicitly.

X
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-02 15:58:58
And what do i need to do for this?
I've found this request (https://github.com/reupen/columns_ui/issues/51).
Title: Re: foo_vis_projectM
Post by: iridescentaudio on 2020-12-02 16:57:39
Great idea for a component, thanks for making it. Unfortunately, foobar2000 crashed for me as soon as I ran it. I've attached crashdumps to my post.

I found a Windows binary for projectM sometime last year that never worked for me either. I fear it may be my antiquated graphics hardware that is the cause (onboard Intel HD, circa 2012 if that helps.) Milkdrop runs happily in Shpeck, though I appreciate they're not entirely the same thing. I would prefer to use this if at all possible though...
Title: Re: foo_vis_projectM
Post by: The Link on 2020-12-02 17:33:20
There should be some crash reports from me in the database, too. I really like your efforts. Would be nice if you could make the shortcuts work, too. Thanks for your work!
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-02 20:31:43
Milkdrop runs happily in Shpeck, though I appreciate they're not entirely the same thing. I would prefer to use this if at all possible though...
Could you try to launch official projectM version from steam (https://store.steampowered.com/app/1358800/projectM_Music_Visualizer/) on this hardware?
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-02 20:36:35
There should be some crash reports from me in the database, too. I really like your efforts. Would be nice if you could make the shortcuts work, too. Thanks for your work!
Thanks for feedback! Is it ok for you to try to test official version from steam too?
Title: Re: foo_vis_projectM
Post by: 2tec on 2020-12-02 20:59:44
Installed the Steam standalone version, went ok. Toggles to fullscreen but not back to a window? Toggles to both displays, but not back again, does go to single screen with ctrl-f? Menu text doesn't scale down in window view. Everything else seems functional, thanks again.
Title: Re: foo_vis_projectM
Post by: The Link on 2020-12-02 22:31:19
I hope the report by 2tec is sufficient as I don't have steam installed.
Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-02 22:37:28
And what do i need to do for this?
I've found this request (https://github.com/reupen/columns_ui/issues/51).
When you develop panel for Default UI you probably inherit ui_element_instance class from foobar2000 SDK.
When you develop panel for Columns UI you inherit uie::container_ui_extension (window_helper.h) or so from its own SDK (https://github.com/reupen/columns_ui-sdk)
All panels that works both in DUI and CUI implement both of that interfaces
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-03 10:35:22
I hope the report by 2tec is sufficient as I don't have steam installed.
No) I mean test crashes on your hardware with official projectM version.
There is (https://github.com/projectM-visualizer/projectm/releases) not only steam version.
I only develop plugin for foobar2000.
2tec do you have crashes?
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-03 10:38:10
All panels that works both in DUI and CUI implement both of that interfaces
Ok.
Is there a reason why CUI is unable to insert DUI elements?
And why i need to integrate one more SDK.
I think we all need to like this post (https://github.com/reupen/columns_ui/issues/51#issuecomment-292782346).
Title: Re: foo_vis_projectM
Post by: 2tec on 2020-12-03 10:44:29
No, seems stable on my Win10 system
Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-03 15:32:53
All panels that works both in DUI and CUI implement both of that interfaces
Ok.
Is there a reason why CUI is unable to insert DUI elements?
And why i need to integrate one more SDK.
I think we all need to like this post (https://github.com/reupen/columns_ui/issues/51#issuecomment-292782346).
No, that's not the point. The fact is that almost all the "DUI only panels" are developed by the author of the foobar2000 and have a closed source code, so they cannot be modified by anyone else to support the CUI. But almost all panels developed by third-party developers (http://www.foobar2000.org/components/tag/Default+UI+element) that I have come across personally support both interfaces. Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-03 16:17:56
Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.
BTW, do you have projectM in foobar2000 menu -> View -> Visualizations ?
Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-03 18:00:53
Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.
BTW, do you have projectM in foobar2000 menu -> View -> Visualizations ?
Yes. But it opens like a separate window. CUI support is required precisely for embedding the panel into the foobar2000 window for layout editing.
Title: Re: foo_vis_projectM
Post by: 2tec on 2020-12-03 18:11:57
Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.
Development has to start somewhere. Something is better than nothing.



Title: Re: foo_vis_projectM
Post by: LUR on 2020-12-03 18:27:20
Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.
Development has to start somewhere. Something is better than nothing.
I totally agree. it's just a suggestion for the future. Moreover, at the very beginning of development, it is possible to expand the audience for everyday testing.
Title: Re: foo_vis_projectM
Post by: iridescentaudio on 2020-12-04 10:30:55
Milkdrop runs happily in Shpeck, though I appreciate they're not entirely the same thing. I would prefer to use this if at all possible though...
Could you try to launch official projectM version from steam (https://store.steampowered.com/app/1358800/projectM_Music_Visualizer/) on this hardware?

I didn't realise there had been a more formal release of project M on Windows, that's good to see. Alas, it behaves exactly the same way as the other standalone binary I had; a window opens for half a second and immediately exits. No error message is displayed, so I'm left completely in the dark. At least this should be reassuring that your component is probably not responsible, though if you (or anyone) has any pointers for me I'd greatly appreciate it. (most likely pointer: buy a graphics card)

Simply by deciding not to include support for CUI in your component, you thereby deprive a very large part of the player's audience of the opportunity to use a modern visualizer.

I realise it may not be ideal for your purposes, but you could create a custom button and put that somewhere in your interface, since that way it still opens in DUI.
Title: Re: foo_vis_projectM
Post by: 2tec on 2020-12-04 14:07:59
the Stream app full screen toggle is working, it was just me or my settings
Title: Re: foo_vis_projectM
Post by: djdron on 2020-12-08 15:29:42
I think we all need to like this post (https://github.com/reupen/columns_ui/issues/51#issuecomment-292782346).
Guys, please open that post and press "Like" button)
Title: Re: foo_vis_projectM
Post by: K33pSm1l1ng on 2021-01-01 14:24:25
This is a really nice plugin, but somehow the mentioned shortkeys under the github page not working in foobar2000.
Right clicking changes the current visualization and it seems only some of the Shift + <key> shortcuts are working too.
Title: Re: foo_vis_projectM
Post by: djdron on 2021-01-18 16:01:51
K33pSm1l1ng
The only thing implemented is right mouse button click - switch to next preset.
Title: Re: foo_vis_projectM
Post by: vladim1r on 2021-04-02 06:14:44
Thank you for porting this. It works great and looks amazing at 4k. I do have one suggestion if at all possible: to add a hotkey to lock the current visualization. What happens is, I will see a really nice one but then it changes automatically to something not as nice. So a lock feature would be fantastic and greatly appreciated.
Title: Re: foo_vis_projectM
Post by: darkflame23 on 2021-04-02 15:46:23
It works well here.

Is there a way to transfer my old presets from Schpeck/Winamp Milkdrop to this new ProjectM? How can you access the ProjectM settings etc? Where are the ProjectM presets stored?
Title: Re: foo_vis_projectM
Post by: djdron on 2021-07-22 18:30:40
It works well here.

Hi darkflame23 !
Good to read this)

Quote
Is there a way to transfer my old presets from Schpeck/Winamp Milkdrop to this new ProjectM? How can you access the ProjectM settings etc? Where are the ProjectM presets stored?

Presets are stored here: "C:\Users\<user>\Application Data\foobar2000\user-components\foo_vis_projectM\presets".
I don't know about presets compatibility (are old presets working with current version or not).
Title: Re: foo_vis_projectM
Post by: djdron on 2021-07-22 18:34:18
Thank you for porting this. It works great and looks amazing at 4k. I do have one suggestion if at all possible: to add a hotkey to lock the current visualization. What happens is, I will see a really nice one but then it changes automatically to something not as nice. So a lock feature would be fantastic and greatly appreciated.
Hi vladim1r !) Thanks for feedback!
I'll take this into account when I'll make a new version.
Title: Re: foo_vis_projectM
Post by: SilentQ on 2021-08-19 16:25:37
Is there any way to increase the sensitivity of the visualizations? I end up with a lot of visualizations that seem to be unaffected by the music at all, or have only a very small effect. Static single-color screens, very small squiggles in the very center of the screen, etc. Many of visuals are very nice, but have very little difference between Pause and Play... :(
Title: Re: foo_vis_projectM
Post by: GM_Prod on 2021-11-10 08:24:52
Why does this thing always crash on my system?
Title: Re: foo_vis_projectM
Post by: iridescentaudio on 2021-11-10 10:28:00
I have the same problem, still haven't gotten to the bottom of it. If I had to guess, either due to missing dependencies or having old video hardware, so I've carried on using Shpeck/Milkdrop instead.
Title: Re: foo_vis_projectM
Post by: djdron on 2021-11-15 15:38:49
iridescentaudio, GM_Prod
You can always check official build.
https://store.steampowered.com/app/1358800/projectM_Music_Visualizer/
Title: Re: foo_vis_projectM
Post by: iridescentaudio on 2021-11-16 10:23:43
iridescentaudio, GM_Prod
You can always check official build.
https://store.steampowered.com/app/1358800/projectM_Music_Visualizer/

The last time I tried this it also didn't work, however, after trying it again yesterday an update was downloaded, which included the Microsoft C++ Redistributable. Now it works! So that's progress.
I've since restarted my system and also downloaded a fresh portable copy of the latest foobar2000 for testing, installing only this component. I was optimistic that it would work, but unfortunately it still isn't working. It isn't essential that I use projectM within foobar2000 since it'll pick up sound from foobar2000 either way, but it would be nice to cut out the Steam middleman.
Title: Re: foo_vis_projectM
Post by: djdron on 2021-11-17 09:02:25
however, after trying it again yesterday an update was downloaded, which included the Microsoft C++ Redistributable. Now it works! So that's progress.
C++ runtime is 100% not a reason.
Title: Re: foo_vis_projectM
Post by: GM_Prod on 2021-11-24 06:40:45
IS THERE A FIX FOR MY PROBLEM? It's been two weeks since I've posted a report.

EDIT: If no, how do I install the Steam version in foobar2000?
Title: Re: foo_vis_projectM
Post by: szabi on 2021-12-23 10:31:30
Hi
Is it use the ancient MilkDrop visualiser or using the latest avaliable one the MilkDrop 2.25c (http://www.geisswerks.com/about_milkdrop.html)?
Regards
szabi