Patent Yard Sign in
Lapsed, fee not paidSolo inventor

Transparent lossless audio watermarking

US 9,940,940 B2 · Inventors: Craven; Peter Graham et al.

USPTO PDF

Overview

Sheet 1 of 6 from the published document. All sheets in the USPTO PDF

Abstract From the patent

An encoding method and encoder is provided for transparent lossless audio watermarking by quantizing an original PCM audio signal twice, each quantization quantizing to a quantization grid. As a PCM signal is inherently already quantized, there are three quantization grids to consider, the first being the quantization grid of the original PCM signal, the second being that of the watermarked signal and the third being that of an intermediate signal. The technique reduces the amount of introduced quantization error, spectrally shapes the error and fully decorrelates signal alterations from the original audio, thus making the error more similar to additive noise. A decoding method and decoder is also provided, as is a method of altering the watermark without fully decoding the encoded signal.

Why it's free to use

  • The USPTO Official Gazette of June 9, 2026 lists it as expired on April 10, 2026 for an unpaid maintenance fee.
  • It isn't on any reinstatement notice published since.
  • Its 1 US relative has also lapsed, expired or never issued.
  • We check US rights only. Check foreign counterparts before selling abroad.
FiledMarch 26, 2015
GrantedApril 10, 2018
Expired (fee)April 10, 2026
Application number15/300598
Classification (CPC)G10L19/0017 +3 more
Length26 claims · 19 pages

Background From the patent

In the present millennium, several reversible watermarking schemes for audio have been proposed, though on inspection the reversibility is often in the sense of Numerical Analysis, and the reconstruction of an original PCM (Pulse Code Modulation) signal is not lossless, i.e. bit-for-bit accurate, in the presence of the inevitable quantisations within the algorithm. Two algorithms that we consider truly lossless are “Reversible Watermarking of Digital Signals” by M. Van Der Veen, A. Bruekers, A. Van Leest and S. Cavin, published as WO2004066272 and “Lossless Buried Data” by P. Craven and M. Law, published as WO2013061062. WO2004066272 discloses methods for the reversible watermarking of digital signals by manipulating the histogram of the audio. According to one method, a sigmoid gain function C is applied to an original 16-bit PCM audio signal which is then requantised to 15 bits, leavin

Drawings 6

All 6 drawing sheets from the published document, cropped to the drawing.

Figures as described

  • FIG. 1A is a signal-flow diagram of an encoder according to an embodiment of the invention
  • FIG. 1B is a signal-flow diagram of a decoder corresponding to the encoder of FIG. 1A
  • FIG. 2 shows detail of the operation of quantiser 211 in FIG. 1B for use with a two-channel signal
  • FIG. 3 shows detail of the operation of quantiser 112 in FIG. 1A for use with a two-channel signal
  • FIG. 4 shows detail of the operation of quantiser 212 in FIG. 1B for use with a two-channel signal
  • FIG. 5A shows a graph of a Veroni region of quantiser 111 in FIG. 1A when adapted for use with a two-channel signal, and FIG. 5B shows an expanded graph of the Veroni region
  • FIG. 7 shows an alternative configuration for part of the decoder shown in FIG. 1B , for use immediately after a restart point
  • FIG. 8A shows how a PCM audio signal by may be modified by adding a more finely quantised function of previous sample values to the signal
  • FIG. 8B shows how the latter stage of the decoder shown in FIG. 1B may be modified in order to permit the signal modification of FIG. 8A to be inverted losslessly
  • FIG. 9 shows how the part of a decoder shown in FIG

Claims 26 total, 8 independent

