# US 2022/0328051 A1 · Systems and methods for implementing efficient cross-fading between compressed audio streams

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

- Number: US 2022/0328051 A1
- Document ID: US20220328051A1
- Status: Published application
- Kind: A1
- Application number: 17/522,595
- Filed: 2021-11-09
- Published: 2022-10-13
- Earliest claimed: 2011-11-18
- Assignees: Sirius XM Radio Inc.
- Applicants: Sirius XM Radio Inc.
- Inventors: Raymond Lowe; Mark Kalman; Deepen Sinha; Christopher Ward
- Web page: https://patentgrep.com/patent/US20220328051A1

## CPC

- G11B 27/038: Cross-faders therefor
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G06F 9/4451: {User profiles; Roaming}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06Q 30/02: Marketing; Price estimation or determination; Fundraising
- G06Q 30/0631: {Recommending goods or services}
- G10H 1/0025: {Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece (automatically producing a series of tones G10H1/26)}
- G10H 1/06: Circuits for establishing the harmonic content of tones {, or other arrangements for changing the tone colour}
- G10H 1/46: Volume control
- G10L 19/00: Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis (in musical instruments G10H)
- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B 27/105: {of operating discs}
- G11B 27/322: {used signal is digitally coded}
- H04H 20/38: Arrangements for distribution where lower stations, e.g. receivers, interact with the broadcast
- H04H 60/04: Studio equipment; Interconnection of studios
- H04L 67/306: User profiles
- G10H 2210/125: Medley, i.e. linking parts of different musical pieces in one single piece, e.g. sound collage, DJ mix
- G10H 2240/051: AC3, i.e. Audio Codec 3, Dolby Digital
- G10H 2240/075: Musical metadata derived from musical analysis or for use in electrophonic musical instruments
- G10H 2240/125: Library distribution, i.e. distributing musical pieces from a central or master library
- G10H 2240/305: Internet or TCP/IP protocol use for any electrophonic musical instrument data or musical parameter transmission purposes
- G10H 2240/325: Synchronizing two or more audio tracks or files according to musical features or musical timings
- G10H 2250/035: Crossfade, i.e. time domain amplitude envelope control of the transition between musical sounds or melodies, obtained for musical purposes, e.g. for ADSR tone generation, articulations, medley, remix
- G10H 2250/571: Waveform compression, adapted for music synthesisers, sound banks or wavetables
- G10L 19/167: {Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G10H: ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04H: BROADCAST COMMUNICATION (multiplex communication H04J; pictorial communication aspects of broadcast systems H04N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods are presented for efficient cross-fading of compressed domain information streams on a user/client device. Exemplary systems may provide cross-fade between AAC/Enhanced AAC Plus information streams, between MP3 information streams, or between information streams of unmatched formats. These systems are distinguished in that cross-fade is directly applied to compressed bitstreams so a single decode operation is performed on the resulting bitstream. Thus, a set of frames from each input stream associated with the time interval in which a cross fade is decoded, and combined and recoded with a cross fade or other effect now in the compressed bitstream. Once sent through the client device's decoder, the user hears the transitional effect. The only input data that is decoded and processed is that associated with the portion of each stream used the crossfade, blend or other interstitial, and thus the vast majority of input streams are left compressed.

## Claims

### Claim 1

A method for implementing efficient cross-fading between compressed audio streams, comprising:
obtaining parameters for a cross-fade between N audio streams comprising compressed packets;
time aligning the packets from each stream that are involved in the cross-fade;
synthesizing composite compressed packets containing information derived from the N streams; and
presenting the composite compressed packets to an audio decoder during a cross-fade phase.

### Claim 2 (depends on 1)

The method of claim 1, wherein N=2, and said presenting compressed packets to an audio decoder includes multiplexing each of the streams and the synthesized composite compressed packets according to a time index, as follows:
Fort less than or equal to T1, Stream 1;
Fort greater than T1 but less than or equal to T2, synthesized composite compressed packets;
For t greater than T2, Stream2.

### Claim 3 (depends on 1)

The method of claim 1, wherein each stream is encoded with EAAC Plus, and said time aligning the packets is performed by estimating the time instance for an (i+1)th frame in the stream as:
t(i+1)=(i*2048*number_of_raw_data_blocks_in_frame)/sampling_frequency

### Claim 4 (depends on 1)

The method of claim 1, wherein each stream is encoded with EAAC Plus, and said time aligning the packets is performed by estimating the time instance for an (i+1)th frame in the stream by keeping a cumulative estimate of the total number of raw data blocks till the ith frame as follows:
total_number
⁢
_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
i
=
∑
k
=
1
k
=
i
number_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
k
and estimating:
t
⁡
(
i
+
1
)
′
=
(
2048
*
total_number
⁢
_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
i
)
sampling_frequency

### Claim 5 (depends on 1)

The method of claim 1, wherein said time aligning is performed by operating upon data in a frame header of the stream.

### Claim 6 (depends on 5)

The method of claim 5, wherein each stream is encoded with EAAC Plus, and said data includes one or more of: sampling_frequency_index, frame_length, adts_buffer_fullness, and number_of_raw_data_blocks_in_frame.

### Claim 7 (depends on 1)

The method of claim 1, wherein said synthesizing composite compressed packets includes decomposing the data from each stream into its components, and separately combining each group of respective components.

### Claim 8 (depends on 7)

The method of claim 7, wherein N=2, and wherein each stream is encoded with EAAC Plus, and wherein packet pairs P(1,i) and P(2,j) can be both partially demultiplexed to identify three subcomponents, AAC Core, SBR, and PS, and wherein the respective subcomponents are combined to generate the composite subcomponents.

### Claim 9 (depends on 8)

The method of claim 8, wherein different combination strategies are used for the three subcomponents.

### Claim 10 (depends on 9)

The method of claim 9, wherein for the SBR and PS subcomponents an AB decision can be made favoring the dominating stream at any given instance, and wherein for the AAC Core subcomponent a more complex combination algorithm is employed.

### Claim 11 (depends on 7, 8, 9, 10)

The method of any of claims 7-10, wherein the composite subcomponent packets are combined to produce a full composite bitstream packet.

### Claim 12

A method for implementing efficient cross-fading between compressed audio input streams, comprising:
identifying a set of frames from each input stream associated with the time interval in which a cross fade;
decoding said set, combining packetwise and recoding with a cross fade or other effect.

### Claim 13 (depends on 12)

The method of claim 12, wherein the only input data that is decoded and processed is that associated with the portion of each stream used in the crossfade, blend or other interstitial, and the remaining data from the input streams is left compressed.

### Claim 14

A non-transitory computer readable medium containing instructions that, when executed by at least one processor of a computing device, cause the computing device to:
obtain parameters for a cross-fade between N audio streams comprising compressed packets;
time align the packets from each stream that are involved in the cross-fade;
synthesize composite compressed packets containing information derived from the N streams; and
present the composite compressed packets to an audio decoder during a cross-fade phase.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein N=2, and said presenting compressed packets to an audio decoder includes multiplexing each of the streams and the synthesized composite compressed packets according to a time index, as follows:
Fort less than or equal to T1, Stream 1;
Fort greater than T1 but less than or equal to T2, synthesized composite compressed packets;
For t greater than T2, Stream2.

### Claim 16 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein each stream is encoded with EAAC Plus, and said time aligning the packets is performed by estimating the time instance for an (i+1)th frame in the stream as:
t(i+1)=(i*2048*number_of_raw_data_blocks_in_frame)/sampling_frequency

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein each stream is encoded with EAAC Plus, and said time aligning the packets is performed by estimating the time instance for an (i+1)th frame in the stream by keeping a cumulative estimate of the total number of raw data blocks till the ith frame as follows:
total_number
⁢
_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
i
=
∑
k
=
1
k
=
i
number_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
k
and estimating:
t
⁡
(
i
+
1
)
′
=
(
2048
*
total_number
⁢
_of
⁢
_raw
⁢
_data
⁢
_blocks
⁢
_in
⁢
_frame
i
)
sampling_frequency
.

### Claim 18 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein said time aligning is performed by operating upon data in a frame header of the stream.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein each stream is encoded with EAAC Plus, and said data includes one or more of: sampling_frequency_index, frame_length, adts_buffer_fullness, and number_of_raw_data_blocks_in_frame.

### Claim 20 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein said synthesizing composite compressed packets includes decomposing the data from each stream into its components, and separately combining each group of respective components.

### Claim at position 21

-28. (canceled)
