[go: up one dir, main page]

CN108877821B - Audio processing device and method - Google Patents

Audio processing device and method Download PDF

Info

Publication number
CN108877821B
CN108877821B CN201710321331.9A CN201710321331A CN108877821B CN 108877821 B CN108877821 B CN 108877821B CN 201710321331 A CN201710321331 A CN 201710321331A CN 108877821 B CN108877821 B CN 108877821B
Authority
CN
China
Prior art keywords
audio
analog
analog input
digital conversion
module
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.)
Active
Application number
CN201710321331.9A
Other languages
Chinese (zh)
Other versions
CN108877821A (en
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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201710321331.9A priority Critical patent/CN108877821B/en
Publication of CN108877821A publication Critical patent/CN108877821A/en
Application granted granted Critical
Publication of CN108877821B publication Critical patent/CN108877821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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/04Speech 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 using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/20Vocoders using multiple modes using sound class specific coding, hybrid encoders or object based coding
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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/04Speech 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 using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/22Mode decision, i.e. based on audio signal content versus external parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Analogue/Digital Conversion (AREA)
  • Machine Translation (AREA)

Abstract

一种音讯处理装置,包含:第一及第二类比至数位转换模组、暂存器及处理模组。处理模组执行对应第一类比输入音讯的第一音讯应用程式,将第一类比输入音讯分配给第一类比至数位转换模组。当处理模组判断第二音讯应用程式同样对应于第一类比输入音讯时,将共享配置资讯写入于暂存器中,以使第一类比至数位转换模组读取暂存器并处理第一类比输入音讯。当处理模组判断第二音讯应用程式对应第二类比输入音讯时,将第二类比输入音讯分配给第二类比至数位转换模组,以由第一及第二类比至数位转换模组分别处理第一及第二类比输入音讯。

Figure 201710321331

An audio processing device includes: a first and a second analog-to-digital conversion module, a register, and a processing module. The processing module executes a first audio application corresponding to a first analog input audio signal, and allocates the first analog input audio signal to the first analog-to-digital conversion module. When the processing module determines that the second audio application also corresponds to the first analog input audio signal, the shared configuration information is written into the register so that the first analog-to-digital conversion module reads the register and processes the first analog input audio signal. When the processing module determines that the second audio application corresponds to a second analog input audio signal, the second analog input audio signal is allocated to the second analog-to-digital conversion module so that the first and second analog-to-digital conversion modules process the first and second analog input audio signals respectively.

Figure 201710321331

Description

音讯处理装置及方法Audio processing device and method

技术领域technical field

本发明是有关于一种音讯处理技术,且特别是有关于一种音讯处理装置及方法。The present invention relates to an audio processing technology, and more particularly, to an audio processing apparatus and method.

背景技术Background technique

在声音讯号的处理中,常常需要藉由类比至数位转换模组对声音讯号进行处理,以将声音讯号由类比的形式转换为数位的形式。In the processing of the sound signal, it is often necessary to process the sound signal by an analog-to-digital conversion module, so as to convert the sound signal from an analog form to a digital form.

在部分使用情境下,音讯处理装置会同时接收对应不同音讯应用程式的多个输入音讯。然而,不同音讯应用程式所对应的输入音讯有可能来自同样的音讯源。举例而言,语音辨识及控制软体以及录音软体可能同时对单一麦克风接收的声音进行处理。在此情形下,音讯处理装置如果对于不同的输入音讯分配不同的类比至数位转换模组,将会造成硬体资源的浪费。In some usage scenarios, the audio processing device will simultaneously receive multiple input audios corresponding to different audio applications. However, input audio corresponding to different audio applications may come from the same audio source. For example, speech recognition and control software and recording software may simultaneously process sound received by a single microphone. In this case, if the audio processing device allocates different analogs to the digital conversion module for different input audios, it will cause a waste of hardware resources.

因此,如何设计一个新的音讯处理装置及方法,以解决上述的问题,乃为此一业界亟待解决的问题。Therefore, how to design a new audio processing device and method to solve the above problems is an urgent problem to be solved in the industry.

发明内容SUMMARY OF THE INVENTION

因此,本发明之一态样是在提供一种音讯处理装置,包含:第一类比至数位转换模组、第二类比至数位转换模组、暂存器以及处理模组。处理模组配置以执行对应第一类比输入音讯的第一音讯应用程式,并判断第一类比输入音讯来自于音讯源,以将第一类比输入音讯分配给第一类比至数位转换模组。其中当处理模组执行对应第二类比输入音讯的第二音讯应用程式,并判断第二音讯应用程式与第一音讯应用程式同样对应于第一类比输入音讯时,处理模组配置以将共享配置资讯写入于暂存器中,以使第一类比至数位转换模组读取暂存器并处理第一类比输入音讯。当处理模组判断第二音讯应用程式对应于并非来自于音讯源的第二类比输入音讯时,处理模组配置以将第二类比输入音讯分配给第二类比至数位转换模组,以由第一类比至数位转换模组处理第一类比输入音讯以及由第二类比至数位转换模组处理第二类比输入音讯。Therefore, one aspect of the present invention is to provide an audio processing device including: a first analog-to-digital conversion module, a second analog-to-digital conversion module, a register, and a processing module. The processing module is configured to execute a first audio application program corresponding to the first analog input audio, and determine that the first analog input audio comes from an audio source, so as to assign the first analog input audio to the first analog-to-digital conversion module. When the processing module executes the second audio application corresponding to the second analog input audio, and determines that the second audio application and the first audio application also correspond to the first analog input audio, the processing module configures the shared configuration Information is written in the register so that the first analog-to-digital conversion module reads the register and processes the first analog input audio. When the processing module determines that the second audio application program corresponds to the second analog input audio that is not from the audio source, the processing module is configured to assign the second analog input audio to the second analog-to-digital conversion module, so that the The analog-to-digital conversion module processes the first analog input audio and the second analog-to-digital conversion module processes the second analog input audio.

本发明之另一态样是在提供一种音讯处理方法,应用于音讯处理装置中,包含下列步骤。使处理模组执行对应第一类比输入音讯的第一音讯应用程式,并判断第一类比输入音讯来自于音讯源,以将第一类比输入音讯分配给第一类比至数位转换模组;使处理模组执行第二音讯应用程式,并判断第二音讯应用程式与第一音讯应用程式是否同样对应于第一类比输入音讯;当第二音讯应用程式与第一音讯应用程式同样对应于第一类比输入音讯时,使处理模组将共享配置资讯写入于暂存器中,以使第一类比至数位转换模组读取暂存器并处理第一类比输入音讯;以及当第二音讯应用程式对应于并非来自于音讯源的第二类比输入音讯时,使处理模组将第二类比输入音讯分配给第二类比至数位转换模组进行处理,以由第一类比至数位转换模组处理第一类比输入音讯以及由第二类比至数位转换模组处理第二类比输入音讯。Another aspect of the present invention is to provide an audio processing method, which is applied to an audio processing device, and includes the following steps. Make the processing module execute the first audio application program corresponding to the first analog input audio, and determine that the first analog input audio comes from an audio source, so as to assign the first analog input audio to the first analog-to-digital conversion module; make the processing The module executes the second audio application, and determines whether the second audio application and the first audio application also correspond to the first analog input audio; when the second audio application and the first audio application also correspond to the first analog When audio is input, the processing module writes the shared configuration information into the register, so that the first analog-to-digital conversion module reads the register and processes the first analog input audio; and when the second audio application program When corresponding to the second analog input audio that is not from the audio source, the processing module assigns the second analog input audio to the second analog-to-digital conversion module for processing, so that the first analog-to-digital conversion module processes the first analog-to-digital conversion module. An analog input audio and the second analog input audio is processed by a second analog-to-digital conversion module.

应用本发明的优点在于当第一类比输入音讯以及第二类比输入音讯实际上同样来自于音讯源时,音讯处理装置可仅使用一个类比至数位转换模组对第一类比输入音讯以及第二类比输入音讯进行处理。因此,对于音讯处理装置来说,执行类比至数位转换功能的硬体成本将可大幅下降。The advantage of applying the present invention is that when the first analog input audio and the second analog input audio actually come from the same audio source, the audio processing device can use only one analog-to-digital conversion module for the first analog input audio and the second analog input audio. Input audio for processing. Therefore, for the audio processing device, the hardware cost for performing the analog-to-digital conversion function can be greatly reduced.

附图说明Description of drawings

图1A及图1B分别为本发明一实施例中,一种音讯处理装置在不同运作情境下的方块图;以及FIG. 1A and FIG. 1B are respectively block diagrams of an audio processing apparatus in different operating situations according to an embodiment of the present invention; and

图2为本发明一实施例中,一种音讯处理方法的流程图。FIG. 2 is a flowchart of an audio processing method according to an embodiment of the present invention.

【符号说明】【Symbol Description】

1:音讯处理装置 100:第一类比至数位转换模组1: Audio processing device 100: First analog-to-digital conversion module

102:第二类比至数位转换模组; 104:暂存器;102: the second analog to digital conversion module; 104: the temporary register;

106:第一存取模组; 108:第二存取模组;106: the first access module; 108: the second access module;

110:处理模组; 112A、112B:音讯源;110: processing module; 112A, 112B: audio source;

120:编解码单元; 122:音讯控制器;120: Codec unit; 122: Audio controller;

200:音讯处理方法; 201-206:步骤;200: audio processing method; 201-206: steps;

ANA1:第一类比输入音讯; ANA2:第二类比输入音讯;ANA1: The first analog input audio; ANA2: The second analog input audio;

APP1:第一音讯应用程式; APP2:第二音讯应用程式;APP1: the first audio application; APP2: the second audio application;

DIG1:第一数位音讯; DIG2:第二数位音讯;DIG1: First digital audio; DIG2: Second digital audio;

DRI:驱动程式; INFO:共享配置资讯。DRI: Driver; INFO: Shared configuration information.

具体实施方式Detailed ways

请同时参照图1A及图1B。图1A及图1B分别为本发明一实施例中,一种音讯处理装置1在不同运作情境下的方块图。Please refer to FIG. 1A and FIG. 1B at the same time. FIG. 1A and FIG. 1B are respectively block diagrams of an audio processing apparatus 1 in different operating situations according to an embodiment of the present invention.

音讯处理装置1包含:第一类比至数位转换模组100、第二类比至数位转换模组102、暂存器104、第一存取模组106、第二存取模组108以及处理模组110。The audio processing device 1 includes: a first analog-to-digital conversion module 100, a second analog-to-digital conversion module 102, a register 104, a first access module 106, a second access module 108, and a processing module 110.

于一实施例中,音讯处理装置1设置于一个电脑系统(未绘示)中。其中,第一类比至数位转换模组100、第二类比至数位转换模组102、暂存器104、第一存取模组106、第二存取模组108可设置在例如,但不限于电脑系统的音讯处理晶片(未绘示)中。In one embodiment, the audio processing apparatus 1 is set in a computer system (not shown). The first analog-to-digital conversion module 100 , the second analog-to-digital conversion module 102 , the register 104 , the first access module 106 , and the second access module 108 can be arranged in, for example, but not limited to In the audio processing chip (not shown) of the computer system.

于一实施例中,第一类比至数位转换模组100、第二类比至数位转换模组102和暂存器104可设置在例如,但不限于音讯处理晶片的编解码(coder-decoder;CODEC)单元120中。In one embodiment, the first analog-to-digital conversion module 100, the second analog-to-digital conversion module 102, and the register 104 may be disposed in, for example, but not limited to, a coder-decoder (CODEC) of an audio processing chip. ) in unit 120.

