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.
Topic: DSPs Presets Changer (Read 12788 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

DSPs Presets Changer

DSPs Presets Changer for foobar 2000
Made with Autohotkey, so this isn't a plugin but a hack as defined by Frank Bicking here
not recommended from moderation team

Function:
Change DSPs presets and open dsps manager with context menu or shortcut.

Requirements:
Foobar2000 0.9.6 , Foo_run.dll

Usage:
Extract "DSPs Presets Changer.exe"
go to preferences/tools/run services
add new services:

Label : " preset AAA"
Path: Path\DSPs Presets Changer.exe AAA

Label : "preset BBB"
Path: path\DSPs Presets Changer.exe BBB

Label : "Open DSPs manager"
Path: path\DSPs Presets Changer.exe


Download
Music is my first love.

DSPs Presets Changer

Reply #1
No plugin, no hack. But still kinda ugly workaround.

DSPs Presets Changer

Reply #2
I can't believe that foobar supports presets, but has no easy way of switching them. That would be one of my wishes.
Can't wait for a HD-AAC encoder :P

DSPs Presets Changer

Reply #3
I can't believe that foobar supports presets, but has no easy way of switching them. That would be one of my wishes.

my too.
Music is my first love.

DSPs Presets Changer

Reply #4
Nice effort. One can set up a shortcut in foobar to open the DSP manager, but  fast changing is not possible.
I find it useful, thanks!
If age or weaknes doe prohibyte bloudletting you must use boxing


DSPs Presets Changer

Reply #6
I meant that one cannot set up a shortcut for the particular DSP preset, hence no fast changing is possible.
There is a menu item Playback>DSP>Settings which can be assigned to a shortcut, so one can quickly open the DSP manager.

Again, thanks for this helper
If age or weaknes doe prohibyte bloudletting you must use boxing

 

DSPs Presets Changer

Reply #7
Hi Melomane, I gave it a try, but it doesn't work here (latest fb2k beta, columns ui is the ui). It makes my fb2k strangely inresponsive (no cpu hogging though). The dsp window appears, disappears, then every 2 seconds the columns ui columns titles appear/disappear. And the error box "error" appears... Cannot investigate this further now...

DSPs Presets Changer

Reply #8
Hi Melomane, I gave it a try, but it doesn't work here (latest fb2k beta, columns ui is the ui). It makes my fb2k strangely inresponsive (no cpu hogging though). The dsp window appears, disappears, then every 2 seconds the columns ui columns titles appear/disappear. And the error box "error" appears... Cannot investigate this further now...

i have made somes modifications and now work with columns ui, but without writing dsp preset loaded in status bar.
Music is my first love.

DSPs Presets Changer

Reply #9
Problems with this are to be expected, for the following reason:

This program is a hack, because it relies on the type, order, and labels of specific window elements in the Preferences dialog. In other words, it would break as soon as any options were reordered, modified to use other controls, or simply renamed. If this piece of software was a component compiled against the foobar2000 SDK, it would be banned immediately. And while there are no legal reasons to ban it in this case, the moderation team is nonetheless in agreement that we do not want such hacks to be recommended to people as means to add missing features.

That being said, you can expect your hack to stop working in one of the next versions.

DSPs Presets Changer

Reply #10
I did not understand exactly the word "hack" ,sorry; therefore i have modified my first post.
i know, i can expect my hack to stop working in one of the next versions
but problem is the missing feature, when we can see this in foobar?
topic view counter: 703 downloads: 123
Music is my first love.

DSPs Presets Changer

Reply #11
Frank of course is right, but only the braindead are expected to start whining something like "teh fooby is broken" or similar...

Still doesn't work melomane, but thanks for your effort. I'm thinking about "automating" this with girder, because I'm using Girder anyway, it's because one of my fb2k instances is completely controlled by it and an rc.

So I could call the dsp window, send some shift+tab etc... Does the AHK thing do some substancially different than sending keys?

Yes, it would be great if we could reach almost any command with the command line interface... Including the preset slots... But this has been asked often and maybe depends on in how far Peter is interested.

DSPs Presets Changer

Reply #12
It's not as easy as I thought: The load button shows no reaction on Enter. I could tell girder to mouseclick at x/y, but that would make things really dirty... Unfortunately an important part which I cannot remote control then.

DSPs Presets Changer

Reply #13
@Squeller
I've played a little with the Girder and managed to automate changing DSP presets. I have the version 3.3.1c. It's not hard to do it. Here is the screenshot:



Basically, the thing goes like this:
First, in foobar you create a shortcut to open the DSP settings dialog. Mine is Ctrl+Shift+x. Then you create a Multigroup for one DSP preset (DSP: Sluske in the example) in Girder tree and assign an event to it. Then you create the shown commands in that multigroup. "Open DSP settings" is a Keyboard action that sends the shortcut (Ctrl+Shift+x) to the foobar2000.exe. "Wait" commands are Window Wait actions with small (50ms) delays. "Klik" is a Window Clicked action with the target set to the Combo box in the DSP settings window. "Sluske" is the Keyboard action which sends the exact name of the preset to the Combo box in the DSP settings window. "Load" and "OK" are Window Clicked actions with the target set to the respective buttons in the window.
It works like a charm.

Greetings!

EDIT: Commands "Klik" and "Wait1" can (and should) be ommited. They remained from an earlier testing.
If age or weaknes doe prohibyte bloudletting you must use boxing

DSPs Presets Changer

Reply #14
Oh, many thanks, I'll give this a try. I never used and understood the window actions. Always used keyboard and command line actions, and for delays, I used an additional event plugin, what a bullshit, made thing more complicated.
Btw, in order to keep effort minimal, I'd rather use the command line interface for commands, otherwise you'd have to assign shortcuts for almost anything, which means double work. In this case I use the OS-Execute with fb2k.exe and "/runcmd="Playback/DSP/Settings" as the parameter. You can also use the fb2k builtin "/command:", but this is not precise.
Many many thanks.

EDIT: Works and rocks and is pretty failsafe. Good...

DSPs Presets Changer

Reply #15
…Btw, in order to keep effort minimal, I'd rather use the command line interface for commands, …


Don't mention it! You're right, I also use command line for all foobar commands in Girder (look up in the tree). I don't know why I assigned the shortcut for this one!

Cheers
If age or weaknes doe prohibyte bloudletting you must use boxing

DSPs Presets Changer

Reply #16
Don't mention it! You're right, I also use command line for all foobar commands in Girder (look up in the tree).

Oh well, my gml file size (only for foobar2000) is already 225 kB  . It's all in groups and multigroups, lot of question osd's in order to have multiple functions on one remote control knob.. Girder is a real beast. You find out more and more. E.g. I found out at last, you can toggle states (e.g. for having fast or slow rewind/ff on the same knobs) by using the "group enable/disable" command. Good stuff. I use the latest free girder, IIRC 3.2.9.