The application is related to signal processing, and particularly, to audio signal processing.
The perceptual coding of audio signals for the purpose of data reduction for efficient storage or transmission of these signals is a widely used practice. In particular when lowest bit rates are to be achieved, the employed coding leads to a reduction of audio quality that often is primarily caused by a limitation at the encoder side of the audio signal bandwidth to be transmitted. In contemporary codecs well-known methods exist for the decoder-side signal restoration through audio signal Band Width Extension (BWE), e.g. Spectral Band Replication (SBR).
In low bit rate coding, often also so-called noise-filling is employed. Prominent spectral regions that have been quantized to zero due to strict bitrate constraints are filled with synthetic noise in the decoder.
Usually, both techniques are combined in low bitrate coding applications. Moreover, integrated solutions such as Intelligent Gap Filling (IGF) exist that combine audio coding, noise-filling and spectral gap filling.
However, all these methods have in common that in a first step the baseband or core audio signal is reconstructed using waveform decoding and noise-filling, and in a second step the BWE or the IGF processing is performed using the readily reconstructed signal. This leads to the fact that the same noise values that have been filled in the baseband by noise-filling during reconstruction are used for regenerating the missing parts in the highband (in BWE) or for filling remaining spectral gaps (in IGF). Using highly correlated noise for reconstructing multiple spectral regions in BWE or IGF may lead to perceptual impairments.
Relevant topics in the state-of-art comprise
The following papers and patent applications describe methods that are considered to be relevant for the application:
Audio signals processed with these methods suffer from artifacts such as roughness, modulation distortions and a timbre perceived as unpleasant, in particular at low bit rate and consequently low bandwidth and/or the occurrence of spectral holes in the LF range.
The reason for this is, as will be explained below, primarily the fact that the reconstructed components of the extended or gap filled spectrum are based on one or more direct copies containing noise from the baseband. The temporal modulations resulting from said unwanted correlation in reconstructed noise are audible in a disturbing manner as perceptual roughness or objectionable distortion. All existing methods like mp3+SBR, AAC+SBR, USAC, G.719 and G.722.1C, and also MPEG-H 3D IGF first do a complete core decoding including noise-filling before filling spectral gaps or the highband with copied or mirrored spectral data from the core.
According to an embodiment, an apparatus for generating an enhanced signal from an input signal, wherein the enhanced signal has spectral values for an enhancement spectral region, the spectral values for the enhancement spectral regions not being contained in the input signal, may have: a mapper for mapping a source spectral region of the input signal to a target region in the enhancement spectral region, the source spectral region including a noise-filling region; and a noise filler configured for generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from the first noise values or for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region, wherein the noise filler is configured for: identifying the noise-filling region having the first noise values in the input signal; copying at least a region of the input signal to a source tile buffer, the region including the source spectral region; replacing the first noise values as identified by the independent noise values; and wherein the mapper is configured to map the source tile buffer having decorrelated noise values to the target region.
According to another embodiment, a method of generating an enhanced signal from an input signal, wherein the enhanced signal has spectral values for an enhancement spectral region, the spectral values for the enhancement spectral regions not being contained in the input signal, may have the steps of: mapping a source spectral region of the input signal to a target region in the enhancement spectral region, the source spectral region including a noise-filling region; and generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from the first noise values or for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region, wherein the generating includes: identifying the noise-filling region having the first noise values in the input signal; copying at least a region of the input signal to a source tile buffer, the region including the source spectral region; and replacing the first noise values as identified by the independent noise values; and wherein the mapping includes mapping the source tile buffer having decorrelated noise values to the target region.
According to another embodiment, a system for processing an audio signal may have: an encoder for generating an encoded signal; and the inventive apparatus for generating an enhanced signal, wherein the encoded signal is subjected to a processing in order to generate the input signal into the apparatus for generating the enhanced signal.
According to another embodiment, a method for processing an audio signal may have the steps of: generating an encoded signal from an input signal; and a method of generating an enhanced signal from an input signal, wherein the enhanced signal has spectral values for an enhancement spectral region, the spectral values for the enhancement spectral regions not being contained in the input signal, having the steps of: mapping a source spectral region of the input signal to a target region in the enhancement spectral region, the source spectral region including a noise-filling region; and generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from the first noise values or for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region, wherein the generating includes: identifying the noise-filling region having the first noise values in the input signal; copying at least a region of the input signal to a source tile buffer, the region including the source spectral region; and replacing the first noise values as identified by the independent noise values; and wherein the mapping includes mapping the source tile buffer having decorrelated noise values to the target region, wherein the encoded signal is subjected to a predefined processing in order to generate the input signal into the apparatus for generating the enhanced signal.
Another embodiment may have a non-transitory digital storage medium having a computer program stored thereon to perform the method of generating an enhanced signal from an input signal, wherein the enhanced signal has spectral values for an enhancement spectral region, the spectral values for the enhancement spectral regions not being contained in the input signal, the method having the steps of: mapping a source spectral region of the input signal to a target region in the enhancement spectral region, the source spectral region including a noise-filling region; and generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from the first noise values or for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region, wherein the generating includes: identifying the noise-filling region having the first noise values in the input signal; copying at least a region of the input signal to a source tile buffer, the region including the source spectral region; and replacing the first noise values as identified by the independent noise values; and wherein the mapping includes mapping the source tile buffer having decorrelated noise values to the target region, when said computer program is run by a computer.
Another embodiment may have a non-transitory digital storage medium having a computer program stored thereon to perform the method for processing an audio signal, the method having the steps of: generating an encoded signal from an input signal; and a method of generating an enhanced signal from an input signal, wherein the enhanced signal has spectral values for an enhancement spectral region, the spectral values for the enhancement spectral regions not being contained in the input signal, including: mapping a source spectral region of the input signal to a target region in the enhancement spectral region, the source spectral region including a noise-filling region; and generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from the first noise values or for generating second noise values for a noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region, wherein the generating includes: identifying the noise-filling region having the first noise values in the input signal; copying at least a region of the input signal to a source tile buffer, the region including the source spectral region; and replacing the first noise values as identified by the independent noise values; and wherein the mapping includes mapping the source tile buffer having decorrelated noise values to the target region, wherein the encoded signal is subjected to a predefined processing in order to generate the input signal into the apparatus for generating the enhanced signal, when said computer program is run by a computer.
The present invention is based on the finding that a significant improvement of the audio quality of an enhanced signal generated by bandwidth extension or intelligent gap filling or any other way of generating an enhanced signal having spectral values for an enhancement spectral region being not contained in an input signal is obtained by generating first noise values for a noise-filling region in a source spectral region of the input signal and by then generating second independent noise values for a noise region in the destination or target region, i.e., in the enhancement region which now has noise values, i.e., the second noise values that are independent from the first noise values.
Thus, the conventional problem with having dependent noise in the baseband and the enhancement band due to the spectral values mapping is eliminated and the related problems with artifacts such as roughness, modulation distortions and a timbre perceived as unpleasant particularly at low bitrates are eliminated.
In other words, the noise-filling of second noise values being decorrelated from the first noise values, i.e., noise values which are at least partly independent from the first noise values makes sure that artifacts do not occur anymore or are at least reduced with respect to conventional technology. Hence, the conventional processing of noise-filling spectral values in the baseband by a straightforward bandwidth extension or intelligent gap filling operation does not decorrelate the noise from the baseband, but only changes the level, for example. However, introducing decorrelated noise values in the source band on the one hand and in the target band on the other hand, advantageously derived from a separate noise process provides the best results. However, even the introduction of noise values being not completely decorrelated or not completely independent, but being at least partly decorrelated such as by a decorrelation value of 0.5 or less when the decorrelation value of zero indicates completely decorrelated, improves the full correlation problem of conventional technology.
Hence, embodiments relate a combination of waveform decoding, bandwidth extension or gap filling and noise-filling in a perceptual decoder.
Further advantages are that, in contrast to already existing concepts, the occurrence of signal distortions and perceptual roughness artifacts, which currently are typical for calculating bandwidth extensions or gap filling subsequent to waveform decoding and noise-filling are avoided.
This is due to, in some embodiments, a change in the order of the mentioned processing steps. It is advantageous to perform bandwidth extension or gap filling directly after waveform decoding and it is furthermore advantageous to compute the noise-filling subsequently on the already reconstructed signal using uncorrelated noise.
In further embodiments, waveform decoding and noise-filling can be performed in a traditional order and further downstream in the processing, the noise values can be replaced by appropriately scaled uncorrelated noise.
Hence, the present invention addresses the problems that occur due to a copy operation or a mirror operation on noise-filled spectra by shifting the noise-filling step to a very end of a processing chain and using uncorrelated noise for the patching or gap filling.
Embodiments of the present invention will be detailed subsequently referring to the appended drawings, in which:
Furthermore, the apparatus comprises a noise filler 604 configured for generating first noise values for the noise-filling region in the source spectral region of the input signal and for generating second noise values for a noise region in the target region, wherein the second noise values, i.e., the noise values in the target region are independent or uncorrelated or decorrelated from the first noise values in the noise-filling region.
One embodiment relates to a situation, in which noise filling is actually performed in the base band, i.e., in which the noise values in the source region have been generated by noise filling. In a further alternative, it is assumed that a noise filling in the source region has not been performed. Nevertheless the source region has a noise region actually filled with noise like spectral values exemplarily encoded as spectral values by the source or core encoder. Mapping this noise like source region to the enhancement region would also generate dependent noise in source and target regions. In order to address this issue, the noise filler only fills noise into the target region of the mapper, i.e. generates second noise values for the noise region in the target region, wherein the second noise values are decorrelated from first noise values in the source region. This replacement or noise filling can also take place either in a source tile buffer or can take place in the target itself. The noise region can be identified by the classifier either by analyzing the source region or by analyzing the target region.
To this end, reference is made to
Furthermore, this noise-filling band 301 is mapped to a target region, i.e., in accordance with conventional technology, the generated noise values are mapped to the target region and, therefore, the target region would have dependent or correlated noise with the source region.
In accordance with the present invention, however, the noise filler 604 of
Generally, the noise-filling and the mapper for mapping the source spectral region to a destination region may be included within a high frequency regenerator as illustrated in the context of
Generally, an input signal is subjected to an inverse quantization 700 or any other or additional predefined decoder processing 700 which means that, at the output of block 700, the input signal of
In a first step all spectral lines which represent noise in a transmitted audio frame are identified. The identification process may be controlled by already existing, transmitted knowledge of noise positions used by noise-filling [4][5] or may be identified with an additional classifier. The result of noise line identification is a vector containing zeroes and ones where a position with a one indicates a spectral line which represents noise.
In mathematical terms this procedure can be described as:
Let {circumflex over (X)}ϵCN be a transmitted and re-quantized spectrum after noise-filling [4][5] of a transform coded, windowed signal of length Nϵ. Let mϵ, 0<m≤N, be the stop line of the whole decoding process.
The classifier C0 determines spectral lines where noise-filling [4][5] in the core region is used:
and the result [0,1]m is a vector of length m.
An additional classifier C1 may identify further lines in {circumflex over (X)} which represents noise. This classifier can be described as:
After the noise identification process the noise indication vector [0,1]m is defined as:
In the second step a specific region of the transmitted spectrum is selected and copied to a source tile. Within this source tile the identified noise is replaced by random noise. The energy of the inserted random noise is adjusted to the same energy of the original noise in the source tile.
In mathematical terms this procedure can be described as:
Let n, n<m, be the start line for the copy up process, described in Step 3. Let be a continuous part of a transmitted spectrum {circumflex over (X)}, representing a source tile of length γ<n, which contains the spectral lines of {circumflex over (X)}sT, where k is the index of the first spectral line in the source tile {circumflex over (X)}sT, so that {circumflex over (X)}sT[t]=0≤t<γ. Furthermore, let , so that
The identified noise is now replaced by random generated synthetic noise. In order to keep the spectral energy at the same level, the energy E of noise indicated by φ is first calculated:
If E=0 skip independent noise replacement for the source tile {circumflex over (X)}sT′ else replace the noise indicated by φ:
where r[t]C is a random number for all 0≤t<γ.
Then calculate the energy E′ of the inserted random numbers:
If ≥0 calculate a factor g, else set g=Q:
With g, rescale the replaced noise:
After noise replacement the source tile contains noise lines which are independent from noise lines in {circumflex over (X)}.
The source tile is mapped to its destination region in {circumflex over (X)}:
or, if the IGF scheme [8] is used:
The process described in the above context of
Execute the first Step as described in the context of
or, if the IGF scheme [8] is used:
Perform legacy noise-filling up to n and calculate the energy of noise spectral lines in the source region k, k+1, . . . , k+γ−1:
Perform independent noise-filling in the gap filling or BWE spectral region:
where r[t], 0≤t<γ again is a set of random numbers.
Calculate the energy E′ of the inserted random numbers:
Again, if E′>Q calculate the factor g, else set g1=Q:
With g, rescale the replaced noise:
The inventive independent noise-filling can be used in a stereo channel pair environment as well. Therefore the encoder calculates the appropriate channel pair representation, L/R or M/S, per frequency band and optional prediction coefficients. The decoder applies independent noise-filling as described above to the appropriately chosen representation of the channels prior to the subsequent computation of the final conversion of all frequency bands into L/R representation.
The invention is applicable or suitable for all audio applications in which the full bandwidth is not available or that use gap filling for filling spectral holes. The invention may find use in the distribution or broadcasting of audio content such as, for example with digital radio, Internet streaming and audio communication applications.
Subsequently, embodiments of the present invention are discussed with respect to
Then, in step 902, the source range which has already been subjected to straightforward noise-filling as known in the art, i.e., a complete source range is copied to a source tile buffer.
Then, in step 904, the first noise values, i.e., the straightforward noise values generated within the noise-filling region of the input signal are replaced in the source tile buffer by random values. Then, in step 906, these random values are scaled in the source tile buffer to obtain the second noise values for the target region. Then, in step 908, the mapping operation is performed, i.e., their content of the source tile buffer available subsequent to steps 904 and 906 is mapped to the destination range. Thus, by means of the replacement operation 904, and subsequent to the mapping operation 908, the independent noise-filling operation in the source range and in the target range have been obtained.
However, in
Thus, the identification of the noise in the source range in step 900 can be, with respect to the noise-filling region, performed by identifying zero spectral values in the signal and/or by using this noise-filling side-information from the input signal, i.e., the encoder-side generated noise-filling information. Then, in step 904, the noise-filling information and, particularly, the energy information identifying the energy to be introduced into the decoder-side input signal is read.
Then, as illustrated in step 1006, a noise-filling in the source range is performed and, subsequently or concurrently, a step 1008 is performed, i.e., random values are inserted in positions in the destination range which have been identified by step 900 over the full band or which have been identified by using the baseband or input signal information together with the mapping information, i.e., which (of a plurality of) source range is mapped to which (of a plurality of) target range.
Finally, the inserted random values are scaled to obtain the second independent or uncorrelated or decorrelated noise values.
Subsequently,
In step 1100, an energy information on noise in the source range is obtained. Then, an energy information is determined from the random values, i.e., from the values generated by a random or pseudo-random process as illustrated in step 1102. Furthermore, step 1104 illustrates the way how to calculate the scale factor, i.e., by using the energy information on noise in the source range and by using the energy information on the random values. Then, in step 1106, the random values, i.e., from which the energy has been calculated in step 1102, are multiplied by the scale factor generated by step 1104. Hence, the procedure illustrated in
Further reference is made to
In this context, it is outlined that, particularly for the embodiment of
Then, irrespective of any specific source range/target range mapping information, the whole input signal spectrum, i.e., the complete potential source range is copied to the source tile buffer 902 and is then processed with step 904 and 906 and step 908 then selects the certain specifically necessitated source region from this source tile buffer.
In other embodiments, however, only the specifically necessitated source ranges which may be only parts of the input signal are copied to the single source tile buffer or to several individual source tile buffers based on the source range/target range information included in the input signal, i.e., associated as side information to this audio input signal. Depending on the situation, the second alternative, where only the specifically necessitated source ranges are processed by steps 902, 904, 906, the complexity or at least the memory requirements may be reduced compared to the situation where, independent of the specific mapping situation, the whole source range at least above the noise-filling border frequency is processed by steps 902, 904, 906.
Subsequently, reference is made to
Typically, a first spectral portion such as 306 of
The decoder further comprises a frequency regenerator 116 for regenerating a reconstructed second spectral portion having the first spectral resolution using a first spectral portion. The frequency regenerator 116 performs a tile filling operation, i.e., uses a tile or portion of the first set of first spectral portions and copies this first set of first spectral portions into the reconstruction range or reconstruction band having the second spectral portion and typically performs spectral envelope shaping or another operation as indicated by the decoded second representation output by the parametric decoder 114, i.e., by using the information on the second set of second spectral portions. The decoded first set of first spectral portions and the reconstructed second set of spectral portions as indicated at the output of the frequency regenerator 116 on line 117 is input into a spectrum-time converter 118 configured for converting the first decoded representation and the reconstructed second spectral portion into a time representation 119, the time representation having a certain high sampling rate.
The spectral analyzer/tonal mask 226 separates the output of TNS block 222 into the core band and the tonal components corresponding to the first set of first spectral portions 103 and the residual components corresponding to the second set of second spectral portions 105 of
The analysis filterbank 222 is implemented as an MDCT (modified discrete cosine transform filterbank) and the MDCT is used to transform the signal 99 into a time-frequency domain with the modified discrete cosine transform acting as the frequency analysis tool.
The spectral analyzer 226 applies a tonality mask. This tonality mask estimation stage is used to separate tonal components from the noise-like components in the signal. This allows the core coder 228 to code all tonal components with a psycho-acoustic module. The tonality mask estimation stage can be implemented in numerous different ways and is implemented similar in its functionality to the sinusoidal track estimation stage used in sine and noise-modeling for speech/audio coding [8, 9] or an HILN model based audio coder described in [10]. An implementation is used which is easy to implement without the need to maintain birth-death trajectories, but any other tonality or noise detector can be used as well.
The IGF module calculates the similarity that exists between a source region and a target region. The target region will be represented by the spectrum from the source region. The measure of similarity between the source and target regions is done using a cross-correlation approach. The target region is split into nTar non-overlapping frequency tiles. For every tile in the target region, nSrc source tiles are created from a fixed start frequency. These source tiles overlap by a factor between 0 and 1, where 0 means 0% overlap and 1 means 100% overlap. Each of these source tiles is correlated with the target tile at various lags to find the source tile that best matches the target tile. The best matching tile number is stored in tileNum[tdx_tar], the lag at which it best correlates with the target is stored in xcorr_lag[tdx_tar][tdx_src] and the sign of the correlation is stored in xcorr_sign[tdx_tar][tdx_src]. In case the correlation is highly negative, the source tile needs to be multiplied by −1 before the tile filling process at the decoder. The IGF module also takes care of not overwriting the tonal components in the spectrum since the tonal components are preserved using the tonality mask. A band-wise energy parameter is used to store the energy of the target region enabling us to reconstruct the spectrum accurately.
This method has certain advantages over the classical SBR [1] in that the harmonic grid of a multi-tone signal is preserved by the core coder while only the gaps between the sinusoids is filled with the best matching “shaped noise” from the source region. Another advantage of this system compared to ASR (Accurate Spectral Replacement) [2-4] is the absence of a signal synthesis stage which creates the important portions of the signal at the decoder. Instead, this task is taken over by the core coder, enabling the preservation of important components of the spectrum. Another advantage of the proposed system is the continuous scalability that the features offer. Just using tileNum[tdx_tar] and xcorr_lag=0, for every tile is called gross granularity matching and can be used for low bitrates while using variable xcorr_lag for every tile enables us to match the target and source spectra better.
In addition, a tile choice stabilization technique is proposed which removes frequency domain artifacts such as trilling and musical noise.
In case of stereo channel pairs an additional joint stereo processing is applied. This is necessitated, because for a certain destination range the signal can a highly correlated panned sound source. In case the source regions chosen for this particular region are not well correlated, although the energies are matched for the destination regions, the spatial image can suffer due to the uncorrelated source regions. The encoder analyses each destination region energy band, typically performing a cross-correlation of the spectral values and if a certain threshold is exceeded, sets a joint flag for this energy band. In the decoder the left and right channel energy bands are treated individually if this joint stereo flag is not set. In case the joint stereo flag is set, both the energies and the patching are performed in the joint stereo domain. The joint stereo information for the IGF regions is signaled similar the joint stereo information for the core coding, including a flag indicating in case of prediction if the direction of the prediction is from downmix to residual or vice versa.
The energies can be calculated from the transmitted energies in the L/R-domain.
with k being the frequency index in the transform domain.
Another solution is to calculate and transmit the energies directly in the joint stereo domain for bands where joint stereo is active, so no additional energy transformation is needed at the decoder side.
The source tiles are created according to the Mid/Side-Matrix:
midTile[k]=0.5·(leftTile[k]+rightTile[k])
sideTile[k]=0.5·(leftTile[k]−rightTile[k])
midTile[k]=midTile[k]*mtdNrg[k],
sideTile[k]=sideTile[k]*sideNrg[k],
Joint stereo->LR transformation:
If no additional prediction parameter is coded:
leftTile[k]=midTile[k]+sideTile[k]
rightTile[k]=midTile[k]−sideTile[k]
If an additional prediction parameter is coded and if the signaled direction is from mid to side:
sideTile[k]=sideTile[k]−predictionCoeff·midTile[k]
lefiTile[k]=midTile[k]+sideTile[k]
rightTile[k]=midTile[k]−sideTile[k]
If the signaled direction is from side to mid:
midTile1[k]=midTile[k]− predictionCoeff·sideTile[k]
lefiTile[k]=midTile1[k]−sideTile[k]
rightTile[k]=midTile1[k]+sideTile[k]
This processing ensures that from the tiles used for regenerating highly correlated destination regions and panned destination regions, the resulting left and right channels still represent a correlated and panned sound source even if the source regions are not correlated, preserving the stereo image for such regions.
In other words, in the bitstream, joint stereo flags are transmitted that indicate whether L/R or M/S as an example for the general joint stereo coding shall be used. In the decoder, first, the core signal is decoded as indicated by the joint stereo flags for the core bands. Second, the core signal is stored in both L/R and M/S representation. For the IGF tile filling, the source tile representation is chosen to fit the target tile representation as indicated by the joint stereo information for the IGF bands.
Temporal Noise Shaping (TNS) is a standard technique and part of AAC [11-13]. TNS can be considered as an extension of the basic scheme of a perceptual coder, inserting an optional processing step between the filterbank and the quantization stage. The main task of the TNS module is to hide the produced quantization noise in the temporal masking region of transient like signals and thus it leads to a more efficient coding scheme. First, TNS calculates a set of prediction coefficients using “forward prediction” in the transform domain, e.g. MDCT. These coefficients are then used for flattening the temporal envelope of the signal. As the quantization affects the TNS filtered spectrum, also the quantization noise is temporarily flat. By applying the invers TNS filtering on decoder side, the quantization noise is shaped according to the temporal envelope of the TNS filter and therefore the quantization noise gets masked by the transient.
IGF is based on an MDCT representation. For efficient coding, long blocks of approx. 20 ms have to be used. If the signal within such a long block contains transients, audible pre- and post-echoes occur in the IGF spectral bands due to the tile filling.
This pre-echo effect is reduced by using TNS in the IGF context. Here, TNS is used as a temporal tile shaping (TTS) tool as the spectral regeneration in the decoder is performed on the TNS residual signal. The necessitated TTS prediction coefficients are calculated and applied using the full spectrum on encoder side as usual. The TNS/TTS start and stop frequencies are not affected by the IGF start frequency fIOFstart of the IGF tool. In comparison to the legacy TNS, the TTS stop frequency is increased to the stop frequency of the IGF tool, which is higher than fIOFstart. On decoder side the TNS/TTS coefficients are applied on the full spectrum again, i.e. the core spectrum plus the regenerated spectrum plus the tonal components from the tonality map (see
In legacy decoders, spectral patching on an audio signal corrupts spectral correlation at the patch borders and thereby impairs the temporal envelope of the audio signal by introducing dispersion. Hence, another benefit of performing the IGF tile filling on the residual signal is that, after application of the shaping filter, tile borders are seamlessly correlated, resulting in a more faithful temporal reproduction of the signal.
In an inventive encoder, the spectrum having undergone TNS/TTS filtering, tonality mask processing and IGF parameter estimation is devoid of any signal above the IGF start frequency except for tonal components. This sparse spectrum is now coded by the core coder using principles of arithmetic coding and predictive coding. These coded components along with the signaling bits form the bitstream of the audio.
The high resolution is defined by a line-wise coding of spectral lines such as MDCT lines, while the second resolution or low resolution is defined by, for example, calculating only a single spectral value per scale factor band, where a scale factor band covers several frequency lines. Thus, the second low resolution is, with respect to its spectral resolution, much lower than the first or high resolution defined by the line-wise coding typically applied by the core encoder such as an AAC or USAC core encoder.
Regarding scale factor or energy calculation, the situation is illustrated in
Particularly, when the core encoder is under a low bitrate condition, an additional noise-filling operation in the core band, i.e., lower in frequency than the IGF start frequency, i.e., in scale factor bands SCB1 to SCB3 can be applied in addition. In noise-filling, there exist several adjacent spectral lines which have been quantized to zero. On the decoder-side, these quantized to zero spectral values are re-synthesized and the re-synthesized spectral values are adjusted in their magnitude using a noise-filling energy such as NF2 illustrated at 308 in
The bands, for which energy information is calculated coincide with the scale factor bands. In other embodiments, an energy information value grouping is applied so that, for example, for scale factor bands 4 and 5, only a single energy information value is transmitted, but even in this embodiment, the borders of the grouped reconstruction bands coincide with borders of the scale factor bands. If different band separations are applied, then certain re-calculations or synchronization calculations may be applied, and this can make sense depending on the certain implementation.
The spectral domain encoder 106 of
In the audio encoder of
Then, at the output of block 422, a quantized spectrum is obtained corresponding to what is illustrated in
The set to zero blocks 410, 418, 422, which are provided alternatively to each other or in parallel are controlled by the spectral analyzer 424. The spectral analyzer comprises any implementation of a well-known tonality detector or comprises any different kind of detector operative for separating a spectrum into components to be encoded with a high resolution and components to be encoded with a low resolution. Other such algorithms implemented in the spectral analyzer can be a voice activity detector, a noise detector, a speech detector or any other detector deciding, depending on spectral information or associated metadata on the resolution requirements for different spectral portions.
Subsequently, reference is made to
As illustrated at 301 in
An IGF operation, i.e., a frequency tile filling operation using spectral values from other portions can be applied in the complete spectrum. Thus, a spectral tile filling operation can not only be applied in the high band above an IGF start frequency but can also be applied in the low band. Furthermore, the noise-filling without frequency tile filling can also be applied not only below the IGF start frequency but also above the IGF start frequency. It has, however, been found that high quality and high efficient audio encoding can be obtained when the noise-filling operation is limited to the frequency range below the IGF start frequency and when the frequency tile filling operation is restricted to the frequency range above the IGF start frequency as illustrated in
The target tiles (TT) (having frequencies greater than the IGF start frequency) are bound to scale factor band borders of the full rate coder. Source tiles (ST), from which information is taken, i.e., for frequencies lower than the IGF start frequency are not bound by scale factor band borders. The size of the ST should correspond to the size of the associated TT. This is illustrated using the following example. TT[0] has a length of 10 MDCT Bins. This exactly corresponds to the length of two subsequent SCBs (such as 4+6). Then, all possible ST that are to be correlated with TT[0], have a length of 10 bins, too.
A second target tile TT[1] being adjacent to TT[0] has a length of 15 bins I (SCB having a length of 7+8). Then, the ST for that have a length of 15 bins rather than 10 bins as for TT[0].
Should the case arise that one cannot find a TT for an ST with the length of the target tile (when e.g. the length of TT is greater than the available source range), then a correlation is not calculated and the source range is copied a number of times into this TT (the copying is done one after the other so that a frequency line for the lowest frequency of the second copy immediately follows—in frequency—the frequency line for the highest frequency of the first copy), until the target tile TT is completely filled up.
Subsequently, reference is made to
Then, the first spectral portion of the reconstruction band such as 307 of
In this context, it is very important to evaluate the high frequency reconstruction accuracy of the present invention compared to HE-AAC. This is explained with respect to scale factor band 7 in
In an implementation, the spectral analyzer is also implemented to calculating similarities between first spectral portions and second spectral portions and to determine, based on the calculated similarities, for a second spectral portion in a reconstruction range a first spectral portion matching with the second spectral portion as far as possible. Then, in this variable source range/destination range implementation, the parametric coder will additionally introduce into the second encoded representation a matching information indicating for each destination range a matching source range. On the decoder-side, this information would then be used by a frequency tile generator 522 of
Furthermore, as illustrated in
As illustrated, the encoder operates without downsampling and the decoder operates without upsampling. In other words, the spectral domain audio coder is configured to generate a spectral representation having a Nyquist frequency defined by the sampling rate of the originally input audio signal.
Furthermore, as illustrated in
As outlined, the spectral domain audio decoder 112 is configured so that a maximum frequency represented by a spectral value in the first decoded representation is equal to a maximum frequency included in the time representation having the sampling rate wherein the spectral value for the maximum frequency in the first set of first spectral portions is zero or different from zero. Anyway, for this maximum frequency in the first set of spectral components a scale factor for the scale factor band exists, which is generated and transmitted irrespective of whether all spectral values in this scale factor band are set to zero or not as discussed in the context of
The invention is, therefore, advantageous that with respect to other parametric techniques to increase compression efficiency, e.g. noise substitution and noise-filling (these techniques are exclusively for efficient representation of noise like local signal content) the invention allows an accurate frequency reproduction of tonal components. To date, no state-of-the-art technique addresses the efficient parametric representation of arbitrary signal content by spectral gap filling without the restriction of a fixed a-priory division in low band (LF) and high band (HF).
Embodiments of the inventive system improve the state-of-the-art approaches and thereby provides high compression efficiency, no or only a small perceptual annoyance and full audio bandwidth even for low bitrates.
The general system consists of
A first step towards a more efficient system is to remove the need for transforming spectral data into a second transform domain different from the one of the core coder. As the majority of audio codecs, such as AAC for instance, use the MDCT as basic transform, it is useful to perform the BWE in the MDCT domain also. A second requirement for the BWE system would be the need to preserve the tonal grid whereby even HF tonal components are preserved and the quality of the coded audio is thus superior to the existing systems. To take care of both the above mentioned requirements a system has been proposed called Intelligent Gap Filling (IGF).
Subsequently, a post-processing framework is described with respect to
Furthermore, even though the typical audio core coders operate in the spectral domain, the core decoder nevertheless generates a time domain signal which is then, again, converted into a spectral domain by the filter bank 1326 functionality. This introduces additional processing delays, may introduce artifacts due to tandem processing of firstly transforming from the spectral domain into the frequency domain and again transforming into typically a different frequency domain and, of course, this also necessitates a substantial amount of computation complexity and thereby electric power, which is specifically an issue when the bandwidth extension technology is applied in mobile devices such as mobile phones, tablet or laptop computers, etc.
Although some aspects have been described in the context of an apparatus for encoding or decoding, it is clear that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or a feature of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus. Some or all of the method steps may be executed by (or using) a hardware apparatus, like for example, a microprocessor, a programmable computer or an electronic circuit. In some embodiments, some one or more of the most important method steps may be executed by such an apparatus.
Depending on certain implementation requirements, embodiments of the invention can be implemented in hardware or in software. The implementation can be performed using a non-transitory storage medium such as a digital storage medium, for example a floppy disc, a Hard Disk Drive (HDD), a DVD, a Blu-Ray, a CD, a ROM, a PROM, and EPROM, an EEPROM or a FLASH memory, having electronically readable control signals stored thereon, which cooperate (or are capable of cooperating) with a programmable computer system such that the respective method is performed. Therefore, the digital storage medium may be computer readable.
Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.
Generally, embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product runs on a computer. The program code may, for example, be stored on a machine readable carrier.
Other embodiments comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.
In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.
A further embodiment of the inventive method is, therefore, a data carrier (or a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein. The data carrier, the digital storage medium or the recorded medium are typically tangible and/or non-transitory.
A further embodiment of the invention method is, therefore, a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The data stream or the sequence of signals may, for example, be configured to be transferred via a data communication connection, for example, via the internet.
A further embodiment comprises a processing means, for example, a computer or a programmable logic device, configured to, or adapted to, perform one of the methods described herein.
A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
A further embodiment according to the invention comprises an apparatus or a system configured to transfer (for example, electronically or optically) a computer program for performing one of the methods described herein to a receiver. The receiver may, for example, be a computer, a mobile device, a memory device or the like. The apparatus or system may, for example, comprise a file server for transferring the computer program to the receiver.
In some embodiments, a programmable logic device (for example, a field programmable gate array) may be used to perform some or all of the functionalities of the methods described herein. In some embodiments, a field programmable gate array may cooperate with a microprocessor in order to perform one of the methods described herein. Generally, the methods are performed by any hardware apparatus.
While this invention has been described in terms of several advantageous embodiments, there are alterations, permutations, and equivalents which fall within the scope of this invention. It should also be noted that there are many alternative ways of implementing the methods and compositions of the present invention. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
14178777.0 | Jul 2014 | EP | regional |
This application is a continuation of co-pending U.S. application Ser. No. 15/353,292 filed Nov. 16, 2016 which is a continuation of International Application No. PCT/EP2015/067058, filed Jul. 24, 2015, which is incorporated herein by reference in its entirety, and additionally claims priority from European Application No. EP14178777.0, filed Jul. 28, 2014, which is also incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 15353292 | Nov 2016 | US |
Child | 16439541 | US | |
Parent | PCT/EP2015/067058 | Jul 2015 | US |
Child | 15353292 | US |