Method for automatically controlling the loudness of an audio signal and device for automatically controlling the loudness of an audio signal - Patents.com

The method and apparatus adjust audio signal loudness in vehicles by considering both ambient noise and sound dynamics, addressing the masking issue of quieter music sections, thereby improving the listening experience.

JP2024534155AActive Publication Date: 2024-09-18SENNHEISER ELECTRONICS GMBH & CO KG
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024512999
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-27
Filing Date
2022-08-16
Publication Date
2024-09-18
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

Traditional audio volume control systems in vehicles fail to account for the dynamic range of music, leading to quieter sections being masked by ambient noise, particularly in cars with varying speeds.

Method used

A method and apparatus that adjust audio signal loudness based on both ambient noise level and the dynamics of the sound itself, using gain curves tailored to quiet and loud sections, ensuring consistent loudness ratios and reducing noise masking.

Benefits of technology

Enhances the listening experience by ensuring quieter music sections are audible despite ambient noise, using gain curves that adapt to vehicle speed and sound dynamics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534155000001
    Figure 2024534155000001
Patent Text Reader

Abstract

If the measured loudness is equal to or greater than the first target loudness, the gain factor is zero. Otherwise, if the noise level indication signal indicates a noise level equal to or greater than the intermediate noise level, the gain factor is the difference between the measured loudness and the current target loudness, limited to a maximum gain. The maximum gain is the absolute maximum gain, and the current target loudness is linearly interpolated according to the noise level indication signal between the second target loudness for a noise level equal to the intermediate noise level and the first target loudness for a noise level equal to the maximum noise level. Otherwise, if the noise level indication signal indicates a noise level less than the intermediate noise level, the gain is linearly interpolated according to the noise level between the gain defined for the intermediate noise level and zero. Further, the gain factor is applied to the reproduced audio signal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for automatically controlling the loudness of an audio signal. The present invention also relates to an apparatus for automatically controlling the loudness of an audio signal. In particular, the present invention relates to controlling the loudness of an audio signal reproduced in a vehicle such as a motor vehicle. [Background technology]

[0002] Vehicles are nowadays a common environment for listening to music or other audio, e.g. audiobooks. However, moving vehicles generate speed-dependent noise, which can interfere with the listener's listening enjoyment. Therefore, many automobiles use a very simple speed-dependent volume scaling for audio, i.e. the higher the speed, the louder the sound is reproduced, since the speed is used as a proxy for the noise level inside the vehicle. Various more sophisticated solutions are known, e.g. circuits for controlling the loudness of audio reproduced in a moving automobile. Typically, such circuits adapt the gain of the reproduced music according to the ambient noise level, detected, for example, by a microphone inside the vehicle.

[0003] When listening to music while driving a car, road noise can partially mask the music, thereby degrading the in-car listening experience. Whether or not music is masked by ambient driving noise is determined in part by the loudness ratio.

[0004] Loudness ratio = music loudness / noise loudness Summary of the Invention [Problem to be solved by the invention]

[0005] Conventional solutions take into account changes in the loudness of the noise by adjusting the loudness of the music to try to maintain a relatively constant loudness ratio. However, if the loudness of the music itself changes, the loudness ratio may also change. For example, quiet sections of music may be completely drowned out by noise while loud sections are not. This problem is particularly prevalent in classical music due to its wide dynamic range. Current solutions to the problem of in-car noise do not take this issue into account. [Means for solving the problem]

[0006] The present invention is based on the recognition of the fact that in order to control the loudness of reproduced audio in a moving vehicle, not only the speed or the ambient noise level should be taken into account, but also the dynamics of the audio itself. In particular, the present invention applies a larger compensation gain to quieter sections of the music than to louder sections, which provides a speed-dependent reduction of the dynamic range of the music. This reduces the masking of the music by ambient noise, so that quieter sections of the music will still be audible in the presence of road noise.

[0007] In principle, the invention in one embodiment relates to a method for automatically controlling the loudness of an audio signal reproduced in a vehicle, where the loudness of the incoming audio signal is measured, an ambient noise level indicative signal is received, such as a speed indicative signal or a signal from one or more microphones, and a gain factor is calculated based on both the measured loudness and the noise level indicative signal. To calculate the gain factor, intermediate speeds or noise levels and corresponding gain curves are defined and two different interpolations are used. If the speed or noise level is below the intermediate level, one interpolation is used and if the speed or noise level is above the intermediate level, the other is used. The gain factor is calculated according to a continuous function and there is no discontinuity between the two interpolations, which has the advantage that no sudden changes in the gain factor occur as long as the speed and / or noise level change continuously.

