Audio signal processing program and audio signal processing device
The audio signal processing program enhances speech intelligibility in noisy environments by boosting high-frequency components and generating harmonics through time-domain processing, addressing the limitations of existing methods in improving speech clarity without increasing sound pressure level.
Patent Information
- Application Number
- JP2023048058
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
AI Technical Summary
Existing audio signal processing methods struggle to improve speech intelligibility in noisy environments without increasing sound pressure level, which can be harmful to health, and often require time and CPU-consuming calculations.
An audio signal processing program that performs pre-emphasis filtering to boost high-frequency components, applies nonlinear distortion to generate harmonics, and uses dynamic range compression in the time domain to enhance speech intelligibility, while reducing processor execution time and power consumption.
The solution effectively improves speech intelligibility in noisy environments by maintaining fundamental frequencies and reducing high-frequency attenuation, resulting in shorter processing times and lower power consumption.
Smart Images

Figure 2024136804000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an audio signal processing program and an audio signal processing device. [Background technology]
[0002] In noisy environments, it is often difficult to understand audio information even if the voice (or speech) is transmitted using a public address speaker (PA). A simple way to overcome the decrease in voice intelligibility in noisy environments is to increase the sound pressure level (commonly known as volume) of the voice. However, exposing listeners to loud sounds is harmful to their health. See Non-Patent Document 1.
[0003] A digital signal processor (DSP) has been proposed that improves the intelligibility of speech without increasing its sound pressure level. The prior art (Patent Document 1, Non-Patent Document 2) Spectral shaping filtering with dynamic range compression (SSDRC) uses spectral shaping to transfer energy from low to high frequency regions to increase the signal-to-noise ratio (SNR) in the high frequency region. In addition, SSDRC performs dynamic range compression (DRC) to reallocate energy in time. This reallocation amplifies periods of quiet speech and attenuates periods of loud speech. In the spectral shaping stage of this method, the input speech digital signal is Fourier transformed (Discrete Fourier Transform, DFT) and passed through a series of filters to sharpen the formants of the vowel portion of the speech and flatten the spectral tilt of the speech through a pre-emphasis filter. The filtered speech is then inverse Fourier transformed (Inverse Discrete Fourier Transform, IDFT). The DRC implementation in SSDRC is based on the Hilbert transform to obtain the time envelope of the signal, which is followed by a DFT. DFT and IDFT are time- and CPU-consuming calculations. This means that SSDRC is effective in improving speech intelligibility, but involves time- and CPU-consuming processing.
[0004] Prior art (Patent Document 2, Non-Patent Document 3) is a hearing aid that inputs speech in a noisy environment and outputs speech with improved clarity. This hearing aid processes the noisy speech input in two branches in parallel. The first branch performs noise reduction processing. The second branch separates speech from noise (ASE: Aggressive Speech Enhancement), and the third branch processes only the speech separated from noise to generate harmonics (HE: Harmonic Enhancement). The signals from the three branches are then mixed and output. Non-Patent Document 3 reports that speech clarity is improved, not speech intelligibility. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] UK Patent Application GB 2520048 43 A [Patent Document 2] United States Patent Application US 2015 / 0092967 A1 [Non-patent literature]
[0006] [Non-Patent Document 1] WHO, “Burden of disease from environmental noise, Quantification of healthy life years lost in Europe.” World Health Organization, 2011 [Non-Patent Document 2] T.-C. Zorila, Y. Stylianou, T. Ishihara, and M. Akamine, "Near and far field speech-in-noise intelligibility improvements based on a time-frequency energy reallocation approach," IEEE / ACM Transactions on Audio, Speech, and Language Processing, vol. 24, no. 10, pp. 1808-1818, 2016. [Non-Patent Document 3] K. Wojcicki, K. Fitz, K. Recker, D. Reynolds, and T. Zhang, “Sidechain harmonic enhancement of noise corrupted speech for hearing impaired listeners,” in IEEE Wkshp. On Applications of Signal Processing to Audio and Acoustics (WASPAA), pp. 1-5, 2015. DOI: 10.1109 / WASPAA.2015.7336926. [Non-Patent Document 4] D. Giannoulis, M. Massberg, and JD Reiss, “Digital dynamic range compressor design-a tutorial and analysis,” J. Audio Eng. Soc, vol. 60, no. 6, pp. 399-408, 2012 Summary of the Invention [Problem to be solved by the invention]
[0007] An object of the present disclosure is to provide an audio signal processing program and an audio signal processing device that improve the intelligibility of audio in a noisy environment. [Means for solving the problem]
[0008] A first aspect of the present disclosure is an audio signal processing program that causes a processor to execute audio digital signal processing, the audio digital signal processing having: (a) a pre-emphasis filter process that inputs an input audio digital signal that does not contain environmental noise, attenuates the magnitude of low-frequency components, and boosts the magnitude of high-frequency components that are higher than the low-frequency components; (b) a non-linear distortion process that non-linearly distorts the output of the pre-emphasis filter process to increase the number of harmonic components; (c) a gain control process that generates a first gain for the input audio digital signal and a second gain for the non-linearly distorted audio digital signal; (d) a mixing process that weights the input audio digital signal by the first gain and the non-linearly distorted audio digital signal by the second gain, and adds them together; (e) a DC filter process that removes a DC offset component of the mixed audio digital signal; and (f) a dynamic range compression process that reduces the difference in loudness between the quietest sound and the highest sound of the DC filtered audio digital signal. Effect of the Invention
[0009] According to the first aspect, it is possible to improve the intelligibility of speech in a noisy environment with a short processor execution time and low power consumption. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating an example of the configuration of an audio signal processing device according to an embodiment of the present invention. [Diagram 2] 1 is a diagram illustrating an example of the configuration of a digital signal processor that is an audio signal processing device 1. FIG. [Diagram 3] FIG. 2 is a schematic flowchart of an audio signal processing program 2 executed by a digital signal processor. [Figure 4] FIG. 13 is a diagram illustrating the processing of a pre-emphasis filter 10 and pre-emphasis filter processing S10. [Diagram 5] 10A and 10B are diagrams illustrating half-wave rectification processing, which is an example of nonlinear distortion processing. [Figure 6] FIG. 13 is a diagram illustrating a half-wave rectification process, which is an example of a nonlinear distortion process. [Figure 7] FIG. 11 is a diagram showing an example of control of a modified gain gm in the present embodiment. [Figure 8] FIG. 2 is a diagram showing a mixing process performed by amplifiers 14 and 30 and a mixer 16. [Figure 9] FIG. 13 is a diagram illustrating a DC filter process. [Figure 10] FIG. 1 is a diagram illustrating a DRC process. [Figure 11] FIG. 13 is a diagram showing compression of the amplitude of an audio digital signal by DRC and the compression ratio Gain. [Figure 12] FIG. 13 illustrates anti-aliasing filtering. [Figure 13] FIG. 11 is a diagram illustrating the equalizer process S24. [Figure 14] 11A and 11B are diagrams illustrating evaluation results of speech intelligibility by a speech signal processing device that executes a speech signal processing program according to the present embodiment. [Figure 15] FIG. 11 is a diagram comparing subjective results of the intelligibility of signal-processed speech in a certain noise environment (SNR=−9 dB). [Figure 16] FIG. 1 is a diagram showing the processor execution time and the ratio of the execution time of each of the audio signal processing devices (digital signal processors) of the present embodiment and Non-Patent Document 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Fig. 1 is a diagram showing an example of the configuration of an audio signal processing device according to the present embodiment. An input X is a clean audio signal that does not include environmental noise. The input audio digital signal X is, for example, a time-series signal of 16-bit digital data. The sampling rate of the digital signal is, for example, 16 KHz.
[0012] The audio signal processing device 1 processes an input audio digital signal X to generate an output audio digital signal Y with improved intelligibility in a noisy environment. The input audio digital signal X is generated by analog-to-digital conversion of an audio analog signal at a predetermined sampling rate. The output audio digital signal Y is input to, for example, a PA speaker, and the audio is output. The output audio digital signal Y processed by this audio signal processing device provides high intelligibility of the audio output from the PA speaker even in a noisy environment such as a cafe, a train station, or inside a subway car, making it easier to understand the meaning of the audio.
[0013] The audio signal processing device 1 includes a pre-emphasis filter 10, a nonlinear distortion processing unit 12 such as a half-wave rectifier, an amplifier 14 based on a gain gm, an amplifier 30 based on a gain go, and a mixer 16 that mixes the outputs of the amplifiers 14 and 30. The gains gm and go and the gain gh of the nonlinear distortion processing are controlled by a gain control 26. Furthermore, the audio signal processing device 1 includes a DC filter 18 that removes a DC offset from an output X3 of the mixer, a dynamic range compressor 20 that compresses the dynamic range of the output X4, an anti-aliasing filter 22 which is a kind of low-pass filter that attenuates harmonics, and an equalizer 24 that makes the average amplitude of the output audio digital signal Y equal to that of the input audio digital signal X.
[0014] 2 is a diagram showing a configuration example of a digital signal processor which is the audio signal processing device 1. The digital signal processor (hereinafter referred to as DSP) 30 has an arithmetic core 32, a program memory 34, a data memory 36, and an input / output circuit 38. The arithmetic core 32 has, for example, an instruction fetch for reading program instructions from the program memory 34, an instruction decoder for decoding the instructions, a logical arithmetic operator for executing logical arithmetic operations on the decoded instructions, and a program counter. The program memory 34 stores program data to be executed. The data memory 36 stores various data such as input data, operation data, and output data. The input / output circuit 38 has an AD converter for converting an external analog signal into a digital signal, a DA converter for converting an internal digital signal into an analog signal, and the like.
[0015] 3 is a diagram showing a schematic flowchart of the audio signal processing program 2 executed by the digital signal processor. The audio signal processing program causes the processor to execute pre-emphasis filter processing S10, nonlinear distortion processing S12 such as half-wave rectification, gain control processing S26 for controlling gains gm, go, and gh, mixing processing S16 for mixing the input audio X and the nonlinearly distorted signal X2 weighted by gains go and gm, DC filter processing S18 for removing the DC offset of the output X3 of the mixing processing, dynamic range compression processing S20 for compressing the dynamic range of the output X4, anti-alias filter processing S22 for attenuating the harmonics of the output X5, and equalizer processing S24 for making the average amplitude of the output audio digital signal Y equal to that of the input audio digital signal X.
[0016] The audio signal processing program 2 and the audio signal processing device 1 of this embodiment process the audio digital signal in the time domain without changing the sampling rate. Since the discrete time Fourier transform (DTFT) and inverse discrete time Fourier transform (IDTFT) required for processing in the frequency domain are not required, the circuit configuration of the audio signal processing device 1 can be simplified, the program processing of the digital signal processor can be lightened, and the processor execution time can be shortened.
[0017] The components 10 to 30 of the audio signal processing device 1 and each of the processes S10 to S24 of the audio signal processing program will be described below.
[0018] [Pre-emphasis filter processing S10] FIG. 4 is a diagram showing the pre-emphasis filter 10 and the processing of the pre-emphasis filter S10. The pre-emphasis filter 10 and its processing S10 have a function similar to that of a high-pass filter. That is, the processor 31 attenuates the magnitude of the low frequency region of the input audio digital signal X and amplifies the magnitude of the high frequency region (S10-1). The processing S10-1 shows a conversion characteristic graph of the pre-emphasis filter, with the horizontal axis being the frequency (logarithmic) of the audio digital signals X and X1 and the vertical axis being the magnitude (dB) of the output signal X1 of the pre-emphasis filter 10. This conversion characteristic is an example in which the sampling rate of the input audio digital signal is 16KHz, and therefore the maximum frequency (Nyquist frequency) is 8KHz (8000Hz), which is 50% of the sampling rate. According to the conversion characteristic graph, the magnitude of the low frequency region is lowered and the magnitude of the high frequency region is increased.
[0019] In digital systems, a simple implementation of a pre-emphasis filter is a first-order filter with real zero z in the range -1 < z =< -0.95. In the inventors' experiments, good performance was obtained with a first-order filter with a real zero z of, for example, -0.97.
[0020] Pre-emphasis filtering is the processing of a digital signal in the time domain. For example, if the pre-emphasis is -0.97, the output is calculated as (current input sample) - 0.97 * (next input sample).
[0021] [Nonlinear distortion processing S12] Next, the nonlinear distortion processing 12, S12 will be described. Nonlinear distortion is a general term for distortion that occurs when there is no linear relationship between input and output. Nonlinear distortion is broadly divided into harmonic distortion, in which components that are integer multiples of the input frequency are output, and intermodulation wave distortion, in which components that are the sum and difference of two or more input frequencies are output. The nonlinear distortion of the nonlinear distortion processing of this embodiment corresponds to harmonic distortion.
[0022] In linear distortion, the magnitude and phase of the existing frequency components of a sound are changed, but no new frequency components are added. Examples of audio processes that produce linear distortion include high-pass filters and dynamic compressors. In nonlinear distortion, on the other hand, new spectral components are added to the input signal. Examples of audio processes that produce nonlinear distortion include wave rectification, ring modulation, bitcrushing, and wave shaping. Bitcrushing is an audio effect that produces distortion by reducing the resolution or bandwidth of digital audio data.
[0023] Fig. 5 is a diagram for explaining half-wave rectification processing, which is an example of nonlinear distortion processing. The upper part of Fig. 5 shows a time domain time signal of a 100 Hz cosine wave before half-wave rectification (left) and its frequency domain frequency spectrum (right). The time signal of a cosine wave before half-wave rectification is a waveform whose amplitude ranges from -1 to +1 and oscillates around zero, and the frequency spectrum has only a single frequency of 100 Hz.
[0024] Meanwhile, the bottom of Figure 5 shows the half-wave rectified time signal (left) and its frequency spectrum (right). With half-wave rectification, if the amplitude of the cosine waveform is less than 0, it is converted to 0, and if it is equal to or greater than 0, it is converted to the original amplitude. As a result, the frequency spectrum after half-wave rectification has multiple harmonics in the frequency range higher than the original frequency of 100 Hz. In addition, the DC offset DC_Offset of the time signal after half-wave rectification is a positive value rather than zero.
[0025] In this embodiment, the sampling rate of the input audio digital signal X is, for example, 16KHz. Therefore, the maximum frequency (Nyquist frequency) is 8KHz, which is half the sampling rate. Therefore, in the frequency spectrum of the sampled input audio digital signal X, high-frequency signal components exceeding the Nyquist frequency (8KHz) appear as mirror image frequency components of the Nyquist frequency. However, since FIG. 5 shows the frequency spectrum of a time signal obtained by half-wave rectifying a cosine wave, the harmonic components generated by the half-wave rectification are rapidly attenuated and appear in the frequency domain below the Nyquist frequency. In this way, since no harmonic components exceeding the Nyquist frequency are generated, no mirror image frequency components of the harmonic components appear in FIG. 5.
[0026] If the input audio signal X is not a single-frequency cosine signal as in Figure 5, the harmonics generated by nonlinear distortion processing contain frequency components higher than the Nyquist frequency. As a result, the frequency spectrum of the nonlinearly distorted audio digital signal contains mirror-image frequency components of those harmonics below the Nyquist frequency.
[0027] FIG. 6 is a diagram showing wave rectification processing, which is an example of nonlinear distortion processing. The time-series audio digital signal is a signal with a predetermined number of bits (for example, 16 bits) whose amplitude is between −1 and +1. In half-wave rectification processing, negative values of the signal amplitude are converted to zero. In wave rectification, a threshold t R is -1 <t R <0. For half-wave rectification, the threshold t R is R= 0. The threshold t R t R If =-1, no wave rectification is performed and no modification of the audio digital signal is performed.
[0028] Therefore, the processor that performs the wave rectification process performs the wave rectification process to determine whether the amplitude of the audio digital signal X1 is equal to or greater than the threshold value t R If it is smaller than the threshold value t (YES in S12-1), the output audio digital signal X2 is R (S12-2), while the threshold t R In the above case (NO in S12-1), the output audio digital signal X2 is equal to the input audio digital signal X1 (X2=X1). According to the wave rectification process in Fig. 6, the wave rectification process can be performed in the time domain of the input audio digital signal X1.
[0029] Nonlinear distortion processing by wave rectification can be performed by simple processing as shown in Fig. 6, so the processing by the processor is light and the processor execution time can be shortened. At the same time, nonlinear distortion processing by wave rectification preserves the fundamental frequency of the audio digital signal. Preserving the fundamental frequency, which is important for voice recognition, makes it possible to improve the intelligibility of the voice.
[0030] The audio signal generated by half-wave rectification (the audio signal at the bottom of FIG. 5) is the audio signal y(t) shown in the following formula.
[0031]
number
[0032] In waveform shaping, which is another example of nonlinear distortion in a digital signal processor, an output signal f(x) for an input audio digital signal x is calculated by, for example, the following polynomial function.
[0033]
number
[0034] FIG. 7 is a diagram for explaining waveform shaping processing using the polynomial function of Equation 2. FIG. 7 shows an example where the variable c=100. The upper part of FIG. 7 shows a time domain time signal (left) of a 100 Hz cosine wave before waveform shaping, and its frequency domain frequency spectrum (right). Meanwhile, the lower part of FIG. 7 shows a time domain time signal (left) and its frequency spectrum (right) after waveform shaping. The frequency spectrum (right) at the bottom of FIG. 7 includes harmonics generated by waveform shaping. Since some of the harmonic components generated by the waveform shaping processing have frequencies exceeding the Nyquist frequency, this frequency spectrum (right) also includes frequency components of their mirror image signals.
[0035] [Gain control process S26 and mixing process S16] In the gain control process S26, the gain control 26, the processor generates an original gain go which is the weighting of the original digital audio signal X, a modified gain gm which is the weighting of the changed digital audio signal X2 which has been subjected to nonlinear distortion processing etc., and a harmonic gain gh for controlling the generation of harmonic components in the nonlinear distortion 12.
[0036] For example, the following three control methods can be applied to the gain control. (1) When the noise in the environment does not change, the three gains are set to constant values. For example, the gain control 26 outputs go = gm = 0.5, gh = 1. Here, go = 1 - gm, in the case of wave rectification, tR = gh - 1. When gh=1, the threshold is t R = 0, the nonlinear distortion processing becomes half-wave rectification, and the maximum harmonic distortion is generated by the nonlinear distortion processing 12. In the case of half-wave rectification, the harmonic gain gh is at the maximum value gh=1, the degree of distortion becomes maximum, and the maximum harmonic distortion is generated. Also, with go = gm = 0.5, the contributions of the original digital audio signal X and the digital audio signal X2 that has been signal-processed with nonlinear distortion or the like become equal. (2) The user manually adjusts the three gains according to preference. For example, the gain control 26 increases the weight gm of the processed audio digital signal as the noise in the environment increases, and maintains the harmonic gain gh of the nonlinear distortion at a maximum value gh=1. The gain control 26 performs the opposite control as the noise in the environment decreases. The manual adjustment is performed, for example, by two physical, digital, graphic, or other types of adjustment means in the form of knobs, sliders, etc. For example, one adjustment means adjusts the harmonic gain gh, and the other adjustment means adjusts the original and modified gains go and gm. (3) Adaptively adjust the three gains according to the noise level in the current environment. In this case, as shown in Fig. 1, noise in the environment is monitored by the microphone 28. According to the signal-to-noise ratio (SNR) of the audio signal from the microphone 28, the three gains are adjusted based on, for example, the following preset table.
[0037] [Table 1]
[0038] The values in the above table are obtained from subjective experiments, such as having people listen to speech and measuring its intelligibility, or are estimated from a speech intelligibility model or similar index, such as the Extended Speech Intelligibility Index (ESII, KS Rhebergen and NJ Versfeld, “A speech intelligibility index-based approach to predict the speech reception threshold for sentences in fluctuating noise for normal-hearing listeners,” J. Acoust. Soc. Am., vol. 117, no. 4, pp. 2181-2192, 2005. DOI: 10.1121 / 1.1861713).
[0039] According to the values in the above table, as the noise level in the environment increases or as the SNR (dB) decreases, the modified gain gm is increased, the original gain go is decreased, and the harmonic gain gh of the nonlinear distortion is increased. Increasing the modified gain gm increases the contribution of harmonics generated by nonlinear distortion. In addition, increasing the harmonic gain gh increases the degree of distortion, and the audio digital signal X2 that has been subjected to nonlinear distortion processing will contain larger harmonic components. In the case of wave rectification, when the harmonic gain gh reaches the maximum value gh=1 and the threshold t R = 0, and nonlinear distortion processing becomes half-wave rectification processing. If the SNR of the current digital audio signal is between adjacent values in the table, the three gains are calculated by interpolation.
[0040] Fig. 8 is a diagram showing a mixing process by the amplifiers 14 and 30 and the mixer 16. The processor adds the original audio digital signal X and the processed audio digital signal X2, which have been weighted by the weights go and gm in Fig. 7, respectively, to generate a mixed output X3 (S16-1). In this mixing process, the processor performs an addition process in the time domain of the original audio digital signal X and the processed audio digital signal X2.
[0041] [DC filter processing S18] In the case of half-wave rectification, the half-wave rectified audio digital signal in Figure 5 is R =0, and the amplitude is made flat at 0. As a result, a positive DC offset DC_Offset is generated. The DC offset is 1 / π of the first term shown in Equation 1. In this way, the mixed audio digital signal oscillates around the value of the DC offset DC_Offset. This operation is not preferable for the operation of the dynamic range compression (DRC) 20 in the subsequent stage. Therefore, the audio processing program of this embodiment has DC filter processing S18, 18 that removes the DC offset of the mixed audio digital signal X3.
[0042] 9 is a diagram showing a DC filter process. The processor executes the DC filter process S18 to subtract a DC offset DC_Offset from the mixed audio digital signal X3 (S18-1). The DC offset is, for example, an average value of the audio digital signal X3. Alternatively, the DC filter process S18 may be a high-pass filter process with a cutoff frequency of a very low frequency component (less than 20 Hz, typically 5 Hz is used) of the audio digital signal X3.
[0043] [Dynamic range compression processing S20] Dynamic range compressor (DRC) processing reduces the difference between quiet sounds (sounds with low amplitude) and loud sounds (sounds with high amplitude) in the audio digital signal X4, and outputs an audio digital signal X5. In the DRC processing of this embodiment, the processor compresses the input X4 so that in areas where the input X4 is quiet, the output X5 has the same volume as the input X4, and in areas where the input X4 exceeds a predetermined threshold (e.g., the minimum volume of the voice, −20 dB), the volume of the sound is reduced by a predetermined compression ratio (e.g., 5:1). Unlike the DRC disclosed in Non-Patent Document 1, the DRC of this embodiment does not use a Hilbert transform accompanied by a Fourier transform, and performs DRC processing in the time domain as described in Non-Patent Document 4, for example.
[0044] Fig. 10 is a diagram showing DRC processing. The DRC of this embodiment compresses the amplitude of the audio digital signal X4 based on the conversion graph S20-1 and converts it into an audio digital signal X5. According to digital signal processing using the conversion graph shown in Fig. 10, when the input amplitude is less than a threshold value of -20 dB, the output X5 is made the same as the amplitude of the input X4, and when the input amplitude is equal to or greater than the threshold value of -20 dB, the amplitude of the output X5 is attenuated to 1 / 5 of the amplitude of the input X4. This prevents the amplitude of the output audio digital signal X5 from exceeding the amplitude limit of the acoustic system.
[0045] The DRC of this embodiment may be, for example, a simple DRC in the time domain described in Non-Patent Document 4. The parameters of this DRC can be adjusted according to the type of noise, the audio signal, the signal-to-noise ratio, etc. Typical setting values are an attack time Att, which is the time to start post-processing when a threshold is reached, of [0 to 5] ms, a release time Rel, which is the time to stop post-processing when a threshold is reached, of [5 to 50] ms, a threshold T of [-40 to -10] dB, a compression ratio R of [5:1 to 10:1], a knee width W of [0 to 10] dB, and a makeup gain MG of [0-5] dB.
[0046] FIG. 11 is a diagram showing the compression of the amplitude of an audio digital signal by DRC and the compression ratio Gain. The top panel is the input signal X4, and the middle panel is the output signal X5. The upper graph shows the input signal X4 and the output signal X5, with the horizontal axis being time and the vertical axis being amplitude (-1 to +1 and -0.2 to 0.2). The bottom panel shows the actual gain Gain expressed in decibels, with the horizontal axis being time. It can be seen from this diagram that amplitude compression is not performed during time periods when the amplitude of the audio digital signal is small, but amplitude compression is performed during time periods when the amplitude is large.
[0047] According to the inventor's experiments, the DRC is placed immediately before the anti-aliasing filter 22 in order to better improve the intelligibility and clarity of the voice.
[0048] [Anti-aliasing filtering S22, 22] As a result of the nonlinear distortion processing, many high frequency components that are mirror images of the Nyquist frequency of many harmonics are generated in the frequency spectrum of the digital audio signal that has been subjected to the wave rectification processing, as described in Fig. 5. In this embodiment, when these alias frequencies are significant, the harmonic components of frequencies higher than the Nyquist frequency are removed or suppressed by anti-aliasing filter processing. The anti-aliasing filter is a type of low-pass filter (LPF).
[0049] FIG. 12 is a diagram showing anti-aliasing filter processing. Anti-aliasing filter processing is composed of low-pass filter processing. Therefore, anti-aliasing filter processing performs low-pass filter processing to remove harmonic components higher than the Nyquist frequency of the input audio digital signal X5, and outputs an anti-aliased audio digital signal X6. Since the low-pass filter has a cutoff frequency sufficiently close to the Nyquist frequency, it passes frequency components below this cutoff frequency and attenuates the amplitude of frequency components higher than the cutoff frequency. When a low-pass filter processing having a cutoff frequency close to the Nyquist frequency is performed, it is possible to attenuate or cut off harmonic components exceeding the Nyquist frequency. This makes it possible to attenuate or cut off mirror image components of harmonic components exceeding the Nyquist frequency of the audio digital signal that has been nonlinearly distorted.
[0050] The low-pass filter can be realized, for example, by a low-order (e.g., first-order) Butterworth filter, which can also be processed in the time domain.
[0051] [Equalizer processing S24, 24] Finally, the equalizer process S24 makes the loudness of the audio digital signal X6 output from the anti-aliasing filter equal to the loudness of the input audio digital signal X.
[0052] There are several methods for performing this equalization. For example, Fig. 13 is a diagram showing the processing of the equalizer process S24. In order to equalize the loudness, the equalizer process multiplies the audio digital signal X6 by the ratio of the root mean square (rms) of the audio digital signals X and X6, as shown in the following calculation formula, to generate the output audio digital signal Y.
[0053]
number
[0054] [evaluation] FIG. 14 is a diagram showing an evaluation result of the intelligibility of speech by a speech signal processing device that executes the speech signal processing program of this embodiment. FIG. 14 shows the frequency spectrum of the original speech 40 of a male speech and a female speech, the speech 42 generated by the digital signal processing device of this embodiment, and the speech 44 generated by the signal processing device of Non-Patent Document 2. The horizontal axis is the frequency Freq, and the vertical axis is the intensity dB. The frequency spectrum of the original speech 40 is greatly attenuated in the high frequency range. In contrast, the signal-processed speeches 42 and 44 are less attenuated in the high frequency range. However, according to an experiment by the inventor, the speech 42 generated by this embodiment has less attenuation and a flatter frequency spectrum than the speech 44 generated by Non-Patent Document 2. This means that the speech 42 generated by this embodiment has a higher intelligibility in a noisy environment.
[0055] Fig. 15 is a diagram comparing subjective results of intelligibility of signal-processed speech in a certain noise environment (SNR = -9 dB). The horizontal axis of Fig. 15 indicates the accuracy rate of speech content. In an experiment by the inventor, multiple people listened to an original speech 40, a speech 42 generated by the speech signal processing device of this embodiment, and a speech 44 generated by the speech signal processing device of Non-Patent Document 2, and the accuracy rate of the speech content recognized by the multiple people was calculated. According to this, the speech 42 of this embodiment had the highest accuracy rate.
[0056] The evaluation results of Figures 14 and 15 are derived from the experimental results of the inventors, which show that, for example, when the DRC is placed immediately before the anti-aliasing filter 22, the intelligibility and clarity of voice are improved more.
[0057] 16 is a diagram showing the processor execution time and the ratio of execution time of each of the audio signal processing devices (digital signal processors) of this embodiment and Non-Patent Document 2. According to an experiment by the inventor, the processor execution time of this embodiment is significantly shorter by 4.8% than the processor execution time of Non-Patent Document 2. The audio signal processing program of this embodiment processes audio digital signals in the time domain, and can shorten the processor execution time compared to the case of including DFT and IDFT for processing in the frequency domain of Non-Patent Document 2. As a result, power consumption can also be reduced.
[0058] According to this embodiment, the audio signal processing program and the audio signal processing device perform pre-emphasis filter processing S10, nonlinear distortion processing S12, gain control processing S26, mixing processing S16, DC filter processing S18, and dynamic range compression processing S20 on an input audio digital signal. These processes can suppress and flatten the attenuation of high-frequency components in the frequency spectrum, and can improve the intelligibility of the audio reproduced by the output audio digital signal in a noisy environment. Furthermore, each process is performed in the time domain, so the processor's processing time is short and power saving is possible.
[0059] According to this embodiment, it is possible to improve the intelligibility and clarity of speech in a noisy environment compared to speech processed by the conventional SSDR of Non-Patent Document 2. [Explanation of symbols]
[0060] X: Input audio digital signal Y: Output audio digital signal 1: Audio signal processing device 10: Pre-emphasis filter 12: Nonlinear distortion processing 14: Amplifier 16: Mixer 18: DC filter 20:DRC, Dynamic Range Compression 22: Anti-aliasing filter 24: Equalizer 26: Gain control 28: Microphone 30: Amplifier 31: Digital signal processor 2: Audio signal processing program S10: Pre-emphasis filter processing S12: Nonlinear distortion processing S26: Gain control processing S16: Mixing process S18: DC filtering S20: Dynamic Range Compression (DRC) processing S22: Anti-aliasing filtering S24: Equalizer processing 40: Original audio 42: Voice of this embodiment 44: Audio from Non-Patent Document 2
Claims
1. An audio signal processing program for causing a processor to execute audio digital signal processing, The audio digital signal processing includes: (a) a pre-emphasis filter process for inputting an input digital audio signal not including environmental noise, attenuating the magnitude of low frequency components, and boosting the magnitude of high frequency components higher than the low frequency components; (b) performing nonlinear distortion processing on the output of the pre-emphasis filter processing to increase the number of harmonic components; (c) a gain control process for generating a first gain for the input audio digital signal and a second gain for the nonlinearly distorted audio digital signal; (d) a mixing process of weighting the input audio digital signal by the first gain and the nonlinearly distorted audio digital signal by the second gain, and adding the weighted signals; (e) a DC filtering process for removing a DC offset component of the mixed digital audio signal; (f) a dynamic range compression process for reducing the difference in loudness between the quietest and the highest sounds of the DC-filtered digital audio signal.
2. The audio digital signal processing further comprises:
2. The audio signal processing program according to claim 1, further comprising anti-aliasing filter processing for attenuating high frequency components exceeding a Nyquist frequency of the dynamic range compression processed audio digital signal.
3. the gain control process generates a third gain of the nonlinear distortion process; The audio signal processing program according to claim 1 , wherein the nonlinear distortion processing is performed with a degree of distortion based on the third gain.
4. 4. The audio signal processing program according to claim 3, wherein the gain control process makes the second gain higher than the first gain and makes the third gain higher as an environmental noise level increases.
5. An audio signal processing device that performs audio digital signal processing, A processor; a memory accessed by the processor; The processor, (a) a pre-emphasis filter process for inputting an input digital audio signal not including environmental noise, attenuating the magnitude of low frequency components, and boosting the magnitude of high frequency components higher than the low frequency components; (b) performing nonlinear distortion processing on the output of the pre-emphasis filter processing to increase the number of harmonic components; (c) a gain control process for generating a first gain for the input audio digital signal and a second gain for the nonlinearly distorted audio digital signal; (d) a mixing process of weighting the input audio digital signal by the first gain and the nonlinearly distorted audio digital signal by the second gain, and adding the weighted signals; (e) a DC filtering process for removing a DC offset component of the mixed digital audio signal; (f) a dynamic range compression process for reducing the difference in loudness between the softest and the highest sounds in the DC-filtered digital audio signal.
Citation Information
Patent Citations
GB252004843A
System and method for selective harmonic enhancement for hearing assistance devices
US20150092967A1
