Coding, Capacity and Duration