[0008] In another embodiment, the invention relates to an apparatus for automatically controlling the loudness of an audio signal reproduced in a vehicle, comprising one or more loudness measuring devices adapted to measure the loudness of an incoming audio signal over a defined time period, an input circuit adapted to receive a noise level indicative signal, such as a speed indicative signal, and a processor adapted to calculate a gain factor based on the measured loudness and the noise level indicative signal.

[0009] In yet another embodiment, the invention relates to a computer-readable storage medium having stored thereon computer-executable instructions that, when executed on a computer, cause the computer to perform the methods described herein. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is a principle diagram of the components of an adaptive level adjuster. [Diagram 2] FIG. 2 is a block diagram of an adaptive level adjuster. [Diagram 3] 13 is an exemplary gain curve for speed dependent gain factor calculation. [Figure 4] 4 is an exemplary gain curve for gain factors applied to various levels of measured loudness, each depending on the ambient noise level; [Diagram 5] FIG. 1 is a block diagram of a loudness measuring device. [Figure 6] FIG. 2 is a block diagram of the gain calculation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The following description may be better understood with reference to the accompanying drawings.

[0012] Fig. 1 shows a principle diagram of the components of an adaptive speed-dependent level adjuster according to an embodiment of the invention. A level adjuster is understood here as a device that takes into account the loudness of a reproduced audio signal in order to control the gain applied to said signal. The speed-dependent level adjuster 100 receives a signal indicative of the current speed of the vehicle, which it uses as one of at least two inputs for determining a gain factor for the reproduced input audio signal. The speed acts as a proxy for loudness in the vehicle. The loudness of the input audio signal, also called the program material signal, is measured in at least one loudness measuring device 131, 132 and is used as a second input for determining the gain factor. In principle, the static level adjuster 120 calculates a gain factor based on the measured loudness of the program material, which follows a gain function. The static level adjuster 120 becomes a dynamic or adaptive level adjuster in the sense that some parameters of the static level adjuster change with some characteristic of the external world. In this example, the gain function of the static level adjuster depends on the current speed of the vehicle, which does not usually change as rapidly as the dynamics of the program material. More specifically, the current gain function follows one of three predefined gain functions or is interpolated between two of the three predefined gain functions depending on the current speed as outlined in the three cases below.

[0013] - if the current speed is zero, the first gain function is used; - if the current speed is within a predefined threshold speed, also called the intermediate speed, the second gain function is used; - if the current speed is above a predefined maximum speed, a third gain function is used; - if the current speed is between zero and a predefined threshold or intermediate speed, then interpolate between the first and second gain functions; If the current speed is between the threshold or intermediate speed and the defined maximum speed, it is interpolated between the second and third gain functions.

[0014] More information is provided below with respect to Fig. 3. Note that if the current speed of the vehicle corresponds to a threshold or intermediate speed, the gain calculation follows a second gain function. In one embodiment, a combination of two or more loudness measurers 131, 132 is used, as will be described in more detail below. More generally, instead of a speed and a signal indicative of the current speed of the vehicle, it is also possible to use a noise level indication and a noise level signal indicative of the ambient noise.

[0015] FIG. 2 shows a more detailed block diagram of the adaptive level adjuster. The level adjuster 200 comprises a loudness measurer 210, which may measure the loudness of the input audio signal 205. For example, in one embodiment, the loudness may be measured in Loudness, K-weighted, relative to Full Scale (LKFS) or Loudness Units in Full Scale (LUFS). However, the loudness may be measured in any suitable device. For example, in one embodiment, the loudness is measured using a proprietary method. Further details regarding loudness measurement are provided below with respect to FIG. 5 and FIG. 6. The loudness of the input audio signal is adapted (i.e. amplified) to meet a target loudness that depends on the loudness of the surrounding noise. The applied gain 225 varies over time depending on the loudness of the input audio signal 205 and the loudness of the surrounding noise. For the adaptive level adjustment, a circuit of a gain calculation module 220 is used. The circuit may be configured in software. The gain calculation module 220 receives at least one value 215 representing the measured loudness of the audio signal 205 and at least one value 201 representing the loudness of the ambient noise. The value 201 representing the loudness of the ambient noise may be, for example, a signal indicating the current speed of the vehicle, the rotation speed of the engine of the vehicle, or a signal from one or more microphones. More specifically, the gain calculation module 220 may determine a current target loudness and a current maximum allowed gain, which are parameters of a static level adjuster that depend on the ambient noise level inside the vehicle. This has the advantage that the listener in the vehicle can hear the voice better, since it is sufficiently amplified so that it is not masked by the ambient noise.

