The transformer isolates and steps down the AC voltage, the rectifier turns it into a rough DC, and the capacitors filter the DC to remove as much AC ripple as possible. In an audio power supply ...
It’s a bad power supply ... was showing the same ripple visible on the 12 VDC line. Even more digging uncovered that the transformer itself had a control IC nestled away.