What the patent claimed, word for word. All of it is now free to use.

  1. 1
    Independent claimA method for losslessly watermarking a first audio signal to generate a second audio signal, wherein the first and second audio signals are pulse code modulated ‘PCM’ signals, the method comprising: receiving the first audio signal as samples quantised on a first quantisation grid; determining a third quantisation grid coarser than the first quantisation grid; applying a quantised mapping to the first audio signal to furnish a third audio signal having sample values that lie on the third quantisation grid; generating first data when multiple values of the first quantisation grid would be mapped to the value of the third audio signal by the quantised mapping, wherein the first data is reconstruction data that indicates which of the multiple values is the value of the first audio signal; combining the first data with watermark data to produce second data; determining a second quantisation grid different than the first and third quantisation grids in dependence on the second data; and, generating samples of the second audio signal by quantising the third audio signal onto the second quantisation grid in dependence on previous samples of at least one of the second and third audio signals.
  2. 2
    A method according to claim 1, wherein at least one of the first and third quantisation grids varies from sample to sample.
  3. 3
    A method according to claim 1, wherein the third quantisation grid is determined in dependence on the output of a pseudo-random sequence generator.
  4. 4
    A method according to claim 1, wherein the first, second and third audio signals are multichannel and at least one of the second and third quantisation grids is not formed as the Cartesian product of an independent quantisation grid on each channel.
  5. 5
    A method according to claim 1, wherein the quantised mapping is preceded by a filter whose output is quantised more finely than the first quantisation grid.
  6. 6
    A method according to claim 1, wherein the second data also comprises initialisation data relating to consecutive samples of the third audio signal.
  7. 7
    A method according to claim 6, wherein the total number of bits within the initialisation data does not exceed 8 times the number of channels times the number of consecutive samples of the third audio signal.
  8. 8
    Independent claimA method for retrieving a first audio signal and watermark data from a portion of a second audio signal, wherein the first and second audio signals are pulse code modulated ‘PCM’ signals, and wherein the second audio signal is a losslessly watermarked PCM signal and the first audio signal has samples that lie on a first quantisation grid, the method comprising: determining a third quantisation grid; receiving the second audio signal as quantised samples; retrieving first data and the watermark data from the second audio signal, wherein the first data is reconstruction data for use in retrieving the first audio signal; generating samples of a third audio signal, quantised onto the third quantisation grid, by quantising samples of the second audio signal in dependence on previous samples of at least one of the second and third audio signals; applying a quantised mapping to the third audio signal in dependence on the first data to furnish a mapped signal; and, furnishing the first audio signal in dependence on the mapped signal.
  9. 9
    A method according to claim 8, wherein the first audio signal replicates a portion of an original PCM audio signal having samples that lie on a first quantisation grid and the second audio signal is a watermarked version of the original PCM audio signal.
  10. 10
    A method according to claim 9, wherein the third quantisation grid is coarser than the first quantisation grid.
  11. 11
    A method according to claim 8, wherein at least one of the first and third quantisation grids varies from one sampling instant to another.
  12. 12
    A method according to claim 8, wherein the third quantisation grid is determined in dependence on the output of a pseudo-random sequence generator.
  13. 13
    A method according to claim 8, wherein the first, second and third audio signals are multichannel and at least one of the second and third quantisation grids is not formed as the Cartesian product of an independent quantisation grid on each channel.
  14. 14
    A method according to claim 8, wherein the mapped signal is the first signal.
  15. 15
    A method according to claim 8, further comprising the steps of: determining a fourth quantisation grid finer than the first quantisation grid; computing an adjustment sample dependent on previous samples of at least one of the first audio signal and the mapped signal, the adjustment sample having a value lying on the fourth quantisation grid; and, adding the adjustment sample to the mapped signal.
  16. 16
    A method according to claim 8, wherein the second audio signal was generated using the method and wherein the step of retrieving comprises: retrieving a replica of the second data from the second audio signal; extracting the first data and the watermark data from the replica of the second data.
  17. 17
    A method according to claim 8, the method further comprising: retrieving initialisation data from the second audio signal; and, using the initialisation data to determine a selection of bits from consecutive samples of the third audio signal.
  18. 18
    A method according to claim 17, where the initialisation data is no greater than 8 bits times the number of channels times the number of values of the third audio signal.
  19. 19
    Independent claimA method for altering the watermark in an input audio signal that is a losslessly watermarked PCM signal, the method comprising the steps of: receiving the input audio signal as quantised samples; retrieving input data comprising embedded watermark data from the input audio signal; generating samples of an intermediate audio signal, quantised onto an intermediate quantisation grid, by quantising the input audio signal in dependence on previous samples of at least one of the input audio and intermediate audio signals; producing output data by altering the embedded watermark data in the input data; determining an output quantisation grid in dependence on the output data; and, quantising the intermediate audio signal to an output audio signal on the output quantisation grid in dependence on previous samples of at least one of the output and intermediate audio signals.
  20. 20
    A method according to claim 19, wherein the intermediate quantisation grid varies from one sampling instant to another.
  21. 21
    A method according to claim 19, wherein the intermediate quantisation grid is determined in dependence on the output of a pseudo-random sequence generator.
  22. 22
    Independent claimAn encoder adapted to losslessly watermark a first signal comprising a pulse code modulated (PCM) audio signal to generate a second signal, the encoder comprising: a receiver configured to receive a first audio signal as samples quantised on a first quantisation grid; and a signal processor configured to: determine a third quantisation grid coarser than the first quantisation grid, apply a quantised mapping to the first audio signal to furnish a third audio signal having sample values that lie on the third quantisation grid, generate first data when multiple values of the first quantisation grid would be mapped to the value of the third audio signal by the quantised mapping, wherein the first data is reconstruction data that indicates which of the multiple values is the value of the first audio signal, combine the first data with watermark data to produce second data; determine a second quantisation grid different than the first and third quantisation grids in dependence on the second data, and generate samples of the second audio signal by quantising the third audio signal onto the second quantisation grid in dependence on previous samples of at least one of the second and third audio signals.
  23. 23
    Independent claimA decoder for retrieving a first audio signal and watermark data from a second audio signal, wherein the first and second audio signals are pulse code modulated ‘PCM’ signals, the second audio signal is a losslessly watermarked PCM signal, and the first audio signal has samples that lie on a first quantisation grid, the decoder comprising: a receiver configured to receive the second audio signal as quantised samples; and a processor configured to: retrieve first data and the watermark data from the second audio signal, wherein the first data is reconstruction data for use in retrieving the first audio signal, determine a third quantisation grid, generate samples of a third audio signal, quantised onto the third quantisation grid, by quantising samples of the second audio signal in dependence on previous samples of at least one of the second and third audio signals, apply a quantised mapping to the third audio signal in dependence on the first data to furnish a mapped signal, and furnish the first audio signal in dependence on the mapped signal.
  24. 24
    Independent claimA non-transitory computer-readable storage medium comprising program instructions that when executed by a processor cause the process to perform a method for losslessly watermarking a first audio signal to generate a second audio signal, wherein the first and second audio signals are pulse code modulated (PCM) signals, the method comprising: receiving the first audio signal as samples quantised on a first quantisation grid; determining a third quantisation grid coarser than the first quantisation grid; applying a quantised mapping to the first audio signal to furnish a third audio signal having sample values that lie on the third quantisation grid; generating first data when multiple values of the first quantisation grid would be mapped to the value of the third audio signal by the quantised mapping, wherein the first data is reconstruction data that indicates which of the multiple values is the value of the first audio signal; combining the first data with watermark data to produce second data; determining a second quantisation grid different than the first and third quantisation grids in dependence on the second data; and generating samples of the second audio signal by quantising the third audio signal onto the second quantisation grid in dependence on previous samples of at least one of the second and third audio signals.
  25. 25
    Independent claimA non-transitory computer-readable storage medium comprising program instructions that when executed by a processor cause the process to perform a method for retrieving a first audio signal and watermark data from a portion of a second audio signal, wherein the first and second audio signals are pulse code modulated ‘PCM’ signals, and wherein the second audio signal is a losslessly watermarked PCM signal and the first audio signal has samples that lie on a first quantisation grid, the method comprising: determining a third quantisation grid; receiving the second audio signal as quantised samples; retrieving first data and the watermark data from the second audio signal, wherein the first data is reconstruction data for use in retrieving the first audio signal; generating samples of a third audio signal, quantised onto the third quantisation grid, by quantising samples of the second audio signal in dependence on previous samples of at least one of the second and third audio signals; applying a quantised mapping to the third audio signal in dependence on the first data to furnish a mapped signal; and, furnishing the first audio signal in dependence on the mapped signal.
  26. 26
    Independent claimA watermark modifier adapted to alter a watermark in an input audio signal that is a losslessly watermarked, the watermark modifier comprising: a receiver configured to receive the input audio signal as quantised samples; and a signal processor configured to: retrieve input data comprising embedded watermark data from the input audio signal, generate samples of an intermediate audio signal, quantised onto an intermediate quantisation grid, by quantising the input audio signal in dependence on previous samples of at least one of the input audio and intermediate audio signals, produce output data by altering the embedded watermark data in the input data, determine an output quantisation grid in dependence on the output data, and quantize the intermediate audio signal to an output audio signal on the output quantisation grid in dependence on previous samples of at least one of the output and intermediate audio signals.

