If your editor has the sapphire plug in, you could try the shake effect, but that won’t neccesarilly match up to the music.
If you have AfterEffects available, I would suggest buying Trapcodes SoundKeys, 99 dollars. Import your video and audio track into AE and throw both into a timeline. Create a solid, apply soundkeys and anaylize the part of the audio layer you want to shake. Soundkeys will create keyframes based on the music, level….
Now you can just need to pickwhip to the scale properties and add a multiplier. Expression are really not my bag, so if you go this route, go the AfterEffects forum and talk to Dan Eberts, man knows all about expressions.
A third option would be to bring it into after effects. Set scale and position keyframes on the head and tail of the clip. Then apply the wiggler and turn on motion blur. If you can figure out the beats per second of your music, it should match up pretty well.
Good luck and good editing
Johnny Cuevas