My 1200 GS bike already has ex factory an electrically operated valve in the exhaust to make more noise as the revs pass a certain point. Irritating TBH - makes it too noisy.
I believe that many exotica have similar systems.
My next door neighbour who manufacturers exhaust systems tells me that that system is no longer legal on new models.