Claim map

Independent claims stand on their own. The others add detail to the claim they name.

Claim 16 claims build on it
Claim 810 claims build on it
Claim 192 claims build on it
Claim 22No claims build on it
Claim 23No claims build on it
Claim 24No claims build on it
Claim 25No claims build on it
Claim 26No claims build on it

Description

Cross-reference to related applications

This application is a U.S. National Stage filing under 35 U.S.C. §371 and 35 U.S.C §119, based on and claiming priority to PCT/GB2015/050910 for “TRANSPARENT LOSSLESS AUDIO WATERMARKING” filed Mar. 26, 2015, claiming priorities to GB Patent Application No. 1405958.8 filed Apr. 2, 2014.

Field of the invention

The invention relates to the insertion of an audibly transparent reversible watermark into a PCM audio signal, with particular reference to streamed transmission.

Background to the invention

In the present millennium, several reversible watermarking schemes for audio have been proposed, though on inspection the reversibility is often in the sense of Numerical Analysis, and the reconstruction of an original PCM (Pulse Code Modulation) signal is not lossless, i.e. bit-for-bit accurate, in the presence of the inevitable quantisations within the algorithm. Two algorithms that we consider truly lossless are “Reversible Watermarking of Digital Signals” by M. Van Der Veen, A. Bruekers, A. Van Leest and S. Cavin, published as WO2004066272 and “Lossless Buried Data” by P. Craven and M. Law, published as WO2013061062.

WO2004066272 discloses methods for the reversible watermarking of digital signals by manipulating the histogram of the audio. According to one method, a sigmoid gain function C is applied to an original 16-bit PCM audio signal which is then requantised to 15 bits, leaving a 1 bit hole in the least significant bit position (lsb). Into this lsb hole is inserted data comprising the desired watermark data, overhead and reconstruction data to allow the corresponding decoder to reverse the watermarking process and recover an exact replica of the original audio.

The sigmoid gain function has a gain exceeding 1 near 0 and maps the range of audio signals to itself. Consequently, it must have a gain less than 1 near full scale. Over any range of signal values where the gain of C is less than 2, reconstruction data is required because C maps the 16-bit values that lie within the range on to fewer distinct 15 bit values. Where the gain of C is also greater than 1 there is less than one bit per sample of reconstruction data required and where it is less than 1 there is more than one bit of reconstruction data required. The scheme works because the PDF (Probability Density Function) of signal values audio is not flat, small signal values (where the sigmoid shape of C has gain greater than 1) being more common than large values (where C has gain less than 1). Thus, on average, there is less than 1 bit per sample of reconstruction data (usually much less) leaving sufficient space within the lsb hole for overhead and watermark.

Whilst this method is effective at embedding large amounts of watermark data, there are a number of respects in which the transparency is less than may be desired. The watermark data is additive into the signal so patterns in it may be audible, and the signal modification is just as loud in the frequency regions where the ear is most sensitive as where it is less sensitive. The method also does not offer the flexibility to provide reduced noise in exchange for reduced watermark capacity.

WO2013061062 discloses how the sigmoid gain function may be implemented as the combination of a linear gain and a clipping unit which generates reconstruction data when signal peaks are clipped. It also discloses how separate lossless filtering can be advantageously be used in conjunction with the scheme to modify the signal's PDF in order to reduce the quantity of reconstruction data generated by the clipping unit. Nevertheless it is difficult to see how the audiophile ideal of a low and constant noise floor, uncorrelated with the audio signal and preferably spectrally shaped, may be achieved using the methods of either WO2004066272 or WO2013061062.

A transparent lossy watermarking scheme is described by M. Gerzon and P. Craven in “A High Rate Buried Data Channel for Audio CD”, preprint 3551 presented at the 94th AES Berlin Convention 1993 (hereinafter Gerzon). Watermark data comprising n binary bits per sample is randomised and then used as subtractive dither to a noise-shaped (16−n) bit quantiser. This has the practical effect of discarding the n lsbs of the audio and replacing them by the randomised watermark but with far less harm to the audio than plain replacement of bits. Joint quantisation of two stereo channels is described which allows n to be an odd multiple of ½, as well as more complicated quantisation schemes.

The streaming of audio material is now very popular, and raises the technical requirement that a decoder must be able to commence decoding without seeing the beginning of an encoded item or “track”. In the context of lossless reconstruction an economically-encoded stream, this requirement may present significant technical hurdles, as will be evident.

Summary of the invention

It is an object of the present invention to furnish a lossless watermarking process having improved transparency compared to that of WO2004066272, as heard on standard “legacy” PCM decoding apparatus that does not incorporate the features of the invention, while retaining the ability of the prior art system to start decoding from the middle of an encoded stream. This is done by reducing the amount of introduced quantisation error, spectrally shaping the error and fully decorrelating signal alterations from the original audio, thus making the error more similar to additive noise. Attention is also paid to the ease of altering the watermark.

