On Mathematical Modelling of Time-Related Musical Structures