Piezo Buzzer

A pot and resistive divider will work in exactly the same way. Any worry about the speed of the rising or falling edge is only going to show up in the harmonic content of the buzzer and as the fundamental frequency is quite high I would be surprised if you will here any difference.