I have 5VDC wall wort power supply, which is a switching supply, and it has a typical barrel connector. But I rigged up a small one-inch square pc board with a USB socket and a barrel socket mounted on it. So, I can use the power supply as a USB power source for charging my MP3 player and other things.
But, when I used this power supply to play music, rather than just charge the player, it was clear there's a good bit of noise in the supply which doesn't show up when batteries are used.
I can't regulate the supply because I need the full 5V, but I wondered if I can add things to the little circuit board that would reduce the noise - such as a series inductor, or a large capacitor to ground, or both. Will those things work, or do they screw things up?
Pics of this setup are here:
By the way, for future reference, a dumb USB power supply should have its data pins shorted together.