There's nothing quite like the sound of a guitar playing into a warm tube amp with the pre turned up high and the post turned down. There's also nothing quite like the hum you get out of one of these rigs. I've noticed that software amp simulators are good enough that they also simulate the hum.
How can you deal with this buzz in the studio, both before and after tracking? I've tried using EQ to notch out the hum and that kills the sound. Noise gates seem to either not do enough or they do too much and it kills the track.
I assume you're better off fixing this before tracking, but I have some killer guitar tracks on disc with too much amp noise.
(There are probably multiple strategies one can use to fix this. I'm asking this as a general question, and I'm looking for an overview of the problem with specific examples of recommendations. Are there any details in particular I can add that would help?)