How does it know when to start recording the changes for a riff? And when to stop?

And how long can you make the changes? Is it capable of doing a whole verse or chorus (or both!)?

I found the videos a bit confusing, as the sound didn't sync up well with the video. Most of what I think I heard were just two chord jams, so I am interested in whether you can input longer chord sequences.....
_________________________
An arranger is just a tool. What matters is what you build with it..!