Audio Stream Click Detection and Sample Replacement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Audio recordings often contain annoying short-duration spikes known as clicking sounds, caused by electric instability or mechanical movement, which are difficult to eliminate effectively with existing technologies.

Innovation Solution

A method and apparatus that delay audio samples in a sliding window, detect clicking sounds by comparing maximum values with filtered values, replace affected samples with substitute data, and use a counter and edge detector to identify and remove clicks, ensuring minimal impact on audio quality and low computational requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Object-affected harmful factors

If clicking sounds are removed using traditional methods, then audio quality may be preserved, but the clicking sounds cannot be effectively eliminated

Engineering Contradiction:
Improveclicking soundsVSAvoideffectiveness of removal
Core Design Contradiction:
Object-affected harmful factorsVSReliability

Solution Approach 1:

The patent changes the parameter of detecting not just the maximum absolute value but also the rate of change (derivative) of the signal. By monitoring both the amplitude and its temporal derivative, the system can distinguish clicking sounds (which have high magnitude and sharp transitions) from normal audio content, effectively eliminating clicks while preserving audio quality.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical or simple threshold-based click detection methods with a more sophisticated detection mechanism that uses mathematical operations (maximum value detection, derivative calculation, and threshold comparison). This substitution enables more reliable click detection and removal effectiveness.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Object-affected harmful factors

If complex click detection algorithms are used, then clicking sounds can be effectively removed, but computational complexity and processing time increase

Engineering Contradiction:
Improveclicking soundsVSAvoiddetection algorithm complexity
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The patent segments the click detection process into distinct functional blocks: a maximum value detector that tracks the peak amplitude, a derivative calculator that computes the rate of change, and a comparator that evaluates against thresholds. This segmentation makes the complex detection algorithm more manageable and implementable in real-time systems.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary computation of the signal derivative and maintains a running maximum value before actual click detection is needed. By pre-calculating these parameters and storing them in registers, the system reduces the computational burden during real-time operation, lowering overall complexity while maintaining effectiveness.

Inventive Principle:
Principle #10Preliminary action

3Object-affected harmful factors

If real-time click detection is implemented, then clicking sounds can be removed during recording, but processing speed requirements increase

Engineering Contradiction:
Improveclicking soundsVSAvoidprocessing speed
Core Design Contradiction:
Object-affected harmful factorsVSSpeed

Solution Approach 1:

The patent implements continuous tracking of the maximum value and its derivative throughout the recording process, rather than analyzing segments after recording. This continuous action ensures that clicks are detected and can be removed in real-time as they occur, maintaining processing speed requirements at manageable levels.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The detection system uses the audio signal itself to generate the detection parameters (maximum value and derivative) without requiring external reference signals or complex preprocessing. The signal self-services by providing its own features for detection, reducing external processing requirements and improving speed.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8311229B2Reduction of clicking sounds in audio data stream
Publication Date: 2012.11.13 MICROSEMI SEMICON
  • US8311229B2 patent drawing
  • US8311229B2 patent drawing
  • US8311229B2 patent drawing

AI summary

Disclosed is a method of reducing clicking sounds in an audio data stream. The samples of the audio data are delayed by a predetermined amount in a sliding window containing a predetermined number of samples. The presence of a clicking sound in the delayed data within said sliding window is detected and the corresponding audio data replaced by substitute data derived from the audio data stream.