ideas for creating linear movement/ general suggestions for approach please

I think I see what you're getting at now. Is 10-20 millibars worth of compression going to give you enough accuracy in your volume calculation?