add par function, support multichannel playback
fix duration support in piano