Any tone-library for nrf52 which uses 2 pins?


similar to this old thread Seeed Xiao nrf52840 tone library I am also looking for a tone-library which is optimized for the nrf52.
Not only for the volume-issue, but also for volume control and better sound-quality (since standard tone()-method only moves the speaker to one side because the other side is just ground).

Any ideas?