CN102376308A - Device and method for processing pulse-code modulation (PCM) digital signals - Google Patents
Device and method for processing pulse-code modulation (PCM) digital signals Download PDFInfo
- Publication number
- CN102376308A CN102376308A CN 201010259262 CN201010259262A CN102376308A CN 102376308 A CN102376308 A CN 102376308A CN 201010259262 CN201010259262 CN 201010259262 CN 201010259262 A CN201010259262 A CN 201010259262A CN 102376308 A CN102376308 A CN 102376308A
- Authority
- CN
- China
- Prior art keywords
- pcm
- digital signal
- central processor
- pcm digital
- bluetooth
- Prior art date
Links
- 230000000051 modifying Effects 0 title 1
- 239000011433 polymer cement mortar Substances 0 abstract 11
- 239000000872 buffers Substances 0 abstract 4
- 238000000034 methods Methods 0 abstract 2
Abstract
Description
处理PCM数字信号的装置及方法 Processing apparatus and method PCM digital signals
【技术领域】 TECHNICAL FIELD
[0001] 本发明涉及一种信号的处理方法,特别涉及一种处理PCM数字信号的装置及方法。 [0001] The present invention relates to a signal processing method, and particularly relates to apparatus and method for processing a PCM digital signal.
【背景技术】 【Background technique】
[0002] 目前,处理PCM(Pulse Code Modulation)数字信号需要单独的PCM硬件模块或者是音频编解码器内部包含PCM模块,这样会相对增加设计成本。 [0002] Currently, treatment PCM (Pulse Code Modulation) PCM digital signal requires a separate hardware module inside or PCM audio codec comprises a module, this relative increase in design cost. 由于PCM硬件模块与音频编解码器、蓝牙之间传输的是模拟信号,抗干扰性较差,信号容易产生失真。 Since the hardware module and PCM audio codec, transmission between Bluetooth is an analog signal, interference is poor, the signal tends to be distorted. PCM数字信号的采样率、增益等由PCM硬件模块来处理,这样硬件处理PCM数字信号的灵活性比使用软件处 PCM sampling rate of the digital signal, a gain or the like by the PCM processing hardware module, so that PCM digital signal processing hardware flexibility than using software at
理的方式有一定差距。 Reasonable way to have a certain gap.
【发明内容】 [SUMMARY]
[0003] 本发明的主要目的在于提供一种成本相对较低、抗干扰性好和处理方式灵活的处理PCM数字信号的装置及方法。 [0003] The main object of the present invention to provide a relatively low-cost, good anti-jamming device and method for processing flexible and PCM digital signal processing.
[0004] 为达到上述目的,本发明的一种处理PCM数字信号的装置,所述装置包括音频编解码器、中央处理器、蓝牙,所述中央处理器与所述音频编解码器连接,所述中央处理器与所述蓝牙连接。 [0004] To achieve the above object, an apparatus for processing a digital PCM signal of the invention, the apparatus comprises an audio codec, a central processor, a Bluetooth, and a central processor connected to the audio codec, the said central processor is connected to the Bluetooth. 从音频编解码器传送PCM数字信号到蓝牙时,所述中央处理器从音频编解码器读取PCM数字信号于第一缓冲区,中央处理器对第一缓冲区的PCM数字信号进行处理, 中央处理器将处理后的PCM数字信号传送给蓝牙。 Transmit PCM digital audio signal from the codec to Bluetooth, the central processor reads the PCM digital signal from the audio codec to the first buffer, the central processor of a digital PCM signal of the first buffer is processed, the central processor PCM digital signal processing is transmitted to the Bluetooth. 从蓝牙传送PCM数字信号到音频编解码器时,所述中央处理器从蓝牙读取PCM数字信号于第二缓冲区,中央处理器对第二缓冲区的PCM数字信号进行处理,中央处理器将处理后的PCM数字信号传送给音频编解码器。 The central processor reads the PCM digital signals from the PCM digital signal to the Bluetooth transmission when the audio codec to the second buffer from the Bluetooth, the central processor of the second buffer PCM digital signal processing, the central processing unit transmit PCM digital signal processing to the audio codec.
[0005] 本发明的另外一个目的在于提供一种处理PCM数字信号的方法,所述方法通过处理PCM数字信号的装置实现,所述处理PCM数字信号的方法包括: [0005] Another object of the present invention to provide a method for processing a PCM digital signal, the method is implemented by a PCM digital signal processing apparatus, the PCM digital signal processing method comprising:
[0006] 从所述音频编解码器传送PCM数字信号到蓝牙时, [0006] transmitting digital signals from the PCM audio codec when the Bluetooth,
[0007] 步骤(100),所述中央处理器从音频编解码器读取PCM数字信号于第一缓冲区; [0007] Step (100), the central processor reads the PCM digital signal from the audio codec to a first buffer;
[0008] 步骤(101),中央处理器对第一缓冲区的PCM数字信号进行处理; [0008] Step (101), the central processor of a digital PCM signal of the first buffer is processed;
[0009] 步骤(102),中央处理器将处理后的PCM数字信号传送给蓝牙; [0009] Step (102), the central processor PCM digital signal processing is transmitted to the Bluetooth;
[0010] 从所述蓝牙传送PCM数字信号到音频编解码器时, [0010] audio codec to said PCM digital signals from Bluetooth transmission,
[0011] 步骤000),所述中央处理器从蓝牙读取PCM数字信号于第二缓冲区; [0011] Step 000), the central processor reads the PCM digital signals in a second buffer from the Bluetooth;
[0012] 步骤(201),中央处理器对第二缓冲区的PCM数字信号进行处理; [0012] Step (201), the central processor of the PCM digital signal for processing the second buffer;
[0013] 步骤(20¾,中央处理器将处理后的PCM数字信号传送给音频编解码器。 [0013] Step (20¾, the central processor PCM digital signal processing to the audio codec.
[0014] 与现有技术相比较,本发明的一种处理PCM数字信号的装置及方法利用中央处理器处理PCM数字信号,而省去了PCM硬件模块从而节省了成本,由于中央处理器和蓝牙、音频编解码器之间传输的都是PCM数字信号,因此具有更好的抗干扰性。 [0014] Compared with the prior art, apparatus and method for processing a PCM digital signal processor according to the present invention utilizes a central processing PCM digital signal, and thereby eliminating the need for hardware module PCM cost savings, since the central processor and the Bluetooth , PCM digital signals are transmitted between the audio codec, and therefore has better immunity. 另外,通过中央处理器用软件处理PCM数字信号,达到了更加灵活处理所述PCM数字信号的目的。 Further, by a central PCM digital signal processor software, a more flexible process to achieve the purpose of the PCM digital signal. 【附图说明】 BRIEF DESCRIPTION
[0015] 图1是处理PCM数字信号的装置的方框图。 [0015] FIG. 1 is a block diagram of the processing apparatus PCM digital signal.
[0016] 图2是从音频编解码器传送PCM数字信号到蓝牙时处理PCM数字信号方法的流程图。 [0016] FIG. 2 is a PCM digital signals transmitted from the audio codec flowchart PCM digital signal processing method for Bluetooth.
[0017] 图3是从蓝牙传送PCM数字信号到音频编解码器时处理PCM数字信号方法的流程图。 [0017] FIG. 3 is a flowchart of a method of a digital signal to the PCM codec processes audio PCM digital signals transmitted from the Bluetooth.
【具体实施方式】 【Detailed ways】
[0018] 请参阅图1至图3,本发明的一种处理PCM数字信号的装置,所述装置包括音频编解码器11、中央处理器12、蓝牙13,所述中央处理器12与所述音频编解码器11连接,所述中央处理器12与所述蓝牙13连接。 [0018] Please refer to FIG. 1 to FIG. 3, an apparatus for processing a digital PCM signal of the invention, the apparatus includes an audio codec 11, the central processor 12, Bluetooth 13, the central processor 12 and the audio codec 11 is connected to the central processor 12 is connected to the 13 Bluetooth. 从音频编解码器11传送PCM数字信号到蓝牙13时,所述中央处理器12从音频编解码器11读取PCM数字信号于第一缓冲区121,中央处理器12 对第一缓冲区121的PCM数字信号进行处理,中央处理器12将处理后的PCM数字信号传送给蓝牙13。 11 transmits the digital signal from the PCM audio codec 13 to the Bluetooth, the central processor 12 from the audio codec 11 reads PCM digital signal to the first buffer 121, the CPU 12 of the first buffer 121 PCM digital signal processing, the PCM digital signal is transmitted to the central processor 12 to process 13 Bluetooth. 从蓝牙13传送PCM数字信号到音频编解码器11时,所述中央处理器12从蓝牙13读取PCM数字信号于第二缓冲区122,中央处理器12对第二缓冲区122的PCM数字信号进行处理,中央处理器12将处理后的PCM数字信号传送给音频编解码器11。 13 from a Bluetooth transmission signal to PCM digital audio codec 11, the CPU 12 reads the Bluetooth PCM digital signal 13 from 122, the central processor 12 of the second PCM digital signals in the second buffer 122 buffer processing, PCM digital signal is transmitted to the central processor 12 to process the audio codec 11.
[0019] 本发明的另外一个目的在于提供一种处理PCM数字信号的方法,所述方法通过处理PCM数字信号的装置实现,所述处理PCM数字信号的方法包括: [0019] Another object of the present invention to provide a method for processing a PCM digital signal, the method is implemented by a PCM digital signal processing apparatus, the PCM digital signal processing method comprising:
[0020] 从所述音频编解码器11传送PCM数字信号到蓝牙13时, [0020] The PCM 11 transmits a digital signal from the audio codec 13 to the Bluetooth,
[0021] 步骤100,所述中央处理器12从音频编解码器11读取PCM数字信号于第一缓冲区121 ; [0021] Step 100, the CPU 12 reads from the audio codec 11 PCM digital signal to the first buffer 121;
[0022] 步骤101,中央处理器12对第一缓冲区121的PCM数字信号进行处理; [0022] Step 101, the central PCM digital signal processor 12 for processing the first buffer 121;
[0023] 步骤102,中央处理器12将处理后的PCM数字信号传送给蓝牙13 ; [0023] Step 102, the digital PCM 12 transmits the processed signals to the central processor 13 Bluetooth;
[0024] 从所述蓝牙13传送PCM数字信号到音频编解码器11时, [0024] Bluetooth transmission from the 13 PCM digital signal to the audio codec 11,
[0025] 步骤200,所述中央处理器12从蓝牙13读取PCM数字信号于第二缓冲区122 ; [0025] Step 200, the CPU 12 reads the PCM digital signals in a second buffer from the Bluetooth 122 13;
[0026] 步骤201,中央处理器12对第二缓冲区122的PCM数字信号进行处理; [0026] Step 201, the central processor 12 of the second buffer 122 PCM digital signal for processing;
[0027] 步骤202,中央处理器12将处理后的PCM数字信号传送给音频编解码器11。 [0027] Step 202, the transmit PCM digital signal to the CPU 12 to process the audio codec 11.
[0028] 由于便携式自动导航设备1没有语音通话功能,如果要利用便携式自动导航设备1进行语音通话,需要利用处理PCM数字信号的装置,所述处理PCM数字信号的装置设于便携式自动导航设备1中,所述处理PCM数字信号的装置连接便携式自动导航设备1中的麦克风14、扬声器15并和手机2通过蓝牙13无线连接,从而利用手机2的语音通话功能进行通话,在进行语音通话时,所述便携式自动导航设备1中的麦克风14发送音频信号到音频编解码器11,所述音频编解码器11对音频信号编码得到PCM数字信号,所述中央处理器12 从音频编解码器11读取PCM数字信号并写入第一缓冲区121中,所述中央处理器12对第一缓冲区121的PCM数字信号进行处理,中央处理器12发送处理后的PCM数字信号给蓝牙13,所述蓝牙13接收到处理后的PCM数字信号后以无线信号的形式传送给手机2。 [0028] Since the portable automatic navigation apparatus 1 is not a voice call function, if the portable navigation device 1 automatically make voice calls, need to use PCM digital signal processing means, said signal processing means is provided in the PCM digital portable automatic navigation apparatus 1 apparatus, the PCM digital signal processing automatically connecting the portable navigation device 1, the microphone 14, and speaker 15 and a mobile phone 213 via Bluetooth wireless connections, to take advantage of the voice phone call function 2 of the call, when a voice call is performed, 1, the portable automatic navigation device 14 sends an audio signal to the microphone audio codec 11, the audio codec 11 audio PCM signal obtained by coding a digital signal, the CPU 12 reads from the audio codec 11 take PCM digital signal written in the first buffer 121 and the central PCM digital signal processor 12 for processing the first buffer 121, the PCM digital signal after the central processor 12 to the Bluetooth transmission processing 13, the Bluetooth is a digital PCM 13 receives the processed signals transmitted to the mobile phone 2 in the form of a radio signal. 同样,手机2中的音频信号传送到蓝牙13,所述中央处理器12从蓝牙13读取PCM数字信号于第二缓冲区122,中央处理器12对第二缓冲区122的PCM数字信号进行处理,中央处理器12将处理后的PCM数字信号传送给音频编解码器11,所述音频编解码器11经过解码后得到音频信号并发送给所述便携式自动导航设备1中的扬声器15。 Similarly, the audio signal is transmitted to the cell phone 2 Bluetooth 13, 122 of the CPU 12, the CPU 12 the PCM digital signal from the second buffer 122 is processed Bluetooth PCM 13 reads the digital signal from the second buffer , transmit PCM digital signal to the CPU 12 to process the audio codec 11, the audio codec 11 after the decoded audio signal is automatically sent to the portable navigation device 1, a speaker 15.
[0029] 音频编解码器11和蓝牙13中的PCM数字信号的采样率和位速率不相同,从而两种PCM数字信号的传输速率不同,为了保证数据不丢失,所述音频编解码器11和蓝牙13彼此传送的PCM数字信号的数据先储存于第一缓冲区121和第二缓冲区122。 [0029] The audio codec 11 and the Bluetooth PCM sample rate and the bit rate of the digital signals 13 are not the same, so that the transmission rates of the two different PCM digital signal, in order to ensure that data is not lost, the audio codec 11 and PCM digital data signal transmitted to another Bluetooth 13 stored in the first buffer 121 and second buffer 122. 在所述两个缓冲区中PCM数字信号的存储可以采用单链表或循环链表的储存结构。 In the two PCM digital signals stored in the buffer store or a single linked circular list structure may be employed. 所述两个缓冲区的作用还在于将所述PCM数字信号的数据暂存,从而中央处理器12可对所述两个缓冲区中的PCM数字信号的数据进行处理,可调整PCM数字信号的采样率、增益等。 The buffer zone is further characterized by two data temporarily storing said PCM digital signal, so that the central processor 12 may process the digital signal data PCM of the two buffer adjusted PCM digital signal, sample rate, gain and so on. 由于便携式自动导航设备1的系统Windows CE提供了调整PCM数字信号的程序,所述程序包括调整PCM数字信号采样率、增益等的程序,从而中央处理器12可用软件的方式处理所述PCM数字信号,增强了处理PCM数字信号的灵活性。 Because the system is portable automatic navigation apparatus 1 provides the Windows CE PCM digital signal adjustment program, said program comprising adjusting PCM digital signal sample rate, gain, etc. of the program, so that the central processor 12 can process the software instructions PCM digital signal and enhance the flexibility of PCM digital signal processing.
[0030] 此种处理PCM数字信号方法不限于对音频编解码器11和蓝牙13之间的PCM数字信号进行处理,还可以对播放器和蓝牙之间的PCM数字信号进行处理。 [0030] Such a treatment method is not limited to a PCM digital signal to PCM digital signals between 13 and audio codec 11 to process Bluetooth, can also be processed PCM digital signals between the player and Bluetooth.
[0031] 本发明的一种处理PCM数字信号的装置及方法利用中央处理器12处理PCM数字信号,而省去了PCM硬件模块从而节省了成本,由于中央处理器12和蓝牙13、音频编解码器11之间传输的都是PCM数字信号,因此具有更好的抗干扰性。 [0031] A method and apparatus for processing a PCM digital signal, the present invention utilizes a central processor 12 processes the PCM digital signal, and thereby eliminating the need for hardware module PCM cost savings, since the central processor 12 and a Bluetooth 13, an audio codec 11 is transmitted between the digital PCM signal is thus better immunity. 另外,通过中央处理器12用软件处理PCM数字信号,达到了更加灵活处理所述PCM数字信号的目的。 Further, the PCM digital signal processing through the CPU 12 with the software, to achieve the purpose of the process is more flexible PCM digital signal.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010259262 CN102376308A (en) | 2010-08-20 | 2010-08-20 | Device and method for processing pulse-code modulation (PCM) digital signals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010259262 CN102376308A (en) | 2010-08-20 | 2010-08-20 | Device and method for processing pulse-code modulation (PCM) digital signals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102376308A true CN102376308A (en) | 2012-03-14 |
Family
ID=45794813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010259262 CN102376308A (en) | 2010-08-20 | 2010-08-20 | Device and method for processing pulse-code modulation (PCM) digital signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102376308A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721698A (en) * | 2016-02-19 | 2016-06-29 | 广东欧珀移动通信有限公司 | Audio playing method and device, and mobile terminal |
CN106354556A (en) * | 2016-08-26 | 2017-01-25 | 深圳市优必选科技有限公司 | Audio transmission method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1635468A (en) * | 2003-12-29 | 2005-07-06 | 中国电子科技集团公司第三十研究所 | Sound card based modulation-demodulation method and system |
CN1898725A (en) * | 2003-12-22 | 2007-01-17 | 索尼爱立信移动通讯股份有限公司 | Multi-mode audio processors and methods of operating the same |
CN101030132A (en) * | 2007-01-31 | 2007-09-05 | 北京中星微电子有限公司 | Audio-frequency outputting method and system |
WO2008143870A1 (en) * | 2007-05-14 | 2008-11-27 | Kopin Corporation | Mobile wireless display for accessing data from a host and method for controlling |
CN201307915Y (en) * | 2008-11-18 | 2009-09-09 | 江阴和普微电子有限公司 | Wireless digital audio/video transmission apparatus as well as transmitting terminal and receiving terminal thereof |
-
2010
- 2010-08-20 CN CN 201010259262 patent/CN102376308A/en not_active Application Discontinuation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1898725A (en) * | 2003-12-22 | 2007-01-17 | 索尼爱立信移动通讯股份有限公司 | Multi-mode audio processors and methods of operating the same |
CN1635468A (en) * | 2003-12-29 | 2005-07-06 | 中国电子科技集团公司第三十研究所 | Sound card based modulation-demodulation method and system |
CN101030132A (en) * | 2007-01-31 | 2007-09-05 | 北京中星微电子有限公司 | Audio-frequency outputting method and system |
WO2008143870A1 (en) * | 2007-05-14 | 2008-11-27 | Kopin Corporation | Mobile wireless display for accessing data from a host and method for controlling |
CN201307915Y (en) * | 2008-11-18 | 2009-09-09 | 江阴和普微电子有限公司 | Wireless digital audio/video transmission apparatus as well as transmitting terminal and receiving terminal thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721698A (en) * | 2016-02-19 | 2016-06-29 | 广东欧珀移动通信有限公司 | Audio playing method and device, and mobile terminal |
CN106354556A (en) * | 2016-08-26 | 2017-01-25 | 深圳市优必选科技有限公司 | Audio transmission method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9940923B2 (en) | Voice and text communication system, method and apparatus | |
US8972251B2 (en) | Generating a masking signal on an electronic device | |
CN1881821B (en) | Method and system for wireless communication | |
US8155335B2 (en) | Headset having wirelessly linked earpieces | |
AU2009342798B2 (en) | Method for establishing short-range, wireless communication between a mobile phone and a hearing aid | |
CN102770909A (en) | Voice activity detection based on plural voice activity detectors | |
WO2006028587A3 (en) | Headset for separation of speech signals in a noisy environment | |
TW548929B (en) | Method and apparatus for voice latency reduction in a voice-over-data wireless communication system | |
WO2008150756A1 (en) | Method and system to configure audio processing paths for voice recognition | |
US8265297B2 (en) | Sound reproducing device and sound reproduction method for echo cancelling and noise reduction | |
CN101459717A (en) | Wireless terminal and method for implementing multi-channel multiplexing | |
US8805454B2 (en) | Dynamically provisioning a device | |
US20050186993A1 (en) | Communication apparatus for playing sound signals | |
US20100332003A1 (en) | Controlling audio players using environmental audio analysis | |
US20150281853A1 (en) | Systems and methods for enhancing targeted audibility | |
US20070019802A1 (en) | Audio data stream synchronization | |
CN102149039A (en) | Control of audio system via context sensor | |
JP2010068406A (en) | Streaming data reproducing apparatus with short range radio communication function | |
US20180240468A1 (en) | Voice processing method and device | |
CN102724590A (en) | Method for audio processing, digital television terminal and system | |
US20080306736A1 (en) | Method and system for a subband acoustic echo canceller with integrated voice activity detection | |
EP2130203A2 (en) | Method of transmitting data in a communication system | |
CN103297824A (en) | Video processing method, dongle, control terminal and system | |
US20110065484A1 (en) | Wireless mobile communication devices, chipsets, and hands-free mode controlling methods thereof | |
JP4459253B2 (en) | Communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
C10 | Entry into substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) |