The petition also accused local police of failing to take action despite ongoing violations.
The Karnataka government said that loudspeakers should not be used by anybody during the night.