San Mateo, California, has made private karaoke booths illegal since people can do illegal things in public places where the public cannot hear you.
I’d like to point out that opaque walls are a greater danger, since people can do things behind those walls which the public and law enforcement officials cannot see, but I would hate to give them ideas.