Some Applications of Time Theory to Computer Music Design