ignore me if you think this may be a stupid obvious answer, but i had this problam a while ago, just so happens to be a marshall but that was nothing to do with the problem. i would get the sound wekening with hard picks and sometimes cutting out.
to cut a long story short, i bought a new lead and the problem was fixed.
hope its something simple with yours,(not a major fault)