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
12
3rd Party Plugins - (fb2k) / Re: JScript Panel
Last post by marc2k3 -
I couldn't be bothered with modifying the main script so here's a quick hack that goes straight in the panel. It's for Playcount 2003 only with no options to switch.

Code: [Select]
// ==PREPROCESSOR==
// @name "Rating 2003"
// @author "marc2003"
// @import "%fb2k_component_path%helpers.txt"
// @import "%fb2k_component_path%samples\js\lodash.min.js"
// @import "%fb2k_component_path%samples\js\common.js"
// @import "%fb2k_component_path%samples\js\panel.js"
// @import "%fb2k_component_path%samples\js\rating.js"
// ==/PREPROCESSOR==

var panel = new _panel({ custom_background : true });
var rating = new _rating(0, 0, 24, RGB(255, 128, 0)); // x, y, height, colour
rating.properties.mode.value = 2;

rating.get_max = function () {
var max = 5; // foo_playcount_2003 max supported value is 10
this.w = this.h * max;
return max;
}

rating.get_rating = function () {
return panel.tf('$if2(%2003_rating%,0)');
}

rating.set_rating = function () {
var handles = fb.CreateHandleList(panel.metadb);
handles.RunContextCommand('Playcount 2003/Rating/' + (this.hrating == this.rating ? 'Clear' : 'Set rating to ' + this.hrating));
handles.Dispose();
}

panel.item_focus_change();

function on_colours_changed() {
panel.colours_changed();
window.Repaint();
}

function on_item_focus_change() {
if (panel.selection.value == 0 && fb.IsPlaying) return;
panel.item_focus_change();
}

function on_metadb_changed() {
rating.metadb_changed();
}

function on_mouse_lbtn_up(x, y) {
rating.lbtn_up(x, y);
}

function on_mouse_leave() {
rating.leave();
}

function on_mouse_move(x, y) {
rating.move(x, y);
}

function on_paint(gr) {
panel.paint(gr);
rating.paint(gr);
}

function on_playback_new_track() {
panel.item_focus_change();
}

function on_playback_stop(reason) {
if (reason != 2) {
panel.item_focus_change();
}
}

function on_playlist_switch() {
on_item_focus_change();
}

function on_size() {
panel.size();
}

It uses a default max value of 5 but can be edited to 10 inside the get_max function.
14
Support - (fb2k) / Re: Foobar2000 v2.* playback sound quality lower than v1.X
Last post by Case -
If you use ASIO why would you need audio drivers for?
ASIO doesn't work without drivers. No matter the used API the sound device will need drivers to be usable by the operating system. Some devices use standard interfaces that are supported natively by the OS, like Intel HD Audio or USB Audio Class 1 and 2. Those will allow basic output to work with the built-in drivers. But proper ASIO always needs manufacturer provided drivers. There are also ASIO wrappers that translate ASIO calls to Microsoft's API calls, like to WASAPI or KS. But these are not quite as direct as ASIO allows with proper drivers.
16
MP3 - General / 320 MP3 VBR to CBR
Last post by padre -
Hi. Could someone recommend a program for converting 320 kbps VBR mp3 to 320 kbps CBR mp3 without losing quality.
I read about mp3repacker but I can't find working link to download it (for Win XP) and I need some friendly GUI version because I'm not IT guy...

P.S. I don't need to reduse final file size - I don't care about it. I just need to keep original quality as much as possible.

*Sorry for my english
18
Development - (fb2k) / Redundant GUID declaration
Last post by Tam Lin -
The GUID declared in the function g_get_guid(), in the file dsp_sample.cpp, in the solution foo_sample, is ignored by the compiler (VS2022). Instead, the compiler recognizes the GUID declared in dsp_sample.h. The two declarations are in different namespaces.


20
Support - (fb2k) / Re: Foobar2000 v2.* playback sound quality lower than v1.X
Last post by fooball -
everyone can quickly make a test installing the second version of Foobar “portably” – 2 Foobar versions can be run parallelly – which should allow you to quickly switch between them.
But that wouldn't reproduce what you claim to be hearing.  It should only be necessary to capture the output from the PC (not the output from the speakers)... either electrically, or perhaps simply using Audacity to grab the output.  If you aren't up for that, then forget trying to convince the powers-that-be you have a valid point.

The principle of ABX is blind testing.  If you know what source you're listening to at the time you're listening, then psychological biases are in play and differences can be imagined most convincingly.