第一存取模组106和第二存取模组108可设置在例如,但不限于音讯处理晶片的音讯控制器122中。于一实施例中,第一存取模组106和第二存取模组108分别为直接记忆体存取(Direct memory access;DMA)模组。The first access module 106 and the second access module 108 may be disposed in, for example, but not limited to, the audio controller 122 of the audio processing chip. In one embodiment, the first access module 106 and the second access module 108 are respectively direct memory access (DMA) modules.

处理模组110为例如,但不限于电脑系统的中央处理单元。处理模组110可配置以执行多个应用程式。于一实施例中,处理模组110可执行例如,但不限于上述音讯处理晶片的驱动程式DRI,以驱动音讯处理晶片中各个模组的运作。并且,处理模组110可执行音讯相关的应用程式,以进行音讯处理。The processing module 110 is, for example, but not limited to, a central processing unit of a computer system. The processing module 110 can be configured to execute multiple applications. In one embodiment, the processing module 110 can execute, for example, but not limited to, the driver program DRI of the audio processing chip, so as to drive the operation of each module in the audio processing chip. In addition, the processing module 110 can execute an audio-related application program for audio processing.

处理模组110可执行第一音讯应用程式APP1,并判断第一音讯应用程式APP1所对应的第一类比输入音讯ANA1是来自于音讯源112A所接收。The processing module 110 can execute the first audio application program APP1, and determine that the first analog input audio ANA1 corresponding to the first audio application program APP1 is received from the audio source 112A.

