CN105405443A - Audio signal compression processing system based on APE format and method thereof - Google Patents

Audio signal compression processing system based on APE format and method thereof Download PDF

Info

Publication number
CN105405443A
CN105405443A CN201510696151.XA CN201510696151A CN105405443A CN 105405443 A CN105405443 A CN 105405443A CN 201510696151 A CN201510696151 A CN 201510696151A CN 105405443 A CN105405443 A CN 105405443A
Authority
CN
China
Prior art keywords
ape
storage module
audio signal
module
adaptation coefficient
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
Application number
CN201510696151.XA
Other languages
Chinese (zh)
Inventor
王良全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201510696151.XA priority Critical patent/CN105405443A/en
Publication of CN105405443A publication Critical patent/CN105405443A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/0017Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error

Abstract

The invention provides an audio signal compression processing system based on an APE format and a method thereof. A system configuration register, a state register, a DMA controller, a coefficient storage module, a calculating module, a state storage module and an adaptive coefficient generation module are included. The system configuration register, the state register, the calculating module and the state storage module are connected to the DMA controller. The calculating module is connected to the coefficient storage module and the state storage module respectively. The adaptive coefficient generation module is connected to the coefficient storage module and the state storage module respectively. By using the audio signal compression processing system based on the APE format and the method thereof, through a hardware circuit, a lossless compression processing speed of the audio signal of the APE format is effectively increased; an important usage value is possessed on aspects of electronic products and especially speech recognition service processing; and a user experience is increased.

Description

