How can i measure the string vibrations of a guitar in hz & get the data in excel format

i wanted to measure the vibrations of string of a guitar in hz & want the reading data in the form of excel sheet if i can collect realtime data will be more usefull for me…
i want to make a small circuit with arduino which can be mounted on a guitar this should be non contact type of sensor.

Hi there

I just saw this project and remembered this question on here. It might give you enough information to get you started.

https://circuitdigest.com/microcontroller-projects/arduino-uno-guitar-tuner

Hope that helps
Bernhard