于一实施例中,第一音讯应用程式APP1可为例如但不限于语音辨识及控制软体。音讯源112A可由例如,但不限于麦克风接收第一类比输入音讯ANA1。In one embodiment, the first audio application APP1 may be, for example, but not limited to, voice recognition and control software. The audio source 112A may receive the first analog input audio ANA1 by, for example, but not limited to, a microphone.

于一实施例中,语音辨识及控制软体可为例如,但不限于背景程式,以持续运作,并藉由麦克风接收第一类比输入音讯ANA1,不停地监听第一类比输入音讯ANA1中是否存在有语音控制指令。于一实施例中,处理模组110可进一步执行语音辨识及控制软体,根据第一类比输入音讯ANA1中的语音控制指令进行对应的操作。In one embodiment, the voice recognition and control software can be, for example, but not limited to, a background program that operates continuously, receives the first analog input audio ANA1 through a microphone, and constantly monitors whether the first analog input audio ANA1 exists. There are voice control commands. In one embodiment, the processing module 110 may further execute voice recognition and control software, and perform corresponding operations according to the voice control command in the first analog input audio ANA1.

于一实施例中,处理模组110在暂存器104中写入配置资讯,以使第一类比输入音讯ANA1分配给第一类比至数位转换模组100。In one embodiment, the processing module 110 writes configuration information in the register 104 so that the first analog input audio ANA1 is allocated to the first analog-to-digital conversion module 100 .

