My life's like a soundtrack I wrote to the beat
Dre compares life to a song: you have a beat that you have to write lyrics to, and Dre is making a soundtrack out of it [life].
He could also be saying that music has such a huge impact on his life, it'a like he’s just making a soundtrack to the “beat” of life.
To help improve the meaning of these lyrics, visit "Still D.R.E." by Dr. Dre (Ft. Snoop Dogg) Lyrics and leave a comment on the lyrics box