Our tone implementation is based on the Pico timer alarm. We just demo the functionality with the same tone_melodiy sketch which is also provided by Arduino.
I was using a Piezo Electric Element to test the sound generation