A statutory or home rule charter city or town may by ordinance regulate within its jurisdiction the sounding of horns, whistles, or other audible warnings by light rail transit vehicles. All regulations and ordinances adopted under this section must conform to federal law.