As will be described in more detail, an encoder according to the invention quantises an original PCM signal twice, each quantisation quantising to a quantisation grid. As a PCM signal is inherently already quantised, there are three quantisation grids to consider, the first being the quantisation grid of the original PCM signal, the second being that of the watermarked signal and the third being that of an intermediate signal.

Normally, the watermarked signal is delivered as a PCM signal having the same bit-depth as the original signal, but this does not imply that the first and second quantisation grids are the same. In general, the quantisation grid of a signal may not be the set of values obtained by interpreting possible all combinations of bits within the PCM representation as binary numbers. We shall consider some signals that are constrained to exercise only a coarser subset of the above set of values. Conversely, we shall also consider signals whose values are offset from the values in the above by set by an amount that is not an integer multiple of the quantisation step size. The offset may vary from one sample to another provided the sender and receiver of the signal have synchronised knowledge of the offset, for example if the offset is generated from data common to both or from a pseudorandom sequence generator known to both.

These considerations apply both to single channel signals and multichannel signals, whose sample values are multidimensional vectors lying on the grid points of a multidimensional grid. A further point of interest in the vector case is that an n-dimensional grid may be a simple rectangular, cuboidal or hypercuboidal grid, in other words the Cartesian product of n one-dimensional grids, or it may be something more general, for example resulting from a constraint that the exclusive-OR of the least-significant-bits of the n channels be zero. A PCM channel can be viewed as a container having its own quantisation grid, and the quantisation grid of a PCM signal transmitted through the channel may be coarser. Thus, the quantisation grid of a PCM signal cannot be deduced simply from a knowledge of its bit-depth.

Quantisation is normally thought of as a process that discards information, but this is not necessarily the case if a signal that is already quantised is re-quantised to a quantisation grid that is not coarser than the original quantised grid. We shall use the term ‘quantisation’ to refer to a mapping of signal values to nearby values on a quantisation grid, whether information is lost or not.

When referring to ‘noise’ or to a ‘signal-to-noise ratio’, we are considering noise heard when the watermarked signal is reproduced on standard PCM equipment. Of course, if the watermarked signal is decoded losslessly according to the invention, then there is no additional noise from watermarking.

The invention in a first aspect provides a method for losslessly watermarking an original or ‘first’ audio signal to generate a watermarked ‘second’ audio signal, both signals being pulse code modulated ‘PCM’ signals and each being quantised to its respective ‘first’ or ‘second’ quantisation grid. The method comprises the steps of: receiving the first audio signal as samples quantised on a first quantisation grid; determining a third quantisation grid coarser than the first quantisation grid; applying a quantised mapping to the first audio signal to furnish a third audio signal having sample values that lie on the third quantisation grid; generating first data when multiple values of the first quantisation grid would be mapped to the value of the third audio signal by the quantised mapping, wherein the first data is reconstruction data that indicates which of the multiple values is the value of the first audio signal; combining the first data with watermark data to produce second data; determining a second quantisation grid different than the first and third quantisation grids in dependence on the second data; and, generating samples of the second audio signal by quantising the third audio signal onto the second quantisation grid in dependence on previous samples of the second audio signal.

In their most basic forms, the first four steps of ‘receiving’, ‘determining’, ‘applying’ and ‘generating’ are similar to operations of the prior art process described in WO2004066272. The ‘quantised mapping’ quantises the original signal to ‘third’ signal on a third quantisation grid which is generally coarser than the first, resulting in a loss of signal resolution so that subsequent lossless recovery of the first signal requires additional reconstruction data. This reconstruction data is the ‘first’ data generated in the process of applying the quantised mapping.

The second audio signal is presented as a PCM signal, but as discussed a PCM signal may have a quantisation grid coarser than that of a PCM channel that contains it. If the second quantisation grid were fixed, this would imply that some points of the quantisation grid associated with the channel would never be exercised. This provides the opportunity to quantise the third signal to a varying second quantisation grid, and according to the invention the second quantisation grid is determined in dependence on ‘second’ data, which comprises both the watermark and the ‘first’ reconstruction data referred to above. In this way the second data is ‘buried’ within the watermarked signal, and a subsequent decoder can recover the buried data by inspecting which points of the channel's quantisation grid have been exercised.

If the quantised mapping had a large-signal gain of unity, the maximum amount of ‘second’ data that could be buried thus and subsequently recovered would be the same as the amount of ‘first’ reconstruction data and there would be no opportunity to convey a watermark. However in normal operation the quantised mapping is configured to provide gain greater than unity over signal ranges covering the most commonly occurring signal values. This reduces the amount of reconstruction data required, thus allowing the second data to carry the desired watermark data and any necessary system overheads.

Thus, the quantised mapping is generally not linear. As discussed in WO2004066272, it may have a sigmoid shape. Alternatively, as discussed in WO2013061062, it may be linear with a gain greater than unity over the central portion of the signal range but with special provisions to avoid overload near the extremes of the signal range.

When the first audio signal takes a value where the gain of the first mapping is less than unity, the reconstruction data is temporarily larger than the maximum second data that can be buried. The excess data can be accommodated by buffering the reconstruction data. Since buffering incurs delay, with simple buffering it will be necessary for a decoder to read the stream and start decoding some time later; alternatively an encoder may insert delay in the third signal so that a decoder will receive the buffered reconstruction data at the correct time.

The quantisation from the third grid to the second grid is performed in dependence on previous samples of at least one of the second and third audio signals in order to provide spectral shaping and reduce the perceptual significance of the resulting quantisation noise. This technique is widely used in other contexts, but it is not obvious to use it where lossless reconstruction may be required in the context of streamed audio because the dependency on previous samples can make it difficult or impossible to start the reconstruction from partway through a stream.

In some system embodiments the said dependency is on a finite number n of previous samples of the third audio signal and the second audio signal. A decoder receives the second audio signal directly so the dependency on previous samples of the second audio signals is resolved merely by waiting for n sample periods. This is not the case for the third audio signal so in a preferred embodiment, an encoder supports decoding from a ‘restart point’ by including within the second data initialisation data relating to a portion of the third audio signal comprising n consecutive samples.

