Re: Release: Dynamic DSP: gives custom effect chains for individual tracks
Reply #45 –
Dynamic DSP v2.1
I made another update to the component which I wanted to share with you.
The component now can make the DSP dependent on the output device through new variables. This is especially useful if you often switch between headphones and speaker and you have some crossfeed DSP for your headphones (e.g. foobar2000 component "Meier Crossfeed", a must-have for headphone users IMHO.).
Basically, it introduces the following variables:
- %output_device_name%: The name of the output device currently selected in foobar2000. (Not very informative if "primary sound driver", though.)
- %windows_output_device_name%: The name of the default output device in Windows. (If you use "primary sound driver" in foobar2000, this will still allow you to distinguish between outputs.)
Then you can use these, for example, as follows:
$ifequal($strstr(%windows_output_device_name%,Headphones),0,,Crossfeed;)
[%dsp%]
In this example, we add "Crossfeed" to the DSP list if the substring "Headphones" can be found in %windows_output_device_name%, see Foobar2000:Title Formatting Reference
Secondly, the titleformat script textbox now supports multiline, where line breaks have no effect. They are ignored. This makes it easier to write human-readable scripts.
Furthermore, I now finally added a proper license and copyright notice to the component. In the spirit of popatr's "I make no restrictions on what you can do with the the source code or component", the component is now licensed under MIT which is basically the same with a few obvious restrictions (give credis if redistribute, provided "as-is").
P.S. Component requires Windows Vista or higher (sound device API) and foobar2000 1.3.5 or higher (read foobar2000 output device name).
If you experience any regressions, let me know!
Download