You are entering into a new world of electrical issues. Please proceed carefully! I suggest you look carefully at schematics for power amps that will show the proper way to wire AC power through a switch and fuse before arriving at the transformer. Particularly note the difference between the “hot” wire and the “Neutral”!
The position and orientation of the transformer is critical to ensure no hum issues. Additional shielding may be necessary to prevent hum from entering the circuits. The power supply also requires a diode bridge to rectify the AC as well as sufficient filter capacitors.
Proper grounding is also needed to minimize hum. You may want to consider using “Star” grounding technique.
Mounting this unit in a rack may also encounter hum transfer to adjacent units. Proper shielding may help prevent this.
All of the above issues will explain why Barry does not use any AC powered circuits in GUITARPCB, Good luck with your project!