Create metronome/tempo track matching audio file?

In cubase pro you can do that. In project there “detect tempo” item that fill your tempo track. It does not work that great though.