No, jailbreaking your iPod shouldn't erase your music. The process itself is designed to leave your existing content intact.
That said, it's always smart to back up your device before making any major change like this. If something goes wrong during the process, a backup means your music and other data stay safe.