Playing audio on Nano 33 IoT

Hi Arduino heads!

I have a sketch for playing audio from WAV files which relies on TMRpcm library and runs perfectly well on Ardino Nano. I need to replicate a similar functionality on Ardino 33 IoT, yet TMRpcm library is incompatible with the architecture of Nano 33 IoT and of course the code does not compile. Is there another library for Arduino Nano 33 IoT which allows playing audio? :confused: :confused: :confused: :confused:

Thanx!

This one should work:

I haven't used it with the Nano 33 IoT, but I have used it with my MKR Zero, and that's essentially the same hardware except in a different form factor.