于一实施例中,处理模组110可在执行第一音讯应用程式APP1的同时,执行不同于第一音讯应用程式APP1的第二音讯应用程式APP2。于一实施例中,第二音讯应用程式APP2为例如,但不限于录音软体。录音软体可根据例如,但不限于使用者对电脑系统的操作输入执行。In one embodiment, the processing module 110 may execute a second audio application APP2 different from the first audio application APP1 while executing the first audio application APP1. In one embodiment, the second audio application APP2 is, for example, but not limited to, a recording software. The recording software can be executed according to, for example, but not limited to, the user's operation input to the computer system.

处理模组110将判断对应第二音讯应用程式APP2与第一音讯应用程式APP1是否同样对应于第一类比输入音讯ANA1。The processing module 110 will determine whether the corresponding second audio application APP2 and the first audio application APP1 also correspond to the first analog input audio ANA1.

当处理模组110判断第二音讯应用程式APP2与第一音讯应用程式APP1同样对应于第一类比输入音讯ANA1时,将在暂存器104中写入共享配置资讯INFO,以使第一类比至数位转换模组100读取此共享配置资讯INFO。第一类比至数位转换模组100将因此得知第一音讯应用程式APP1以及第二音讯应用程式APP2实际上接收的是来自于同样音讯源112A的第一类比输入音讯ANA1。When the processing module 110 determines that the second audio application APP2 and the first audio application APP1 also correspond to the first analog input audio ANA1, the shared configuration information INFO is written in the register 104, so that the first analog to The digital conversion module 100 reads the shared configuration information INFO. The first analog-to-digital conversion module 100 will thus know that the first audio application APP1 and the second audio application APP2 actually receive the first analog input audio ANA1 from the same audio source 112A.

因此,第一类比至数位转换模组100将在读取暂存器104中的配置资讯(未绘示)以及共享配置资讯INFO后,对第一类比输入音讯ANA1进行处理,以转换为第一数位音讯DIG1以及第二数位音讯DIG2。进一步地,第一类比至数位转换模组100将第一数位音讯DIG1传送至第一存取模组106中暂存,并将第二数位音讯DIG2传送至第二存取模组108中暂存。Therefore, the first analog-to-digital conversion module 100 will process the first analog input audio ANA1 after reading the configuration information (not shown) and the shared configuration information INFO in the register 104 to convert it into the first analog input audio ANA1. The digital audio DIG1 and the second digital audio DIG2. Further, the first analog-to-digital conversion module 100 transmits the first digital audio DIG1 to the first access module 106 for temporary storage, and transmits the second digital audio DIG2 to the second access module 108 for temporary storage .

