Not to be picky, but the Acts of Proscription of 1746 & 1747 didn’t ban bagpipes. There’s no mention of bagpipes in the Acts, and there’s no record of anyone ever being prosecuted pursuant to the Acts for playing bagpipes.

The myth is based upon the case of James Reid, a Jacobite piper captured at York after the ’45 who was tried for treason. At his trial it was argued in his defense that he had "not carried arms," however, according to the trial judge, "The claim of being merely a musician is spurious, and the charge of armed rebellion is proven, for it has been the experience of this court that a Highland regiment has neither marched nor fought without a piper. Therefore, the bagpipe in the eyes of the law is an instrument of war." However, this decision never found it’s way into case law, much less statute.