# US 12,711,936 B2 · Systems and methods for generating a dither

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,711,936 B2
- Document ID: US12711936B2
- Status: Granted
- Kind: B2
- Application number: 18/894,674
- Filed: 2024-09-24
- Published: 2026-03-26
- Granted: 2026-08-18
- Earliest claimed: 2024-09-24
- Applicants: Apple Inc.
- Inventors: Peter C Eastty; Aniruddha Satoskar; Brendan C Larks
- Web page: https://patentgrep.com/patent/US12711936B2

## CPC

- G10K 11/1752: {Masking}
- G06F 7/584: {using finite field arithmetic, e.g. using a linear feedback shift register}
- H04R 3/00: Circuits for transducers (arrangements for producing a reverberation or echo sound G10K15/08; amplifiers H03F)
- G06F 2207/581: Generating an LFSR sequence, e.g. an m-sequence; sequence may be generated without LFSR, e.g. using Galois Field arithmetic
- H03K 3/84: Generating pulses having a predetermined statistical distribution of a parameter, e.g. random pulse generators
- H03K 19/21: EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
- H03M 1/0641: {the dither being a random signal}
- G10K: SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Electronic devices, circuitry, and methods are provided to efficiently generate a dither signal. An electronic device may include an output device, such as a speaker, to output a media signal, such as an audio signal, based on dithered media data, such as dithered audio data. The electronic device may include dithering circuitry to generate a dither signal, based on a first pseudorandom signal from a first linear feedback shift register and a second pseudorandom signal from a second linear feedback shift register, to add to the media signal to generate the dithered media signal.

## Claims

### Claim 1

An electronic device comprising:
a speaker configured to output an audio signal based on dithered audio data; and
dithering circuitry configured to generate a dither signal to add to the audio signal to generate the dithered audio signal, wherein the dithering circuitry comprises:
a first pseudorandom signal generator comprising a first linear feedback shift register configured to generate a first pseudorandom signal;
a second pseudorandom signal generator comprising a second linear feedback shift register configured to generate a second pseudorandom signal;
first bit reversal circuitry configured to reverse a bit order of the second pseudorandom signal;
first bitwise XOR circuitry configured to apply a bitwise exclusive OR to the first pseudorandom signal and the second pseudorandom signal;
floating point conversion circuitry configured to pack a result of the bitwise exclusive OR into a mantissa of a floating point value; and
subtraction circuitry configured to subtract a value from the floating point value to generate the dither signal.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the dither signal comprises a rectangular dither within a defined interval.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the dithering circuitry comprises:
the first linear feedback shift register configured to generate a third pseudorandom signal; and
the second linear feedback shift register configured to generate a fourth pseudorandom signal.

### Claim 4 (depends on 3)

The electronic device of claim 3, wherein the dithering circuitry comprises:
the first bit reversal circuitry configured to reverse a bit order of the fourth pseudorandom signal; and
the first bitwise XOR circuitry configured to apply a bitwise exclusive OR to the third pseudorandom signal and the fourth pseudorandom signal.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the dithering circuitry comprises:
addition circuitry to add a result of the bitwise exclusive OR of the first pseudorandom signal and the second pseudorandom signal to the bitwise exclusive OR of the third pseudorandom signal and the fourth pseudorandom signal; and
the floating point conversion circuitry configured to pack a result of the addition circuitry into the mantissa of the floating point value.

### Claim 6 (depends on 1)

The electronic device of claim 1, wherein the dithering circuitry comprises:
a third pseudorandom signal generator comprising a third linear feedback shift register configured to generate a third pseudorandom signal;
a fourth pseudorandom signal generator comprising a fourth linear feedback shift register configured to generate a fourth pseudorandom signal;
second bit reversal circuitry configured to reverse a bit order of the fourth pseudorandom signal; and
second bitwise XOR circuitry configured to apply a bitwise exclusive OR to the third pseudorandom signal and the fourth pseudorandom signal.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the dithering circuitry comprises addition circuitry configured to add a result of the bitwise exclusive OR of the first pseudorandom signal and the second pseudorandom signal to the bitwise exclusive OR of the third pseudorandom signal and the fourth pseudorandom signal.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein the dithering circuitry comprises the floating point conversion circuitry configured to pack a result of the addition circuitry into the mantissa of the floating point value.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the dithering circuitry comprises the subtraction circuitry configured to subtract the value from the floating point value to generate the dither signal.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the dither signal comprises a triangular dither within a defined interval.