而当处理模组110判断第二音讯应用程式APP2对应于并非来自于音讯源112A,而是来自于另一音讯源112B的第二类比输入音讯ANA2时,将在暂存器104中写入另一配置资讯,以将第二类比输入音讯ANA2分配给第二类比至数位转换模组102进行处理。于一实施例中,音讯源112B可由例如,但不限于外部电子装置,以线路输入(line in)的方式接收第二类比输入音讯ANA2。When the processing module 110 determines that the second audio application program APP2 corresponds to the second analog input audio ANA2 not from the audio source 112A but from another audio source 112B, it will write another audio signal into the register 104 A configuration information for assigning the second analog input audio ANA2 to the second analog-to-digital conversion module 102 for processing. In one embodiment, the audio source 112B may receive the second analog input audio ANA2 in a line-in manner, such as, but not limited to, an external electronic device.

如图1B所示,第二类比至数位转换模组102将在读取暂存器104中的配置资讯后,对第二类比输入音讯ANA2进行处理,以转换为第二数位音讯DIG2,并将第二数位音讯DIG2传送至第二存取模组108中暂存。As shown in FIG. 1B , the second analog-to-digital conversion module 102 will process the second analog input audio ANA2 after reading the configuration information in the register 104 to convert it into the second digital audio DIG2, and convert The second digital audio DIG2 is sent to the second access module 108 for temporary storage.

综上所述,当第二音讯应用程式APP2与第一音讯应用程式APP1同样对应于第一类比输入音讯ANA1时,音讯处理装置1不须使用两个类比至数位转换模组,而可仅使用第一类比至数位转换模组100对第一类比输入音讯ANA1进行处理。因此,对于音讯处理装置1来说,执行类比至数位转换功能的硬体成本将可大幅下降。To sum up, when the second audio application program APP2 and the first audio application program APP1 also correspond to the first analog input audio ANA1, the audio processing device 1 does not need to use two analog-to-digital conversion modules, and can only use the The first analog-to-digital conversion module 100 processes the first analog input audio ANA1. Therefore, for the audio processing apparatus 1, the hardware cost for performing the analog-to-digital conversion function can be greatly reduced.

需注意的是,上述实施例中,音讯源112A及音讯源112B接收类比输入音讯的对象仅为一范例。于其他实施例中,音讯源112A及音讯源112B亦可从其他装置接收类比输入音讯。It should be noted that, in the above embodiment, the objects of the audio source 112A and the audio source 112B receiving the analog input audio are just an example. In other embodiments, audio source 112A and audio source 112B may also receive analog input audio from other devices.

请参照图2。图2为本发明一实施例中,一种音讯处理方法200的流程图。音讯处理方法200可应用于如图1A及图1B所示的音讯处理装置1中。于一实施例中,音讯处理装置1中的处理模组110可藉由执行上述音讯处理晶片的驱动程式DRI来执行音讯处理方法200。音讯处理方法200包含下列步骤。Please refer to Figure 2. FIG. 2 is a flowchart of an audio processing method 200 according to an embodiment of the present invention. The audio processing method 200 can be applied to the audio processing apparatus 1 shown in FIG. 1A and FIG. 1B . In one embodiment, the processing module 110 in the audio processing apparatus 1 can execute the audio processing method 200 by executing the driver DRI of the above-mentioned audio processing chip. The audio processing method 200 includes the following steps.

于步骤201,使处理模组110执行对应第一类比输入音讯ANA1的第一音讯应用程式APP1。In step 201, the processing module 110 is made to execute a first audio application program APP1 corresponding to the first analog input audio ANA1.

于步骤202,使处理模组110判断第一类比输入音讯ANA1来自音讯源112A,以将第一类比输入音讯ANA1分配给第一类比至数位转换模组100。In step 202 , the processing module 110 determines that the first analog input audio ANA1 comes from the audio source 112A, so as to assign the first analog input audio ANA1 to the first analog-to-digital conversion module 100 .

于步骤203,使处理模组110执行对应第二类比输入音讯ANA2的第二音讯应用程式APP2。In step 203, the processing module 110 is made to execute the second audio application program APP2 corresponding to the second analog input audio ANA2.

于步骤204,使处理模组110判断第一音讯应用程式APP1与第二音讯应用程式APP2是否同样对应于第一类比输入音讯ANA1。In step 204, the processing module 110 is made to determine whether the first audio application APP1 and the second audio application APP2 also correspond to the first analog input audio ANA1.