[0016] The gain calculation module 220, which may be implemented by one or more suitably configured processors, provides a gain value 225 to an amplifier 230, which applies the calculated gain value to the input audio signal 205 to obtain an amplified output audio signal 235. The output audio signal 235 may be provided to an amplifier or any other conventional module 300, which may optionally perform a speed-dependent gain on the audio signal. The module 300 may also scale the gain with respect to the noise level in the vehicle. The module 300 and / or any subsequent module may apply a second gain factor independent of the first gain factor applied by the level adjuster 200, such that the first and second gain factors together determine the loudness of the reproduced audio signal. Both gain factors are in this embodiment independent of the master volume, which is a subsequent gain stage that may be manually controlled by the user. In other embodiments, however, the gain factors may be coupled to the master volume. For example, if a user is listening at a lower volume level, a stronger effect (i.e., larger level adjustments and smaller dynamic range) can be applied, whereas if a user is listening at a higher volume level, a weaker effect (i.e., smaller level adjustments and larger dynamic range) can be applied.

[0017] FIG. 3 shows exemplary gain curves for the calculation of the speed-dependent gain factor in one embodiment. Which gain curve should currently be applied depends on the speed of the vehicle. In this way, each gain curve may be considered as a different parameterization of the static level adjuster. The horizontal axis represents the measured loudness L of the input signal 205. M 215 in dBFS (decibels relative to full scale), while the vertical axis represents the gain G applied by level adjuster 200. A 225. It is noted that all values ​​have been proven to be advantageous for a pleasant sound image of music, but they are exemplary.

[0018] For very loud input signals with a measured loudness equal to or greater than the first target loudness TLaMS ("Target Loudness at Maximum Speed"), which in this example is set to -14 dBFS, no additional amplification is required and therefore the applied gain G A is set to zero dB. Independently of the measured loudness, when the vehicle is not moving, i.e., when the speed is zero, the applied gain G is also always zero, as shown in the first gain curve G0. A is set to zero dB. In other cases, i.e., for input signals having a loudness less than the first target loudness TLaMS and a non-zero vehicle speed, the applied gain G A depends on both the measured loudness and the speed. An interpolation may be performed, the type of interpolation depending on the current speed and its relationship to a predefined or configured maximum speed and to a predefined or configured intermediate speed, also called the threshold speed.

[0019] If the current speed meets or exceeds the defined maximum speed, the gain applied is the third gain curve G 100 As described above, if the measured loudness is greater than the first target loudness TLaMS, the third gain curve G 100 contains a zero gain section. Furthermore, if the measured loudness exceeds the maximum allowable gain G max The first target loudness TLaMS obtained by subtracting max If it is smaller, the third gain curve G 100 is the maximum allowable gain G max section, where TLaMS is measured in dBFS and G max Note that this calculation can be performed even if the loudness is measured in dB. Finally, if the measured loudness is greater than the value and less than the first target loudness TLaMS, the gain curve G 100contains a linear section (on a logarithmic scale). If the measured loudness is within this range, it is determined that the applied gain G A is amplified by

[0020] It is noted here that the defined maximum speed for the gain calculation is not usually the maximum speed that the vehicle can reach, but may be significantly lower, for example 80km / h or 100km / h. Above this speed, no changes to the parameters of the algorithm are implemented. The defined maximum speed may be a speed at which road noise becomes quite loud, but still allows relaxed driving so that the driver and passengers can enjoy the sound. In some embodiments, this depends on the type of road, which may be determined, for example, by parameters obtained from the navigation system. That is, if the navigation system detects that the vehicle is on a highway or other fast lane, the parameters (or at least the defined maximum speed for the gain calculation) may be different (e.g., higher) than if the vehicle is on a small, winding road.

[0021] If the current speed matches a configured intermediate or threshold speed, the gain applied is the second gain curve G int In one embodiment, the intermediate speed is expressed relative to (e.g., as a fraction of) a defined maximum speed. In the example shown in FIG. 3, the intermediate speed is 50% of the maximum speed. Typically, it may be within any range of the maximum speed, for example, 40%-60%. The intermediate speed is configurable, and in principle a different range may be appropriate.

[0022] Second gain curve G int is the third gain curve G, except that it is shifted by the magnitude of TLaMS-TLaIS toward lower measured loudness. 100That is, if the measured loudness is greater than the second target loudness TLaIS ("Target Loudness at Intermediate Speed"), the gain curve G int contains a zero gain section. Furthermore, if the measured loudness exceeds the maximum allowable gain G max The second target loudness TLaIS is obtained by subtracting TLaIS-G. max If it is smaller, the second gain curve G int is the maximum allowable gain G max Finally, if the measured loudness is greater than the value and less than the second target loudness TLaIS, the gain curve G int contains a linear section (on a logarithmic scale). If the measured loudness is within this range, it is determined that the applied gain G A In this example, the second target loudness TLaIS is −20 dBFS and the maximum allowable gain is 10 dB. max The section of the second gain curve G int The maximum allowable gain G is valid for measured loudness below -30 dBFS according to max Between the section and the gain of zero in the second target loudness TLaIS, the gain G A corresponds to the difference between the current measured loudness and the second target loudness TLaIS. The gain curve G int is substantially linear (in decibels on a logarithmic scale), i.e., if the measured loudness is within this range, the input signal is adjusted by applying a gain G A is amplified by

