I am starting to develop my knowledge of electronics and would like to build a simple standalone (no RPi or Arduino). I understand that to vary the volume of a buzzer the buzzer needs to be passive and fed a PWM signal. I tried building one with an active buzzer and 10k ohm potentiometer, but that does not work. (I subsequently read that basically, an active buzzer is either on or off). I have built one using a passive buzzer with my RPi. I would now like to create one on a perf board so I can practice my soldering. Could someone take me up bit of a learning curve? I'm assuming I need some kind of chip (or other device?) that sends out a PWM signal. I would like to be able to control the volume using a 10k ohm potentiometer. The electronic components I have came with a RPi kit, so, hopefully, I have what I need to be able to do this. If not, I'll order what I need.