I built an audio frequency square wave oscillator using 3 gates on a CD4011 quad NAND gate IC. I then fed the output of the oscillator (pin 11) to a very basic "push-pull" transistor amplifier on the same breadboard. The output of the amplifier was then fed to a 2" speaker. The 9 volts of power to the circuit is from a regulated, work bench power supply.
Here is the schematic:
The circuit actually works pretty well. I measured the square wave out and it is about 8 volts peak to peak.
The sound from the speaker can be made fairly loud.
The 100K potentiometer, VR1, configured as a variable resistor, is used to vary the frequency out. I find I get a range of about 100 Hz to about 2,000 Hz.
The other potentiometer, P1, a 10K pot, is used on the input of the audio amplifier as a volume control.
Here is my problem: With an input signal of 8 volts, peak to peak, being fed to the amplifier, the sound is annoyingly loud. Hence the addition of the 10K pot on the input to the amplifier. The problem is that, with a 10K pot on the amplifier's input, only the very end of the travel of the wiper of the pot actually changes the volume. For most of the travel of the pot, the volume remains very loud. If I use a smaller value pot, the pot, itself, changes the output frequency of the oscillator. I guess this is because the small value pot is a like a "load" on the output of the CD4011 (pin 11)?
Is there a way to wire a pot, or another sort of volume control, so that the entire rotation of the pot's shaft affects the volume?
I wish I could measure or calculate the input impedance of the audio amplifier. Is there a way to do that?
Here is the schematic:

The circuit actually works pretty well. I measured the square wave out and it is about 8 volts peak to peak.
The sound from the speaker can be made fairly loud.
The 100K potentiometer, VR1, configured as a variable resistor, is used to vary the frequency out. I find I get a range of about 100 Hz to about 2,000 Hz.
The other potentiometer, P1, a 10K pot, is used on the input of the audio amplifier as a volume control.
Here is my problem: With an input signal of 8 volts, peak to peak, being fed to the amplifier, the sound is annoyingly loud. Hence the addition of the 10K pot on the input to the amplifier. The problem is that, with a 10K pot on the amplifier's input, only the very end of the travel of the wiper of the pot actually changes the volume. For most of the travel of the pot, the volume remains very loud. If I use a smaller value pot, the pot, itself, changes the output frequency of the oscillator. I guess this is because the small value pot is a like a "load" on the output of the CD4011 (pin 11)?
Is there a way to wire a pot, or another sort of volume control, so that the entire rotation of the pot's shaft affects the volume?
I wish I could measure or calculate the input impedance of the audio amplifier. Is there a way to do that?