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
1
MP3 - General / Re: Resurrecting/Preserving the Helix MP3 encoder
Last post by maikmerten -
Turns out it's surprisingly unnerving to determine the current time in milliseconds across platforms and across compiler-versions in C/C++, so here's my ugly little patch that cuts down the number of updates by counting:

https://github.com/maikmerten/hmp3/commit/fad361020b066bddaeaa2191022a70d8ba1e7eb9

(currently on the "dev" branch)

In my win64-in-Wine tests, this avoids the performance penality.
2
3rd Party Plugins - (fb2k) / Re: foo_enhanced_spectrum_analyzer
Last post by Crossover -
Crossover, any chance of a sneak visual preview of what you've been working on and when it might be released?
I was thinking about this and I already PM'd @Crossover but no response or any replies from that, so maybe too busy with other stuffs or is it?

BTW, don't expect the upcoming V2 of this spectrum analyzer component to have similar set of new features and changes as in this fanon wiki page (admittedly, I have some unrealistic expectations about upcoming stuffs), though I guess I might be disappointed if there is no option to use IIR filter bank for frequency bands mode in upcoming Enhanced Spectrum analyzer 2.0.0.0
I'm sorry TF3RDL, but my primary goal is to increase the performance of the component. After I release the OpenGL version of the component, I will take care of your ideas.  Probably not all of them, but may be a few :-) Thanks for your patience.
4
3rd Party Plugins - (fb2k) / Re: foo_enhanced_spectrum_analyzer
Last post by Crossover -
You're right sveakul :-) I've been using the V2 of the component since mid-2023.
Good to know it hasn't been abandoned! :)
Looking forward to this still!
Crossover, any chance of a sneak visual preview of what you've been working on and when it might be released?
I'm still working on it. But I need more time than expected because I decided to use OpenGl instead of GDI+ and therefore a large part of the code has to be rewritten. But OpenGl is much faster than GDI+. So it's worth the effort. So far I have been able to solve everything. Here is a current picture of the component.
6
General - (fb2k) / Multivalue tag - help needed
Last post by Tropoje -
I have a tag that has multiple values stored: DE, W. Germany, AT, FR, UK, US
Release country=RELEASECOUNTRY

X

According to the documentation $meta(name,n), I would like to display the indicated value but it does not work. My goal is to display the W. Germany value but nothing is displayed. I don't know why it doesn't work  :(

Code: [Select]
$meta(RELEASECOUNTRY,1)
7
MP3 - General / Re: Resurrecting/Preserving the Helix MP3 encoder
Last post by Case -
Thanks. That sounds like a good workaround for improving performance. But I'd like to know why the printing is so slow on those AMD systems. The GCC binary seems to use old functions from msvcrt.dll. Visual Studio compile is static and only calls Windows API functions externally. Clang compile calls functions from much newer Universal CRT.

Either way the msvcrt functions aren't slow on other machines...
8
MP3 - General / Re: Resurrecting/Preserving the Helix MP3 encoder
Last post by maikmerten -
Status print. Adding -D should make it go much faster in that case. Could you compile a test version without the fflush(stderr)?

Removing the fflush(stderr) doesn't really improve stuff:

Code: [Select]
real	0m21,684s
user 0m10,887s
sys 0m3,854s

Commenting out the sprintf and fprintf does, however, ...

Code: [Select]
real	0m10,610s
user 0m9,634s
sys 0m0,181s

So, I guess the fix would be to only print stuff, e.g., every 100 milliseconds or so...

Mind if I engineer a fix?
10
MP3 - General / Re: Resurrecting/Preserving the Helix MP3 encoder
Last post by maikmerten -
Since you have an affected system, care to test the compile I posted today? It ought to at least give a hint where the slowdowns happen.

Gladly!

Code: [Select]
Time used:
main:     195.430800 ms
wav:      5.713400 ms
encode:   9885.130700 ms
xing:     189.984200 ms
file io:  191.137400 ms
print io: 10774.042400 ms
kbhit:    15.513600 ms
real 0m22,051s
user 0m11,398s
sys 0m3,645s

Spending more time on printing stuff than actual encoding?!

edit: And here's with -D flag (don't print progress):

Code: [Select]
Time used:
main:     197.418600 ms
wav:      6.954600 ms
encode:   9804.481700 ms
xing:     189.424400 ms
file io:  200.825100 ms
print io: 0.000000 ms
kbhit:    15.052200 ms
real 0m11,049s
user 0m10,044s
sys 0m0,233s