Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
41
3rd Party Plugins - (fb2k) / Re: foo_vis_milk2
Last post by oops -
Issue 1:
This component suffers from the same issue (even worse) as the non-wrapped version of foo_vis_vumeter.
It doesn't listen/comply to the coordinates it has been told.
In the case of foo_vis_vumeter that only happens after returning from fullscreen.

1) Milkdrop opens up (before fullscreen) not using the correct height (xyw are correct).
2) After fullscreen x=0, y=0, h=full height ... all of those are wrong, w is correct but shifted because of wrong x. Only after resize/track change the situation under 1 (with wrong height) is restored.

Shpeck and Oscilloscope use the same unwrapped construction both use correct coordinates after returning from fullscreen.
Please fix the issue.
There is no code for Shpeck. And Oscilloscope (at least Holger's) does not appear to support Columns UI. So, let's not use those as examples.
I believe I've fixed #2 in foo_vis_vumeter. #1 I haven't seen yet and don't even know how it would happen. The window creation is trivial, there is no style or owner/parent change. Are you sure it is an incorrect height or you're just running it at the minimum limit in that squished aspect ratio that is giving you the funky results? The "Scanning presets..." message looks correctly positioned and not distorted.

Issue 2:
I want to be able to define milkdrop in more than one place (actually I want 3 spots). And preferable be able to run those instances at the same time.

Is this on your todo list?
Unfortunately, this is very unlikely to happen. I started the attempt but decided not to proceed. A cursory glance of the original vis_milk2 library code will give a hint of how fundamental of a change is required to support multiple instances. Look at how g_plugin is used. This is just one of those Winamp legacy things. As to why it "works" in Schpeck, wild guess is that it launches one new full instance/process of Winamp.exe for each UI element.

Also, if you want 3, you must have a really good machine and GPU because the library is not very optimized and eats more RAM and GPU cycles than I care to admit.

I consider this component feature-complete. There are 3 nagging issues that I would try to address time-permitting:
  • Some memory that is not fully released on exit.
  • The square that renders sometimes instead of the text.
  • The right and bottom strobing effect on some presets.
43
3rd Party Plugins - (fb2k) / Re: foo_vis_milk2
Last post by oops -
I am going to do more testing this w/e see if I can get it working
Been trying to break it. Still resolves correctly for me to "<profile>\milkdrop2\presets". Try the following: Go into Advanced Preferences, under Display > Visualisations > MilkDrop, right click the Preset directory option and reset it. It'll go <empty>. Hit "Apply" and restart the player. It should repopulate correctly to the above path.
45
3rd Party Plugins - (fb2k) / Re: foo_vis_vumeter
Last post by oops -
Which leaves only 1 final issue:

I want to get rid of the wrapping of VU 2024 in a (PSS) wrapper altogether, which would reduce the numbers of PSS panels with 5 more.
I tested this construction. It works fine except when resizing and coming back from fullscreen, when VU 2024 seems to forget where it should display itself and displays itself from parent 0,0 coordinates.
I think I found the problem and implemented a possible fix. Let me test some more. But closing in on the ideal Columns UI fullscreen sequence that also accounts for PSS and JSplitter wrapping as well as transparency.
47
foobar2000 for Mac / Re: how to install components to MAC footbar2000
Last post by scannt -
All component AFAIK are built for Windows use fb2k API.

Not exactly (although like 99% are). It's true that until September 2023, the fb2k SDK supported only Windows. But since 2023-09-06 SDK release, macOS support was added.
So if you're using a newer version of the SDK when developing a component, you can build it for both Windows and macOS (if you implement your component for both platforms, that is).

That being said, I tried learning to use it during one weekend and well, it has some learning curve, so to say... detailed documentation would be great help, but not sure if it's in the pipeline.
I'm used to code daily for many years, but mostly in Kotlin/Java. Used to work with C++ a bit, but it's long time ago (~7 years), so got to admit I'm a bit rusty with the language.
Anyway, I plan to try some more when I have the free time. It would be nice to see macOS components development take off.
48
3rd Party Plugins - (fb2k) / Re: OpenMPT Module Decoder
Last post by blake++ -
I've been wanting to use this component for a while since it seems like the superior version of the DEAF Module Decoder, but I can't switch because OpenMPT doesn't support writing APE tags to module files. Is there a reason this is the case? (Or am I missing some setting that enables this in OpenMPT?)
49
3rd Party Plugins - (fb2k) / Re: Columns UI
Last post by Eva1 -
To me with ui_columns-3.0.0-alpha.5 at the vault?, folding?, bringing? sides of border together, exit crash window and foobar2000 1.6.18 close!
50
General - (fb2k) / Re: Friendly formatting of frequency
Last post by anamorphic -
I came at it from a different angle (text rather than maths) -

Code: [Select]
$right($insert($insert($num(%samplerate%,9),',',6),',',3),$add($len(%samplerate%),$iflonger(%samplerate%,6,2,1)))

$num samplerate to 9 digits, $insert two commas, $right cut the extra digits.

(I love there are always different ways to do things with title formatting)