FunnyVoice outputs doubled frequency of microphone input. Uses Propeller Demobo
Christof Eb.
Posts: 1,199
· This works with the propeller demo board. It doubles the input frequency. Sounds like Donald Duck or so.
· The adio from the microphone is read in the task ADDAC,
· passed to the task DoubleFreq via sslot(0)
· and passed back via sslot(1). The frequency is doubled before.
· ADDAC outputs the stream.
· DoubleFreq buffers the input stream into a ringbuffer.
· It detects the frequency (actually cycle duration) searching for zerocrossings.
· A region of the buffer between 2 full waves is output omitting every second sample.
· There is a simple oszilloscope via terminal so see the output (or input) waves.
· Input level can be seen on the LEDS.
· Thanks especially for the great PropBasic and its IDE!
· Ideas, Comments?
· Enjoy! Christof
· The adio from the microphone is read in the task ADDAC,
· passed to the task DoubleFreq via sslot(0)
· and passed back via sslot(1). The frequency is doubled before.
· ADDAC outputs the stream.
· DoubleFreq buffers the input stream into a ringbuffer.
· It detects the frequency (actually cycle duration) searching for zerocrossings.
· A region of the buffer between 2 full waves is output omitting every second sample.
· There is a simple oszilloscope via terminal so see the output (or input) waves.
· Input level can be seen on the LEDS.
· Thanks especially for the great PropBasic and its IDE!
· Ideas, Comments?
· Enjoy! Christof
Comments
for a deep voice?
humanoido