96 kHz.org |
Advanced Audio Recording |
Example of sine wave generation in audio systems The subsequent images show some examples of DDS based wave generation.
Example 1
With 44,1kHz sampling frequency used for common audio recording, strong filtering will have to be applied in order to achieve a good sinus wave. Here a double T-filter is used which has a damping ratio of 1:50 (0,02 <-> 0,98) in the digital domain. For audio this might be appropriate, since the optical deviation is caused be upper harmonics which are not audible. Though the analogue wave has some low frequent drift. The steep filter causes also a significant phase offset. The image shows the case for a 20kHz audio frequency. The amplitude is already reduced down to less than 50% because of the used edge frequency of the filter.
Example 2
Even with 15kHz, strong deviation and phase offset, as well as low frequent drift can be observed.
Example 3
The same frequency (15kHz) generated with a sampling frequency of 96kHz shows less unwanted issues. This is even appropriate for industrial applications.
Example 4
For audio only the filter can now be modified in that way, that less deviation and phase offset occurs. Here a 0,05 <->0,95 ratio of the filter (digital representation) is used.
Example 5
Even the 20kHz wave is pretty fine for audio now! This low distortion may be accepted for audio well.
Example 6
Using 192kHz of sampling frequency, the filter's edge frequency could be further increased. Here a 0,2 <-> 0,8 ratio is used. 20kHz is nearly perfect now and has only a low number of harmonics left.
Example 7
Even 25kHz is fine. A comparison to a real sine wave shows less than 4% THD over the full spectrum.
Read the old article and some issues with DDS
|
© 2005 J.S. |