Beat music detection

Hello,

Can you share with me the C# code which let me to the following thing…

I have music track saved i.e. mp3 or wav

and I would like to detect a beat in this music track and save time in miliseconds where this beat occurred into text file.

I would like to use TensorFlow AI library to do it.

I implemented the solution but not using AI and it is not so accurate as I would wish for.

Can you help me?
Regards
Marcin