Electronic device and decoding method of audio data thereof
AssigneeHon Hai Precision Industry Co., Ltd.
InventorCHUN-TE WU
Life of this patent
Estimating the term…
Abstract
A decoding method of audio data is applied to an electronic device. The method includes: calculating difference values of the left and right channel audio signal values; determining time slots, wherein each of the first difference values exceeds a threshold value and a time length of the time slots exceeds a preset time; respectively multiplying the time slots with the left channel audio signal values and the right channel audio signal values to obtains and then making subtraction to obtain DM1˜n; finding a U shaped pattern or an inverse U shaped pattern which meets proportionality from the waveform of DM1˜n; and decoding the written symbol “0” or “1” according to the found U shaped pattern or inverse U shaped pattern.
Claims15
A decoding method of audio data of an electronic device, the method comprising:
- extracting left channel audio signal values in a left channel and right channel audio signal values in a right channel from audio signals of a stereo audio source of an the electronic device;
- respectively filtering the left channel audio signal values and the right channel audio signal values to remove noise signals;
- performing a mathematical operation on the left channel audio signal values and the right channel audio signal values to generate absolute values;
- calculating difference values of the left and right channel audio signal values;
- determining time slots which are formed by a plurality of first audio signal values corresponding to a plurality of first difference values among the difference values, wherein each of the first difference values exceeds a threshold value and a time length of the time slot exceeds a preset time;
- respectively multiplying the time slots with the left channel audio signal values and the right channel audio signal values to obtains and then making subtraction to obtain DM1˜n;
- finding a U shaped pattern or an inverse U shaped pattern which meets proportionality from the waveform of DM1˜n;
- and
- decoding the written symbol “0” or “1” according to the found U shaped pattern or inverse U shaped pattern.
An electronic device, comprising:
- an audio extraction module to extract left channel audio signal values in a left channel and right channel audio signal values in a right channel from audio signals of a stereo audio source of an the electronic device;
- a LPF module to filter the left channel audio signal values and the right channel audio signal values to remove noise signals;
- an audio processing module to perform a mathematical operation on the left channel audio signal values and the right channel audio signal values to generate absolute values, and calculate difference values of the left and right channel audio signal values;
- a detection module to determine a time slot which is formed by a plurality of first audio signal values corresponding to a plurality of first difference values among the difference values, wherein each of the first difference values exceeds a threshold value and a time length of the time slot exceeds a preset time;
- a decoding module to respectively multiply the time slots with the left channel audio signal values and the right channel audio signal values to obtains and then making subtraction to obtain DM1˜n, find a U shaped pattern or an inverse U shaped pattern which meets proportionality from the waveform of DM1˜n;
- and decode the written symbol “0” or “1” according to the found U shaped pattern or inverse U shaped pattern.
Dependencies are inferred from the claim text.