generate audio now supports pauses