added duration, volume and pipe options
Merge branch 'master'