CN114900782A - Audio chip testing method, storage medium and computer equipment - Google Patents
Audio chip testing method, storage medium and computer equipment Download PDFInfo
- Publication number
- CN114900782A CN114900782A CN202210389824.7A CN202210389824A CN114900782A CN 114900782 A CN114900782 A CN 114900782A CN 202210389824 A CN202210389824 A CN 202210389824A CN 114900782 A CN114900782 A CN 114900782A
- Authority
- CN
- China
- Prior art keywords
- audio
- audio signal
- amplitude value
- chip
- amplitude
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 25
- 230000005236 sound signal Effects 0.000 claims abstract description 68
- 238000010998 test method Methods 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 23
- 230000003321 amplification Effects 0.000 claims description 9
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S1/00—Two-channel systems
Landscapes
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Stereophonic System (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
技术领域technical field
本申请涉及音频芯片测试技术领域,特别是涉及一种音频芯片的测试方法、存储介质和计算机设备。The present application relates to the technical field of audio chip testing, and in particular, to a testing method, storage medium and computer equipment for an audio chip.
背景技术Background technique
随着电子技术的飞速发展,电子产品的功能复杂性日益提高,对电子产品的生产测试的要求也越来越高。为了满足音频类电子产品生产测试的要求,需要在生产过程中实现精细化、自动化测试功能。With the rapid development of electronic technology, the functional complexity of electronic products is increasing day by day, and the requirements for production testing of electronic products are getting higher and higher. In order to meet the requirements of production testing of audio electronic products, it is necessary to realize refined and automated testing functions in the production process.
音频芯片具有左右声道的输出能力,若左右声道的输出能力相差过大,则其性能并不符合要求,将严重影响耳机的品质,因而需要一种可以检测音频芯片的左右声道输出能力的方法。The audio chip has the output capability of the left and right channels. If the output capability of the left and right channels is too different, its performance does not meet the requirements, which will seriously affect the quality of the earphones. Therefore, an audio chip that can detect the left and right channel output capabilities is required. Methods.
发明内容SUMMARY OF THE INVENTION
本申请主要提供一种音频芯片的测试方法、存储介质和计算机设备,以解决如何检测音频芯片左右声道的输出能力的问题。The present application mainly provides an audio chip testing method, storage medium and computer equipment to solve the problem of how to detect the output capability of the left and right channels of the audio chip.
为解决上述技术问题,本申请采用的一个技术方案是:提供一种音频芯片的测试方法。该音频芯片的测试方法包括:向音频芯片输入第一音频信号,其中第一音频信号为标准音频信号;获取经音频芯片处理后分别自左声道和右声道输出的第二音频信号;分别获取左声道和右声道输出的第二音频信号在特定频点上的第一幅度值和第二幅度值,其中特定频点为第一音频信号的频率值;确定第一幅度值和第二幅度值的差值是否小于第一幅度阈值;若是,则音频芯片的左声道和右声道的性能符合要求。In order to solve the above technical problem, a technical solution adopted in the present application is to provide a testing method for an audio chip. The testing method of the audio chip comprises: inputting a first audio signal to the audio chip, wherein the first audio signal is a standard audio signal; acquiring the second audio signal output from the left channel and the right channel respectively after being processed by the audio chip; Obtain the first amplitude value and the second amplitude value of the second audio signal output by the left channel and the right channel at a specific frequency point, wherein the specific frequency point is the frequency value of the first audio signal; determine the first amplitude value and the first amplitude value. Whether the difference between the two amplitude values is less than the first amplitude threshold; if so, the performance of the left channel and the right channel of the audio chip meets the requirements.
为解决上述技术问题,本申请采用的另一个技术方案是:提供一种存储介质。该存储介质存储有程序,程序被执行时能够实现如上述的方法。In order to solve the above technical problem, another technical solution adopted in this application is to provide a storage medium. The storage medium stores a program, and when the program is executed, the above-described method can be implemented.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种计算机设备。该计算机设备包括处理器和存储器,处理器耦接存储器,存储器用于存储程序,处理器用于执行程序以实现如上述的方法。In order to solve the above technical problem, another technical solution adopted in this application is to provide a computer device. The computer device includes a processor and a memory, the processor is coupled to the memory, the memory is used for storing a program, and the processor is used for executing the program to implement the method as described above.
本申请的有益效果是:区别于现有技术的情况,本申请公开了一种音频芯片的测试方法、存储介质和计算机设备。通过获取音频芯片自左声道和右声道输出的第二音频信号在特定频点上的第一幅度值和第二幅度值,并通过确定第一幅度值和第二幅度值的差值是否小于第一幅度阈值,进而辨别音频芯片左右声道的输出能力是否相近,因此本申请提供的音频芯片的测试方法能够检测出音频芯片左右声道的输出能力的相差程度,进而挑选出性能符合要求的音频芯片,以保证耳机的品质。The beneficial effects of the present application are: different from the situation in the prior art, the present application discloses a testing method for an audio chip, a storage medium and a computer device. By acquiring the first amplitude value and the second amplitude value of the second audio signal output by the audio chip from the left channel and the right channel at a specific frequency point, and by determining whether the difference between the first amplitude value and the second amplitude value is is less than the first amplitude threshold, so as to determine whether the output capabilities of the left and right channels of the audio chip are similar. Therefore, the audio chip testing method provided by this application can detect the difference between the output capabilities of the left and right channels of the audio chip, and then select the performance that meets the requirements. The audio chip to ensure the quality of the headset.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,其中:In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative work, wherein:
图1是本申请提供的音频芯片的测试方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of a testing method for an audio chip provided by the present application;
图2是图1流程示意图中步骤S13的详细流程示意图;Fig. 2 is a detailed schematic flow chart of step S13 in the schematic flow chart of Fig. 1;
图3是图2流程示意图中步骤S133之后的一种流程示意图;Fig. 3 is a kind of schematic flow chart after step S133 in the schematic flow chart of Fig. 2;
图4是图2流程示意图中步骤S133之后的另一种流程示意图;Fig. 4 is another schematic flow chart after step S133 in the schematic flow chart of Fig. 2;
图5是本申请提供的计算机设备一实施例的结构示意图;5 is a schematic structural diagram of an embodiment of a computer device provided by the present application;
图6是本申请提供的存储介质一实施例的结构示意图。FIG. 6 is a schematic structural diagram of an embodiment of a storage medium provided by the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请实施例中的术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括至少一个该特征。本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the embodiments of the present application are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first", "second", "third" may expressly or implicitly include at least one of that feature. In the description of the present application, "a plurality of" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
请参阅图1,图1为本申请提供的一种音频芯片的测试方法的流程示意图。本实施例中,该测试方法包括:Please refer to FIG. 1 , which is a schematic flowchart of a method for testing an audio chip provided by the present application. In this embodiment, the test method includes:
S11:向音频芯片输入第一音频信号。S11: Input the first audio signal to the audio chip.
向音频芯片输入第一音频信号,其中第一音频信号为标准音频信号。例如,第一音频信号为1KHz的音频信号,且每次对音频芯片所输入的第一音频信号均相同。A first audio signal is input to the audio chip, wherein the first audio signal is a standard audio signal. For example, the first audio signal is a 1KHz audio signal, and the first audio signal input to the audio chip is the same every time.
该音频芯片可以是独立一个芯片,还可以使待测试板体中多个音频芯片中的一个。例如,本申请的测试方法可以同时测试设置在待测试板体的多个音频芯片。The audio chip can be an independent chip, or one of multiple audio chips in the board body to be tested. For example, the testing method of the present application can simultaneously test multiple audio chips disposed on the board to be tested.
具体地,向音频芯片输入第一音频信号,具体包括:从待测试板体的两对侧分别输入多个第一音频信号,每个第一音频信号与一个音频芯片对应,以利用第一音频信号对多个音频芯片同时进行测试。Specifically, inputting the first audio signal to the audio chip specifically includes: inputting a plurality of first audio signals respectively from two opposite sides of the board to be tested, and each first audio signal corresponds to an audio chip, so as to utilize the first audio signal The signal tests multiple audio chips simultaneously.
可选地,也可以从测试板体的一侧输入多个第一音频信号,以利用第一音频信号对多个音频芯片同时进行测试。Optionally, multiple first audio signals can also be input from one side of the test board, so as to use the first audio signals to test multiple audio chips simultaneously.
S12:获取经音频芯片处理后分别自左声道和右声道输出的第二音频信号。S12: Acquire the second audio signals respectively output from the left channel and the right channel after being processed by the audio chip.
获取经音频芯片处理后分别自左声道和右声道输出的第二音频信号,其中该音频芯片包括左声道和右声道,因而音频芯片接收第一音频信号,经处理后,分别自左声道和右声道输出各自的第二音频信号。Obtain the second audio signal output from the left channel and the right channel after being processed by the audio chip, wherein the audio chip includes a left channel and a right channel, so the audio chip receives the first audio signal, after processing, respectively The left channel and the right channel output respective second audio signals.
该第二音频信号由于左声道和右声道的物理差异可能存在不同,将导致人耳所接受的声音存在差异,若差异过大,则人耳所听到的信息将受到干扰。例如,左声道发出的声音大和右声道发出的声音小;或者,左声道发出的声音携带有较大的噪音,而右声道发出的声音状况良好。这些状况都将使得严重影响用户的使用体验,有损于产品的品质。因而,需要对音频芯片的左声道和右声道输出音频的能力进行测试,以淘汰不符合品质要求的音频芯片。The second audio signal may be different due to the physical difference between the left channel and the right channel, which will result in a difference in the sound received by the human ear. If the difference is too large, the information heard by the human ear will be disturbed. For example, the sound from the left channel is loud and the sound from the right channel is low; or, the sound from the left channel carries more noise while the sound from the right channel is in good condition. These conditions will seriously affect the user's experience and damage the quality of the product. Therefore, it is necessary to test the ability of the left channel and the right channel of the audio chip to output audio, so as to eliminate the audio chips that do not meet the quality requirements.
S13:分别获取左声道和右声道输出的第二音频信号在特定频点上的第一幅度值和第二幅度值。S13: Obtain the first amplitude value and the second amplitude value of the second audio signal output by the left channel and the right channel at a specific frequency point, respectively.
分别获取左声道和右声道输出的第二音频信号在特定频点上的第一幅度值和第二幅度值,其中特定频点为第一音频信号的频率值,第一幅度值为左声道所对应的第二音频信号的幅度峰值,第二幅度值为右声道所对应的第二音频信号的幅度峰值。Obtain the first amplitude value and the second amplitude value of the second audio signal output by the left channel and the right channel at a specific frequency point, wherein the specific frequency point is the frequency value of the first audio signal, and the first amplitude value is the left The amplitude peak value of the second audio signal corresponding to the channel, and the second amplitude value is the amplitude peak value of the second audio signal corresponding to the right channel.
具体地,第一音频信号为正弦波信号,经音频芯片输出的信号为方波信号,该方波信号经过滤后以正弦波信号输出,需将该输出的正弦波信号转变为音频频域信息,再采集与左声道和右声道对应的音频频域信息在特定频点上的第一幅度值和第二幅度值。Specifically, the first audio signal is a sine wave signal, the signal output by the audio chip is a square wave signal, the square wave signal is filtered and output as a sine wave signal, and the output sine wave signal needs to be converted into audio frequency domain information , and then collect the first amplitude value and the second amplitude value of the audio frequency domain information corresponding to the left channel and the right channel at a specific frequency point.
具体地,参阅图2,采集第一幅度值和第二幅度值的方法过程如下:Specifically, referring to FIG. 2 , the method process for collecting the first amplitude value and the second amplitude value is as follows:
S131:按时序采集左声道和右声道的第二音频信号的多个数据点。S131: Collect multiple data points of the second audio signal of the left channel and the right channel in time series.
自第二音频信号的任一时间点开始依次采集多个时间点所对应的数据点。该数据点为第二音频信号上所对应时间点的幅值信息。Data points corresponding to multiple time points are sequentially collected from any time point of the second audio signal. The data point is the amplitude information of the corresponding time point on the second audio signal.
例如,可以于一个周期内连续采集1024个数据点,或者于一个周期内连续采集512个数据点。For example, 1024 data points can be collected continuously in one cycle, or 512 data points can be collected continuously in one cycle.
S132:对多个数据点进行傅里叶变换,以获得与左声道和右声道的第二音频信号对应的音频频域信息。S132: Perform Fourier transform on the plurality of data points to obtain audio frequency domain information corresponding to the second audio signals of the left channel and the right channel.
对自左声道输出的第二音频信号所采集的多个数据点进行傅里叶变换,以获取与其对应的音频频域信息。对自右声道输出的第二音频信号所采集的多个数据点进行傅里叶变换,以获取与其对应的音频频域信息。Fourier transform is performed on a plurality of data points collected from the second audio signal output from the left channel to obtain corresponding audio frequency domain information. Fourier transform is performed on a plurality of data points collected from the second audio signal output from the right channel to obtain corresponding audio frequency domain information.
在得到与左声道和右声道的第二音频信号对应的音频频域信息后,即可采集在特定频点上的幅度值,执行步骤S133。After obtaining the audio frequency domain information corresponding to the second audio signal of the left channel and the right channel, the amplitude value at the specific frequency point can be collected, and step S133 is executed.
S133:获取左声道和右声道的音频频域信息在特定频点上的第一幅度值和第二幅度值。S133: Acquire the first amplitude value and the second amplitude value of the audio frequency domain information of the left channel and the right channel at a specific frequency point.
获取左声道的音频频域信息在特定频点上的第一幅度值,获取右声道的音频频域信息在特定频点上的第二幅度值,即第一幅度值和第二幅度值为同一特定频点分别与左声道、右声道对应。Obtain the first amplitude value of the audio frequency domain information of the left channel at a specific frequency point, and obtain the second amplitude value of the audio frequency domain information of the right channel at a specific frequency point, that is, the first amplitude value and the second amplitude value The same specific frequency point corresponds to the left channel and the right channel respectively.
其中,该特定频点为第一音频信号的频率值。例如,第一音频信号为1kHz,则该特定频点为1kHz。经傅里叶变换后所得到的音频频域信息曲线在0和与第一音频信号的频率值对应的频点上有幅度值,其余各频点的幅度值近乎于零,而与第一音频信号的频率值对应的频点上的幅度值可反映出音频芯片的放大能力。Wherein, the specific frequency point is the frequency value of the first audio signal. For example, if the first audio signal is 1 kHz, the specific frequency point is 1 kHz. The audio frequency domain information curve obtained after Fourier transform has amplitude values at 0 and the frequency point corresponding to the frequency value of the first audio signal, and the amplitude value of the other frequency points is close to zero, which is different from that of the first audio signal. The amplitude value on the frequency point corresponding to the frequency value of the signal can reflect the amplification capability of the audio chip.
进一步地,参阅图3,还可判断音频芯片的放大能力是否满足性能要求,其方法如下:Further, referring to Figure 3, it is also possible to determine whether the amplification capability of the audio chip meets the performance requirements, and the method is as follows:
S134:分别确定第一幅度值和第二幅度值是否处于预设幅度阈值范围内。S134: Determine whether the first amplitude value and the second amplitude value are within a preset amplitude threshold range, respectively.
即分别将第一幅度值和第二幅度值与预设幅度阈值范围作比较,确定其是否落于预设幅度阈值范围内,该预设幅度阈值范围为人为设定所需要芯片具备的放大能力。That is, the first amplitude value and the second amplitude value are respectively compared with the preset amplitude threshold value range to determine whether they fall within the preset amplitude threshold value range, and the preset amplitude threshold value range is the amplification capability of the chip required for manual setting .
S135:若是,则音频芯片的放大能力符合性能要求。S135: If yes, the amplification capability of the audio chip meets the performance requirements.
若是,则音频芯片的放大能力符合性能要求;若第一幅度值和第二幅度值中任一个不满足要求,则该音频芯片的放大能力不符合性能要求。If so, the amplification capability of the audio chip meets the performance requirements; if any one of the first amplitude value and the second amplitude value does not meet the requirements, the amplification capability of the audio chip does not meet the performance requirements.
进一步地,参阅图4,还可测试左声道和右声道的噪声状况,其方法如下:Further, referring to Figure 4, the noise conditions of the left and right channels can also be tested, and the method is as follows:
S136:获取第二音频信号其他频点上的多个第三幅度值。S136: Acquire multiple third amplitude values at other frequency points of the second audio signal.
获取第二音频信号其他频点上的多个第三幅度值,即分别获取左声道和右声道的音频频域信息于其他频点上的多个第三幅度值,该其他频点为除特定频点外的其他频点,由于其他频点的幅度值近乎于零,则其他频点的幅度值过大,则说明与之对应的左声道或右声道所发出的音频信息中携带的噪音较大,也是不符合音频芯片的性能要求的。Acquiring multiple third amplitude values on other frequency points of the second audio signal, that is, acquiring multiple third amplitude values on other frequency points of the audio frequency domain information of the left channel and the right channel respectively, and the other frequency points are For other frequency points except a specific frequency point, since the amplitude value of other frequency points is close to zero, the amplitude value of other frequency points is too large, which means that the audio information sent by the corresponding left channel or right channel is in the audio information. It carries a lot of noise and does not meet the performance requirements of the audio chip.
S137:确定多个第三幅度值是否小于第二幅度阈值。S137: Determine whether the plurality of third amplitude values are smaller than the second amplitude threshold.
确定多个第三幅度值是否小于第二幅度阈值,第二幅度阈值为经试验所测出的对处于人耳可忍受的噪音音频幅度值。因而,确定多个第三幅度值小于第二幅度阈值,则表明音频芯片的噪声小,与之对应的左声道或右声道符合音频芯片的性能要求,若左声道和右声道所发出的音频均符合音频芯片的性能要求,则该音频芯片满足所需的性能要求。若左声道和右声道中任一个所对应的第三幅度值超出第二幅度阈值,则该音频芯片不满足所需的性能要求。It is determined whether the plurality of third amplitude values are smaller than a second amplitude threshold value, and the second amplitude threshold value is a noise audio amplitude value tolerable to human ears measured through experiments. Therefore, it is determined that the plurality of third amplitude values are smaller than the second amplitude threshold, indicating that the noise of the audio chip is small, and the corresponding left channel or right channel meets the performance requirements of the audio chip. If the audio output meets the performance requirements of the audio chip, the audio chip meets the required performance requirements. If the third amplitude value corresponding to any one of the left channel and the right channel exceeds the second amplitude threshold, the audio chip does not meet the required performance requirements.
S138:若是,则表明音频芯片的噪声小。S138: If yes, it means that the noise of the audio chip is small.
S14:确定第一幅度值和第二幅度值的差值是否小于第一幅度阈值。S14: Determine whether the difference between the first amplitude value and the second amplitude value is smaller than the first amplitude threshold.
获取第一幅度值和第二幅度值的差值,并确定该差值是否小于第一幅度阈值。第一幅度值和第二幅度值的差值可作为评判音频芯片的左声道和右声道相似性的指标,若音频芯片的左声道和右声道的放大能力差异较大,则势必会影响用户的使用。Obtain the difference between the first amplitude value and the second amplitude value, and determine whether the difference is smaller than the first amplitude threshold. The difference between the first amplitude value and the second amplitude value can be used as an indicator for judging the similarity of the left channel and the right channel of the audio chip. will affect the user's use.
因而,若差值小于第一幅度阈值,则音频芯片的左声道和右声道的放大能力相近,则音频芯片满足性能要求。若差值大于等于第一幅度阈值,则音频芯片的左声道和右声道的放大能力相差较大,则音频芯片不满足性能要求。Therefore, if the difference is smaller than the first amplitude threshold, the amplification capabilities of the left channel and the right channel of the audio chip are similar, and the audio chip meets the performance requirements. If the difference is greater than or equal to the first amplitude threshold, then the amplification capabilities of the left channel and the right channel of the audio chip are quite different, and the audio chip does not meet the performance requirements.
S15:若是,则音频芯片的左声道和右声道的性能符合要求。S15: If yes, the performance of the left channel and right channel of the audio chip meets the requirements.
通过获取音频芯片自左声道和右声道输出的第二音频信号在特定频点上的第一幅度值和第二幅度值,并通过确定第一幅度值和第二幅度值的差值是否小于第一幅度阈值,进而辨别音频芯片左右声道的输出能力是否相近,因此本申请提供的音频芯片的测试方法能够检测出音频芯片左右声道的输出能力的相差程度,进而挑选出性能符合要求的音频芯片,以保证耳机的品质。By acquiring the first amplitude value and the second amplitude value of the second audio signal output by the audio chip from the left channel and the right channel at a specific frequency point, and by determining whether the difference between the first amplitude value and the second amplitude value is is less than the first amplitude threshold, so as to determine whether the output capabilities of the left and right channels of the audio chip are similar. Therefore, the audio chip testing method provided by this application can detect the difference between the output capabilities of the left and right channels of the audio chip, and then select the performance that meets the requirements. The audio chip to ensure the quality of the headset.
基于此,本申请还提供一种计算机设备100,请参阅图5,图5是本申请计算机设备第一实施例的结构示意图,该实施方式中,计算机设备100包括处理器110和存储器120,处理器110耦接存储器120,存储器120用于存储程序,处理器110用于执行程序以实现上述任一实施例的帧内预测方法或视频编码方法。Based on this, the present application also provides a
计算机设备100可以是编解码器。处理器110还可以称为CPU(Central ProcessingUnit,中央处理单元)。处理器110可以是一种集成电路芯片,具有信号的处理能力。处理器110还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器110可以是微处理器或者该处理器也可以是任何常规的处理器等。
基于此,本申请还提供一种存储介质200,请参阅图6,图6是本申请提供的存储介质一实施例的结构示意图,该实施方式中,存储介质200存储有程序210,程序210被执行时能够实现上述任一实施例的帧内预测方法或视频编码方法。Based on this, the present application also provides a
其中,该程序210可以以软件产品的形式存储在上述存储介质200中,包括若干指令用以使得一个设备或处理器执行本申请各个实施方式方法的全部或部分步骤。Wherein, the
存储介质200是计算机存储器中用于存储某种不连续物理量的媒体。而前述的具有存储功能的存储介质200包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序210代码的介质。
在本申请所提供的几个实施方式中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the device implementations described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other divisions. For example, multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this implementation manner.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式所述方法的全部或部分步骤。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
以上所述仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related technologies Fields are similarly included within the scope of patent protection of this application.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210389824.7A CN114900782A (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210389824.7A CN114900782A (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
CN201910667182.0A CN112291696B (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910667182.0A Division CN112291696B (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114900782A true CN114900782A (en) | 2022-08-12 |
Family
ID=74419188
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210389824.7A Pending CN114900782A (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
CN201910667182.0A Active CN112291696B (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910667182.0A Active CN112291696B (en) | 2019-07-23 | 2019-07-23 | Audio chip testing method, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN114900782A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302309B (en) * | 2021-12-16 | 2024-06-25 | 合肥联宝信息技术有限公司 | Method and device for detecting audio collector |
CN115278507B (en) * | 2022-07-19 | 2024-10-29 | 深圳市研祥金码科技有限公司 | Method, device, equipment and system for detecting defects of left and right channels |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8077815B1 (en) * | 2004-11-16 | 2011-12-13 | Adobe Systems Incorporated | System and method for processing multi-channel digital audio signals |
US20120230501A1 (en) * | 2009-09-03 | 2012-09-13 | National Digital Research Centre | auditory test and compensation method |
CN104485117A (en) * | 2014-12-16 | 2015-04-01 | 福建星网视易信息系统有限公司 | Method and system for detecting sound recording equipment |
CN104661169A (en) * | 2013-11-25 | 2015-05-27 | 深圳中电长城信息安全系统有限公司 | Audio testing method and device |
CN108810717A (en) * | 2018-08-21 | 2018-11-13 | 歌尔科技有限公司 | A kind of left and right acoustic channels degree of balance adjusting method, device, control chip and earphone |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374374B (en) * | 2007-08-24 | 2013-04-24 | 鹏智科技(深圳)有限公司 | Audio test device and method |
US20100057471A1 (en) * | 2008-08-26 | 2010-03-04 | Hongwei Kong | Method and system for processing audio signals via separate input and output processing paths |
BRPI0922050A2 (en) * | 2008-11-14 | 2019-09-24 | That Corp | multi-spatial processing protection and dynamic volume control |
CN103297909B (en) * | 2013-04-23 | 2016-04-13 | 加一联创电子科技有限公司 | A kind of earphone method of testing and device |
US9107016B2 (en) * | 2013-07-16 | 2015-08-11 | iHear Medical, Inc. | Interactive hearing aid fitting system and methods |
CN104807540B (en) * | 2014-01-28 | 2018-03-23 | 惠州超声音响有限公司 | Noise check method and system |
CN106714017B (en) * | 2015-07-17 | 2019-08-23 | 中兴通讯股份有限公司 | A kind of method, apparatus, terminal and earphone adjusting earphone sound field |
CN105100993A (en) * | 2015-07-23 | 2015-11-25 | 努比亚技术有限公司 | Bluetooth earphone |
US10397691B2 (en) * | 2017-06-20 | 2019-08-27 | Cubic Corporation | Audio assisted dynamic barcode system |
CN108347686A (en) * | 2018-02-07 | 2018-07-31 | 广州视源电子科技股份有限公司 | Audio testing method and device, intelligent equipment and storage medium |
CN109379690A (en) * | 2018-11-09 | 2019-02-22 | 歌尔股份有限公司 | Earphone quality detecting method, device and computer readable storage medium |
CN109831733B (en) * | 2019-02-26 | 2020-11-24 | 北京百度网讯科技有限公司 | Method, device and equipment for testing audio playing performance and storage medium |
CN110021307B (en) * | 2019-04-04 | 2022-02-01 | Oppo广东移动通信有限公司 | Audio verification method and device, storage medium and electronic equipment |
-
2019
- 2019-07-23 CN CN202210389824.7A patent/CN114900782A/en active Pending
- 2019-07-23 CN CN201910667182.0A patent/CN112291696B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8077815B1 (en) * | 2004-11-16 | 2011-12-13 | Adobe Systems Incorporated | System and method for processing multi-channel digital audio signals |
US20120230501A1 (en) * | 2009-09-03 | 2012-09-13 | National Digital Research Centre | auditory test and compensation method |
CN104661169A (en) * | 2013-11-25 | 2015-05-27 | 深圳中电长城信息安全系统有限公司 | Audio testing method and device |
CN104485117A (en) * | 2014-12-16 | 2015-04-01 | 福建星网视易信息系统有限公司 | Method and system for detecting sound recording equipment |
CN108810717A (en) * | 2018-08-21 | 2018-11-13 | 歌尔科技有限公司 | A kind of left and right acoustic channels degree of balance adjusting method, device, control chip and earphone |
Also Published As
Publication number | Publication date |
---|---|
CN112291696A (en) | 2021-01-29 |
CN112291696B (en) | 2022-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109831733B (en) | Method, device and equipment for testing audio playing performance and storage medium | |
CN108076226B (en) | Method for adjusting call quality, mobile terminal and storage medium | |
CN106911996A (en) | Microphone state detection method, device and terminal equipment | |
WO2020248308A1 (en) | Audio pop detection method and apparatus, and storage medium | |
WO2020037555A1 (en) | Method, device, apparatus, and system for evaluating microphone array consistency | |
US11026602B2 (en) | System for hearing sensitivity testing and auto reinforcement | |
CN110809214B (en) | Audio playing method, audio playing device and terminal equipment | |
US11632200B2 (en) | Measuring and evaluating a test signal generated by a device under test (DUT) | |
WO2020019858A1 (en) | Microphone hole clogging detection method and related products | |
WO2015143896A1 (en) | Recognition circuit, method, apparatus and system for external device based on earphone socket | |
WO2020125325A1 (en) | Method for eliminating echo and device | |
CN110491419B (en) | A playback control method, system and terminal device | |
CN114900782A (en) | Audio chip testing method, storage medium and computer equipment | |
CN113517000A (en) | Test method, terminal and storage device for echo cancellation | |
AU2016277651A1 (en) | Bi-Directional Audio Generation Device for Speech Quality Assessment of Telephony Networks and Speech Codecs | |
CN110290453B (en) | Delay testing method and system of wireless playing device | |
CN113010139B (en) | Screen projection method and device and electronic equipment | |
CN111613242B (en) | Method and device for testing audio line of equipment and electronic equipment | |
CN107331399A (en) | Learning effect detection method and system and terminal equipment | |
CN114155875A (en) | Method, device, electronic device and storage medium for voice scene tampering authentication | |
CN111163310B (en) | Television audio test method, device, equipment and computer readable storage medium | |
WO2017166606A1 (en) | Audio playback method and apparatus, terminal device, electronic device, and storage medium | |
CN107889031B (en) | Audio control method, audio control device and electronic equipment | |
CN108513226A (en) | A kind of method and device of detection two-channel equipment stereophonic effect | |
CN109274826B (en) | Method, device, terminal and computer-readable storage medium for switching voice playback mode |
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 |