This is such a common issue, yet I have not found a great DYI solution or an affordable commercial product for it, so I am asking here.
Pretty much all DC power supplies these days are "switching" power supplies (SMPS), which are known to generate a lot of noise (voltage deviations from average) in their outputs. Cheaper, ungrounded supplies are worse than grounded ones. When used to power most devices, the noise is not a problem because either (a) the electronics (say LED lamps) are unaffected by the noise or the disruption caused by the noise is imperceptible to the user, or (b) the device is expecting noisy power and has built-in filters to suppress it.
Unfortunately, battery-powered audio devices (including audio outputs of cheap laptop computers), fit neither category (a) or (b), and the power supply noise, especially 50/60 Hz mains frequency and its harmonics, is unpleasantly audible when these devices are powered by DC SMPS.
I expected that, as a result, there would be some readily available, cheap, plug-in/pass-through noise filters, where you could plug in the noisy DC output from the power supply and get clean DC power from the other side of the filter. By "clean", I mean that it can be used to power audio circuits without audibly affecting the sound. So far, all I have found is this:
iFi DC iPurifier2 Active Audio Noise Filter/Conditioner for DC Power Supplies for US$129, which to me seems about $125 more than an adequate filter should cost. It also only operates at or above 5 V, while, for my purposes, I would like one that operates at 2.5 V.
Question 1:
COTS product recommendations? Can anyone recommend a nicely packaged commercial product that suits my needs, preferably for under US$20?
Question 2:
Build my own? If "no" to Q 1, then is there a reasonably easy way to build my own? Of course, by "build" I mainly mean "assemble", as I am not going to make any parts myself, or even get a printed circuit board printed. I'm talking about putting some components on a proto board and soldering leads together. I want it to work in the range of 2.5 V to 24 V automatically, so I do not think I can use something like a linear voltage regulator.
Question 3:
Why is this so hard? Power line noise from DC SMPS seems to be a pretty common problem, so why is this so hard. I can understand why (expense) its not built in to the power supplies, but a plug-in filter seems like it should be easy to make and relatively easy to sell. Why isn't the market flooded with options?
Preemptive response filter: for the purposes of this question, I am not interested in any other sources of noise, including ground loops, EMI picked up by audio inputs, or thermal noise in the pre-amps.