Put a 2uF bipolar capacitor
@imhififan I did what you said and it worked!!!!!!! UHULL!!! Using just one power supply, everything worked. However now I have lots of humming/noise on the speaker connected to the mini amplifier.
I didnt have a 2uF bipolar capacitor, so I took 2x 4.7uF electrolytic capacitors and connected them in series with the GND of the line in and line out. I did this:
GND of LINE OUT of piano -> positive leg of capacitor (1) -> capacitor (1) -> negative leg of capacitor (1) -> negative leg of capacitor (2) -> capacitor (2) -> positive leg of capacitor (2) -> GND of LINE IN of mini amplifier.
Is this correct? Any idea how I can reduce the humming?