How to randomly change the size of an object?

hi, my target is a rectangle, it should change the vertical size randomly with tween, like when you listen to music in winamp or something like this, what you see on the display, bouncing with the beat… that’s what i want to have with just one rectangle, and randomly…

anybody knows a tut or something where i can start?