[0023] The intermediate or threshold speed is the threshold between two regions of the parameter space. Below the intermediate speed, a first type of interpolation Int1 is used, where a linear change in speed results in a linear change to the gain factor. Above the intermediate speed, a second type of interpolation Int2 is used, where a linear change in speed results in a linear change to the target loudness. Both of these are related to the applied gain G A brings about change.

[0024] If the speed is higher than the medium speed and lower than the maximum speed, and the measured loudness of the input audio signal is within a predetermined range, the second type of interpolation Int2 described above is used. When using the second type of interpolation, the second gain curve G int and the third gain curve G 100 In particular, the obtained gain curves are the second and third gain curves G int , G 100 The same maximum allowable gain G max but using a different target loudness TLaCS ("Target Loudness at a Current Speed") that is interpolated between the first target loudness TLaMS and the second target loudness TLaIS. A second type of interpolation Int2 for the target loudness TLaCS at the current speed may be performed, for example, according to the following formula:

[0025] TLaCS = TLaIS + (TLaMS - TLaIS) * ((S C -S int ) / (S max -S int )) (1)

[0026] Here, S C , S int , S max are the current speed, the configured intermediate speed, and the configured maximum speed, respectively. The measured loudness L of the input audio signal M However, TLaCS and TLaCS-Gmax , the gain applied is the difference between the measured loudness and the target loudness TLaCS at the current speed, i.e., G A =TLaCS-L M where TLaCS is the current speed S according to the second type of interpolation Int2. C Therefore, the level adjuster in this case outputs a sound level that corresponds to the target loudness TLaCS at the current speed. M TLaCS*G max If it is smaller, the applied gain G A is G max It is.

[0027] When the speed is lower than the intermediate speed, the first type of interpolation Int1 described above is used (at least when the measured loudness is smaller than the second target loudness TLaiS). When the first type of interpolation Int1 is used, the second gain curve G int A gain curve is obtained that has a shape similar to that of the first gain curve G, but is scaled (vertically in the drawing), i.e., a smaller gain is applied to the input signal. In one embodiment, the gain scaling factor is int where a linear change in speed results in a linear change to the gain scaling factor. For illustration, in FIG. 3, three gain curves G for current speeds of 12.5%, 25%, and 37.5% of the defined maximum speed are shown. 12,5 , G 25 , G 37,5 The gain curve at any current speed lower than the intermediate speed is scaled according to the gain scaling factor (i.e., the maximum allowable gain G max and zero), thus giving the maximum gain G max and the speed-dependent maximum allowable gain G, which lies between max,S An example is provided below. The first type of interpolation Int1 is used to calculate the intermediate speed S according to the following formula: int Lower current speed S C , i.e. S C int ​may be used to obtain a velocity-dependent maximum gain with respect to

[0028] G max,S =G max *S C / S int (2)

[0029] For example, the maximum possible gain G at a speed of 25% (of a predefined maximum speed) max,25 In Figure 3, max 50% of the time, while G at 37.5% of the time max,37,5 is 7.5 dB. The speed-dependent maximum possible gain G max,S is a predetermined range of the measured loudness, the maximum possible gain G max is the second gain curve G int The same range as when applied by TLaIS-G max Thus, for a given current speed that is less than the intermediate speed, the gain is G max,S and 0.

