Revert "Removed MelEffects to add duration attribute"

This reverts commit 09f10ed4d9c886e03edb48944ed76b6f5d9b9d53.