当第一音讯应用程式APP1与第二音讯应用程式APP2同样对应于第一类比输入音讯ANA1时,流程进行至步骤205,使处理模组110将共享配置资讯INFO写入于暂存器104中,以使第一类比至数位转换模组100读取暂存器104并处理第一类比输入音讯ANA1。When the first audio application APP1 and the second audio application APP2 also correspond to the first analog input audio ANA1, the process proceeds to step 205, so that the processing module 110 writes the shared configuration information INFO into the register 104, So that the first analog-to-digital conversion module 100 reads the register 104 and processes the first analog input audio ANA1.

当第二音讯应用程式对应于并非来自于音讯源112A的第二类比输入音讯ANA2时,流程进行至步骤206,使处理模组110将第二类比输入音讯ANA2分配给第二类比至数位转换模组102,以由第一类比至数位转换模组100处理第一类比输入音讯ANA1以及由第二类比至数位转换模组102处理第二类比输入音讯ANA2。When the second audio application corresponds to the second analog input audio ANA2 that does not come from the audio source 112A, the flow proceeds to step 206 to cause the processing module 110 to assign the second analog input audio ANA2 to the second analog-to-digital conversion module The group 102 includes processing the first analog input audio ANA1 by the first analog-to-digital conversion module 100 and processing the second analog input audio ANA2 by the second analog-to-digital conversion module 102 .

虽然本案内容已以实施方式揭露如上,然其并非配置以限定本案内容,任何熟习此技艺者,在不脱离本案内容的精神和范围内,当可作各种的更动与润饰,因此本案内容的保护范围当视后附的申请专利范围所界定者为准。Although the content of this case has been disclosed as above in an embodiment, it is not configured to limit the content of this case. Anyone who is familiar with this technique can make various changes and modifications without departing from the spirit and scope of the content of this case. Therefore, the content of this case is The scope of protection shall be determined by the scope of the appended patent application.

Claims (10)

