An easy-to-say but hard-to-do way to avoid copyright infringement: if you only consume uncopyrighted music, then there is only uncopyrighted music swirling in your head to inspire you when you make your derivative works. And let us be clear about this: *all* creativity is derivative.