If you were to look at some of the writings of 18th century authors farting was as much a humorous thing then as it is today. Although treated more delicately then, everybody in the British empire liked a good fart joke. In fact, the colloquial name for butlers and other servants was “fart catchers”, for their obedient and obsequious trailing behind their masters.
CC
Wolfgang Mozart had something of a fart fetish. He wrote diaries full of those jokes. Wrote letters about the diaries to his mother, who seemed to also think they were funny. He composed a few suites and canons devoted to scatology topics. Hey, when you’re the main breadwinner for your family, they tend to put up with a lot of loopy behavior.