The restart assistance data could straightforwardly comprise a binary representation of the n previous samples of the third audio signal, but in a system providing 16 bits of audio resolution that would require at least n×16 bits of ‘restart assistance data’ for each audio channel at each place in the stream where decoding might commence. This requirement can be very significantly reduced by noting that, assuming suitable noise shaping filter, a strict bound can be placed on the difference between the third audio signal and the second audio signal. Thus, given knowledge of a sample of the second audio signal, the corresponding sample of the third audio signal can be reconstructed completely from information defining a selection of its bits.

In a further preferred embodiment the encoder therefore provides initialisation data relating to only a selection of bits of the third audio signal, the selection having for example fewer than eight bits. The total number of bits of the third audio signal relating to a particular restart point thereby does not exceed eight times the number of channels times the number n of consecutive samples in the portion, times the number of channels.

It is preferred that at least one of the first and third quantisation grids varies from sample to sample. If this were not the case, these two grids would be in a fixed relationship and the quantised mapping to the third would need to incorporate dither to avoid quantisation artefacts, but dither incurs a noise penalty.

In a preferred embodiment, the third quantisation grid is varied in dependence on the output of a pseudo-random sequence generator in order to ensure that the quantisation error introduced by the quantised mapping is decorrelated from the first audio signal.

In a preferred embodiment, the first audio signal is multichannel and at least one of the second and third quantisation grids is not formed as the Cartesian product of an independent quantisation grid on each channel. Using known quantisation methods, the additional noise from signal requantisations can then be reduced compared to independent quantisation of channels.

As well as providing a watermarked signal whose large-signal behaviour closely matches the original, the invention also admits signal modification and in particular filtering to adjust the frequency response. Lossless filters are known in the prior art, for example WO 96/37048, but inevitably they require quantisation to the same bit-depth as the signal being processed, and noise when reproduced on ‘legacy’ equipment is inevitably increased. The invention allows a filter using finer quantisation used in order to minimise the noise increased.

Thus, in some embodiments, the quantised mapping is preceded by a filter whose output is quantised more finely than the first quantisation grid. In a preferred embodiment, the filter is configured as a side-chain which adds an adjustment value to the forward signal path, where the adjustment value is a linear or nonlinear deterministic function of previous samples of the filter's input and output. Such an addition can be inverted losslessly, even though the adjustment value is quantised more finely than the forward signal path. The fine quantisation reduces the additional noise from the filtering.

The invention in a second aspect provides a method for retrieving a first audio signal and watermark data from a portion of a second audio signal, wherein the first and second audio signals are pulse code modulated ‘PCM’ signals, and wherein the second audio signal is a losslessly watermarked PCM signal and the first audio signal has samples that lie on a first quantisation grid, the method comprising: determining a third quantisation grid; receiving the second audio signal as quantised samples; retrieving first data and the watermark data from the second audio signal, wherein the first data is reconstruction data for use in retrieving the first audio signal; generating samples of a third audio signal, quantised onto the third quantisation grid, by quantising samples of the second audio signal in dependence on previous samples of at least one of the second and third audio signals; applying a quantised mapping to the third audio signal in dependence on the first data, to furnish a mapped signal; and, furnishing the first audio signal in dependence on the mapped signal.

Typically, the first audio signal replicates losslessly a portion of an original PCM audio signal that was presented to an encoder and the second audio signal is a watermarked version of the original PCM audio signal. The signals are have quantised samples, the first audio signal having samples that lie on a first quantisation grid. The third quantisation grid is generally chosen to be coarser than the first, a feature that is generally necessary if the third signal is to be independent of the watermark, so that the third signal carries audio information from the first signal only. The coarser resolution implies a loss of some of the original audio information, but this information is carried within the first data, also known as “reconstruction data”. In the step of applying a quantised mapping, the reconstruction information within the first data is combined with the more coarsely quantised third signal, so that the mapped signal has full resolution.

Straightforwardly, the mapped signal is equal to the first signal so the method step of ‘furnishing’ is a null operation. In some embodiments however, the furnishing may incorporate further functionality such as the addition of an adjustment sample as will be explained below.

It is preferred that at least one of the first and third quantisation grids varies from sample to sample. If this were not the case, the two grids would be in a fixed relationship and the corresponding two grids in a corresponding encoder would also need to be in a fixed relationship if the decoding method is to be lossless. Consequently, the quantised mapping in the corresponding encoder would need to incorporate dither to avoid quantisation artefacts, but dither incurs a noise penalty if the watermarked signal is reproduced on standard PCM equipment.

In a preferred embodiment, the third quantisation grid is determined in dependence on the output of a pseudo-random sequence generator. Similarly to the above, this requirement is needed to ensure that the quantisation error introduced by the quantised mapping in a corresponding encoder is decorrelated from the first audio signal.

In a preferred embodiment, the first, second and third audio signals are multichannel and at least one of the second and third quantisation grids is not formed as the Cartesian product of an independent quantisation grid on each channel. Again, by arguments similar to the above, using known quantisation methods, the additional noise from signal requantisations in a corresponding encoder can then be reduced compared to independent quantisation of channels.

In some embodiments, the first signal is produced directly by the quantised mapping, so the first signal is equal to mapped signal. However, in order to provide lossless reconstruction from a watermarked signal that has been derived from a modified first signal, the method may further comprise the steps of: determining a fourth quantisation grid finer than the first quantisation grid; computing an adjustment sample dependent on previous samples of at least one of the first audio signal and the mapped signal, the adjustment sample having a value lying on the fourth quantisation grid; and, adding the adjustment to the mapped signal.

