Here's what I do to convert free-time playing to actual bars/beats in Logic.
Play the piece in as you like-maybe on piano.
Make sure it's all in one contiguous part (glue together separate parts if necessary)
Open Matrix Edit, select all notes and drag first to bar position you like (1.1.1 maybe)
Keep part selected, go to 'Region' drop down menu >Lock [part] to SMPTE position
Now you can open the Tempo editor, insert tempo changes to line up the notes to the beats and bars. To do this I keep the Matrix Editor open to see the effect of my Tempo changes on the note positions).
Play the piece in as you like-maybe on piano.
Make sure it's all in one contiguous part (glue together separate parts if necessary)
Open Matrix Edit, select all notes and drag first to bar position you like (1.1.1 maybe)
Keep part selected, go to 'Region' drop down menu >Lock [part] to SMPTE position
Now you can open the Tempo editor, insert tempo changes to line up the notes to the beats and bars. To do this I keep the Matrix Editor open to see the effect of my Tempo changes on the note positions).