Some excellent answers here in this thread - I’ve not much to add, except one bit of potentially useful information for people building 9v FX pedals:
9v pedals are normally designed to work with 9v supplies and/or 9v batteries. Battery voltages are notional, the voltage gradually drops but the circuit still works for a long time.
This means that the power voltage is usually not critical! The FX may work down to 6v or so before performance deteriorates, depending on the design.
Given that many classic guitar pedals are just one to three transistor discrete designs, running them in lower voltages can affect their performance in a very noticeable way.