Such an embodiment allows use with watermarked signals encoded using an encoder which subtracts a corresponding adjustment from the first signal, thereby providing the functionality of a filter. As explained above, this allows the watermarked signal, when interpreted as a plain PCM signal, to have a different frequency response from the original ‘first’ signal and yet with less noise than if the frequency response modification had been performed using a separate lossless filter. For the decoding method to be lossless, the adjustment value also needs to be communicated to the quantised mapping, as will be explained below.

In a preferred embodiment, the decoding method of the second aspect comprises the additional steps of: retrieving initialisation data from the second audio signal; and, using the initialisation data to determine a selection of bits from consecutive samples of the third audio signal.

This feature relates to the decoding of a stream from a ‘restart point’ rather than from the beginning. As explained earlier, once a selection of bits within each of the consecutive samples has been determined, the consecutive samples of the third audio signal can be reconstructed completely. Since samples of the second audio signal are received directly, this provides sufficient initialisation data to allow a noise-shaping or other filter in the decoder to mimic precisely the operation of a corresponding filter in the encoder which, as explained elsewhere is sufficient for the decoder to determine the third audio signal from that time onwards.

Preferably, the system is configured so that the initialisation data received for the purpose of determining the third audio signal is no greater than 8 bits times the number of channels times the number of values of the third audio signal. This minimises the stream overhead and, as explained earlier is facilitated by using a suitable noise shaping filter and predetermining a strict bound on the difference between the third audio signal and the second audio signal.

The invention in a third aspect provides also a method for altering the watermark in a second audio signal that is a losslessly watermarked PCM signal generated according to the method of the first aspect. The alteration is achieved without fully recovering the original signal and re-encoding, which would be more expensive computationally.

In this third aspect the method comprises the steps of: receiving the second audio signal as quantised samples; retrieving second data comprising embedded watermark data from the second audio signal; generating samples of a third audio signal, quantised onto a third quantisation grid, by quantising the second audio signal in dependence on previous samples of at least one of the second and third audio signals; producing fourth data by altering the embedded watermark data in the second data; determining a fourth quantisation grid in dependence on fourth data; and, quantising third audio signal to fourth audio signal on fourth quantisation grid in dependence on previous samples of at least one of the fourth and third audio signals.

It will be seen that the method steps of this third aspect correspond substantially to the first few steps of the second aspect and the last few steps of the first aspect.

In order to provide compatibility with preferred embodiments of the first and second aspects, it is preferred that the third quantisation grid varies from one sampling instant to another. Similarly, it is preferred that the third quantisation grid is chosen determined in dependence on the output of a pseudo-random sequence generator.

In applications where the second, third and fourth audio signals are multichannel it is preferred that at least one of the second, third or fourth quantisation grids is not formed as the Cartesian product of an independent quantisation grid on each channel. This preference is for compatibility with encoders and decoders having similar preferred properties.

In a fourth aspect, the invention provides an encoder adapted to losslessly watermark a PCM audio signal using the method of the first aspect. Also provided is a watermark modifier adapted to alter the watermark using the method of the third aspect.

In a fifth aspect, the invention provides a decoder adapted to retrieve a PCM audio signal and watermark data from a portion of a losslessly watermarked PCM signal using the method of the second aspect.

In a sixth aspect, the invention provides a codec comprising an encoder according to the fourth aspect in combination with a decoder according to the fifth aspect.

In a seventh aspect, the invention provides a data carrier comprising a PCM audio signal losslessly watermarked using the method of the first aspect.

In an eighth aspect a computer program product comprises instructions that when executed by a signal processor causes said signal processor to perform the method of any one of the first to third aspects.

Although the method according to the third aspect can advantageously be used to alter a losslessly-watermarked PCM audio that has been generated according to the method of the first aspect, it is also capable of independent utility to alter any suitable losslessly-watermarked PCM audio. Again, the alteration is achieved without fully recovering the original signal and re-encoding, which would be more expensive computationally

Accordingly, the invention in an ninth aspect provides a method for altering the watermark in an input audio signal that is a losslessly-watermarked PCM signal, the method comprising the steps of: receiving the input audio signal as quantised samples; retrieving input data comprising embedded watermark data from the input audio signal; generating samples of an intermediate audio signal, quantised onto an intermediate quantisation grid, by quantising the input audio signal in dependence on previous samples of at least one of the input audio and intermediate audio signals; producing output data by altering the embedded watermark data in the input data; determining an output quantisation grid in dependence on the output data; and, quantising the intermediate audio signal to an output audio signal on the output quantisation grid in dependence on previous samples of at least one of the output and intermediate audio signals.

In some embodiments the intermediate quantisation grid varies from one sampling instant to another.

In some embodiments the intermediate quantisation grid is determined in dependence on the output of a pseudo-random sequence generator.

In further aspects, the invention provides a watermark modifier adapted to alter a watermark using the method of the ninth aspect, and also a computer program product comprising instructions that when executed by a signal processor causes said signal processor to perform the method of the ninth aspect.

As will be appreciated, the present invention provides various methods and devices for encoding and decoding a PCM audio signal losslessly with a watermark and for altering the watermark in the losslessly watermarked PCM signal. Further variations and embellishments will become apparent to the skilled person in light of this disclosure.

Brief description of the drawings

Examples of the present invention will be described in detail with reference to the accompanying drawings, in which:

FIG. 1A is a signal-flow diagram of an encoder according to an embodiment of the invention;

FIG. 1B is a signal-flow diagram of a decoder corresponding to the encoder of FIG. 1A ;

FIG. 2 shows detail of the operation of quantiser 211 in FIG. 1B for use with a two-channel signal;

FIG. 3 shows detail of the operation of quantiser 112 in FIG. 1A for use with a two-channel signal;

FIG. 4 shows detail of the operation of quantiser 212 in FIG. 1B for use with a two-channel signal;

FIG. 5A shows a graph of a Veroni region of quantiser 111 in FIG. 1A when adapted for use with a two-channel signal, and FIG. 5B shows an expanded graph of the Veroni region;

FIG. 6 represents a stream of PCM audio watermarked according to the invention showing two restart points and restart assistance data encoded prior to each of the two restart points;

