Tesla is recalling nearly 579,000 vehicles in the U.S. because a "Boombox" function can play sounds over an external speaker and obscure audible warnings for pedestrians.

It is the fourth Tesla recall made public in the last two weeks as U.S. safety regulators increase scrutiny of the nation's largest electric vehicle maker. In two of the recalls, Tesla made decisions that violate federal motor vehicle safety standards, while the others are software errors.

The cars and SUVs have what Tesla calls a "Boombox" function that allows drivers to play sounds while the vehicles are moving, according to data on the National Highway Traffic Safety Administration website Thursday. This violates federal safety standards that require pedestrian warning noises for electric cars, which make little noise when in motion, the agency says.

The problem will be repaired with an over-the-air software update that will disable "Boombox," in drive, reverse or neutral, the agency said.

"The Boombox functionality allows a customer to play preset or custom sounds through the PWS (pedestrian warning system) external speaker when the vehicle is parked or in motion," NHTSA says in documents posted on its website. "While Boombox and the pedestrian alert sound are mutually exclusive sounds, sounds emitted using Boombox could be construed to obscure or prevent the PWS from complying" with safety standards, the agency wrote.

The recall covers certain 2020 through 2022 Tesla Model X, S, and Y vehicles, as well as 2017 through 2022 Model 3s, according to records.

A message was left Thursday seeking comment from Tesla, which has disbanded its media relations department. The company is not aware of any crashes or injuries due to the problem, NHTSA said.

Tesla enabled Boombox with a software update in December 2020, NHTSA said in documents. The agency began seeking information from Tesla in January 2021, and Tesla explained the feature and contended that it complied with U.S. safety standards. In September 2021, NHTSA opened an investigation into the feature. A month later, Tesla defended its rationale for determining that Boombox complied with safety standards. But on Jan. 29, the company decided to do a recall and disable Boombox in drive, neutral and reverse.

NHTSA said that in 2010, Congress required electric and hybrid vehicles to make pedestrian warning noises. The law required agency rules to stop manufacturers from allowing anyone other than an automaker or dealer to "disable, alter, replace, or modify the pedestrian alert sound or set of sounds."

Tuesday's recall is the 15th done by Tesla since January 2021, according to NHTSA records. In addition, the safety agency has opened multiple investigations of Teslas.

Michael Brooks, acting executive director of the nonprofit Center for Auto Safety, said Tesla seems to be playing "cat and mouse" with NHTSA's enforcement team by pushing safety limits. The company is taking resources from the agency, which is trying to deal with spiking highway death rates, he said.

Brooks called on the NHTSA to consider civil fines for Tesla due to it's behavior because recalls, investigations, orders and other methods aren't working. "They're trying here, but at some point you have to kind of call Tesla out on its general strategy, which appears to be pushing the limits of the safety act," Brooks said.

Last week, Tesla had to recall nearly 54,000 vehicles equipped with "Full Self-Driving" software that allowed the vehicles to run through stop signs at low speeds, without coming to a complete halt. Selected Tesla owners are "beta testing" the software on public roads, but the cars can't drive themselves despite the name.

The company also had to recall over 800,000 vehicles because seat belt reminder chimes may not sound when the vehicles are started and the driver isn't buckled up. And this week, nearly 27,000 vehicles were recalled because the cabin heating systems may not defrost the windshield quickly enough. All were to be fixed with online software updates.

Safety advocates and automated vehicle experts say Tesla is pushing the boundaries of safety to see what it can get away with, but now NHTSA is pushing back.

Also, after a NHTSA inquiry in December, Tesla disabled a function that let drivers play video games on center touch screens while the vehicles are moving.

In November, NHTSA said it was looking into a complaint from a California Tesla driver that the "Full Self-Driving" software caused a crash. The driver complained to the agency that a Model Y went into the wrong lane and was hit by another vehicle. The SUV gave the driver an alert halfway through the turn, and the driver tried to turn the wheel to avoid other traffic, according to the complaint. But the car took control and "forced itself into the incorrect lane," the driver reported. No one was hurt in the Nov. 3 crash.

NHTSA also is investigating why Teslas using the company's less-sophisticated "Autopilot" partially automated driver-assist system have repeatedly crashed into emergency vehicles parked on roadways. The agency opened the investigation in August, citing 12 crashes in which Teslas on Autopilot hit parked police and fire vehicles. In the crashes under investigation, at least 17 people were hurt and one was killed.

Last week Tesla said in its earnings release that "Full Self-Driving" software is now being tested by owners in nearly 60,000 vehicles in the U.S. It was only about 2,000 in the third quarter. The software, which costs $12,000, will accelerate Tesla's profitability, the company said.

Tom Krisher reports for the Associated Press.

Copyright 2022 AP. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.