have a look at pdmtl abstractions:
http://wiki.dataflow.ws/PdMtlAbstractions/
 
there's musical.arpeggio from alexandre quessy.
patrick