The process of creating an original musical work is called composition. It encompasses conceiving, organizing, and notating musical ideas—melody, harmony, rhythm, texture, and form—into a coherent structure that can be performed, recorded, or studied.
Composers work at pianos, with notation software (Sibelius, Finale, Dorico, MuseScore), in DAWs (Logic, Ableton, Pro Tools), or directly on instruments. Some improvise first, then transcribe; others construct systematically.
Songwriting typically implies verse-chorus structures with lyrics, often in popular genres. Composition is the broader term, covering instrumental works, film scores, experimental pieces, and songs alike. All songwriting is composition; not all composition is songwriting.
Whether scribbled on staff paper or sequenced in a piano roll, composition is the act of giving sonic imagination durable form.