# US 2017/0289231 A1 · Clock Synchronization Techniques Including Modification of Sample Rate Conversion

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

- Number: US 2017/0289231 A1
- Document ID: US20170289231A1
- Status: Published application
- Kind: A1
- Application number: 15/436,401
- Filed: 2017-02-17
- Published: 2017-10-05
- Earliest claimed: 2015-09-30
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Richard M. Powell; Ashley I. Butterworth; Anthony J. Guetta; Daniel C. Klingler; Jeffrey C. Moore; Alexander C. Powers
- Web page: https://patentgrep.com/patent/US20170289231A1

## CPC

- H04N 21/43076: {of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices}
- H04N 21/234381: {by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping}
- H04N 21/242: Synchronisation processes, e.g. processing of PCR [Programme Clock References] {(arrangements for synchronising broadcast or distribution via plural systems in broadcast distribution systems H04H20/18)}
- H04N 21/4302: {Content synchronisation processes, e.g. decoder synchronisation}
- H04N 21/4305: {Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets (arrangements for synchronising receiver with transmitter by comparing receiver clock with transmitter clock H04L7/0012; arrangements for synchronising receiver with transmitter wherein the receiver takes measures against momentary loss of synchronisation H04L7/0083)}
- H04N 21/43615: {Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals (home Audio Video Interoperability [HAVI] data switching networks H04L12/2805)}
- H04N 21/439: Processing of audio elementary streams
- H04N 21/440281: {by altering the temporal resolution, e.g. by frame skipping (television signal recording using magnetic recording on tape for reproducing at a rate different from the recording rate H04N5/783)}
- H04N 21/643: Communication protocols {(network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP], H04L65/65)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods and systems provide control of media synchronization using time stamp pairs. In an embodiment, a first device may request a time stamp from a second device. The first device may determine any de-synchronization between the first and second devices based on the requested time stamp and characteristics of the request. The first device may define a rate scalar based on the determined de-synchronization. A sample rate conversion may be performed for the first device based on the rate scalar such that the outputs of the first device and the second device are synchronized.

## Claims

### Claim 1

A media player, comprising:
an output system, operating according to a local clock of the media player, having an output device for a component of a media item,
a media processing system to decode the media item and outputting component data of the media item to the output system, and
a time synchronization manager, to communicate with another media player and estimate relative skew between them of output operations involving the component and to alter operations of the player to compensate for the skew.

### Claim 2 (depends on 1)

The media player of claim 1, wherein
the output system is a video output system, and
the altered operations comprises altering a frame rate of the video output system.

### Claim 3 (depends on 1)

The media player of claim 1, wherein
the output system is an audio output system, and
the altered operations comprises deriving a new audio component signal at an audio sampling rate that compensates for the skew.

### Claim 4 (depends on 1)

The media player of claim 1, wherein the altered operation includes altering a rate of the local clock.

### Claim 5

A system, comprising:
a time synchronization manager configured to:
determine a difference between a first sample rate of the system and a second sample rate of an external device; and
determine a rate scalar based on the difference between the first sample rate and the second sample rate;
a clock device communicatively coupled to the time synchronization manager and configured to define the first sample rate;
a sample rate converter configured to convert a received signal to an output signal based on the rate scalar;
input/output hardware configured to output the output signal synchronously with output of the external device.

### Claim 6 (depends on 5)

The system of claim 5, wherein a protocol for a first communication link between the system and the external device and a protocol for a second communication link between the system and the external device are different from each other.

### Claim 7 (depends on 5)

The system of claim 5, wherein the protocol for the first communication link includes at least one of: Internet Authentication Service (IAS), Precision Time Protocol (PTP), and serial time protocol (STP).

### Claim 8 (depends on 5)

The system of claim 5, wherein the protocol for the second communication link includes at least one of: Internet Authentication Service (IAS), Precision Time Protocol (PTP), and serial time protocol (STP).

### Claim 9 (depends on 5)

The system of claim 5, wherein the received signal is an audio signal.

### Claim 10 (depends on 5)

The system of claim 5, wherein the received signal is a video signal.

### Claim 11 (depends on 5)

The system of claim 5, wherein the received signal is a light signal.

### Claim 12 (depends on 5)

The system of claim 5, wherein the output signal is an audio signal.

### Claim 13 (depends on 5)

The system of claim 5, wherein the output signal is a video signal.

### Claim 14 (depends on 5)

The system of claim 5, wherein the output signal is a light signal.

### Claim 15 (depends on 5)

The system of claim 5, wherein the input/output hardware is a microphone.

### Claim 16 (depends on 5)

The system of claim 5, wherein the input/output hardware is a speaker.

### Claim 17 (depends on 5)

The system of claim 5, wherein the input/output hardware is a renderer.

### Claim 18

A media synchronization method implemented by a computer, comprising:
receiving a signal;
determining a first sample rate of an external device;
calculating a difference between a second sample rate of the computer and the first sample rate;
determining a rate scalar based on the calculated difference;
converting the received signal by applying the rate scalar; and
outputting the converted signal such that the output signal is synchronized with an output of the external device.

### Claim 19 (depends on 18)

The method of claim 18, wherein the calculating a difference between the first sample rate and the second sample rate includes:
sending a query to the external device at a first time;
receiving a response to the query at a second time;
determining a delay of a network over which the query is sent;
determining a level of de-synchronization based on a difference between the first time and the second time less the network delay; and
determining the difference between the first sample rate and the second sample rate based on the determined level of de-synchronization.

### Claim 20 (depends on 18)

The method of claim 18, wherein a protocol for a first communication link between the computer and the external device and a protocol for a second communication link between the computer and the external device are different from each other.

### Claim 21 (depends on 18)

The method of claim 18, wherein the received signal is an audio signal.

### Claim 22

A non-transitory computer-readable medium storing program instructions that, when executed, cause a processor to perform a method, the method comprising:
receiving a signal;
determining a first sample rate of an external device;
calculating a difference between a second sample rate of the computer and the first sample rate;
determining a rate scalar based on the calculated difference;
converting the received signal by applying the rate scalar; and
outputting the converted signal such that the output signal is synchronized with an output of the external device.

### Claim 23 (depends on 22)

The method of claim 22, wherein a protocol for a first communication link between the computer and the external device and a protocol for a second communication link between the computer and the external device are different from each other.

### Claim 24 (depends on 22)

The method of claim 22, wherein the received signal is an audio signal.
