Implement conversion from position to barmode