The music was written for piano. The music was written for the piano.
I want to learn to play (piano/the piano).
How do you differentiate them? The piano =1 specific piano? Piano = general ?-- In your sentences, there is no differentiation. They are different only when you make further reference: I don't want to play the piano standing over there.