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 -
Oh, that's perfectly fine. Thank you for asking.
Let me know if you need higher resolution images.

Some more details if required:
Pink noise, stereo, 16 bits, 44.1 kHz, -10 dB, uniform distribution
Used spectrum analyzer is Spek.

Thank you, I uploaded the images with attribution and the details you provided to the Wiki and embedded them in the Helix MP3 Encoder page.

As for the various reports of the different Win32/Win64 compiles behaving vastly differently, I currently don't have a good hypothesis on what's going on there. I wouldn't, e.g., expect builds with different optimizations (e.g., PGO or no PGO) to make the difference between a machine getting unresponsive or working properly. Also, doing static builds (-static linker flag) only means that the required system libraries are included in the build - I don't quite see how this should have a meaningful performance impact (unless the system libraries are somehow misbehaving).

So I guess it might be a good idea to somehow collect data on the various build options and find a Windows build solution that works reliably.

Other than that, I'm pleased that apparently some people are getting results that indicate it's now possible to encode hours of audio in mere seconds. I remember working on machines where this used to be the other way around...
3
Ogg Vorbis - Tech / Re: Vorbis 1.3.7 aoTuV and Lancer patches
Last post by john33 -
I'll look at these matters upon my return, so after May 2. I am currently visiting friends and having to tether to my phone and use mobile data - not ideal. By all means add anything else you come across and I'll research it on my return.
4
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by pqyt -
Hi @pqyt

thank you for your awesome plugin. I have a newbie question, I have installed v0.7.6.2 (Foobar2000 v2.1.4 32bit), if I set the Frame Counter on and at the same time I try to change the Refresh Rate Limit to 100Hz or 200Hz the counter always shows about 60 fps. My monitor refresh rate is 144Hz (correctly set in Windows display options). Is the bar animation always capped to about 60 fps maximum ? Thank you in advance
Direct2D has no direct way AFAIK to impact the refresh rate. It's tied to the DirectX swap chain and the swap chain, by default, is tied to the monitor refresh rate. The DXGI layer of DirectX does provide an API to interact with the swap chain. I've dabbled with it before when experimenting with background transparency. Re-introducing DXGI is on the To Do list.

Most DirectX example code is focused on gaming and does not care how the refresh impacts other processes and just uses a high frequency system counter but a fb2k component has to co-exist on the desktop with other applications.

So, to answer your question: my code is not limited to 60Hz. It goes where the timer takes it. But I have to use other API's to make it listen to higher refresh rates. Hard to test when my own set-up is limited to 60Hz...
5
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by Case -
My original assumption was that people are limited to ~64 fps because by default Windows timer resolution is about 15.6 ms. That allows only about 64 timer triggers per second. But that would have been weird as for example audio playback normally causes the resolution to increase. And having a web browser open generally also increases the resolution.

But there is something more going on. My timer resolution was 1.0 ms because of background processes and I had a nice 100 fps rendering from this component. But once I shut down all background programs that increased the resolution so that the system returned to default 15.6 ms timer, Spectrum Analyzer got limited to ~64 fps here too.
And now even if I force timer to 0.5 ms accuracy I can't surpass the 60-something limit. My monitor is running at 144 Hz too.

Hopefully pgyt can figure out what is limiting this thing.
6
Development - (fb2k) / converting .flac to .mp3 with the SDK
Last post by terdex -
Converting files is a feature of foobar2000 that it seems to me should be accessible through the SDK, for example, if you have a pointer to a file that's in FLAC format you can call a built-in function to write it to an output in a MP3 codec file.

Is this possible?? have I missed this entirely?
7
3rd Party Plugins - (fb2k) / Re: JScript Panel
Last post by marc2k3 -
The last value (0.1) on this line can be increased...

https://github.com/jscript-panel/component/blob/c51306cd0807db52bbe79133aa22c89b65e570c4/samples/jsplaylist/main.js#L973

edit: the most sensible thing to do is copy the whole function in to the main configuration window.

Code: [Select]
function DrawWallpaper(gr) {
if (images.wallpaper.Width / images.wallpaper.Height < ww / wh) {
var src_x = 0;
var src_w = images.wallpaper.Width;
var src_h = Math.round(wh * images.wallpaper.Width / ww);
var src_y = Math.round((images.wallpaper.Height - src_h) / 2);
} else {
var src_y = 0;
var src_w = Math.round(ww * images.wallpaper.Height / wh);
var src_h = images.wallpaper.Height;
var src_x = Math.round((images.wallpaper.Width - src_w) / 2);
}
gr.DrawImage(images.wallpaper, 0, p.list.y, ww, p.list.h, src_x, src_y, src_w, src_h, 0.1);
}

Copying/modifying it there means it will survive future component upgrades.
8
WavPack / Re: How to properly pack DSF files into WavPack?
Last post by BECHA -
Why don't you want to keep iso of SACD instead of this painful process? SACD are compressed in most cases (DST), so you do not make them much smaller using wavpack compression. Just curious. I love wavpack format, but keep SACD as is.
9
3rd Party Plugins - (fb2k) / Re: JScript Panel
Last post by Heat_Death -
Hi! I was using a really old version (3.2.something). I just upgraded to latest and everything's cool, but I wish that the ability to change wallpaper opacity wasn't removed from JSPlaylist. I understand it was "breaking some things", but I had mine set at the highest and I was looking good. Is there a way to access and change the value for JSPlaylist's custom wallpaper opacity? I peeped through the code real quick but I couldn't find the magic number.

I guess alternatively (and the problem here might be Windows 10) I could get the ability to make the background and selection colors of the JSPanel *more* transparent, but I don't know if that makes sense (pertaining to how the backgroung image is displayed through the Panel'l UI). Right now I only get an RGB color picker.
10
FLAC / Re: Multithreading
Last post by Replica9000 -
Built a static Linux 64-bit binary using libFLAC git-31ccd3df.   Targeted for AVX2 capable CPUs.  Also tried my hand at a static Win64 build.

Dear @Replica9000, if possible, consider building a Windows version without the need for AVX instructions.




My test setup is Win 7 x64 in a VM, so I'm not sure how well these perform on real hardware.  I included 32-bit and 64-bit, with an asm/noasm version of each.  On my Linux PC, the no asm builds perform faster for 16-bit files, but the opposite seemed to be the case in the VM.  Flaccid only supports 16-bit, but the couple 24-bit files I tried encoded fine.