[0030] In the example shown in FIG. 3, when the speed is equal to the medium speed and the measured loudness L M is, for example, -30 dBFS, the second gain curve G int According to the above, the target loudness is -20 dBFS, and therefore a gain of 10 dB is applied. However, for a lower speed, e.g., 12.5% ​​of the predefined or configured maximum speed, and the same measured loudness of -30 dBFS, the target loudness will be lower due to the lower speed, i.e., only -27.5 dBFS, and therefore the gain factor will be 0.25, and only a gain of 2.5 dB will be applied (corresponding gain curve G 12,5 The measured loudness at this lower speed L M When increases by more than -30 dBFS, the corresponding applied gain increases the measured loudness L M becomes equal to the second target loudness TLaIS, i.e., L M=TLaIS and decreases continuously until it reaches zero.

[0031] Further information regarding how the current gain scaling factor and the current target loudness are used in an embodiment with two loudness measures is provided in the description of FIG. 6 below.

[0032] As advantages, the intermediate speed, the maximum speed, the first target loudness TLaMS, the second target loudness TLaIS, and the maximum allowable gain G max Any or all of may be used as parameters to adjust the level adjuster.

[0033] Fig. 4 shows the applied gain factors of the example of Fig. 3, but from a different perspective. Each figure of Fig. 4 shows an exemplary gain curve for the respectively applied gain factor at various noise levels NL or speeds, where it depends on the measured loudness, which is shown in the figures, which is used. In other words, the figures show how the gain is adapted for different noise levels NL (or speeds), respectively, for a given measured loudness of the input signal. The noise level NL lies between zero and 100% of a predefined maximum value. It may for example correspond to the speed of the vehicle, but it may also be influenced by other physical quantities. Again, the predefined maximum of 100% may not necessarily correspond to a physical maximum, and higher values ​​that may occur are treated like a predefined maximum. The gain curve shown in Fig. 4a) is used for an input signal with a measured loudness of -30 dBFS. In this case, the applied gain is between 0% and a defined intermediate value NL int(here 50%), the applied gain is increased linearly until it reaches a defined maximum of 10 dB for noise levels between 0% and 75% and remains at the defined maximum of 10 dB for higher noise levels. The gain curve shown in Fig. 4b) is used for a slightly louder input signal with a measured loudness of -27 dBFS. In this case, the applied gain is increased linearly until it reaches a defined maximum of 10 dB for noise levels between 0% and 75% and remains at the defined maximum for higher noise levels. The point in Fig. 4b) corresponds to where the curve in Fig. 3 is cut by a vertical line at -27 dB. The gain curve shown in Fig. 4c) is used for an even louder input signal with a measured loudness of -24 dBFS. Here ... int (here 50%), it is increased linearly at a lower rate, otherwise at a higher rate. The point in Figure 4c) corresponds to where the curve in Figure 3 is cut by the vertical line at -24 dB.

[0034] When the measured loudness of the input signal reaches a second target loudness TLaIS, in this example -20 dB, the applied gain is adjusted to a defined intermediate value NL int It remains zero for any noise level smaller than this. This means that in FIG. intThis corresponds to the fact that the gain curve for any speed below is zero at the second target loudness TLaIS. Only in the case of higher noise levels is the applied gain increased. Similarly, FIG. 4e) shows the gain applied to an input signal with a measured loudness of -17 dBFS, i.e. a measured loudness between the first target loudness TLaMS and the second target loudness TLaIS. In this case, the input signal is only amplified if the noise level is high, in this example higher than 75% of the maximum defined noise level. Similarly, for input signals even higher than -17 dBFS, the applied gain factor remains at zero until a higher noise level is reached and is then linearly increased. When the measured loudness reaches the first target loudness TLaMS, the applied gain remains at zero, independent of the noise level, as in FIG. 4f).

[0035] Below, further details are provided on how the loudness measurers 131, 132 may measure the loudness of the input signal. Note that the loudness measurers do not modify the input audio signal in any way. In the embodiment shown in FIG. 5, each channel y of the input signal L ,y R The powers of are determined by root mean square calculations 521, 522 and then summed 530, similar to known methods for measuring loudness according to the ITU_BS1770-3 or EBU R128 broadcasting standards. Before the root mean square summation, optionally a K-weighting using K-filters 511, 512 may be applied. The power summation is converted 540 into logarithmic form to obtain a loudness value.

[0036] Conventional loudness measurements according to the ITU_BS1770-3 or EBU R128 standards use gating, including a first gating stage for silence rejection and a second gating stage for prioritizing foreground sounds over background sounds. Conventionally, overlapping gating blocks with a duration of 400 ms are used to determine which parts of the incoming audio signal contribute to the reported loudness measurement.

[0037] The present invention differs from conventional methods in that, in one embodiment, at least these gate control blocks or stages are not used. As a result, foreground and background sounds are given equal priority. The advantage of omitting the gate control is shown, for example, for music that contains both direct sound and diffuse reflections. For example, a recording of a string quartet in a concert hall contains both direct sound and diffuse reflections. Although diffuse reflections tend to be quieter, they are important for creating a compelling sense of space and immersion for a listener, for example, in a car. When using conventional methods of measuring loudness, diffuse reflections may be excluded from the measurement. Since only audio blocks with greater loudness are considered, conventional measurements may result in a measured loudness that is too high. As a result, any compensation gains will also be slightly smaller, and these diffuse elements may be lost below the noise floor. With the improved solution described above, these quieter elements are included in the loudness measurement, resulting in a smaller measured loudness and therefore a larger compensation gain.

