Hi All,
I need to use a picaxe 18X to drive an amplifier that inturn feeds a horn. I would like the output sound to resemble a police siren or a simple frequency ramp up and down(from say 100Hz to 1000Hz to 100Hz and repeat) depending on input status. The result of the latter is an effort to simulate the rise and fall of an old air raid type mechanical siren being turned on and off.
I have used the 18x and the PWMOUT command before to generate pulsed 1kHz tones but now I want to simulate siren tones.
The sound needs to be continuous, when I have tried this with PWMOUT there is always an audible break in sound as the frequency rises, if memory serves the steps of frequency change were also very noticable.
As always any assistance is greatly appreciated.
I need to use a picaxe 18X to drive an amplifier that inturn feeds a horn. I would like the output sound to resemble a police siren or a simple frequency ramp up and down(from say 100Hz to 1000Hz to 100Hz and repeat) depending on input status. The result of the latter is an effort to simulate the rise and fall of an old air raid type mechanical siren being turned on and off.
I have used the 18x and the PWMOUT command before to generate pulsed 1kHz tones but now I want to simulate siren tones.
The sound needs to be continuous, when I have tried this with PWMOUT there is always an audible break in sound as the frequency rises, if memory serves the steps of frequency change were also very noticable.
As always any assistance is greatly appreciated.