FIG. 7 shows an alternative configuration for part of the decoder shown in FIG. 1B , for use immediately after a restart point;

FIG. 8A shows how a PCM audio signal by may be modified by adding a more finely quantised function of previous sample values to the signal;

FIG. 8B shows how the latter stage of the decoder shown in FIG. 1B may be modified in order to permit the signal modification of FIG. 8A to be inverted losslessly;

FIG. 9 shows how the part of a decoder shown in FIG. 8B can be modified in order temporarily to provide lossy reconstruction of an original signal pending receipt of the restart information required to provide initialise the lossless reconstruction shown in FIG. 8A ; and,

FIG. 10 shows how watermark data may be extracted from a stream watermarked according to the invention, then how the stream may be watermarked with alternative watermarking data, without full decoding and re-encoding of the audio signal.

Detailed description

In the process known as “subtractive dither”, a random deviate is added to a signal, the resultant value is then quantised and the same deviate then subtracted again. Subtractive dither is known to increase the transparency of a quantisation by making the quantisation error noiselike and independent of the signal being quantised, as discussed by M. Gerzon and P. Craven in “A High Rate Buried Data Channel for Audio CD”, preprint 3551 presented at the 94th AES Berlin Convention 1993 (hereinafter “Gerzon”).

As Gerzon points out, true subtractive dither requires the random deviate to be drawn from a continuous distribution. In our embodiments we will need the deviates to have a finite number of bits so as to control the wordwidth of the subtractively dithered signal which will be used as an input to multipliers. 8 bits of random deviate is adequate for our purposes, moving any quantisation artifacts down from around the 16 bit level to around the 24 bit level whilst still allowing plenty of room for 16 bit audio in a 32 bit word.

Generally, a lattice quantiser is used so that, prior to subtraction, the quantised value lies on a quantisation lattice. One could just as well subtract before the quantisation and add afterwards. In this case the resultant values lie on the quantisation lattice plus an offset given by the random deviate. This offers an alternative perspective on subtractive dither, that the whole operation is one of quantisation onto a randomised grid.

We shall use the term “quantisation offset” to denote the offset of this grid from the lattice defining the quantisation. We shall frequently consider quantisation offsets that vary from sample to sample of the audio signal, usually generated by a pseudorandom sequence generator, but sometimes with some modification and sometimes generated by other means.

We shall also use the term “quantisation grid” to mean the set of points that the quantiser could output, which is a combination of the quantisation lattice and the offset. If the quantisation offset varies from sample to sample then so will the quantisation grid.

Where we talk of using pseudorandom number generators we will require their outputs to match between encoder and decoder. This can be done by including sample number data in the overhead to be conveyed alongside the watermark. When a decoder commences operation partway through a track it can use that sample number data to seek to the correct place in the pseudorandom sequences so that the subsequent output of its pseudorandom number generator will match that used in the encoder.

The invention now will be explained with reference to an embodiment which processes 2 channels of 16-bit PCM audio. There is nothing special about the number 16 however and the skilled person will have no difficulty in adapting the disclosure to other bit-depths or quantisation schemes. The person familiar with Gerzon should also have no difficulty in generalising to one or many channels.

Input to the watermarker may come from a source such as CD whose samples on each channel are quantised on a lattice {2.sup.−16 k}, kϵ consisting of all integer multiples of 2.sup.−16. However we keep open the possibility that it has been generated by a subtractive dither process and has a pseudo-random quantisation offset known to the watermarker and programmed into the watermark restorer or decoder. We thus speak of the input to the watermarker and the output from a subsequent restorer having a ‘first quantisation offset’. In the CD case this will be zero for all samples, in the case where audio is provided by a subtractive dither process it will be given by an agreed pseudorandom sequence.

Our watermarker will follow WO2013061062 in applying a gain of g.sup.−1 (where g<1) to the audio and cope with any resultant overload by soft clipping the resultant audio (using the clip unit 133 and the inverse operation, the unclip unit 233 ). The combination of gain and clipping corresponds to the sigmoid gain function of WO2004066272.

The invention will be described with reference to FIGS. 1A and 1B . A two channel 16 bit PCM audio signal is considered as comprising samples each of which is a two dimensional vector whose components are quantised to 16 bits. In FIG. 1A , such a signal 101 quantised to a lattice having a quantisation offset O.sub.1 is presented to the encoder. The sample values of the PCM signal are divided 131 by a gain g (where g<1) and then quantised 111 onto a coarser quantisation lattice to yield an intermediate signal 103 . This coarser grid jointly quantises both channels to a 15.5 bit level where the quantisation lattice is defined by {[2.sup.−16, 2.sup.−16] [2.sup.−16, −2.sup.−16]}, with a pseudorandom offset O.sub.3. Hence the quantisation grid is [2.sup.−16(j+k), 2.sup.−16(j−k)]+O.sub.3 where j, kϵ .

Assuming for now that the clip unit 133 does not modify the signal (as is true for much of the range), then signal 104 is a replica of signal 103 . Signal 104 is then quantised again 112 onto the same 15.5 bit lattice but with an offset chosen in dependence on data 143 (comprising the watermark) to yield an output signal 102 which has the effect of embedding data 143 into the output signal 102 . The offset is [0,0] to embed a 0 and [0, 2.sup.−16] to embed a 1, so data 143 is contained in the parity of the lsbs of the two channels in a similar manner to that described in Gerzon.

As shown in FIG. 1B , a corresponding decoder receives a replica 202 of the audio output 102 from the encoder. Data 243 , a replica of 143 , is recovered by determining which quantisation offset O.sub.2 was used by inspection of the sample values. Signal 202 is then quantised 212 onto the 15.5 bit lattice above, with quantisation offset O.sub.3 such that the quantisation error introduced by quantiser 212 is the opposite of that introduced by quantiser 112 so that signal 204 replicates signal 104 . Unclip unit 233 inverts clip unit 133 , so signal 203 replicates signal 103 . This signal is then multiplied by g 231 and quantised 211 onto the 16 bit lattice with quantisation offset O.sub.1. Quantiser 211 does not always output the nearest quantised value to its input as will be later described with reference to FIG. 2 . It takes in reconstruction data which may adjust its output by +2.sup.−16 on either channel, which is arranged to replicate the value on signal 101 establishing lossless operation.