[0038] In the present invention, silence is still filtered out, but at the audio block level, not at the gated block level. A given audio block is only allowed to contribute to the loudness measurement if it does not contain silence, i.e., its loudness is greater than a predefined threshold called the "Loudness of Silence" (LoS). This threshold may be set, for example, to -70 dBFS. An audio block may contain, for example, 512 samples. In general, the block size is not important. If the loudness of an audio block is greater than the LoS, it is pushed into a queue that helps to track loudness over time, and the old loudness value is popped from the queue and discarded. If the loudness of this block is not greater than the LoS, it is immediately discarded and the queue is left in its previous state. This means that the previous loudness measurement is used until the signal is again greater than the LoS. Thus, the loudness measurement is based on a fixed number of audio blocks, each having a measured loudness between LoS and 0 dBFS.

[0039] Different approaches to select the compensation gain to achieve the level adjustment may be used. In one embodiment, the loudness is measured over a fixed time period. However, in other embodiments, the measured loudness may be obtained simultaneously over two different predefined time intervals. Figure 6 shows a block diagram of an exemplary gain calculation module 600 that is time-dependent, i.e., measures Long Term Loudness LTL and Short Term Loudness STL simultaneously. The input signal S inFor each audio block processed, a Long Term Measurer (LTM) 630 reports the long term loudness LTL over the previous long term measurement interval, and a Short Term Measurer (STM) 620 reports the short term loudness STL over the previous short term measurement interval. The gain curve determination module 610 determines the current gain curve according to the current speed, as described above. in are provided to different loudness measurement blocks 620, 630, where the long term loudness LTL and short term loudness STL are determined. The LTL and STL are provided to a gain determination module 640 together with the determined current gain curve.

[0040] The Long Term Requested Gain (LTRG) first finds the difference between the target loudness and the long term loudness LTL, and then determines this difference as the maximum allowable gain G max Similarly, the Short Term Requested Gain STRG is calculated by finding the difference between the target loudness and the short term loudness STL and multiplying this difference by the maximum allowed gain G max The gain calculation module 650 may then compare the required gains LTRG and STRG, which are also given in decibels dB. The same target loudness is used in both calculations, which may be obtained, for example, according to the noise level or speed of the vehicle, as described above with respect to FIG. 3. The required gains LTRG and STRG may then be compared against a gain calculation module 650, which calculates the gain to be applied. Here, a predefined (i.e. configurable) Long Term Influence Extension (LTIE) may be used, which is also given in decibels dB. The LTIE ensures that the applied gain G is greater than the required gain G even if STRG is smaller than LTRG. AEnable LTL to play a predetermined role when determining. This can occur, for example, when the music is generally quiet (thus having a small LTL and a large LTRG), but contains a louder sound during a short period than the remaining period (resulting in a larger STL and a smaller STRG). The applied gain G A may be obtained as follows by the gain calculation module 650.

[0041] (When LTRG < STRG), (G A = LTRG) LTRG is applied. (When STRG < LTRG), two cases can occur: (When STRG < LTRG - LTIE), (G A = STRG) STRG is applied. (When LTRG - LTIE < STRG < LTRG), interpolation is performed for G A .

[0042] The interpolation may provide a gain level between STRG and LTRG, for example, according to G A = LTRG - (LTRG - STRG) 2 / LTIE. When using this interpolation, as the difference between LTRG and STRG becomes larger, the applied gain approaches STRG (i.e., the applied gain becomes smaller), while as the difference becomes smaller, the applied gain approaches LTRG (i.e., the applied gain becomes larger). The interpolation in the case of LTRG - LTIE < STRG < LTRG has no discontinuity. When the difference LTRG - STRG approaches zero, the applied gain G A approaches LTRG, and when the difference approaches LTIE, the applied gain G Aapproaches STRG. LTIE can be used to find a good balance between reducing pumpiness and reducing overshoot. A high LTIE value (e.g., higher than 6 dB) reduces the pumpiness of the music at the risk of introducing overshoot, while a low or zero LTIE value reduces the overshoot but may still introduce some pumpiness.

[0043] In all cases, the G generated from the above comparison A As a final step, σ is scaled by a gain scaling factor according to the noise level or speed of the vehicle, for example as described above with respect to FIG.

[0044] As an example, the long-term measurement interval may be in the range of 10-20 seconds, and the short-term measurement interval may be in the range of 1-4 seconds. If the measured loudness over either time interval becomes smaller than a predefined silence threshold ST, the applied gain is fixed, i.e. it keeps its previous value (as in the leftmost part of Fig. 3) and can only be changed once both loudness values ​​become larger than the silence threshold again. Note that the silence threshold ST configured in the level adjuster is separate from the silence loudness LoS mentioned above. However, the silence threshold cannot be set smaller than the silence loudness.

