If my Googling was correct, a piano covers from 30Hz to 4KHz... that egg crate stuff isn't really all that effective to start with (I used to work with interior designers who had to build rooms suitable for audio/videoconferencing) and it certainly won't do anything for any sort of bass.
Higher frequencies... you're probably better off with stuff that'll just diffract/diffuse without looking horribly tacky. Bookshelves loaded with actual books is the usual suggestion. Or if you've got access to a table saw, you can build sound treatment panels out of ply and wall insulation for very, very cheap. Cover them in acoustic cloth or burlap, and you've got professional level sound treatment materials (still, it's a lot of guesswork without a calibrated mic and something like REW).
The other common approach is to just hang a heavy rug or drapes on a wall. Again, this looks way better than egg crate foam. And if you ever take it down, at least you have a rug, rather than a load of rubbish.
I made a couple of 2x4 panels along these lines:
https://www.musicianonamission.com/diy-acoustic-panels/ Chose a neutral grey, they look pretty good and will be reusable whenever I move house.