In Hilchot Kri'at Shema 3:14, Maimonides wrote:
If one is reciting [the Shema] and passes gas, he should stop until the odor subsides and resume his recitation afterwards. The same applies to one studying Torah.
When another person passes gas, even though one should stop reciting the Shema, he need not interrupt his Torah study.
Let's say I'm sitting with my headphones on, listening to some Jewish music on the Songza website, and the lyrics are from Tanach. I release some flatulence. Should I pause the song until the air clears?
Please cite sources.