Just infer it from the sign of the velocity. That's what odeon does.
Attach a file by drag & drop or click to upload