Based on audio signal compression disposal system and the method for APE form
Technical field
The present invention relates to the technical field of digital signal processing, particularly relate to a kind of audio signal compression disposal system based on APE form and method.
Background technology
APE is as a kind of Lossless Compression audio format, and because there is comparatively morning, in the whole world, particularly there is customer group widely China's Mainland.Irreversibly to delete data different to reduce source file volume from this kind of lossy compression method of MP3 form, and this kind of nondestructive compression type of APE is with the recording mode of more refining to reduce volume, and after reduction, data are the same with source file, thus ensure that the integrality of file.APE is suppressed by software Monkey'saudio and obtains, and developer is MatthewT.Ashland, open source.
Compare same class file format FLAC, APE has the following advantages:
(1) there is debugging ability but do not provide error correction, the harmless and pure of file can be ensured;
(2) compressibility is about 55%, higher than FLAC, and volume is probably the half of former CD, is convenient to store.
In prior art, generally can be carried out the Lossless Compression of audio digital signals by software approach.But, needed the cpu resource of consumption systems by the Lossless Compression of the sound signal of software simulating APE form, cause processing speed relatively slow.For the equipment that hardware performance is not strong, as smart mobile phone, panel computer etc., then Consumer's Experience can be badly influenced.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of audio signal compression disposal system based on APE form and method, the computing velocity of hardware-efficient is utilized to realize the Lossless Compression of the sound signal of APE form fast, improve system processing speed, enhance Consumer's Experience.
For achieving the above object and other relevant objects, the invention provides a kind of audio signal compression disposal system based on APE form, comprise system configuration register and status register, dma controller, coefficient storage module, computing module, state-storage module and adaptation coefficient generation module; Described system configuration register is all connected with described dma controller with described state-storage module with status register, described computing module, described computing module is connected with described state-storage module with described coefficient storage module respectively, and described adaptation coefficient generation module is connected with described state-storage module with described coefficient storage module respectively; Described system configuration register is connected with System control bus with status register, for reading the configuration information of system health information that described System control bus sends and dma controller; Described dma controller is connected with dma bus, for reading the voice data and acceleration mode information that described dma bus sends, and is sent to computing module and state-storage module.Described state-storage module is for storing the acceleration mode information of APE algorithm; Described adaptation coefficient generation module is used for the adaptation coefficient generating APE algorithm according to the acceleration mode information of APE algorithm; Described coefficient storage module is for storing the adaptation coefficient of the APE algorithm of described adaptation coefficient generation module generation; Described computing module is used for performing APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
According to the above-mentioned audio signal compression disposal system based on APE form, wherein: described computing module is calculated by fixed point MAC and realizes.
According to the above-mentioned audio signal compression disposal system based on APE form, wherein: described acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
According to the above-mentioned audio signal compression disposal system based on APE form, wherein: described adaptation coefficient generation module adopts state machine to realize, adopt acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.
According to the above-mentioned audio signal compression disposal system based on APE form, wherein: described coefficient storage module adopts register.
Meanwhile, the present invention also provides a kind of audio signal compression disposal route based on APE form, comprises the following steps:
Step S1, system configuration register and status register read the configuration information of system health information that System control bus sends and dma controller;
The voice data that step S2, dma controller reading DMA bus send and acceleration mode information;
Step S3, adaptation coefficient generation module generate the adaptation coefficient of APE algorithm according to the acceleration mode information of APE algorithm;
Step S4, computing module perform APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
According to the above-mentioned audio signal compression disposal route based on APE form, wherein: described computing module is calculated by fixed point MAC and performs APE algorithm.
According to the above-mentioned audio signal compression disposal route based on APE form, wherein: described acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
According to the above-mentioned audio signal compression disposal route based on APE form, wherein: described adaptation coefficient generation module adopts state machine to realize, adopt acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.
As mentioned above, the audio signal compression disposal system based on APE form of the present invention and method, have following beneficial effect:
(1) processing speed of the Lossless Compression of the sound signal of APE form is effectively improve by hardware circuit;
(2) in electronic product particularly speech recognition business processing, there is important use value;
(3) improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of the audio signal compression disposal system based on APE form of the present invention;
Fig. 2 is shown as the process flow diagram of the audio signal compression disposal route based on APE form of the present invention.
Element numbers explanation
1 system configuration register and status register
2DMA controller
3 coefficient storage modules
4 computing modules
5 state-storage module
6 adaptation coefficient generation modules
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
With reference to Fig. 1, the audio signal compression disposal system based on APE form of the present invention comprises system configuration register and status register 1, dma controller 2, coefficient storage module 3, computing module 4, state-storage module 5 and adaptation coefficient generation module 6.Wherein, system configuration register is all connected with dma controller 2 with state-storage module 5 with status register 1, computing module 4, computing module 4 is connected with state-storage module 5 with coefficient storage module 3 respectively, and adaptation coefficient generation module 6 is connected with state-storage module 5 with coefficient storage module 3 respectively.
System configuration register is connected with System control bus with status register 1, the system health information sent for reading system control bus and the configuration information of dma controller.
Dma controller 2 is connected with dma bus, the voice data sent for reading DMA bus and acceleration mode information, and is sent to computing module 4 and state-storage module 5.
Wherein, acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
State-storage module 5 is for storing the acceleration mode information of APE algorithm.
Adaptation coefficient generation module 6 is for generating the adaptation coefficient of APE algorithm according to the acceleration mode information of APE algorithm.
Wherein, adaptation coefficient generation module 6 adopts state machine to realize, and adopts acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.Particularly, acceleration mode information is a buffer stopper constantly refreshed, first the acceleration mode information needed for front audio code stream is recorded in, then adaptation coefficient generation module is supplied to, produce adaptation coefficient and carry out arithmetic operator, computation process can feed back the required acceleration mode information of lower group of audio code stream, for the generation of the adaptation coefficient of lower group of audio code stream, thus carry out next in turn APE algorithm operating.
Coefficient storage module 3 is for storing the adaptation coefficient of the APE algorithm of adaptation coefficient generation module generation.
Preferably, coefficient storage module 3 adopts register, as SDRAM.
Computing module 4 is for performing APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
Wherein, computing module is calculated by fixed point MAC and realizes.
With reference to Fig. 2, on the basis of the audio signal compression disposal system based on APE form of the present invention, the audio signal compression disposal route based on APE form of the present invention comprises the following steps:
Step S1, system configuration register and status register read the configuration information of system health information that System control bus sends and dma controller.
The voice data that step S2, dma controller reading DMA bus send and acceleration mode information.
Wherein, acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
Step S3, adaptation coefficient generation module generate the adaptation coefficient of APE algorithm according to the acceleration mode information of APE algorithm.
Wherein, adaptation coefficient generation module adopts state machine to realize, and adopts acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.Particularly, acceleration mode information is a buffer stopper constantly refreshed, first the acceleration mode information needed for front audio code stream is recorded in, then adaptation coefficient generation module is supplied to, produce adaptation coefficient and carry out arithmetic operator, computation process can feed back the required acceleration mode information of lower group of audio code stream, for the generation of the adaptation coefficient of lower group of audio code stream, thus carry out next in turn APE algorithm operating.
Step S4, computing module perform APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
Wherein, computing module is calculated by fixed point MAC and performs APE algorithm.
In sum, the audio signal compression disposal system based on APE form of the present invention and method effectively improve the processing speed of the Lossless Compression of the sound signal of APE form by hardware circuit; Electronic product particularly speech recognition business processing has important use value; Improve Consumer's Experience.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (9)