1.一种音讯处理装置,包含:1. An audio processing device, comprising: 一第一类比至数位转换模组;a first analog-to-digital conversion module; 一第二类比至数位转换模组;a second analog-to-digital conversion module; 一暂存器;以及a scratchpad; and 一处理模组,配置以执行对应一第一类比输入音讯的一第一音讯应用程式,并判断该第一类比输入音讯来自于一音讯源,以将该第一类比输入音讯分配给该第一类比至数位转换模组;a processing module configured to execute a first audio application program corresponding to a first analog input audio, and determine that the first analog input audio comes from an audio source, so as to assign the first analog input audio to the first analog input audio Analog to digital conversion module; 其中当该处理模组执行一第二音讯应用程式,并判断该第二音讯应用程式与该第一音讯应用程式同样对应于该第一类比输入音讯时,该处理模组配置以将一共享配置资讯写入于该暂存器中,以使该第一类比至数位转换模组读取该暂存器并处理该第一类比输入音讯;When the processing module executes a second audio application program and determines that the second audio application program and the first audio application program also correspond to the first analog input audio, the processing module is configured to configure a shared configuration information is written in the register, so that the first analog-to-digital conversion module reads the register and processes the first analog input audio; 当该处理模组判断该第二音讯应用程式对应于并非来自于该音讯源的一第二类比输入音讯时,该处理模组配置以将该第二类比输入音讯分配给该第二类比至数位转换模组,以由该第一类比至数位转换模组处理该第一类比输入音讯以及由该第二类比至数位转换模组处理该第二类比输入音讯。When the processing module determines that the second audio application corresponds to a second analog input audio not from the audio source, the processing module is configured to assign the second analog input audio to the second analog-to-digital a conversion module, wherein the first analog-to-digital conversion module processes the first analog input audio and the second analog-to-digital conversion module processes the second analog input audio. 2.根据权利要求1所述的音讯处理装置,其中该第一音讯应用程式以及该第二音讯应用程式分别为一语音辨识及控制软体或一录音软体。2 . The audio processing device according to claim 1 , wherein the first audio application program and the second audio application program are respectively a voice recognition and control software or a recording software. 3 . 3.根据权利要求1所述的音讯处理装置,其中该第一类比至数位转换模组以及该第二类比至数位转换模组设置于一编解码(coder-decoder;CODEC)单元中。3 . The audio processing device of claim 1 , wherein the first analog-to-digital conversion module and the second analog-to-digital conversion module are disposed in a coder-decoder (CODEC) unit. 4 . 4.根据权利要求1所述的音讯处理装置,更包含一第一存取模组以及一第二存取模组,该处理模组更配置以将该第一类比至数位转换模组根据该第一类比输入音讯处理产生的一第一数位音讯串流传送至该第一存取模组;4. The audio processing device of claim 1, further comprising a first access module and a second access module, the processing module is further configured to use the first analog-to-digital conversion module according to the a first digital audio stream generated by the first analog input audio processing is transmitted to the first access module; 其中当该第二类比输入音讯同样来自于该音讯源时,该第一类比至数位转换模组将根据该第二类比输入音讯处理产生的一第二数位音讯串流传送至该第二存取模组;以及When the second analog input audio also comes from the audio source, the first analog-to-digital conversion module transmits a second digital audio stream generated by processing the second analog input audio to the second accessor modules; and 当该第二类比输入音讯并非来自于该音讯源时,该第二类比至数位转换模组将根据该第二类比输入音讯处理产生的该第二数位音讯串流传送至该第二存取模组。When the second analog input audio does not come from the audio source, the second analog-to-digital conversion module transmits the second digital audio stream generated by processing the second analog input audio to the second access module Group. 5.根据权利要求4所述的音讯处理装置,其中该第一存取模组以及该第二存取模组设置于一音讯控制器中。5. The audio processing device of claim 4, wherein the first access module and the second access module are disposed in an audio controller. 6.根据权利要求4所述的音讯处理装置,其中该第一存取模组以及该第二存取模组分别为一直接记忆体存取(Direct memory access;DMA)模组。6. The audio processing device of claim 4, wherein the first access module and the second access module are respectively a direct memory access (DMA) module. 7.一种音讯处理方法,应用于一音讯处理装置中,包含:7. An audio processing method, applied in an audio processing device, comprising: 使一处理模组执行对应一第一类比输入音讯的一第一音讯应用程式,并判断该第一类比输入音讯来自于一音讯源,以将该第一类比输入音讯分配给一第一类比至数位转换模组;Make a processing module execute a first audio application program corresponding to a first analog input audio, and determine that the first analog input audio comes from an audio source, so as to assign the first analog input audio to a first analog to digital conversion module; 使该处理模组执行一第二音讯应用程式,并判断该第二音讯应用程式与该第一音讯应用程式是否同样对应于该第一类比输入音讯;causing the processing module to execute a second audio application program, and determining whether the second audio application program and the first audio application program also correspond to the first analog input audio; 当该第二音讯应用程式与该第一音讯应用程式同样对应于该第一类比输入音讯时,使该处理模组将一共享配置资讯写入于一暂存器中,以使该第一类比至数位转换模组读取该暂存器并处理该第一类比输入音讯;以及When the second audio application and the first audio application also correspond to the first analog input audio, the processing module writes a shared configuration information into a register, so that the first analog to a digital conversion module to read the register and process the first analog input audio; and 当该第二音讯应用程式对应于并非来自于该音讯源的一第二类比输入音讯时,使该处理模组将该第二类比输入音讯分配给一第二类比至数位转换模组,以由该第一类比至数位转换模组处理该第一类比输入音讯以及由该第二类比至数位转换模组处理该第二类比输入音讯。When the second audio application corresponds to a second analog input audio that does not come from the audio source, causing the processing module to assign the second analog input audio to a second analog-to-digital conversion module, so that the The first analog-to-digital conversion module processes the first analog input audio and the second analog-to-digital conversion module processes the second analog input audio. 8.根据权利要求7所述的音讯处理方法,其中该第一音讯应用程式以及该第二音讯应用程式分别为一语音辨识及控制软体或一录音软体。8. The audio processing method according to claim 7, wherein the first audio application program and the second audio application program are respectively a voice recognition and control software or a recording software. 9.根据权利要求7所述的音讯处理方法,其中该第一类比至数位转换模组以及该第二类比至数位转换模组设置于一编解码单元中。9 . The audio processing method of claim 7 , wherein the first analog-to-digital conversion module and the second analog-to-digital conversion module are disposed in an encoding/decoding unit. 10 . 10.根据权利要求7所述的音讯处理方法,更包含:10. The audio processing method according to claim 7, further comprising: 使该处理模组将该第一类比至数位转换模组根据该第一类比输入音讯处理产生的一第一数位音讯串流传送至一第一存取模组;causing the processing module to transmit a first digital audio stream generated by processing the first analog-to-digital conversion module according to the first analog input audio to a first access module; 当该第二类比输入音讯同样来自于该音讯源时,使该第一类比至数位转换模组将根据该第二类比输入音讯处理产生的一第二数位音讯串流传送至一第二存取模组;以及When the second analog input audio also comes from the audio source, enabling the first analog-to-digital conversion module to transmit a second digital audio stream generated by processing the second analog input audio to a second accessor modules; and 当该第二类比输入音讯并非来自于该音讯源时,使该第二类比至数位转换模组将根据该第二类比输入音讯处理产生的该第二数位音讯串流传送至该第二存取模组。When the second analog input audio does not come from the audio source, make the second analog-to-digital conversion module transmit the second digital audio stream generated by processing the second analog input audio to the second access module.
CN201710321331.9A 2017-05-09 2017-05-09 Audio processing device and method Active CN108877821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321331.9A CN108877821B (en) 2017-05-09 2017-05-09 Audio processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321331.9A CN108877821B (en) 2017-05-09 2017-05-09 Audio processing device and method

