The Philadelphia sound will sound again.

The Philadelphia Orchestra ended a brief strike on Sunday, two days after its musicians sent a shock wave through the classical music world by walking off the job just before a season-opening gala.

The players went on strike Friday to protest a contract offer that they said did not do enough to restore the pay and benefits lost amid the orchestra’s bankruptcy, which ended a little over four years ago.

But after returning to the bargaining table with a mediator on Saturday, the musicians and management agreed early on Sunday to a three-year contract that included a 2 percent raise in the first year and raises of 2½ percent in the second and third years.

The contract will bring the players’ base pay to $137,800 by the final year, the orchestra said, though many players make more. As part of the contract deal, the orchestra said, the musicians agreed to play more Sunday concerts and to give management more flexibility to stage pop-up concerts.