[0045] In an alternative embodiment, the algorithm may be configured to ignore the short-term loudness STL measurement and loudness is measured only over the configured long-term interval, in which case the short-term loudness STL and long-term effects extension LTIE are not used and the silence threshold is compared only against the long-term loudness LTL.

[0046] Although a variety of different embodiments have been described, it will be apparent that combinations of features of the different embodiments are possible, even if not expressly mentioned in the present application, and such combinations are considered to be within the scope of the present invention.

Claims

1. 1. A method for automatically controlling the loudness of an audio signal reproduced in a vehicle, the method comprising: an automatic loudness meter measures the loudness of an incoming audio signal comprising a sequence of digital audio blocks; receiving a noise level indication signal indicative of the noise level within said vehicle; a processor calculating a gain factor based on the measured loudness of the incoming audio signal and on the noise level indication signal; if the measured loudness is greater than or equal to a predefined first target loudness (TLamS), the gain factor is zero; Otherwise, if the noise level indication signal indicates a noise level equal to or greater than a predefined intermediate noise level, the gain factor is the difference between the measured loudness and a current target loudness, limited to a maximum gain, the maximum gain being a defined absolute maximum gain, and the current target loudness is linearly interpolated according to the noise level indication signal between a predefined second target loudness (TLaiS) for a noise level equal to the intermediate noise level and the predefined first target loudness (TLamS) for a noise level equal to a predefined maximum noise level, otherwise, if the noise level indication signal indicates a noise level less than the intermediate noise level, the gain is linearly interpolated between zero and a gain defined for the intermediate noise level according to the noise level; The above method is applying a gain factor to the reproduced audio signal, method.

2. the information indicative of the noise level is obtained from a signal indicative of the speed of the vehicle. The method of claim 1.

3. the information indicative of the noise level is obtained from one or more microphones within the vehicle. The method of claim 1.

4. The loudness measurement is based on a certain number of audio blocks having loudness greater than a silence threshold; audio blocks having loudness less than the silence threshold do not change the internal state of the loudness meter; the loudness measurer holds its most recent loudness measurement until the loudness of the incoming audio block is greater than the silence threshold. The method of claim 1.

5. the calculated gain factor is a first gain factor; said first gain factor being added to a second gain factor, said first and second gain factors together determining the loudness of the reproduced audio signal; The method of claim 1.

6. The gain factor is independent of the user-controllable volume. The method of claim 1.

7. The gain factor is coupled to a user-controllable volume. The method of claim 1.

8. 1. A method for automatically controlling the loudness of an audio signal reproduced in a vehicle, the method comprising: an automatic loudness measurement device for measuring the loudness of an incoming audio signal comprising a sequence of digital audio blocks, digital audio blocks having a loudness level below a silence threshold are detected and skipped in said loudness measurement; the measurement is based on digital audio blocks having loudness greater than the silence threshold; The above method is receiving a speed indication signal indicative of the speed at which said vehicle is moving; a processor calculating a gain factor based on said measured loudness and said speed indication signal; if the measured loudness is greater than or equal to a predefined first target loudness (TLamS), the gain factor is zero; Otherwise, if the speed indication signal indicates a speed equal to or greater than a defined intermediate speed, the gain factor is the difference between the measured loudness and a current target loudness, limited to a maximum gain, the maximum gain being a defined absolute maximum gain, and the current target loudness is linearly interpolated according to the speed indication signal between a predefined second target loudness (TLaiS) for a speed equal to the intermediate speed and the predefined first target loudness (TLamS) for a speed equal to a predefined maximum speed; Otherwise, the maximum gain is linearly interpolated between the absolute maximum gain and zero according to the speed to obtain a current maximum gain, and the gain is equal to the current maximum gain if the measured loudness is less than the second target loudness (TLaiS) minus the absolute maximum gain, or is obtained by linearly interpolating between the current maximum gain and zero according to the measured loudness; The above method is applying a gain factor to the reproduced audio signal, method.

9. the loudness measurement is based on a number of audio blocks having loudness greater than the silence threshold; The method of claim 8.

10. the calculated gain factor is a first gain factor; said first gain factor being added to a second gain factor, said first and second gain factors together determining the loudness of the reproduced audio signal; The method of claim 8.

11. The gain factor is independent of the user-controllable volume. The method of claim 8.

12. The gain factor is coupled to a user-controllable volume. The method of claim 8.

