Not clear on what's happening.
It sounds rough when you're shifting out of the saddle/under a lot of torque? If so, don't do that - let up for a split second when you shift, even more so with the front derailleur.
Or, if you mean that it's making noise when you're just riding out of the saddle, I'd pay attention to the gear combinations in which it's happening. You may just need to adjust (or use) the trim positions or you may need to play with the indexing a bit.