Composing and Improvising: From Theory to Practice