if you need the same number of frames I would just ignore the last frame for some of the systems. The last waveform frame is usually not full and I am not sure how it was implemented in phnrec. If it was zero padded or removed. The resampling algorithm may
have impact on the final number of frames.