Publications (2)

Publication Number Publication Date
CN108877821A CN108877821A (en) 2018-11-23
CN108877821B true CN108877821B (en) 2020-09-08

Family

ID=64287506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321331.9A Active CN108877821B (en) 2017-05-09 2017-05-09 Audio processing device and method

Country Status (1)

Country Link
CN (1) CN108877821B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571458A (en) * 2003-07-16 2005-01-26 明基电通股份有限公司 Voice message processing method of communication device
TW201411605A (en) * 2012-09-12 2014-03-16 Acer Inc Handheld apparatus for processing recorded sound signals according to recording mode
CN204291348U (en) * 2014-11-27 2015-04-22 成都唯昂新材料有限公司 The numerical digit analogy Transform Acoustic amplifier of tool Improvement type eqalizing cricuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453175B2 (en) * 1998-06-19 2002-09-17 Nortel Networks Limited Multi-function coding element and an associated telecommunications network
TWI383583B (en) * 2009-10-02 2013-01-21 Himax Media Solutions Inc Audio output devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571458A (en) * 2003-07-16 2005-01-26 明基电通股份有限公司 Voice message processing method of communication device
TW201411605A (en) * 2012-09-12 2014-03-16 Acer Inc Handheld apparatus for processing recorded sound signals according to recording mode
CN204291348U (en) * 2014-11-27 2015-04-22 成都唯昂新材料有限公司 The numerical digit analogy Transform Acoustic amplifier of tool Improvement type eqalizing cricuit

Also Published As

Publication number Publication date
CN108877821A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN106686243A (en) Voice control method and device
WO2018119955A1 (en) Cross-system multimedia data coding and decoding method, apparatus, electronic device and computer program product
CN107957908A (en) A kind of microphone sharing method, device, computer equipment and storage medium
CN116582438A (en) A virtualized video codec system and method, electronic equipment and storage medium
CN105980999B (en) Terminal connection device, processing information execution system, and processing information execution method
JP2025067748A (en) Vehicle model simulation performance optimization method and system, storage medium, and electronic device
CN116320469A (en) Virtualized video encoding and decoding system and method, electronic equipment and storage medium
CN107193520A (en) A kind of screenshotss method applied to server
CN108877821B (en) Audio processing device and method
CN109697987B (en) An external far-field voice interaction device and implementation method
CN110928575B (en) Multi-device synchronous control system and control method
CN108198582B (en) NAND Flash control method and device and SSD
EP1366421B1 (en) Digital signal processor interrupt accelerator
TWI643185B (en) Audio processing device and method
TW201826114A (en) Processor of semiconductor device and method of operating same
CN106354556A (en) Audio transmission method and electronic device
CN111897632B (en) Interrupt processing method and device, electronic equipment and storage medium
CN110825664A (en) Information processing system and method
US11360529B2 (en) Signal processing system, signal processing circuit, and reset control method
US10241686B2 (en) Storage device, information processing device, data access method and program
CN107301868B (en) Audio decoding system and audio decoding method
CN107506212B (en) Method for dynamically loading sound card drive on real-time operating system
WO2019188174A1 (en) Information processing device
US9785593B2 (en) Portable device with data transmission between main system and subsystem and control method therefor
CN113127002B (en) Method, device, equipment and medium for monitoring code compiling process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant