For perfect pH you need to start with good soil.
Leaf humus is naturally buffered in the range you want.
Chemically, 'buffered' means that you can add other things to it that would normally change the pH but the change will be very very slight if the medium is buffered.
So it's a good thing to add to your dirt. Garden centers carry composted leaf humus that doesn't have pests and shit in it.