The project required Arduino or Genuino Zero Board but I only have Arduino Uno WiFi Rev2.
well - then you have the wrong hardware... The library you try to use (AudioFrequencyMeter) requires a SAMD architecture and you are on a (slow) ATMEGA
-> get the right board or write a different code to achieve what you want to do based on the capabilities of your Arduino
As you guessed, the library is only compatible with the SAMD architecture boards like the Zero and MKR boards. You can't use it with your Uno WiFi Rev2, thus the errors. If you want to use the library, you'll need to buy a SAMD board. The MKR Zero is a very nice board and has a reasonable price. It has an I2S interface that might be of interest to someone playing with audio and Arduino: