Square waves are generated from simple oscillators, it's either on or off. That I understand. And as far as I know, if music is being produced from a speaker, "frequency" defines the rate at which the speaker is being vibrated. A high frequency (very fast vibration) produces a high-pitched tone, and a low frequency (slow vibration) produces a low-pitched tone.
I think that the vibrations are caused by the oscillating electrical pulses. But if that's the case, how are sine, triangle, and sawtooth waves generated? I thought that there had to be a pulse of electricity, and then nothing at all to vibrate the speaker. But it seems like what matters is that there's a change in voltage at all and that the extent of that change doesn't matter, as long as there is a change, there will be a vibration. Going from 5v to 0v vibrates the speaker, but so does going from 5v to 4.5v. So a sawtooth wave for example, would be produced by increasing the voltage at a constant rate, and then suddenly dropping to 0v, and repeating.
Does this all sound right? Just looking for clarification.
I think that the vibrations are caused by the oscillating electrical pulses. But if that's the case, how are sine, triangle, and sawtooth waves generated? I thought that there had to be a pulse of electricity, and then nothing at all to vibrate the speaker. But it seems like what matters is that there's a change in voltage at all and that the extent of that change doesn't matter, as long as there is a change, there will be a vibration. Going from 5v to 0v vibrates the speaker, but so does going from 5v to 4.5v. So a sawtooth wave for example, would be produced by increasing the voltage at a constant rate, and then suddenly dropping to 0v, and repeating.
Does this all sound right? Just looking for clarification.