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: Toggle Foobar EQ on/off (Read 2400 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Toggle Foobar EQ on/off

First time back in quite awhile.  Seems I can't create a new topic in the Foobar section, so I'm doing it here.  My question is this.

I like to use the EQ with my speakers, but disable it for headphones.  These are two different USB audio devices, so I have to manually switch them.  Kind of a pain scrolling through all the interfaces in the list, but I digress.

What I'd really like is a button or something on the main interface to just toggle the EQ on/off without having to pull up the EQ settings.  Alternatively, it would be even better if I could enable the EQ for only one interface (usb speakers).

Are either of these options possible?

Thanks.
flac > schiit modi > schiit magni > hd650

Re: Toggle Foobar EQ on/off

Reply #1
You can create keyboard shortcuts for just about anything, I have a no EQ/clean preset for use with speakers, and EQ switched in for headphones, as simple as pressing the S or H keys.

File - Preferences - Keyboard Shortcuts - Add New - Action - Key etc.

Re: Toggle Foobar EQ on/off

Reply #2
This might just do the trick.  I'm mostly a point and clicker, so KB shortcuts had not occurred to me.  Thanks!  Now if I can just do the same for selecting the output device, lol.  WASAPI adds a ton to the list.
flac > schiit modi > schiit magni > hd650


Re: Toggle Foobar EQ on/off

Reply #4
I did!  I now have KB shortcuts to switch between the two devices I use.  This is a huge QoL improvement.  With the EQ though, I can only see how to create a shortcut to open the mixer, not to enable or disable it.  I'll keep looking.  Even so, switching devices was way more of a pain, so this is a huge improvement.
flac > schiit modi > schiit magni > hd650

Re: Toggle Foobar EQ on/off

Reply #5
EQ will appear in your DSP list. You can save different DSP chains with and without EQ, and then switch between them using the dropdown menu in the main interface.
Think millionaire, but with cannons.

Re: Toggle Foobar EQ on/off

Reply #6
EQ will appear in your DSP list. You can save different DSP chains with and without EQ, and then switch between them using the dropdown menu in the main interface.

Yep, this is how I do it.

OP: Glad you are getting it sorted. FB2K is very configurable but sometime shard to find where to adjust things!

Re: Toggle Foobar EQ on/off

Reply #7
Honestly, being able to toggle audio devices with a KB combo was more helpful than toggling the EQ on/off.  ALT-H for headphones, ALT-S for speakers.  And then ALT-E to bring up the EQ, and then enable/disable.  I only have two audio devices that I use, but after installing WASAPI the list got very long to scroll through.  It would take me awhile to switch between the two I use.  Much better now.  Thank you.
flac > schiit modi > schiit magni > hd650

Re: Toggle Foobar EQ on/off

Reply #8
I used to be active in this forum, back when lossy compression was more important than it is now.  Now storage is so abundant my phone is the only thing with lossy on it.
flac > schiit modi > schiit magni > hd650

Re: Toggle Foobar EQ on/off

Reply #9
Hey there, welcome back. A few notes...

There should be no need to install WASAPI component(s) since shared mode is built-in default since v1.6, with built-in exclusive mode since v1.6.7. You should see "[exclusive]" option at the end of default outputs. See if it works for your devices. If so, can remove the old component(s).

Anything for which you can make a keyboard shortcut, you can also make a toolbar button. (Or mostly)

If you save a DSP preset with no EQ as mentioned (this is done in Preferences > Playback > DSP Manager), you can find it under [hold shift key] > Playback menu > DSP settings. Use that menu command to assign the preset to keyboard / toolbar. (So just one click to switch devices / presets, though the toolbar drop menus are a nice visual indicator)

Re: Toggle Foobar EQ on/off

Reply #10
Thanks.  I removed WASAPI and switched to the built in.  Exclusive for headphones, shared for speakers. 

I now have key mappings to switch between outputs, and another set to switch between DSP presets.  It would be nice to map one keyboard shortcut to switch an output and DSP setting (at the same time) with one key mapping.  From what I can see keyboard shortcuts can only support one function at a time?

I did enable the dropdown toolbar for both DSP and Outputs just so I visually verify what I have enabled.
flac > schiit modi > schiit magni > hd650

Re: Toggle Foobar EQ on/off

Reply #11
It would be nice to map one keyboard shortcut to switch an output and DSP setting (at the same time) with one key mapping. From what I can see keyboard shortcuts can only support one function at a time?
Traditionally, yes. There are a few alternative ways but they require additional components and setting up. Consider it might not be worth the mucking around...

One way is by using a JScript Panel / Spider Monkey Panel code in your layout. Best if you are already using either of those components for something else, that you can add the code to it. With an existing panel, you may have to enable View > Layout> Layout Editing Mode and right-click to get 'Edit panel...' menus.

Another way is by command line that needs two components, Scheduler and Run Main. Briefly, in Preferences > Scheduler, add an Event: 'Add menu item event...', and add an Action (do not tick 'Restart after completion') - name both i.e. "Headphones" - right-click the event to assign the action, and right-click the action to add 'Launch application'. A single command line can do both commands at once, for example -

Code: [Select]
C:\Apps\Foobar2000\foobar2000.exe /run_main:"Playback/Device/Default : Headphones (Realtek(R) Audio)" /run_main:"Playback/DSP settings/R128"

^ (Change the path and both menu commands as appropriate)

You then simply edit your keyboard shortcut / toolbar button to use the new menu commands in File > JScript Panel / Spider Monkey Panel, or File > Scheduler.

Once upon a time, Dynamic DSP could auto-switch the DSP chain based on the output / playing track, but I'm not sure that works anymore with recent foobar updates. (Not confirmed...)

Playlist Attributes can still auto-switch DSP as well, but that is per playlist.

 

Re: Toggle Foobar EQ on/off

Reply #12
I agree, it's probably not worth going through all that effort.  What I have now works well, and is a huge improvement for me.  Thanks everyone for your help with this!
flac > schiit modi > schiit magni > hd650