Hello everyone!
This project contains the sound signals generator with the spectrum visualizer. The list of signals contains the following forms:
White noise;
Pink noise;
Brown/Red noise;
Blue noise;
Violet noise;
Sine modulation by low frequency;
Square wave (odd harmonics with 6db/oct attenuation);
Saw wave (odd/even harmonics with 6db/oct attenuation);
Triangle wave (odd harmonics with 12db/oct attenuation);
Signal with only even harmonics;
Complex FM modulation;
AM modulation.
The spectrum visualizer supports resolutions up to 32768 points and averaging. The discrete complex FFT (Fast Fourier Transform) is used to visualize the spectrum. This procedure is optimized to processing a real signal using the even/odd decomposition in frequency domain which allows to performs the transformation of 2 real signals as single complex signal. The further synthesis of the spectrum is based on shifting in time domain and corresponding frequency domain rotation. The comments in the code describes everything in details.