The Undulatory Analysis: a tool for musical composition