I am interested in producing a note in Python that changes frequency based on a variable. I want this note to sound as 'smooth' as possible and I have little experience in the realm of sound synthesis.
I want to have a wave (initially sine, although it would be nice if anyone had a general solution) respond in real time to a frequency variable. I am aware that many solutions will cause some discontinuities in the sound i.e. creating a new sine tone every time the frequency changes; I would like to avoid this as much as possible, especially as I expect the frequency to change a lot.
(If it makes any difference, I plan on having a real-time frequency input i.e. from a slider and playing a sound based on this input.)
I am using a Linux device (specifically a Raspberry Pi 1 model B.)