13. 1. An apparatus for automatically controlling the loudness of an audio signal reproduced in a vehicle, said apparatus comprising: an automatic loudness meter adapted to measure the loudness of an incoming audio signal comprising a sequence of digital audio blocks; an input circuit adapted to receive a noise level indication signal indicative of the noise level within said vehicle; at least one processor adapted to calculate a gain factor based on said measured loudness and said noise level indication signal, if the measured loudness is greater than or equal to a predefined first target loudness (TLamS), the gain factor is zero; Otherwise, if the noise level indication signal indicates a noise level equal to or greater than a predefined intermediate noise level, the gain factor is the difference between the measured loudness and a current target loudness, limited to a maximum gain, the maximum gain being a defined absolute maximum gain, and the current target loudness is linearly interpolated according to the noise level indication signal between a predefined second target loudness (TLaiS) for a noise level equal to the intermediate noise level and the predefined first target loudness (TLamS) for a noise level equal to a predefined maximum noise level, otherwise, if the noise level indication signal indicates a noise level less than the intermediate noise level, the gain is linearly interpolated between zero and a gain defined for the intermediate noise level according to the noise level; The device comprises: an amplifier adapted to apply a gain factor to the reproduced audio signal, Device.

14. the information indicative of the noise level is obtained from a signal indicative of the speed of the vehicle.

14. The apparatus of claim 13.

15. the information indicative of the noise level is obtained from one or more microphones within the vehicle.

14. The apparatus of claim 13.

16. The loudness measurement is based on a certain number of audio blocks having loudness greater than a silence threshold; audio blocks having loudness less than the silence threshold do not change the internal state of the loudness meter; the loudness measurer holds its most recent loudness measurement until the loudness of the incoming audio block is greater than the silence threshold.

14. The apparatus of claim 13.

17. the calculated gain factor is a first gain factor; said first gain factor being added to a second gain factor, said first and second gain factors together determining the loudness of the reproduced audio signal; 14. The apparatus of claim 13.

18. The gain factor is independent of the user-controllable volume.

14. The apparatus of claim 13.

19. The gain factor is coupled to a user-controllable volume.

14. The apparatus of claim 13.

20. 1. An apparatus for automatically controlling the loudness of an audio signal reproduced in a vehicle, said apparatus comprising: an automatic loudness measuring device adapted to measure the loudness of an incoming audio signal comprising a sequence of digital audio blocks, digital audio blocks having a loudness level below a silence threshold are detected and skipped in said loudness measurement; the measurement is based on digital audio blocks having loudness greater than the silence threshold; The device comprises: an input circuit adapted to receive a speed indication signal indicative of the speed at which said vehicle is moving; at least one processor adapted to calculate a gain factor based on said measured loudness and said speed indication signal, if the measured loudness is greater than or equal to a predefined first target loudness (TLamS), the gain factor is zero; Otherwise, if the speed indication signal indicates a speed equal to or greater than a defined intermediate speed, the gain factor is the difference between the measured loudness and a current target loudness, limited to a maximum gain, the maximum gain being a defined absolute maximum gain, and the current target loudness is linearly interpolated according to the speed indication signal between a predefined second target loudness (TLaiS) for a speed equal to the intermediate speed and the predefined first target loudness (TLamS) for a speed equal to a predefined maximum speed; Otherwise, if the speed indication signal indicates a speed lower than the intermediate speed, the maximum gain is linearly interpolated between the absolute maximum gain and zero according to the speed to obtain a current maximum gain, and if the measured loudness is less than the second target loudness (TLaiS) minus the absolute maximum gain, the gain is equal to the current maximum gain or is obtained by linearly interpolating between the current maximum gain and zero according to the measured loudness; The device comprises: an amplifier adapted to apply a gain factor to the reproduced audio signal, Device.

21. the loudness measurement is based on a number of audio blocks having loudness greater than the silence threshold; 21. The apparatus of claim 20.

22. the calculated gain factor is a first gain factor; said first gain factor being added to a second gain factor, said first and second gain factors together determining the loudness of the reproduced audio signal; 21. The apparatus of claim 20.

23. The gain factor is independent of the user-controllable volume.

21. The apparatus of claim 20.

24. The gain factor is coupled to a user-controllable volume.

21. The apparatus of claim 20.

25. A computer-readable non-transitory storage medium having stored thereon computer-executable instructions which, when executed on a computer, cause the computer to perform the method of claim 1.

26. A computer-readable non-transitory storage medium having stored thereon computer-executable instructions which, when executed on a computer, cause the computer to perform the method of claim 8.

Citation Information

Patent Citations

  • Automatic sound volume adjustment device in response to noise sound feeling

    JP1997186540A

  • Automatic volume control and leveler

    US10355658B1

  • Adaptive Audio Output

    US20110305346A1

  • System and method for selective volume adjustment in a vehicle

    US9893697B1