Hi,
No there is not really a function for this on the 5000 but you can do the following...
Let's assume that the tempo of your song is 120 BPM (I take this tempo to keep it simple).
So that means that there are 120 quarter notes in 60 seconds of time.
That means that every quarter note takes 0,5 seconds (60 seconds divided by 120)
There a 4 quarter notes in 1 measure, that means that 1 measure takes 2 seconds (4 quarter notes x 0,5 seconds).
The sampling frequency of the 5000 is 44.100 kHz per second...that means that one bar, which as we have seen takes 2 seconds, has a total sampling frequency of 88.200 kHz.
Now if you want to trim a sample for a perfect bar at a tempo of 120 BPM you can use these numbers. If your start point of the sample is exactly at 0 than your end-point must be exactly at 88.200. Suppose that your start-point is at 400 than your end-point would be 88.600.
You can adjust the start-point to any position you like...as long as the difference between the start- and end-point is 88.200 you will have a perfect one bar sample at a tempo of 120 BPM.
Of course you can apply this calculation to every tempo.
I kept it simple, not to treat you as a child, but just wanted to explain it clearly.
Hope this helps!
Regards,
Pieter