"spared the racket" could mean here "saved from having to listen to a terrible noise". When the little girl jumped on the accordion she broke it. So now the neighbours won't have to listen to her practising.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.