Audio Stream Timestamp Control for Wireless Sample Rate Sync

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current audio streaming systems face challenges in synchronizing the sampling rate of audio sources and sinks, leading to buffer overflow or underflow, which results in audio artifacts and distortions, particularly in binaural systems where image shift and psycho-acoustic effects occur due to varying device delays.

Innovation Solution

A time-stamp based controller is implemented to adjust the sampling rate of electronic devices, using arrival and departure time-stamps to calculate an adjustment stimulus for the sample rate actuator, ensuring synchronization with external packet rates and maintaining constant device delay, thereby preventing buffer overflow or underflow and audio distortions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the sampling rate of audio sources and sinks is not synchronized, then the system operates independently without complex synchronization mechanisms, but buffer overflow or underflow occurs leading to audio artifacts and distortions

Engineering Contradiction:
Improveaudio stream synchronizationVSAvoidsynchronization control mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a feedback mechanism where the controller continuously monitors the device delay by comparing arrival timestamps and departure timestamps, calculates the actual sampling rate, and generates adjustment stimuli to correct deviations from the target sampling rate. This closed-loop feedback system ensures reliable synchronization while maintaining manageable complexity through automated error correction.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-adjustment by automatically calculating device delay, determining sampling rate deviations, and generating correction signals without external intervention. The controller autonomously maintains synchronization by continuously adjusting the sampling rate based on real-time performance measurements, eliminating the need for complex manual synchronization protocols.

Inventive Principle:
Principle #25Self-service

2Reliability

If device delay varies in binaural systems, then the system structure remains simple, but image shift and psycho-acoustic effects occur due to unsynchronized audio streams

Engineering Contradiction:
Improvebinaural synchronizationVSAvoiddelay control mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The controller measures device delay by comparing timestamps and uses this feedback to adjust the sampling rate in both audio sinks, ensuring synchronized playback. This feedback-driven approach maintains consistent device delay across binaural systems, preventing image shift and psycho-acoustic effects while keeping the control mechanism manageable through automated adjustment.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system aims to equalize device delay across both audio sinks by adjusting their sampling rates to match the target rate. By maintaining equivalent timing conditions in both channels, the system prevents desynchronization artifacts while using a relatively simple timestamp-based measurement and adjustment mechanism.

Inventive Principle:
Principle #12Equipotentiality

3Measurement precision

If timestamp-based control is implemented to maintain high accuracy device delay, then synchronization precision improves to within 10 microseconds, but the complexity of timestamp processing and calculation increases

Engineering Contradiction:
Improvedevice delay accuracyVSAvoidtimestamp processing mechanism
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system achieves high measurement precision through automated timestamp processing where the controller independently reads timestamps, calculates device delay, determines sampling rate deviations, and generates adjustment stimuli without external intervention. This self-service approach maintains 10 microsecond accuracy while managing processing complexity through a unified automated control algorithm.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11910337B2Synchronization of audio streams and sampling rate for wireless communication
Publication Date: 2024.02.20 STARKEY LABORATORIES INC
  • US11910337B2 patent drawing
  • US11910337B2 patent drawing
  • US11910337B2 patent drawing

AI summary

Disclosed herein, among other things, are methods and apparatus for providing a time-stamp based controller for synchronization of sink or source sampling rate with external packet rate. A method for wireless communications includes receiving a transmission of a packet using a wireless transceiver of an electronic device, and using a processor of the electronic device to read a first value of a system timer and store the first value as an arrival time-stamp. The packet is decoded and processed by the processor, and sent to an output. When the processed packet is sent, a second value of the system timer is read, adjusted and stored as a departure time-stamp. The arrival time-stamp and the departure time-stamp are used to calculate an adjustment stimulus for a sample rate actuator of the electronic device. The sample rate actuator is configured to maintain synchronization of sampling rate with an external packet rate.