1. based on an audio signal compression disposal system for APE form, it is characterized in that: comprise system configuration register and status register, dma controller, coefficient storage module, computing module, state-storage module and adaptation coefficient generation module; Described system configuration register is all connected with described dma controller with described state-storage module with status register, described computing module, described computing module is connected with described state-storage module with described coefficient storage module respectively, and described adaptation coefficient generation module is connected with described state-storage module with described coefficient storage module respectively;
Described system configuration register is connected with System control bus with status register, for reading the configuration information of system health information that described System control bus sends and dma controller;
Described dma controller is connected with dma bus, for reading the voice data and acceleration mode information that described dma bus sends, and is sent to computing module and state-storage module;
Described state-storage module is for storing the acceleration mode information of APE algorithm;
Described adaptation coefficient generation module is used for the adaptation coefficient generating APE algorithm according to the acceleration mode information of APE algorithm;
Described coefficient storage module is for storing the adaptation coefficient of the APE algorithm of described adaptation coefficient generation module generation;
Described computing module is used for performing APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
2. the audio signal compression disposal system based on APE form according to claim 1, is characterized in that: described computing module is calculated by fixed point MAC and realizes.
3. the audio signal compression disposal system based on APE form according to claim 1, is characterized in that: described acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
4. the audio signal compression disposal system based on APE form according to claim 1, it is characterized in that: described adaptation coefficient generation module adopts state machine to realize, adopt acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.
5. the audio signal compression disposal system based on APE form according to claim 1, is characterized in that: described coefficient storage module adopts register.
6., based on an audio signal compression disposal route for APE form, it is characterized in that: comprise the following steps:
Step S1, system configuration register and status register read the configuration information of system health information that System control bus sends and dma controller;
The voice data that step S2, dma controller reading DMA bus send and acceleration mode information;
Step S3, adaptation coefficient generation module generate the adaptation coefficient of APE algorithm according to the acceleration mode information of APE algorithm;
Step S4, computing module perform APE algorithm according to the adaptation coefficient of APE algorithm and voice data.
7. the audio signal compression disposal route based on APE form according to claim 6, is characterized in that: described computing module is calculated by fixed point MAC and performs APE algorithm.
8. the audio signal compression disposal route based on APE form according to claim 6, is characterized in that: described acceleration mode information comprises APE design factor state when current code stream is encoded and encodes whether be in busy condition information.
9. the audio signal compression disposal route based on APE form according to claim 6, it is characterized in that: described adaptation coefficient generation module adopts state machine to realize, adopt acceleration mode information at front audio code stream to generate the adaptation coefficient of present video code stream.
CN201510696151.XA 2015-10-23 2015-10-23 Audio signal compression processing system based on APE format and method thereof Pending CN105405443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510696151.XA CN105405443A (en) 2015-10-23 2015-10-23 Audio signal compression processing system based on APE format and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510696151.XA CN105405443A (en) 2015-10-23 2015-10-23 Audio signal compression processing system based on APE format and method thereof

Publications (1)

