Measurement of tempo and proper automatic BPM tag system

If you are looking for information about tempo detection, in a kind of music other that simple "radio songs", here is a description of a hypothetical system automatically detecting BPM values [and how it would have to work in cooperation with Mp3tag]

[I'm creating this message because that other thread of mine doesn't have a proper description]