Fetching details from the dictionary...

composition (of music); setting; writing music
友達と一緒に新しい曲を作曲しました。
I composed a new song together with my friend.
彼は毎日ピアノで作曲の練習をしています。
He practices music composition on the piano every day.
この作曲家の音楽はとても美しいです。
This composer's music is very beautiful.