A DSP based speech processor based on the Atmel Mega88 microcontroller, designed to maximize voice levels on communications transceivers.
Now sounding even better!
Running on a 20MHz 8-bit AVR microprocessor, the unit works by writing and reading 16 bit audio data through a 256 byte circular buffer, whilst maximizing the waveform as a background task in-between samples. The peak level of each half-cycle of waveform is measured, and a multiplication factor is calculated and applied. Since the gain is updated at the waveform zero-crossings, distortion is minimized. The processed output sounds exactly like an SSB speech clipper, since it is higher in intermod, but low in harmonics. A sinewave will pass through undistorted.
Another function provided by the software is DDS generation of modulated audio frequency tones, for linearity testing.
The unit also makes some interesting guitar distortion:
The notes beat against each other without the harsh distortion of audio
clipping.
Yet to add:
2012-03-15-DSP_Guitar_session_clip_reverbed.mp3
Example of guitar distortion, post processed with bass boost and reverb
Blue = Analog input,
Yellow
= DSP output ** Processing delay causes
misalignment of the traces
Mouseover the images to see the sound used