Pin-out diagram:
1. Red, Power 5V
2. Purple, Volume Control
3. Blue, Woofer/bass control
4. Orange, Woofer/bass control
5. Silver: Ground / Connected to Shield
6. Gray: Power on Woofer
7. Green: Left channel signal
8. Yellow: Treble control line
9. White: Relate to woofer
Gold wire and shield are also connected to 5. Silver as the same ground.