Filters 121 , 221 , 122 , 222 are also arranged so that the decoder versions receive input signals replicating those in the encoder and consequently, subject to suitable initialisation on startup, their outputs also match. Their effect is to shape the quantisation error introduced by the quantisers, so that the overall quantisation error in the watermarked signal 102 is spectrally shaped for reduced audibility and thus increased transparency of the watermark. They shape the white quantiser noise with an all-pole transfer function, as in FIG. 7 of Gerzon. A reasonable filter G(z) for operation at 44.1 kHz is: G ( z )=1+1.2097 z .sup.−1+0.2578 z .sup.−2+0.1742 z .sup.−3+0.0192 z .sup.−4−0.2392 z .sup.−5 For later reference, the sum of the absolute values of the impulse response of 1/G(z) is less than 27.

The 15.5 bit quantisations are coarser than the 16 bit quantisation of the encoder input signal. Consequently, even though g<1, there are sometimes multiple input values to 111 which quantise to the same value of 103 . When this occurs, ambiguity resolver 113 (which sees signal 105 , a scaled version of the quantiser error introduced by 111 ) outputs data 141 indicating which of the possible input values was actually presented. Along with formatting overhead, this reconstruction data 141 is multiplexed with the desired watermark into data 143 .

Correspondingly, the decoder extracts reconstruction data 241 from 243 and uses it to adjust the output from 211 on those occasions when multiple input values to 111 could have produced the same value 103 . Quantiser 211 is expanded in FIG. 2 . FIG. 2 shows how the input signal is first quantised 213 to the nearest value and the quantisation error 205 fed to adjuster 215 . It turns out that for any gain value g, the quantisation error 205 suffices to indicate how many input values to 111 could have produced the 103 . If the answer is more than one, adjuster 215 consumes data from 241 to determine the adjustment 207 to add to the output of 213 . Consequently, this ancillary data 241 ensures that 201 replicates 101 even when some other quantised value may be slightly closer to the input of quantiser 211 .

The use of a 15.5 bit quantiser above does complicate operation compared to the 15 bit quantiser described in WO2004066272. It is useful though because it means the watermarking adds half as much noise as if a 15 bit quantiser is used making the watermarker more transparent. The process could be taken further, for example using a 15.75 bit quantiser that jointly quantised 4 samples, 1 on each of 4 samples or 2 successive samples on each of 2 channels would halve the added noise again. However, our embodiment only processes 2 channels and there would be greater complexity in jointly quantising successive samples.

The description continues in the full USPTO document.

Timeline & family

Timeline From USPTO dates

201620182020202220242026Application filedMarch 26, 2015Application publishedApril 27, 2017Patent grantedApril 10, 20183.5-year fee paidOct 10, 20217.5-year fee not paidOct 10, 2025Patent expiredApril 10, 2026

Maintenance fees

Fees are due 3.5, 7.5 and 11.5 years after grant. This patent expired on April 10, 2026, so the fee marked "not paid" was the one that went unpaid.

3.5-year feeDue October 10, 2021Paid
7.5-year feeDue October 10, 2025Not paid
11.5-year feeDue October 10, 2029Never came due

US family 2 documents, by filing date

Published applicationUS 2017/0116996 A1

TRANSPARENT LOSSLESS AUDIO WATERMARKING

Filed Mar 2015 · published Apr 2017
Published application
This documentUS 9,940,940 B2

Transparent lossless audio watermarking

Filed Mar 2015 · granted Apr 2018
Lapsed, fee not paid

Earlier publications, parents and continuations. None of them can still be enforced, or this patent would not be listed.

US patents it cites 3

Prior art cited by the examiner or applicant. Useful when you check your own idea for novelty.

Sources & verification

Verification

  • The USPTO Official Gazette of June 9, 2026 lists it as expired on April 10, 2026 for an unpaid maintenance fee.
  • It isn't on any reinstatement notice published since.
  • Its 1 US relative has also lapsed, expired or never issued.
  • Rechecked against USPTO records every day.
  • We check US rights only. Check foreign counterparts before selling abroad.

Confirm it yourself

  1. Open the file history on Patent Center.
  2. The status should read "Patent Expired Due to NonPayment of Maintenance Fees Under 37 CFR 1.362".
  3. Check the documents for any later petition to revive or reinstate.

Everything on this page comes from the documents linked above.

More in AI & Machine Learning

All AI & Machine Learning
Drawing from US 9,940,927 B2Lapsed, fee not paid4 drawings
AI & Machine Learning · US 9,940,927 B2

Multiple pass automatic speech recognition methods and apparatus

In some aspects, a method of recognizing speech that comprises natural language and at least one word specified in at least one domain-specific vocabulary is provided.

Filed2013
LapsedApr 2026
OwnerNuance Communications, Inc.
Drawing from US 9,942,524 B2Lapsed, fee not paid2 drawings
AI & Machine Learning · US 9,942,524 B2

Device and method for detecting the position of an object in a machine tool

A device for detecting the position of an object in a machine tool includes a camera configured to provide an image of the object and an object carrier to which the object is connected and whose position within the…

Filed2011
LapsedApr 2026
OwnerDR. JOHANNES HEIDENHAIN GmbH
Drawing from US 9,942,534 B2Lapsed, fee not paid13 drawings
AI & Machine Learning · US 9,942,534 B2

Image processing system and microscope system including the same

An image processing system includes an acquisition unit, a candidate value estimation unit, a cutoff frequency acquisition unit and a candidate value modification unit.

Filed2012
LapsedApr 2026
OwnerOLYMPUS CORPORATION