^^^^^^^^ Larry ... somehow I missed your post.

I quite agree that programs can't decide, but only follow mathematical rules written by their creators.

But although my surmising turned out to be incorrect, it is not implausible. After all that 'counting' is done, the particular content of a bar in midi data, i.e., number of notes, length on notes, time on and off of notes, velocity, ad nausea, could still be subjected to some type of probabalistic 'comparison' algorithm informed by music/ melody theory. After which bars with more useful phrases as as dictated by the creator, e.g., two dotted quarters as opposed to one whole note, could have preferential weights assigned.

'Just sayin' ...

Prado