I just thought of another way to do this:
- Create a really long pattern, don’t worry about tempo just hit record and jam away
- Render what you have recorded
- Trim sample to a whole number of beats and bars
- Slice the sample
- For drums use slices to pattern to get the note data, for melodies use slices to midi
It’s not quick but it works…