This application is a U.S. National Phase entry of PCT/EP2009/000917 filed Feb. 10, 2009, and claims priority to German Patent Application No. 102008009025.5 filed Feb. 14, 2008, each of which is incorporated herein by references hereto.
The present invention relates to the fingerprint technology for audio signals and in particular to calculating a fingerprint, using a fingerprint for synchronizing multichannel extension data with an audio signal and characterizing an audio signal with the fingerprint.
Currently developed technologies allow an ever more efficient transmission of audio signals by data reduction, but also an increase of audio enjoyment by extensions, such as by the usage of multichannel technology.
Examples for such an extension of common transmission techniques have become known under the name of “Binaural Cue Coding” (BCC) as well as “Spatial Audio Coding”. Regarding this, reference is made exemplarily to J. Herre, C. Faller, S. Disch, C. Ertel, J. Hilpet, A. Hoelzer, K. Linzmeier, C. Spenger, P. Kroon: “Spatial Audio Coding: Next-Generation Efficient and Compatibel Coding Oberfläche Multi-Channel Audio”, 117th AES Convention, San Francisco 2004, Preprint 6186.
In a sequentially operating transmission system, such as radio or Internet, such methods separate the audio program to be transmitted into audio base data or an audio signal, which can be a mono or also a stereo downmix audio signal, and into extension data that can also be referred to as multichannel additional information or multichannel extension data. The multichannel extension data can be broadcast together with the audio signal, i.e. in a combined manner, or the multichannel extension data can also be broadcast separately from the audio signal. As an alternative to broadcasting a radio program, the multichannel extension data can also be transmitted separately, for example to a version of the downmix channel already existing on the user side. In this case, transmission of the audio signal, for example in the form of an interne download or a purchase of a compact disc or DVD takes place spatially and temporally separate from the transmission of the multichannel extension data, which can be provided, for example, from a multichannel extension data server.
Basically, the separation of a multichannel audio signal into an audio signal and multichannel extension data has the following advantages. A “classic” receiver is able to receive and replay audio base data, i.e. the audio signal at any time, independent of content and version of the multichannel additional data. This characteristic is referred to as reverse compatibility. In addition to that, a receiver of the newer generation can evaluate the transmitted multichannel additional data and combine the same with the audio base data, i.e. the audio signal, in such a manner that the complete extension, i.e. the multichannel sound, can be provided to the user.
In an exemplary application scenario in digital radio, with the help of these multichannel extension data, the previously broadcast stereo audio signal can be extended to the multichannel format 5.1 with little additional transmission effort. The multichannel format 5.1 comprises five replay channels, i.e. a left channel L, a right channel R, a central channel C, a left rear channel LS (left surround) and a right rear channel RS (right surround). For this, the program provider generates the multichannel additional information on the transmitter side from multichannel sound sources, such as they are found, for example, on a DVD/audio/video. Subsequently, this multichannel additional information can be transmitted in parallel to the audio stereo signal broadcast as before, which now includes a stereo downmix of the multichannel signal.
One advantage of this method is the compatibility with the so far existing digital radio transmission system. A classical receiver that cannot evaluate this additional information will be able to receive and replay the two-channel sound signal as before without any limitations regarding quality.
A receiver of novel design, however, can evaluate and decode the multichannel information and reconstruct the original 5.1 multichannel signal from the same, in addition to the stereo sound signal received so far.
For allowing simultaneous transmission of the multichannel additional information as a supplement to the stereo sound signal used so far, two solutions are possible for compatible broadcast via a digital radio system.
The first solution is to combine the multichannel additional information with the coded downmix audio signal such that they can be added to the data stream generated by an audio encoder as a suitable and compatible extension. In this case, the receiver only sees one (valid) audio data stream and can again, synchronously to the associated audio data block, extract and decode the multichannel additional information by means of a correspondingly preceding data distributor and output the same as a 5.1 multichannel sound.
This solution necessitates the extension of the existing infrastructure/data paths, such that they can now transport the data signals consisting of downmix signals and extension instead of merely the stereo audio signals as before. This is, for example, possible without additional effort, or unproblematic, when it is a data-reduced illustration, i.e. a bit stream transmitting the downmix signals. A field for the extension information can then be inserted into this bit stream.
A second possible solution is to couple the multichannel additional information not to the used audio coding system. In this case, the multichannel extension data are not coupled into the actual audio data stream. Instead, transmission is performed via a specific but not necessarily temporarily synchronized additional channel, which can, for example, be a parallel digital additional channel. Such a situation occurs, for example, when the downmix data, i.e. the audio signal, are routed through a common audio distribution infrastructure existing in studios in unreduced form, e.g. as PCM data per AES/EBU data format. These infrastructures are aimed at distributing audio signals digitally between various sources (“crossbars”) and/or processing them, for example by means of sound regulation, dynamic compression, etc.
In the second possible solution described above, the problem of time offset of the downmix audio signal and multichannel additional information in the receiver can occur, since both signals pass through different, non-synchronized data paths. A time offset between downmix signal and additional information, however, causes deterioration of the sound quality of the reconstructed multichannel signal, since then an audio signal with multichannel extension data, which actually do not belong to the current audio signal but to an earlier or later portion or block of the audio signal, is processed on the replay side.
Since the order of magnitude of the time offset can no longer be determined from the received audio signal and the additional information, a time-correct reconstruction and association of the multichannel signal in the receiver is not ensured, which will result in quality losses.
A further example for this situation is when an already running 2-channel transmission system is to be extended to multichannel transmission, for example when considering a receiver for digital radio. Here, it is often the case that decoding of the downmix signal frequently takes place by means of an audio decoder already existing in the receiver, which means, for example, a stereo audio decoder according to the MPEG 4 standard. The delay time of this audio decoder is not known or cannot be predicted exactly, due to the system-immanent data compression of audio signals. Hence, the delay time of such an audio decoder cannot be compensated reliably.
In the extreme case, the audio signal can also reach the multichannel audio decoder via a transmission chain including analog parts. Here, digital/analog conversion takes place at a certain point in the transmission, which is followed again by analog/digital conversion after a further storage/transmission. Here also, no indications are available as to how a suitable delay compensation of the downmix signal in relation to the multichannel additional data can be performed. When the sampling frequency for the analog/digital conversion and the digital/analog conversion differ slightly, even a slow time drift of the necessitated compensation delay results according to the ratio of the two sampling rates to each other.
German patent DE 10 2004 046 746 B4 discloses a method and an apparatus for synchronizing additional data and base data. A user provides a fingerprint based on his stereo data. An extension data server identifies the stereo signal based on the obtained fingerprint and accesses a database for retrieving the extension data for this stereo signal. In particular, the server identifies an ideal stereo signal corresponding to the stereo signal existing at the user and generates two test fingerprints of the ideal audio signal belonging to the extension data. These two test fingerprints are then provided to the client who determines a compression/expansion factor and a reference offset therefrom, wherein, based on the reference offset, the additional channels are expanded/compressed and cut off at the beginning and the end. Thereupon, a multichannel file can be generated by using the base data and the extension data.
Generally speaking, fingerprint technologies have to be characteristic for an audio signal. On the other hand, they should also be an equally highly compressed representation of an audio signal. This means that the fingerprint may use up significantly less memory space than the audio signal itself, since otherwise generating a fingerprint and using a fingerprint would be useless.
On the other hand, a fingerprint should reproduce the time curve of an audio signal in order to be suitable, on the one hand, for synchronization purposes and, on the other hand, also for identification purposes. In particular with regard to identification or characterization purposes, there is frequently the situation that an audio signal, such as a radio transmission, does not fully replay an audio piece, but starts transmitting at a certain time in the piece and possibly even stops transmitting before the piece has ended. However, the fingerprint does not need to be decompressable since fingerprint generation can be considered as a particularly lossy compression.
Since fingerprint information is additional information, it should, as mentioned above, be a representation that is as compressed as possible but nevertheless characteristic. It is a further advantage of the compressed representation that the more compressed the representation is, the faster and easier to handle any correlations will be performed, i.e. calculation methods where a fingerprint is involved, e.g. for synchronizing or characterizing an audio signal.
According to an embodiment, an apparatus for synchronizing multichannel extension data with an audio signal, wherein the multichannel extension data are associated with reference audio signal fingerprint information, may have: a fingerprint calculator for calculating a fingerprint of the audiosignal having: a means for dividing the audio signal into subsequent blocks of samples; a means for calculating a first fingerprint value for a first block of the subsequent blocks and a second fingerprint value for a second block of the subsequent blocks; a means for comparing the first fingerprint value with the second fingerprint value; a means for assigning a first binary value when the first fingerprint value is higher than the second fingerprint value, or a second different binary value when the first fingerprint value is smaller than the second fingerprint value; and a means for outputting information about a sequence of binary values as fingerprint for the audio signal; a fingerprint extractor for extracting a sequence of reference audio signal fingerprints from the reference audio signal fingerprint information associated with the multichannel extension data; wherein the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints are each a sequence of 1-bit values, wherein one bit each is associated with one block of audio samples, a fingerprint correlator for correlating the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints, wherein the fingerprint correlator is implemented to combine a bit sequence of the sequence of test audio signal fingerprints and a bit sequence of the reference audio signal fingerprints by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a first correlation value, to further combine a bit sequence of the sequence of test audio signal fingerprints or the reference audio signal fingerprints shifted by an offset value with a respectively different sequence by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a second correlation value, and to select that offset value as the correlation result for which the largest correlation value has resulted; and a compensator for reducing or eliminating a time offset between the multichannel extension data and the audio signal based on the correlation result.
According to another embodiment, an apparatus for characterizing a test audio signal may have: a means for calculating a test fingerprint of the test audio signal having: a means for dividing the audio signal into subsequent blocks of samples; a means for calculating a first fingerprint value for a first block of the subsequent blocks and a second fingerprint value for a second block of the subsequent blocks; a means for comparing the first fingerprint value with the second fingerprint value; a means for assigning a first binary value when the first fingerprint value is higher than the second fingerprint value, or a second different binary value when the first fingerprint value is smaller than the second fingerprint value; and a means for outputting information about a sequence of binary values as fingerprint for the audio signal; a means for correlating the information about the sequence of binary values with difference reference fingerprints in a reference database, wherein the reference database includes information about an audio signal for every reference fingerprint, which is associated to the reference fingerprint; and wherein the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints are each a sequence of 1-bit values, wherein one bit each is associated with one block of audio samples, wherein the means for correlating is implemented to combine a bit sequence of the sequence of test audio signal fingerprints and a bit sequence of the reference audio signal fingerprints by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a first correlation value, to further combine a bit sequence of the sequence of test audio signal fingerprints or the reference audio signal fingerprints shifted by an offset value with a respectively different sequence by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a second correlation value, and to select that offset value as the correlation result for which the largest correlation value has resulted, a means for providing information about the test audio signal based on the correlation result.
According to another embodiment, a method for synchronizing multichannel extension data with an audio signal, wherein the multichannel extension data are associated with the reference audio signal fingerprint information, may have the steps of: calculating a fingerprint of an audio signal, having: dividing the audio signal into subsequent blocks of samples; calculating a first fingerprint value for a first block of the subsequent blocks and a second fingerprint value for a second block of the subsequent blocks; comparing the first fingerprint value with the second fingerprint value; assigning a first binary value when the first fingerprint value is higher than the second fingerprint value, or a second different binary value when the first fingerprint value is smaller than the second fingerprint value; and outputting information about a sequence of binary values as fingerprint for the audio signal; extracting a sequence of reference audio signal fingerprints from the reference audio signal fingerprint information associated with the multichannel extension data; wherein the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints are each a sequence of 1-bit values, wherein one bit each is associated with one block of audio samples, correlating the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints, the correlating having: combining a bit sequence of the sequence of test audio signal fingerprints and a bit sequence of the reference audio signal fingerprints by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a first correlation value, combining a bit sequence of the sequence of test audio signal fingerprints or the reference audio signal fingerprints shifted by an offset value with a respectively different sequence by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a second correlation value, and selecting that offset value as the correlation result for which the largest correlation value has resulted; and reducing or eliminating a time offset between the multichannel extension data and the audio signal based on the correlation result.
According to another embodiment, a method for characterizing a test audio signal may have the steps of: calculating a test fingerprint of an audio signal, having: dividing the audio signal into subsequent blocks of samples; calculating a first fingerprint value for a first block of the subsequent blocks and a second fingerprint value for a second block of the subsequent blocks; comparing the first fingerprint value with the second fingerprint value; assigning a first binary value when the first fingerprint value is higher than the second fingerprint value, or a second different binary value when the first fingerprint value is smaller than the second fingerprint value; and outputting information about a sequence of binary values as fingerprint for the audio signal, wherein a sequence of binary values is obtained as test fingerprint; wherein the sequence of test audio signal fingerprints and the sequence of reference audio signal fingerprints are each a sequence of 1-bit values, wherein one bit each is associated with one block of audio samples, correlating the information about a sequence of binary values with different reference fingerprints in a reference database, wherein the reference database includes, for every reference finger print, information about an audio signal associated with the reference fingerprint, the correlating having: combining a bit sequence of the sequence of test audio signal fingerprints and a bit sequence of the reference audio signal fingerprints by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a first correlation value, combining a bit sequence of the sequence of test audio signal fingerprints or the reference audio signal fingerprints shifted by an offset value with a respectively different sequence by a bit-by-bit XOR operation, and to sum up obtained bit results in order to obtain a second correlation value, and selecting that offset value as the correlation result for which the largest correlation value has resulted; and providing information about the test audio signal based on the correlation result.
Another embodiment may have a computer program having a program code for performing the inventive method for synchronizing multichannel extension data with an audio signal and the inventive method for characterizing a test audio signal, when the program runs on a computer.
The present invention is based on the knowledge that a well-compressed fingerprint is obtained by block processing an audio signal, i.e. that one fingerprint value is derived per block of the audio signal. Further, it has been found out that a course of this fingerprint value from block to block is particularly characteristic for the audio signal. Hence, in the sense of differential coding, a comparison of subsequent fingerprint values is performed for subsequent blocks to then merely binarily characterize the change. If the first fingerprint value is higher than the second fingerprint value, a first binary value will be assigned, while if the second fingerprint value is higher than the first fingerprint value, another second binary value will be assigned. This sequence of binary values is output as a fingerprint for the audio signal. This change is quantized by merely one single bit. By this 1-bit quantization, merely one single bit of fingerprint information is provided per block of the audio signal, and the audio signal is represented by a simple bit sequence, by which a fast, efficient and surprisingly exact correlation with a corresponding test bit sequence can be performed.
Audio signals have the property that the characteristics do not change so much from block to block, so that a full, e.g., 8-bit quantization or 16-bit quantization of the fingerprint value is not absolutely necessitated. Further, audio signals have the property that a change of the fingerprint value from one block to the next is very expressive for the audio signal. By the 1-bit quantization, this change from one block to the next is strongly emphasized. In this way, audio signals have in particular the characteristic that the fingerprint value does not change very much from one block to the next. However, the characterization information for the audio signal that is particularly necessitated for fingerprint processing purposes, which is effectively used by the inventive 1-bit quantization, is embedded within this little change.
In particular when the fingerprint value is an energy-dependent or power-dependent value, changes from one block to the next are relatively small, wherein, however, particularly when blocks are formed in the range of less than 5,000 samples and in particular of less than 2,00 samples and blocks of more than 500 samples, the change of the energy-dependent or power-dependent value from one block to the next is particularly characteristic for the audio signal.
The inventive fingerprint can be used in a particularly favorable manner for the synchronization of multichannel extension data with an audio signal, wherein synchronization is achieved efficiently and reliably by means of a block-based fingerprint technology.
It has been found out that fingerprints calculated block-by-block represent a good and efficient characteristic for an audio signal. However, in order to bring the synchronization onto a level that is smaller than one block length, it is advantageous to provide the audio signal with block division information that is detected during synchronization and that can be used for fingerprint calculation.
The audio signal comprises block division information that can be used at the time of synchronization. Thereby, it is ensured that the fingerprints derived from the audio signal during synchronization are based on the same block division or block rasterization as the fingerprints of the audio signal associated with the multichannel extension data. In particular, the multichannel extension data comprise a sequence of reference audio signal fingerprint information. This reference audio signal fingerprint information provides an association, inherent in the multichannel extension stream, between a block of multichannel extension data and the portion or block of the audio signal to which the multichannel extension data belong.
For synchronization, the reference audio signal fingerprints are extracted from the multichannel extension data and correlated with the test audio signal fingerprints calculated by the synchronizer. The correlator merely has to achieve block correlation, since, due to using block division information, the block rasterization on which the two sequences of fingerprints are based is already identical.
Thereby, despite the fact that merely fingerprints sequences have to be correlated on block level, an almost sample-exact synchronization of the multichannel extension data with the audio signal can be obtained.
The block division information included in the audio signal can be stated as explicit side information, e.g. in a header of the audio signal. Alternatively, even when a digital but uncompressed transmission exists, this block division information can also be included in a sample which was, for example, the first sample of a block that was formed for calculating the reference audio signal fingerprints contained in the multichannel extension data. Alternatively or additionally, the block division information can also be introduced directly into the audio signal itself, e.g. by means of watermark embedding. A pseudo noise sequence is particularly suited for this, however, different ways of watermark embeddings can be used for introducing block division information into the audio signal. An advantage of this watermark implementation is that any analog/digital or digital/analog conversions are uncritical. Further, watermarks that are robust against data compression exist, which will even withstand compression/decompression or even tandem/coding stages and which can be used as reliable block division information for synchronization purposes.
In addition to that, it is advantageous to embed the reference audio signal fingerprint information directly block by block into the data stream of the multichannel extension data. In this embodiment, finding an appropriate time offset is achieved by using a fingerprint with a data fingerprint not stored separately from the multichannel extension data. Instead, for every block of the multichannel extension data, the fingerprint is embedded in this block itself Alternatively, however, the reference audio signal fingerprint information can be associated with the multichannel extension data but originate from a separate source.
Embodiments of the present invention will be detailed subsequently referring to the appended drawings, in which:
a is a block diagram of an apparatus for synchronizing according to an embodiment of the invention;
b is a detailed representation of the compensator or
a is a schematic illustration of an audio signal with block division information;
b is a schematic illustration of multichannel extension data with block-wise embedded fingerprints;
a is a detailed illustration of the multichannel extension data calculator of
b is a detailed illustration of a block with multichannel extension data as can be generated by the arrangement shown in
If the fingerprint calculator 104 obtains an audio signal 102 without block division information, the fingerprint calculator will select any block division and first performs block division. This block division is signalized to a block division information embedder 112 via block division information 110, which is implemented to embed the block division information 110 into the audio signal 102 without block division information. On the output side, the block division information embedder provides an audio signal 114 with block division information, wherein this audio signal can be output via an output interface 116, or can be stored separately or output via a different path independent from the output via the output interface 116, as is, for example, illustrated schematically at 118.
The fingerprint calculator 104 is implemented to calculate a sequence of reference audio signal fingerprint information 120. This sequence of reference audio signal fingerprint information is supplied to a fingerprint information embedder 122. The fingerprint information embedder embeds the reference audio signal fingerprint information 120 into multichannel extension data 124, which can be provided separately, or which can also be calculated directly by a multichannel extension data calculator 126, which receives a multichannel audio signal 128 on the input side. On the output side, the fingerprint information embedder 122 provides multichannel extension data with associated reference audio signal fingerprint information, wherein these data are designated by 130. The fingerprint information embedder 122 is implemented to embed the reference audio signal fingerprint information directly into the multichannel extension data, quasi at block level. Alternatively or additionally, the fingerprint information embedder 122 will also store or provide the sequence of reference audio signal fingerprint information based on the association with a block of multichannel extension data, wherein this block of multichannel extension data together with a block of the audio signal represents a fairly good approximation of a multichannel audio signal or the multichannel audio signal 128.
The output interface 116 is implemented to output an output signal 132 which comprises the sequence of reference audio signal fingerprint information and the multichannel extension data in unique association, such as within an embedded data stream. Alternatively, the output signal can also be a sequence of blocks of multichannel extension data without reference audio signal fingerprint information. The fingerprint information is then provided in a separate sequence of fingerprint information, wherein, for example, every fingerprint is “connected” to a block of multichannel extension data by means of a serial block number. Alternative associations of fingerprint data with blocks, such as via implicit signalization of a sequence, etc., can also be applied.
Further, the output signal 132 can also comprise an audio signal with block division information. In specific cases of application, such as in broadcasting, the audio signal with block division information will run along a separate path 118.
Independent of the usage of block division information, a particularly good, characteristic and efficient fingerprint is obtained by an apparatus for calculating a fingerprint of an audio signal as, for example, illustrated in
The fingerprint correlator 312 of
The fingerprint postprocessor 104c of
Finally, the inventive apparatus for calculating a fingerprint comprises a means for outputting information about a sequence of binary values as fingerprint for the audio signal, wherein the means can be implemented, for example, in the form of the output interface 116 of
The two binary values, i.e. the first binary value and the second binary value, are complementary to each other. In the 1-bit quantization example (block 108, 114) shown in
The sequence of bits as generated by block 814 is then the test fingerprint or the reference fingerprint.
The block dividing means 104a of
The inventive fingerprint can be used for synchronization, as has been described based on
In one embodiment of the present invention, the audio signal is provided with a watermark, as is shown in
For watermark embedding, first, as is shown in
It should be noted that many different watermark-embedding strategies exist. Hence, the spectral weighting 510 can be performed, for example, by a dual operation in the time domain, such that time/frequency conversion 506 is not necessitated.
Further, the spectrally weighted watermark could also be transformed into the time domain prior to its combination with the audio signal, such that the combination 512 takes place in the time domain, wherein in this case time/frequency conversion 504 would not absolutely be necessitated, as long as the masking threshold can be calculated without transformation. Obviously, calculation of the masking threshold used independently of the audio signal or of a transformation length of the audio signal, could also be performed.
The length of the known pseudo noise sequence is equal to the length of one block. Then, correlation for watermark extraction works particularly efficiently and clearly. However, longer pseudo noise sequences could be used, as long as a period length of the pseudo noise sequence is equal to or longer than the block length. Further, a watermark having no white spectrum can be used, which is merely implemented such that it comprises spectral portions in certain frequency bands, such as the lower spectral band or a central spectral band. Thereby, it can be controlled that the watermark is not, for example, introduced only in the upper bands which are eliminated or parameterized, for example, by a “spectral band replication” technique, as known from MPEG 4 standard, in a data rate-saving transmission.
As an alternative to using a watermark, block division can also be performed when, for example, a digital channel exists, where every block of the audio signal of
For illustrating the scenario of calculating the multichannel extension data, reference will be made below to
a shows a detailed illustration of the multichannel extension data calculator 902. In particular, first, block formation in respective block-forming means 910 is performed for obtaining a block for the original channel of the multichannel audio signal. Thereupon, time/frequency conversion in a time/frequency converter 912 is performed per block. The time/frequency converter can be a filter bank for performing sub-band filtering, a general transformation or in particular a transformation in the form of an FFT. Alternative transformations are also known as MDCT etc. Thereupon, an individual correlation parameter between the channel and the reference channel indicated by ICC is calculated in the multichannel extension data calculator per band, block and, for example, also per channel. Further, an individual energy parameter ICLD is calculated per band and block and channel, wherein this is performed in a parameter calculator 914. It should be noted that the block-forming means 910 uses block division information 106, when such block division information already exists. Alternatively, the block-forming means 910 can also determine block division information itself when the first block division is performed and then output the same and use it to control, for example, the fingerprint calculator of
The parameter data calculated by the parameter calculator 914 are supplied to a data stream formatter 916, which can be implemented equal to the fingerprint information embedder 122 of
Generally this results in a data stream with multichannel extension data as illustrated in
a shows an apparatus for synchronizing multichannel extension data with an audio signal 114. In particular, the audio signal 114 includes block division information, as is illustrated based on
The audio signal with the block division information is supplied to a block detector 300, which is implemented to detect the block division information in the audio signal, and to supply the detected block division information 302 to a fingerprint calculator 304. Further, the fingerprint calculator 304 receives the audio signal, wherein here an audio signal without block division information would be sufficient, wherein, however, the fingerprint calculator can also be implemented to use the audio signal with block division information for fingerprint calculation.
Now, the fingerprint calculator 304 calculates one fingerprint per block of the audio signal for a plurality of subsequent blocks in order to obtain a sequence of test audio signal fingerprints 306. In particular, the fingerprint calculator 304 is implemented to use the block division information 302 for calculating the sequence of test audio signal fingerprints 306.
The inventive synchronization apparatus, or the inventive synchronization method, is further based on a fingerprint extractor 308 for extracting a sequence of reference audio signal fingerprints 310 from the reference audio signal fingerprint information 120 as it is supplied to the fingerprint extractor 308.
Both the sequence of test fingerprints 306 and the sequence of reference fingerprints 308 are supplied to a fingerprint correlator 312, which is implemented to correlate the two sequences. Depending on a correlation result 314, where an offset value is obtained, which is an integer (x) of the block length (ΔD), a compensator 316 is controlled for reducing, or, in the best case, eliminating a time offset between the multichannel extension data 132 and the audio signal 114. At the output of the compensator 316, both the audio signal and the multichannel extension data are output in a synchronized form in order to be supplied to multichannel reconstruction, as will be discussed with reference to
The synchronizer shown in
b shows a specific implementation of the compensator 316. The compensator 316 has two delay blocks, of which one block 320 can be a fixed delay block having a maximum delay and the second block 322 can be a block having a variable delay that can be controlled between a delay equal to zero and a maximum delay Dmax. Control takes place based on the correlation result 314. The fingerprint correlator 312 provides correlation offset control in integers (x) of one block length (Δd). Due to the fact that fingerprint calculation has been performed in the fingerprint calculator 304 itself based on the block division information included in the audio signal, according to the invention, sample-exact synchronization is obtained although the fingerprint correlator only had to perform block-based correlation. Despite the fact that the fingerprint has been calculated block by block, i.e. represents the time curve of the audio signal and correspondingly the time curve of the multichannel extension data only in a relatively coarse manner, a sample-exact correlation is nevertheless obtained, merely due to the fact that the block division of the fingerprint calculator 304 has been synchronized in the synchronizer with regard to the block division that has been used for calculating the multichannel extension data block by block and which has, above all, been used for calculating the fingerprints embedded in the multichannel extension data stream or associated with the multichannel extension data stream.
With regard to the implementation of the compensator 316, it should be noted that also two variable delays can be used, such that the correlation result 314 controls both variable delay stages. Also, alternative implementation options within a compensator for synchronization purposes can be used for eliminating time offsets.
In the following, with reference to
In the embodiment shown in
For block formation in the block 600, a test block division is predetermined that does not necessarily have to correspond to the final block division. Instead, the correlator 608 will now perform correlation across several blocks, for example across twenty or even more blocks. Thereby, the spectrum of the known noise sequence is correlated with the spectrum of every block at different delay values in the correlator 608, such that a correlation result 610 results after several blocks, which could, for example, look like it is shown in
Regarding the exemplary watermark extractor in
Hence, for solving the association problem, a specific procedure on the transmitter side and the receiver side is advantageous in an embodiment of the present invention. On the transmitter side, calculation of time-variable and appropriate fingerprint information from the corresponding (mono or stereo) downmix audio signal can be performed. Further, these fingerprints can be entered regularly into the transmitted multichannel additional data stream as a synchronization help. This can be performed as a data field within the spatial audio coding side information organized block by block, or in such a manner that the fingerprint signal is transmitted as first or last information of the data block in order to be easily added or removed. Further, a watermark, such as a known noise sequence, can be embedded into the audio signal to be transmitted. This helps the receiver to determine the frame phase and to eliminate a frame-internal offset.
On the receiver side, two-stage synchronization is advantageous. In a first stage, the watermark is extracted from the received audio signal and the position of the noise sequence is determined. Further, the frame boundaries can be determined due to their noise sequence by the position and the audio data stream can be divided correspondingly. Within these frame boundaries, or block boundaries, the characteristic audio features, i.e. fingerprints, can be calculated across almost equal portions, as were calculated within the transmitter, which increases the quality of the result at a later correlation. In a second stage, time-variable and appropriate fingerprint information is calculated from the corresponding stereo audio signal or mono audio signal, or, generally, from the downmix signal, wherein the downmix signal can also have more than two channels, as long as the channels in the downmix signal have a smaller number than there are channels or generally audio objects in the original audio signal prior to the downmix.
Further, the fingerprints can be extracted from the multichannel additional information and a time offset between the multichannel additional information and the received signal can be performed by means of appropriate and also known correlation methods. An overall time offset consists of the frame phase and the offset between the multichannel additional information and the received audio signal. Further, the audio signal and the multichannel additional information can be synchronized for subsequent multichannel decoding by a downstream actively regulated delay compensation stage.
For obtaining the multichannel additional data, the multichannel audio signal is divided, for example into blocks of a fixed size. In the respective block, a noise sequence also known to the receiver is embedded, or, generally, a watermark is embedded. In the same raster, a fingerprint is calculated block by block simultaneously or at least synchronized for obtaining the multichannel additional data, which is suitable for characterizing the time structure of the signal as clearly as possible.
One embodiment for this is using the energy content of the current downmix audio signal of the audio block, for example in a logarithmic form, i.e. in a decibel-related representation. In this case, the fingerprint is a measure for the time envelope of the audio signal. For reducing the information amount to be transmitted, and for increasing the accuracy of the measurement value, this synchronization information can also be expressed as difference to the energy value of the previous block with subsequent appropriate entropy coding, such as a Huffman coding, adaptive scaling and quantization.
With reference to
After a block division in a block dividing step 800, the audio signal is present in subsequent blocks. Thereupon, fingerprint value calculation is performed according to block 104b of
In particular, the signal value sleft(i) with the number i represents a time sample of a left channel of the audio signal. sright(i) is the ith sample of a right channel of the audio signal. In the shown embodiment, the block length is 1152 audio samples, which is why the 1153 audio samples (including the sample for i=0) both from the left and the right downmix channel are each squared and summed. If the audio signal is a monophonic audio signal, the summation is omitted. If the audio signal is a signal with, for example, three channels, the squared samples from three channels will be summed up. Further, it is advantageous to remove the (non-meaningful) steady components of the downmix audio signals prior to calculation.
In a step 804, a minimum limitation of the energy is performed due to subsequent logarithmic representation. For a decibel-related evaluation of the energy, a minimum energy offset Eoffset is provided, so that a useful logarithmic calculation results in the case of zero energy. This energy measure in dB describes a number range of 0 to 90 (dB) at an audio signal resolution of 16 bits. Hence, in a block 804, the following equation will be implemented:
E(db)=10 log(Emonosum+Eoffset)
For an exact determination of the time offset between the multichannel additional information and the received audio signal, not the absolute energy level value is used, but rather the slope or steepness of the signal envelope. Therefore, for correlation measurement in the fingerprint correlator 312 of
Edb(diff)=Edb(current_block)Edb(previous_block)
Edb(dif) is the difference value of the energy values of two previous blocks, in a dB representation, while Edb is the energy in dB of the current block or the previous block, as it is obvious from the above equation. This difference formation of energies is performed in a step 806.
It should be noted that this step is performed, for example, only in the encoder, i.e. in the fingerprint calculator 104 of
Alternatively, step 806 of the difference formation can also be implemented purely on the decoder side, i.e. in the fingerprint calculator 304 of
While blocks 802, 804, 806 belong to fingerprint value calculation according to 104b of
When scaling the energy (envelope of the signal) for optimal modulation according to block 808, it is ensured that in the subsequent quantization of this fingerprint both the number range is utilized maximally and also the resolution at low energy values is improved. Therefore, additional scaling or amplification is introduced. The same can be realized either as a fixed or static weighting amount or via a dynamic amplification regulation adapted to the envelope signal. Combinations of a static weighting amount as well as an adapted dynamic amplification regulation can also be used. In particular, the following equation is followed:
Escaled=Edb(diff)*Aamplification(t)
Escaled represents the scaled energy. Edb(diff) represents the difference energy in dB calculated by the difference formation in block 806, and Aamplification is the amplification factor, which can depend on the time t when it is a particularly dynamic amplification regulation. The amplification factor will depend on the envelope signal in that the amplification factor becomes smaller with a larger envelope and the amplification factor becomes higher with a smaller envelope in order to obtain a modulation of the available number range that is as uniform as possible. The amplification factor can be reproduced in particular in the fingerprint calculator 304 by measuring the energy of the transmitted audio signal, so that the amplification factor does not have to be transmitted explicitly.
In a block 810, the fingerprint calculated by block 808 is quantized. This is performed in order to prepare the fingerprint for entering into the multichannel additional information. This reduced fingerprint resolution has shown to be a good tradeoff with regard to bit requirement and reliability of the delay detection. In particular overruns of >255 can be limited to the maximum value of 255 with a saturation characteristic curve, as can be illustrated, for example, in an equation as below:
Equantized is the quantized energy value and represents a quantization index having 8 bits. Q8bits is the quantization operation assigning the quantization index for the maximum value 255 to a value of >255. It should be noted that finer quantizations with more than 8 bits or coarser quantizations with less than 8 bits can also be used, wherein the additional bit requirements decrease with coarser quantization, while the additional bit requirements increase with finer quantization with more bits, but the accuracy increases as well.
Thereupon, in a block 812, entropy coding of the fingerprint can take place. By evaluating statistical characteristics of the fingerprint, the bit requirements for the quantized fingerprint can be reduced further. An appropriate entropy method is, for example, Huffman coding. Statistically different frequencies of fingerprint values can be expressed by different code lengths, and can thus, on average, reduce the bit requirements for fingerprint illustration.
The result of the entropy coding block 812 will then be written into the extension channel data stream, as is illustrated at 813. Alternatively, non-entropy coded fingerprints can be written into the bit stream as quantized values, as is illustrated at 811.
As an alternative to the energy calculation per block in step 802, a different fingerprint value can be calculated, as is illustrated in block 818.
As an alternative to the energy of a block, the crest factor of the power density spectrum (PSD crest) can be calculated. The crest factor is generally calculated as the quotient between the maximum value XMax of the signal in a block to the arithmetic average of the signals Xn (e.g. spectral values) in the block, as is illustrated exemplarily in the following equation
Further, another method can be used in order to obtain a more robust synchronization. Instead of post-processing by means of blocks 808, 810, 812, 1-bit quantization can be used as an alternative fingerprint post-processing 104c (
The inventive 1-bit quantization simplifies the correlations calculation in the fingerprint correlator 312 significantly. Based on the fact that the test fingerprint and the reference fingerprint are bit sequences, the correlation can be simplified to a simple XOR operation and subsequently summing up the bit-by-bit results of the XOR operation. Hence, when the sequence of tests audio signal fingerprint values and the sequence of reference audio signal fingerprints each are a sequence of 1 bit values, wherein 1 bit each stands for a block of audio samples, the fingerprint correlator 312 of
Further, the fingerprint correlator 312 is implemented to combine a bit sequence of a sequence of test audio signal fingerprints or reference audio signal fingerprints offset by an offset-value with a respectively different sequence, also by bit-by-bit XOR operation and to sum up the obtained bit results, which results in a second correlation value. For the offset value, for which the maximum correlation value was given, it can be determined that test fingerprint and reference fingerprint have matched. Hence, this offset value represents the correlation result, since the highest correlation value has been given for this specific offset value.
In addition to improving the synchronization results, this quantization also has an effect on the bandwidth for transmitting the fingerprint. While previously at least 8 bits had to be introduced for the fingerprint for providing a sufficiently accurate value, here, a single bit is sufficient. Since the fingerprint and its 1-bit counterpart are already determined in the transmitter, a more accurate calculation of the difference is obtained since the actual fingerprint is present with maximum resolution and thus even minimum changes between the fingerprints can be considered both in the transmitter and in the receiver. Further, it has been found out that most subsequent fingerprints only differ minimally. This difference, however, will be eliminated by quantization prior to difference formation.
Depending on the implementation and when block-by-block accuracy is sufficient, the 1-bit quantization can be used as the specific fingerprint post-processing even independent of whether an audio signal with additional information is present or not, since the 1-bit quantization based on difference coding is already a robust and still accurate fingerprint method in itself, which can also be used for purposes other than synchronization, e.g. for the purpose of identification or classification.
As has been illustrated based on
The wordmark fingerprint hybrid solution allows a synchronizer to detect a time offset of downmix signal and additional data and to realize a time-correct adaptation, i.e. delay compensation between the audio signal and the multichannel extension data in the order of magnitude of +/− one sample value. Therewith, the multichannel association is reconstructed almost completely in the receiver, i.e. apart from a hardly noticeable time difference of several samples, which does not have a noticeable effect on the quality of the reconstructed multichannel audio signal.
The inventive fingerprint as calculated, for example, by a fingerprint calculator 104 or the fingerprint calculator 304 with or without a block division information, can be used for characterizing a test audio signal. Therefore, means 104 or 304, respectively, is provided in order to obtain a sequence of test audio fingerprints from the test audio signal.
Further, a correlator, such as the correlator 312 is provided in order to correlate the sequence of binary values with different reference fingerprints provided in a reference database, wherein the reference database comprises, for every reference fingerprint, information about an audio signal associated with the reference fingerprint.
Based on these different correlations, which means based on the correlation of the test audio signal fingerprint in sequence of a 1-bit frequency and the different reference fingerprints of the reference database, information about the test audio signal can be reached.
Information about the test audio signal is, for example, an identification of the audio signal, for example the name of the piece and possibly the author, on what CD or which sound carrier this piece can be found, and where it can be ordered. An alternative characterization of an audio signal is to identify a test audio signal for example as audio signal of a specific stylistic period or a specific style, or to identify the same as being from a certain band. Such a characterization can be made, for example, by determining not only qualitatively, but also quantitatively how the reference fingerprint relates to the test fingerprint or which distance exists between the two. This matching of fingerprint sequences or calculating the quantitive distance of fingerprint sequences, respectively, can take place, for example, when a correlation has taken place in order to eliminate the time offset of the reference fingerprint and the test fingerprint.
Depending on the circumstances, the inventive method can be implemented in hardware or in software. The implementation can be made on a digital storage medium, in particular a disc, CD or DVD with electronically readable control signals that can cooperate with a programmable computer system such that the method is performed. Hence, generally, the invention also consists of a computer program product having a program code stored on a machine-readable carrier for performing the inventive method when the computer program product runs on a computer. In other words, the invention can be realized as a computer program having a program code for performing the method when the computer program runs on a computer.
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 |
---|---|---|---|
10 2008 009 025 | Feb 2008 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2009/000917 | 2/10/2009 | WO | 00 | 11/4/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/100875 | 8/20/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20040148159 | Crockett et al. | Jul 2004 | A1 |
20050177372 | Wang et al. | Aug 2005 | A1 |
20070217626 | Sharma et al. | Sep 2007 | A1 |
20070285815 | Herre et al. | Dec 2007 | A1 |
20080013614 | Fiesel et al. | Jan 2008 | A1 |
20090150161 | Faller | Jun 2009 | A1 |
20090157391 | Bilobrov | Jun 2009 | A1 |
20090167942 | Hoogenstraaten et al. | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
102004046746 | Mar 2007 | DE |
1760693 | Mar 2007 | EP |
2431837 | May 2007 | GB |
200765659 | Mar 2007 | JP |
2007171933 | Jul 2007 | JP |
WO-2006018747 | Feb 2006 | WO |
WO-2006034825 | Apr 2006 | WO |
WO 2006102991 | Oct 2006 | WO |
Entry |
---|
Herre, J. et al.; “Spatial Audio Coding: Next-generation efficient and compatible coding of multi-channel audio”; Oct. 2004; Prepring 6186 Presented at the 117th Convention, AES, San Francisco, CA, 13 pages. |
Doets, P.J.O. et al.; “ on the comparison of audio fingerprings for extracting quality parameters of compressed audio”; Feb. 2006; Proceedings of SPIE, vol. 6072, pp. 228-239, San Jose, CA. |
English Translation of the International Preliminary Report on Patentability dated Oct. 29, 2010 in parallel application PCT/EP2009/000917, 7 pages. |
International Search Report mailed Jul. 31, 2009 in parallel application PCT/EP2009/000917, 3 pages. |
Number | Date | Country | |
---|---|---|---|
20110112669 A1 | May 2011 | US |