Virtual Audio Clock Synchronization for Accurate Network Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing solutions for synchronized playback of audio or video in peer-to-peer computer networks are not accurate, often relying on synchronized system clocks or specialized hardware.
Innovation Solution
The implementation of a virtual clock system that allows for time synchronization between devices without requiring synchronized primary system clocks, enabling direct synchronization of audio clocks for improved accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If system clocks are synchronized to achieve audio playback synchronization, then devices can play synchronously, but the synchronization accuracy is insufficient
Solution Approach 1:
The patent introduces a virtual clock as an intermediary between system clocks and audio playback timing. This virtual clock is synthesized based on audio data characteristics and serves as a mediator that decouples the audio synchronization from the imprecise system clock, thereby improving synchronization accuracy without direct dependency on system clock reliability
Solution Approach 2:
Instead of directly using the system clock for audio synchronization, the patent creates a virtual copy of the timing reference that is specifically tailored for audio playback. This virtual clock copies the essential timing function but improves upon it by synthesizing time values based on actual audio data characteristics, achieving better accuracy than the original system clock
2Measurement precision
If dedicated hardware is used for each node to achieve precise synchronization, then synchronization accuracy improves, but device complexity and cost increase
Solution Approach 1:
The patent replaces the mechanical hardware clock synchronization system with a software-based virtual clock synthesis system. Instead of using dedicated hardware clocks at each node, the invention uses software to synthesize virtual clock time values based on audio data characteristics, achieving comparable or better synchronization accuracy without the complexity of specialized hardware
Solution Approach 2:
The virtual clock system serves multiple functions: it acts as a timing reference for audio playback, a synchronization coordinator for networked devices, and an adaptive controller that adjusts to varying audio characteristics. This multi-functionality replaces what would traditionally require multiple separate hardware components
3Ease of operation
If system clock adjustments are made to achieve synchronization, then playback can be coordinated, but the process becomes complex and less accurate
Solution Approach 1:
Instead of adjusting system clocks to achieve synchronization (traditional approach), the patent inverts the approach by having devices synthesize virtual clock time values that inherently account for network variations and audio characteristics. This inversion eliminates the need for complex system clock adjustments while achieving higher accuracy
Data Source
AI summary
The invention provides a method for providing a synchronization in a computer network for synchronized playback of audio an/or video by a plurality of separate devices. Each separate device generates a virtual clock in response to a timing of the audio codec of a received audio stream. Especially, segmented time is used as reference time. Either the virtual clock is generated directly in response to the tick counter of the audio codec, or by a periodic measurement of the timing of the audio codec extrapolated by a monotonic clock. A sample rate converter may be used to slightly adjust the frequency of the virtual clock.


