If the music was stored by the system in system folders, they've gone.
If they were on an SdCard, remove it and put it into a full size SdCard carrier to connect to a laptop or PC. You may have some luck with recovery with or without additional software.