### Claim 11

Dithering circuitry comprising:
a first linear feedback shift register based pseudorandom signal generator configured to generate a first pseudorandom signal;
a second linear feedback shift register based pseudorandom signal generator configured to generate a second pseudorandom signal;
first bit reversal circuitry configured to reverse a bit order of the second pseudorandom signal;
first bitwise XOR circuitry configured to apply a bitwise exclusive OR to the first pseudorandom signal and the second pseudorandom signal;
floating point conversion circuitry configured to pack a first value based on a result of the bitwise exclusive OR into a mantissa of a floating point value; and
subtraction circuitry configured to subtract a second value from the floating point value to generate a dither signal.

### Claim 12 (depends on 11)

The dithering circuitry of claim 11, wherein the dither signal comprises a rectangular dither within a defined interval.

### Claim 13 (depends on 11)

The dithering circuitry of claim 11, comprising:
a third linear feedback shift register based pseudorandom signal generator configured to generate a third pseudorandom signal;
a fourth linear feedback shift register based pseudorandom signal generator configured to generate a fourth pseudorandom signal;
second bit reversal circuitry configured to reverse a bit order of the fourth pseudorandom signal;
second bitwise XOR circuitry configured to apply a bitwise exclusive OR to the third pseudorandom signal and the fourth pseudorandom signal;
addition circuitry configured to add the result of the bitwise exclusive OR of the first pseudorandom signal and the second pseudorandom signal to the bitwise exclusive OR of the third pseudorandom signal and the fourth pseudorandom signal;
wherein the floating point conversion circuitry is configured to pack the result of the addition circuitry into the mantissa of the floating point value.

### Claim 14 (depends on 13)

The dithering circuitry of claim 13, wherein the dither signal comprises a triangular dither within a defined interval.

### Claim 15 (depends on 11)

The dithering circuitry of claim 11, wherein the first linear feedback shift register based pseudorandom signal generator and the second linear feedback shift register based pseudorandom signal generator respectively comprise:
a shift register;
bitwise AND circuitry;
first XOR circuitry; and
second XOR circuitry.

### Claim 16 (depends on 11)

The dithering circuitry of claim 11, wherein the first linear feedback shift register based pseudorandom signal generator is associated with a first polynomial.

### Claim 17 (depends on 11)

The dithering circuitry of claim 11, wherein the second linear feedback shift register based pseudorandom signal generator is associated with a second polynomial.

### Claim 18

One or more tangible, non-transitory computer-readable media storing instructions that, when executed by processing circuitry, are configured to cause the processing circuitry to:
generate a first pseudorandom signal using a first linear feedback shift register;
generate a second pseudorandom signal using a second linear feedback shift register;
reverse a bit order of the second pseudorandom signal using first bit reversal circuitry;
apply a first bitwise exclusive OR to the first pseudorandom signal and the second pseudorandom signal using first bitwise XOR circuitry;
pack a first value into a mantissa of a floating point value based on a result of the first bitwise XOR circuitry; and
subtract a second value from the floating point value to generate a dither signal.

### Claim 19 (depends on 18)

The one or more tangible, non-transitory computer-readable media of claim 18, wherein the instructions, when executed by the processing circuitry, are configured to cause the processing circuitry to:
generate a third pseudorandom signal using a third linear feedback shift register;
generate a fourth pseudorandom signal using a fourth linear feedback shift register;
reverse a bit order of the fourth pseudorandom signal using second bit reversal circuitry;
apply a second bitwise exclusive OR to the third pseudorandom signal and the fourth pseudorandom signal using second bitwise XOR circuitry;
add the result of the bitwise exclusive OR of the first pseudorandom signal and the second pseudorandom signal to a bitwise exclusive XOR of the third pseudorandom signal and the fourth pseudorandom signal using addition circuitry; and
pack a result of the addition circuitry into the mantissa of the floating point value.

### Claim 20 (depends on 18)

The one or more tangible, non-transitory computer-readable media of claim 18, wherein the dither signal comprises a rectangular dither or a triangular dither.