Publication Number Publication Date
CN105405443A true CN105405443A (en) 2016-03-16

Family

ID=55470886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510696151.XA Pending CN105405443A (en) 2015-10-23 2015-10-23 Audio signal compression processing system based on APE format and method thereof

Country Status (1)

Country Link
CN (1) CN105405443A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003603A (en) * 2017-10-30 2018-12-14 上海寒武纪信息科技有限公司 Audio recognition method and Related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0955731A2 (en) * 1998-05-06 1999-11-10 Samsung Electronics Co., Ltd. Lossless encoding and decoding system
CN101702144A (en) * 2009-11-23 2010-05-05 北京天童芯源科技有限公司 Control device and control method of DMA controller
CN102262880A (en) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 Audio extraction apparatus and method thereof
CN104901651A (en) * 2015-06-25 2015-09-09 福州瑞芯微电子有限公司 Realizing circuit and method of digital filter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0955731A2 (en) * 1998-05-06 1999-11-10 Samsung Electronics Co., Ltd. Lossless encoding and decoding system
CN101702144A (en) * 2009-11-23 2010-05-05 北京天童芯源科技有限公司 Control device and control method of DMA controller
CN102262880A (en) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 Audio extraction apparatus and method thereof
CN104901651A (en) * 2015-06-25 2015-09-09 福州瑞芯微电子有限公司 Realizing circuit and method of digital filter

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
张雪英、贾海蓉著: "《语音与音频编码》", 28 February 2011, 《西安电子科技大学出版社》 *
欧阳缮等: "《一种改进的语音信号非线性自适应预测编码方法》", 《电路与系统学报》 *
翁波拉: "《基于RISC核的无损音频解码软硬件协同优化方法》", 《万方智搜》 *
胡学龙等: "《一种改进的无损压缩数字音频编码器》", 《微电子学与计算机》 *
胡雪梅: "《提高无损音频编码实时CD录音速度的研究》", 《万方智搜》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003603A (en) * 2017-10-30 2018-12-14 上海寒武纪信息科技有限公司 Audio recognition method and Related product
US11922132B2 (en) 2017-10-30 2024-03-05 Shanghai Cambricon Information Technology Co., Ltd. Information processing method and terminal device

Similar Documents

Publication Publication Date Title
US11551068B2 (en) Processing system and method for binary weight convolutional neural network
TWI728266B (en) Two-dimensional bar code generation, business processing method, device and equipment, and two-dimensional bar code
CN110546654A (en) Enhancing processing performance of DNN modules by configuring bandwidth control of interfaces
CN113330421B (en) Dot product calculator and operation method thereof
CN110413812B (en) Neural network model training method and device, electronic equipment and storage medium
JP2012059272A5 (en)
CN112219210B (en) Signal processing device and signal processing method
JP2019512126A (en) Method and system for training a machine learning system
EP3198870B1 (en) Processing parameters for operations on blocks while decoding images
KR20150105847A (en) Method and Apparatus for detecting speech segment
TW201435585A (en) Electronic apparatus for data access and data access method therefor
CN112634417B (en) Method, device and equipment for generating role animation and storage medium
CN111914987A (en) Data processing method and device based on neural network, equipment and readable medium
KR20160066542A (en) Graphics voltage reduction for load line optimization
CN105405443A (en) Audio signal compression processing system based on APE format and method thereof
CN111047020A (en) Neural network operation device and method supporting compression and decompression
CN115935909A (en) File generation method and device and electronic equipment
US20200242467A1 (en) Calculation method and calculation device for sparse neural network, electronic device, computer readable storage medium, and computer program product
CN104901651A (en) Realizing circuit and method of digital filter
CN110036621A (en) Frequent data item value is compressed across narrow link
CN114666658A (en) Cloud rendering method, device and system and user terminal
US9135009B2 (en) Apparatus and method for compressing instructions and a computer-readable storage media therefor
CN109325127B (en) Risk identification method and device
US10250278B2 (en) Compression of a set of integers
CN110465093A (en) A kind of backpack body redundant resource analysis method and its device based on Unity

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: 20160316