CN105611402A - Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing - Google Patents
Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing Download PDFInfo
- Publication number
- CN105611402A CN105611402A CN201510971323.XA CN201510971323A CN105611402A CN 105611402 A CN105611402 A CN 105611402A CN 201510971323 A CN201510971323 A CN 201510971323A CN 105611402 A CN105611402 A CN 105611402A
- Authority
- CN
- China
- Prior art keywords
- audio
- passage
- pcm
- data
- pcm audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/86—Arrangements characterised by the broadcast information itself
- H04H20/88—Stereophonic broadcast systems
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Abstract
The invention provides a channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing. The method comprises the steps of: (1) writing multiple paths of audio signals into a PCM audio output interface in original time of transmitting one frame of audio signal, wherein a first part of a bandwidth occupied by each path of audio signal is used for expressing a channel sequence number, and a second part of the bandwidth occupied by each path of audio signal is used for expressing audio data; and (2) according to the channel sequence numbers, feeding the corresponding audio data into audio playing modules of corresponding channels. According to the channel expansion method provided by the invention, under the condition of no increasing the PCM physical interface, supporting on multipath audio playing by a single processor is achieved, and not only cost is saved, but also the interface is simple to manage and channels are flexible to control.
Description
Technical field
The present invention relates to audio transmission field, especially relate to a kind of passage expansion of supporting that multichannel pcm audio is playMethod.
Background technology
PCM is pulse code modulation (PulseCodeModulation). In PCM process, by the simulation letter of inputNumber sample, quantize and encode, the number of encoding with binary system carrys out the amplitude of representative simulation signal; Receiving terminal againThese codings are reduced to original analog signal. Pcm interface, as one of conventional COBBAIF, is widely used.Application model mostly is uniprocessor single audio frequency tunneling traffic at present, when with Multi-audio-frequency tunneling traffic, need to increase processorPCM physical interface, causes physical interface many, and cost increases and complex management.
Summary of the invention
The object of the invention is to: the problem existing for prior art, provides a kind of and support multichannel pcm audio to broadcastThe passage extended method of putting, has solved in the situation that not increasing physical interface, and uniprocessor is supported MCVF multichannel voice frequency outputProblem.
Goal of the invention of the present invention is achieved through the following technical solutions:
Support the passage extended method that multichannel pcm audio is play, it is characterized in that, the method comprising the steps of:
(1) within the original time of transmitting a frame audio signal, write multipath audio signal to pcm audio output interface,The front portion of the shared bandwidth of every road audio signal is used for representing that channel position, rear portion are for representing voice data;
(2) according to channel position, corresponding voice data is sent into the audio playing module of respective channel.
As further technical scheme, the quantity that writes multipath audio signal is 2~8 tunnels.
As further technical scheme, every road audio signal takies 16 bit bandwidth, and wherein most-significant byte bit bandwidth is usedIn representing that channel position, least-significant byte bit bandwidth are used for representing voice data.
As further technical scheme, the audio frequency of corresponding voice data being sent into respective channel according to channel position is broadcastThe step of amplification module comprises: deposits in register by frame 16 Bit datas of going here and there and change Ba Yi road audio signal,Judge selector channel according to most-significant byte data, after passage is selected, corresponding least-significant byte data are deposited in to this passage correspondenceThe register of 8 in, each passage sends to corresponding pcm audio output the voice data in register separately and connectsMouthful.
As further technical scheme, in most-significant byte bit bandwidth, by low 3 binary representation correspondences whereinChannel number.
As further technical scheme, with the frame synchronizing signal of the data clock of 1024KHz, 64KHz to PCMAudio output interface sends voice data, in first data clock cycle after frame synchronizing signal is effective, sends firstIndividual Bit data, the data clock cycle of each 1024KHz sends 1 Bit data, after passage is selected, eachPassage sends to corresponding pcm audio output interface according to the frame frequency of 8KHz the voice data in register separately again.
Compared with prior art, the present invention, in the situation that not increasing PCM physical interface, has realized uniprocessor and has propped upHold MCVF multichannel voice frequency and play, not only saved cost, and interface management is simple, passage control is flexible.
Brief description of the drawings
Fig. 1 is processor P CM interface sequence relation;
Fig. 2 is the detailed design block diagram that PCM subdivision connects.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
The present invention, on the basis of existing uniprocessor list pcm audio output interface, expands by path multiplexing methodMultiple tunnels, each passage shares a physical interface, ensures between each passage complete by the cutting isolation of transmission positionIndependent, be independent of each other. The method, in the situation that not increasing PCM physical interface, has realized uniprocessor and has supported multichannelAudio frequency is play, and has not only saved cost, and interface management is simple, passage control is flexible.
The present invention utilizes the wide pcm audio output interface of 16 words of processor, supports the highest 8 tunnel 8 bit PCMsThe broadcasting of audio frequency. By improving the PCM signal input rate of processor, in the original time of transmitting a frame audio signalInteriorly write 8 tunnel audio signals (certainly also can write the audio signal that is less than 8 tunnels) to pcm audio output interface, everyRoad audio signal takies 16 bit bandwidth (8 bits are for channel position, and 8 bits are for transfer of data), PCM thingThe audio signal of reason interface output is assigned to 1~8 road audio frequency by the shunt selector of a 1:8 by channel position and plays mouldPiece. In the time of certain paths absence of audio output, fill by full 0 its transfer of data position, has realized Play Control flexibly.
During to multichannel audio plays, Acquisition channel information (channel position, voice data), each time cycle is by soundFrequency file information is filled in the position corresponding to this passage, until audio frequency finishes playing.
Processor P CM interface sequence, as shown in Figure 1: PCMCODEC_CLK is the 2MHz being provided by FPGAClock, PCMSCLK is the 1024KHz clock being produced by processor frequency division, frame synchronizing signal PCMSYNC is64KHz. The front 8bit of every frame is channel position, and rear 8bit is pcm audio data.
PCM subdivision connects flow process, as shown in Figure 2: processor P CM interface is with data clock, the 64KHz of 1024KHzFrame synchronizing signal send PCM data, every frame 16bit data, high 8bit is channel position, low 8bit is audio frequency numberAccording to. First data clock cycle after the PCM of processor frame synchronizing signal is effective sends first bit data,The data clock cycle of each 1024KHz sends 1bit data, by going here and there and changing, frame 16bit data is deposited inIn register, judge that according to most-significant byte data (what only use low 3 binary representations were wherein corresponding leads in selector channelRoad sequence number); After passage is selected, corresponding least-significant byte PCM signal is deposited in the register of 8 that this passage is corresponding.Each passage sends to corresponding pcm audio interface according to the frame frequency of 8KHz the PCM data in register separately again.
The foregoing is only preferred embodiment of the present invention,, in order to limit the present invention, not it should be pointed out thatAll any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included in thisWithin bright protection domain.
Claims (6)
1. support the passage extended method that multichannel pcm audio is play, it is characterized in that, the method comprisesStep:
(1) within the original time of transmitting a frame audio signal, write MCVF multichannel voice frequency to pcm audio output interfaceSignal, the front portion of the shared bandwidth of every road audio signal is used for representing that channel position, rear portion are for representing soundAudio data;
(2) according to channel position, corresponding voice data is sent into the audio playing module of respective channel.
2. a kind of passage extended method of supporting that multichannel pcm audio is play according to claim 1, itsBe characterised in that, the quantity that writes multipath audio signal is 2~8 tunnels.
3. a kind of passage extended method of supporting that multichannel pcm audio is play according to claim 1, itsBe characterised in that, every road audio signal takies 16 bit bandwidth, and wherein most-significant byte bit bandwidth is used for representing passage orderNumber, least-significant byte bit bandwidth is used for representing voice data.
4. a kind of passage extended method of supporting that multichannel pcm audio is play according to claim 3, itsBe characterised in that, according to channel position, corresponding voice data sent into the step bag of the audio playing module of respective channelDraw together: deposit in register by frame 16 Bit datas of going here and there and change Ba Yi road audio signal, according to most-significant byteData judge selector channel, after passage is selected, least-significant byte data are accordingly deposited in to this passage corresponding 8In register, each passage sends to corresponding pcm audio output interface the voice data in register separately.
5. a kind of passage extended method of supporting that multichannel pcm audio is play according to claim 4, itsBe characterised in that, in most-significant byte bit bandwidth, with low 3 channel numbers that binary representation is corresponding wherein.
6. a kind of passage extended method of supporting that multichannel pcm audio is play according to claim 4, itsBe characterised in that, with the frame synchronizing signal of the data clock of 1024KHz, 64KHz to pcm audio output interfaceSend voice data, in first data clock cycle after frame synchronizing signal is effective, send first bit numberAccording to, the data clock cycle of each 1024KHz sends 1 Bit data, after passage is selected, and each passageAccording to the frame frequency of 8KHz, the voice data in register is separately sent to corresponding pcm audio output interface again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971323.XA CN105611402A (en) | 2015-12-21 | 2015-12-21 | Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971323.XA CN105611402A (en) | 2015-12-21 | 2015-12-21 | Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105611402A true CN105611402A (en) | 2016-05-25 |
Family
ID=55990887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510971323.XA Pending CN105611402A (en) | 2015-12-21 | 2015-12-21 | Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105611402A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446092A (en) * | 2018-03-06 | 2018-08-24 | 京东方科技集团股份有限公司 | Audio-frequency inputting method, audio output device, equipment and storage medium |
EP3720018A1 (en) * | 2019-04-02 | 2020-10-07 | Beijing Xiaomi Mobile Software Co., Ltd. | Audio data transmission method and apparatus |
CN114785886A (en) * | 2022-06-16 | 2022-07-22 | 荣耀终端有限公司 | Call method using multiple audio devices and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6813777B1 (en) * | 1998-05-26 | 2004-11-02 | Rockwell Collins | Transaction dispatcher for a passenger entertainment system, method and article of manufacture |
CN1881451A (en) * | 1999-01-29 | 2006-12-20 | 先锋公司 | Recording medium and system for recording and reproducing the recording medium |
CN1977511A (en) * | 2004-03-17 | 2007-06-06 | 高通股份有限公司 | High data rate interface apparatus and method |
CN102664015A (en) * | 2012-04-18 | 2012-09-12 | 王正鑫 | Multiple channel audio real-time coding software and hardware scheme based on G726 coding |
-
2015
- 2015-12-21 CN CN201510971323.XA patent/CN105611402A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6813777B1 (en) * | 1998-05-26 | 2004-11-02 | Rockwell Collins | Transaction dispatcher for a passenger entertainment system, method and article of manufacture |
CN1881451A (en) * | 1999-01-29 | 2006-12-20 | 先锋公司 | Recording medium and system for recording and reproducing the recording medium |
CN1977511A (en) * | 2004-03-17 | 2007-06-06 | 高通股份有限公司 | High data rate interface apparatus and method |
CN102664015A (en) * | 2012-04-18 | 2012-09-12 | 王正鑫 | Multiple channel audio real-time coding software and hardware scheme based on G726 coding |
Non-Patent Citations (2)
Title |
---|
肖金秀、蔡均涛编著: "《多媒体技术及应用》", 30 November 2006, 北京:冶金工业出版社 * |
马誌溪: "《电气工程设计 第2版》", 30 September 2012, 北京:机械工业出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446092A (en) * | 2018-03-06 | 2018-08-24 | 京东方科技集团股份有限公司 | Audio-frequency inputting method, audio output device, equipment and storage medium |
CN108446092B (en) * | 2018-03-06 | 2021-10-08 | 京东方科技集团股份有限公司 | Audio output method, audio output device, audio output apparatus, and storage medium |
EP3720018A1 (en) * | 2019-04-02 | 2020-10-07 | Beijing Xiaomi Mobile Software Co., Ltd. | Audio data transmission method and apparatus |
US10877512B2 (en) | 2019-04-02 | 2020-12-29 | Beijing Xiaomi Mobile Software Co., Ltd. | Audio data transmission method and apparatus |
CN114785886A (en) * | 2022-06-16 | 2022-07-22 | 荣耀终端有限公司 | Call method using multiple audio devices and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7995696B1 (en) | System and method for deskewing data transmitted through data lanes | |
CN103141066B (en) | Transmission circuit, reception circuit, transmission method, reception method, communication system and communication method therefor | |
CN102932696B (en) | Satellite-borne high-speed data multiplexer system and realizing method thereof | |
CN101631064B (en) | Method, device and system for sending and receiving data | |
CN101834685B (en) | 1588 message extracting and processing method and equipment | |
CN105611402A (en) | Channel expansion method supporting multipath PCM (Pulse Code Modulation) audio playing | |
CN101692218A (en) | High-speed data transmission method | |
US20160337115A1 (en) | Method for Training Time Slot Synchronization of Nodes in Optical Burst Transport Network, Node Device and Network | |
CN102196321A (en) | Method for transmitting 100GE (100gigabit Ethernet) data in OTN (Optical Transport Network) and data sending device | |
CN102075767B (en) | Video and audio automatic synchronization processing method | |
CN101124756B (en) | System and method for multiplexing PDH and packet data | |
CN101764617B (en) | Coding method of 9B/10B code | |
CN105578585A (en) | Method and apparatus for determining link delay, and communication device | |
CN102104375A (en) | Low voltage differential signaling (LVDS) interface circuit based on field programmable gate array (FPGA) and data transmission method | |
CN105446699A (en) | Data frame queue management method | |
CN106982103B (en) | The method and system of PTP message are controlled in 100G or more optical transport chip | |
CN101631327A (en) | Method for sending and receiving microwave business data, device thereof and transceiver system | |
CN102257834B (en) | Bit width conversion method from time division to space division of otn optical transport network backplane and backplane | |
CN109902000B (en) | Variable speed multi-channel debugging and tracing system, method, equipment and storage medium | |
CN101674145B (en) | Data transmission method and apparatus thereof | |
ES388367A1 (en) | Data transmission over pulse code modulation channels | |
EP3070864B1 (en) | Method and device for transmitting multiple streams of time division traffic | |
CN105718401B (en) | The multiplexing method and system of a kind of multichannel SMII signals to MII signals all the way | |
CN105335315A (en) | Multi-serial data remote transmission device and method | |
CN101136855B (en) | Asynchronous clock data transmission device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160525 |