3 minute read

CONCLUSION

H = ((fSq + 20.6 . ^ 2) . * (fSq + 12194 . ^ 2) . * sqrt((fSq + 107.7 . ^ 2). *(fSq + 737.9 . ^ 2))) ./ ((12194 . ^ 2) . * f . ^ 4); H(1) = 0;

Figure 18. Final A-weighting Filter Function

Advertisement

Although this now serves the “correct” purpose visually, we can see from the amplitude axis that we now have the opposite problem and the gain is being boosted too much (almost 35dB) in the high end which is much too loud at this level [fig 9]. In the conclusion we will look at how this could be rectified.

From our results we can see that toneControl() is working as it should, (when loudness = 0), we are seeing magnitude response results that are in keeping with what would be expected for different knob positions corresponding to gain boost and attenuation. Some examples below.

Figure 19. Magnitude and Phase Response of toneControl() for [n] input

CONCLUSION

The first thing to note is that the loudness control (although it works properly) is unusable at its current state because of how extreme the gain boost is in the low and high end. One way of rectifying this would be with root-mean-squared (RMS) amplitude normalisation. RMS amplitude is the square root of the mean of a signal [15].

Looking back on the results of the A-weighting filter throughout the project and knowing what we know now, it does seem like the original, discarded result [fig 17] is closer to what a RMS normalised relationship would look like between an input and an output signal.

One shortcoming of this project is a lack of listening tests. That is, testing the tone control and loudness control with two-channel audio signals and listening to the ways in which they are being affected. Had more of these been performed throughout the development process perhaps

the loudness control gain issue could have been spotted and fixed earlier. The clipping and distortion that is prominent when listening is not immediately obvious in the plots.

REFERENCES

[1] Electronics, D., 2019. Microtubes 900V2. [online] Darkglass.com.Available at: <https://www.darkglass.com/microtubes-900v2/> [Accessed 1 May 2020].

[2] Krishna, D., 2018.Audio Filters - DesigningAnAudio Equalizer-7/8. [online] Engineers Garage. Available at: https://www.engineersgarage.com/contributions/audio-filters-designing-an-audio-equalizer-7-8 [Accessed 1April 2020].

[3] Carrillo III, M., 2018. CarAudio Systems: Terms To Know, How To ListenAnd What To Listen For. [online] Roadshow.Available at: <https://www.cnet.com/roadshow/news/car-audio-systems-listening-guide/> [Accessed 19April 2020].

[4] Reiss, J. and McPherson,A., 2015.Audio Effects. Boca Raton, Fla.: CRC Press, pp.89-93.

[5] Harrison, M., 2004. Vehicle Refinement. Warrendale, PA: Society ofAutomotive Engineers, pp.17-73.

[6] Smith, J., 2008. Introduction To Digital Filters. Stanford, California 94305 USA: Center For Computer Research In MusicAndAcoustics (CCRMA), P.Chapter 7. Frequency ResponseAnalysis.. 1st ed. [ebook] California 94305 USA: Center for Computer Research in Music andAcoustics (CCRMA), p.Chapter 7. Frequency ResponseAnalysis.Available at: <http://www.dsprelated.com> [Accessed 10 April 2020].

[7] IEC 61672-1:2013 Electroacoustics - Sound level meters - Part 1: Specifications. IEC. 2013.

[8] Tarr, E., 2019. HackAudio. New York: Routledge, p.247.

[9] E. Lai, Practical Digital Signal Processing for Engineers and Technicians. Oxford: Elsevier, 2003, p. 109.

[10] Smith, J., Spectral audio signal processing. Stanford, California: Center for Computer Research in Music andAcoustics (CCRMA), 2011, p. Generalized Window Method.

[11] Smith, J., Spectral audio signal processing. Stanford, California: Center for Computer Research in Music andAcoustics (CCRMA), 2011, p. Window Method For FIR Filter Design.

[12] Smith, J., Spectral audio signal processing. Stanford, California: Center for Computer Research in Music andAcoustics (CCRMA), 2011, p. Windowing a Desired Impulse Response.

[13] Punskaya, E., n.d. Design Of FIR Filters. University of Cambridge. pp. 111.

[14] MacClellan, J., Schafer, R. and Yoder, M., 1998. DSP First. New Jersey: Prentice-Hall, pp.116-169.

[15] Tarr, E., 2019. HackAudio. New York: Routledge, p.76-78.

This article is from: