Audio Data Transmission Using Bit Width Field Alignment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In audio data transmission using pulse code modulation (PCM), the requirement for matching parameters between the sending and receiving ends is high, leading to potential transmission errors and noise due to parameter mismatches.
Innovation Solution
An audio data transmission method and apparatus that determine and align the sampling frequency, number of slots, and bit width of audio data, using clock signals and data bit width conversion to ensure compatibility between devices, allowing for flexible and error-free transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If strict parameter matching is required between sending and receiving ends, then transmission reliability is improved, but device adaptability deteriorates
Solution Approach 1:
The patent changes the parameter representation by introducing a bit width field in the audio data frame structure. This field explicitly indicates the bit width of audio data, allowing the receiving end to correctly interpret audio data with different bit widths without requiring strict parameter matching. The sending end can transmit audio data with various bit widths (e.g., 16-bit, 24-bit, 32-bit) while the receiving end uses the bit width field to properly process the data, thus improving device adaptability while maintaining transmission reliability.
2Manufacturing precision
If parameter matching is enforced, then audio quality is improved, but system complexity increases
Solution Approach 1:
The patent implements a self-service mechanism where the audio data frame includes a bit width field that automatically provides the necessary parameter information. The receiving end simply reads this field to determine how to process the audio data, eliminating the need for complex pre-negotiation or configuration systems. This self-describing approach maintains audio quality by ensuring correct parameter interpretation while keeping the system simple and easy to implement.
3Adaptability or versatility
If flexible parameter transmission is allowed, then device compatibility is improved, but risk of transmission errors increases
Solution Approach 1:
The patent introduces a bit width field as an intermediary element between the audio data and the processing logic. This field acts as a mediator that carries essential parameter information, enabling the receiving end to correctly handle audio data with different bit widths. By using this intermediary, the system achieves flexible device compatibility while maintaining transmission accuracy, as the bit width field provides explicit guidance for proper data interpretation without requiring complex error handling mechanisms.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present disclosure relates to an audio data transmission method and apparatus. The method includes: determining a frequency of sampling of audio data to be processed as a clock frequency of a first clock signal; determining a clock frequency of a second clock signal according to the clock frequency of the first clock signal, a number of slots of the audio data to be processed and a preset audio data occupying bit width; determining a duration of a high level in each cycle of the first clock signal according to the clock frequency of the second clock signal and the number of slots; and outputting the processed audio data according to a pulse code modulation (PCM) timing determined by the clock frequency of the first clock signal, the clock frequency of the second clock signal and the duration of the high level in each cycle of the first clock signal.