Let me preface this with saying that I'm a complete amateur with electronics and know very little of theory behind it. I think my question is easily answered but I just can't find the right info.
I have a portable speaker that I'm trying to turn into a bluetooth speaker. The speaker originally ran on 4 AA batteries or could be plugged into the the wall. I've removed all the power inputs and soldered an old phone battery to the power in. I just plugged in an 3.5mm cable from my phone to the aux in and it has worked really well. I then bought a usb bluetooth transmitter. I connected it to the same batter that the speaker system is using. I plugged the 3.5mm into the bluetooth and cut the cable. I connected the wires from the 3.5mm to the aux input on the speaker "board". The audio sends just fine and plays through the speakers.
However, I'm getting some sort of interference - some fast, high pitched pulsing coming out of the speaker. Other than this the music sounds great. From what little I know about this kind of thing it seems that it is causing a problem because I'm drawing both of these off the same power source. I've tried to use a capacitor to smooth out the power but it doesn't cut the interference at all.
What can I do to cut this high-frequency noise out? I appreciate any and all help.