Movatterモバイル変換


[0]ホーム

URL:


CN110246502A - Voice noise reduction method and device and terminal equipment - Google Patents

Voice noise reduction method and device and terminal equipment
Download PDF

Info

Publication number
CN110246502A
CN110246502ACN201910562888.0ACN201910562888ACN110246502ACN 110246502 ACN110246502 ACN 110246502ACN 201910562888 ACN201910562888 ACN 201910562888ACN 110246502 ACN110246502 ACN 110246502A
Authority
CN
China
Prior art keywords
voice signal
voiceprint feature
voice
speech
noise reduction
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
CN201910562888.0A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co LtdfiledCriticalGuangdong Genius Technology Co Ltd
Priority to CN201910562888.0ApriorityCriticalpatent/CN110246502A/en
Publication of CN110246502ApublicationCriticalpatent/CN110246502A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention is suitable for the technical field of voice processing, and provides a voice noise reduction method, a device, terminal equipment and a computer readable storage medium, wherein the voice noise reduction method comprises the following steps: acquiring a first voice signal, wherein the first voice signal is a voice signal carrying noise; determining a voiceprint feature corresponding to the first voice signal; determining semantic data corresponding to the first voice signal according to the voiceprint features; and generating a second voice signal according to the semantic data and the voiceprint characteristics. By the method, the noise reduction efficiency and the voice call quality can be improved.

Description

Translated fromChinese
语音降噪方法、装置及终端设备Speech noise reduction method, device and terminal device

技术领域technical field

本发明属于语音处理技术领域,尤其涉及一种语音降噪方法、装置、终端设备及计算机可读存储介质。The present invention belongs to the technical field of speech processing, and in particular, relates to a speech noise reduction method, device, terminal device and computer-readable storage medium.

背景技术Background technique

在人类社会中,人与人之间存在密不可分的关系,在人与人之间的交往过程中,沟通是极为重要的。现今,电子通话工具的存在,极大地便利了人类的沟通。In human society, there is an inseparable relationship between people, and in the process of communication between people, communication is extremely important. Today, the existence of electronic communication tools has greatly facilitated human communication.

然而,在现有技术中,由于在利用电子通话工具通话的过程中,常常会受到噪音的干扰,因此,通常厂商会在电子通话工具中至少配置两颗麦克风,利用麦克风、波形成束声源定位技术以及自适应的降噪算法以降低噪音的干扰。但是目前的降噪方法并不能有效滤除强噪音、方位变化所引起的噪音以及某些瞬时噪音,从而导致降噪效率低下,导致语音通话质量不高。However, in the prior art, since the use of electronic communication tools to communicate is often disturbed by noise, manufacturers usually configure at least two microphones in the electronic communication tools, using microphones and wave-forming beam sound sources. Positioning technology and adaptive noise reduction algorithm to reduce noise interference. However, current noise reduction methods cannot effectively filter out strong noises, noises caused by azimuth changes, and certain transient noises, resulting in low noise reduction efficiency and poor voice call quality.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种语音降噪方法、装置、终端设备及计算机可读存储介质,以解决目前的降噪方法不能有效滤除强噪音、方位变化所引起的噪音以及某些瞬时噪音,从而导致降噪效率低下,导致语音通话质量不高的问题。In view of this, embodiments of the present invention provide a voice noise reduction method, device, terminal device, and computer-readable storage medium, so as to solve the problem that the current noise reduction method cannot effectively filter out strong noise, noise caused by azimuth changes, and certain noise reduction. some transient noises, resulting in low noise reduction efficiency and low voice call quality.

本发明实施例的第一方面提供了一种语音降噪方法,包括:A first aspect of the embodiments of the present invention provides a method for noise reduction of speech, including:

获取第一语音信号,所述第一语音信号为携带噪音的语音信号;acquiring a first voice signal, where the first voice signal is a noise-carrying voice signal;

确定所述第一语音信号对应的声纹特征;determining the voiceprint feature corresponding to the first voice signal;

根据所述声纹特征确定所述第一语音信号对应的语义数据;Determining semantic data corresponding to the first voice signal according to the voiceprint feature;

根据所述语义数据和所述声纹特征生成第二语音信号。A second speech signal is generated according to the semantic data and the voiceprint feature.

本发明实施例的第二方面提供了一种语音降噪装置,包括:A second aspect of the embodiments of the present invention provides a voice noise reduction device, including:

第一语音信号获取单元,用于获取第一语音信号,所述第一语音信号为携带噪音的语音信号;a first voice signal acquisition unit, configured to acquire a first voice signal, where the first voice signal is a noise-carrying voice signal;

声纹特征确定单元,用于确定所述第一语音信号对应的声纹特征;a voiceprint feature determining unit, configured to determine the voiceprint feature corresponding to the first voice signal;

语义数据确定单元,用于根据所述声纹特征确定所述第一语音信号对应的语义数据;a semantic data determining unit, configured to determine semantic data corresponding to the first voice signal according to the voiceprint feature;

第二语音信号生成单元,用于根据所述语义数据和所述声纹特征生成第二语音信号。A second voice signal generating unit, configured to generate a second voice signal according to the semantic data and the voiceprint feature.

本发明实施例的第三方面提供了一种终端设备,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如所述语音降噪方法的步骤。A third aspect of the embodiments of the present invention provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program When implementing the steps of the voice noise reduction method described above.

本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如所述数据获取语音降噪方法的步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for acquiring voice noise reduction according to the data acquisition is implemented. step.

本发明实施例与现有技术相比存在的有益效果是:由于在确定第一语音信号对应的声纹特征后,根据所述声纹特征确定所述第一语音信号对应的语义数据,再根据所述语义数据和所述声纹特征生成第二语音信号,而所生成的第二声音信号已无噪音,且第二声音信号能完整、清晰地表达当前通话用户的语义,因此,本发明实施例大大提高了降噪效率和语音通话质量。Compared with the prior art, the embodiment of the present invention has the beneficial effect that after the voiceprint feature corresponding to the first voice signal is determined, the semantic data corresponding to the first voice signal is determined according to the voiceprint feature, and then the semantic data corresponding to the first voice signal is determined according to the voiceprint feature. The semantic data and the voiceprint feature generate a second voice signal, and the generated second voice signal has no noise, and the second voice signal can completely and clearly express the semantics of the current calling user. Therefore, the present invention implements The example greatly improves the noise reduction efficiency and voice call quality.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明实施例提供的第一种语音降噪方法的流程示意图;1 is a schematic flowchart of a first voice noise reduction method provided by an embodiment of the present invention;

图2是本发明实施例提供的第二种语音降噪方法的流程示意图;2 is a schematic flowchart of a second speech noise reduction method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种语音降噪装置的结构示意图;3 is a schematic structural diagram of a voice noise reduction device provided by an embodiment of the present invention;

图4是本发明实施例提供的终端设备的示意图。FIG. 4 is a schematic diagram of a terminal device provided by an embodiment of the present invention.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are set forth in order to provide a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。In order to illustrate the technical solutions of the present invention, the following specific embodiments are used for description. It is to be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other features , whole, step, operation, element, component and/or the presence or addition of a collection thereof.

还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the specification of the application herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.

还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .

如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be contextually interpreted as "when" or "once" or "in response to determining" or "in response to detecting" . Similarly, the phrases "if it is determined" or "if the [described condition or event] is detected" may be interpreted, depending on the context, to mean "once it is determined" or "in response to the determination" or "once the [described condition or event] is detected. ]" or "in response to detection of the [described condition or event]".

具体实现中,本申请实施例中描述的终端设备包括但不限于诸如具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,上述设备并非便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。In specific implementation, the terminal devices described in the embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers or tablet computers with touch-sensitive surfaces (eg, touch screen displays and/or touch pads). . It should also be understood that, in some embodiments, the above-described devices are not portable communication devices, but rather desktop computers with touch-sensitive surfaces (eg, touch screen displays and/or touch pads).

在接下来的讨论中,描述了包括显示器和触摸敏感表面的终端设备。然而,应当理解的是,终端设备可以包括诸如物理键盘、鼠标和/或控制杆的一个或多个其它物理用户接口设备。In the discussion that follows, an end device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse and/or joystick.

终端设备支持各种应用程序,例如以下中的一个或多个:绘图应用程序、演示应用程序、文字处理应用程序、网站创建应用程序、盘刻录应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息收发应用程序、锻炼支持应用程序、照片管理应用程序、数码相机应用程序、数字摄影机应用程序、web浏览应用程序、数字音乐播放器应用程序和/或数字视频播放器应用程序。The terminal device supports various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disc burning applications, spreadsheet applications, gaming applications, telephony applications Apps, Video Conferencing Apps, Email Apps, Instant Messaging Apps, Workout Support Apps, Photo Management Apps, Digital Camera Apps, Digital Video Camera Apps, Web Browsing Apps, Digital Music Player Apps and/or digital video player applications.

可以在终端设备上执行的各种应用程序可以使用诸如触摸敏感表面的至少一个公共物理用户接口设备。可以在应用程序之间和/或相应应用程序内调整和/或改变触摸敏感表面的一个或多个功能以及终端上显示的相应信息。这样,终端的公共物理架构(例如,触摸敏感表面)可以支持具有对用户而言直观且透明的用户界面的各种应用程序。Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within respective applications. In this way, the common physical architecture of the terminal (eg, touch-sensitive surface) can support various applications with a user interface that is intuitive and transparent to the user.

实施例一:Example 1:

图1示出了本申请实施例提供的第一种语音降噪方法的流程示意图,详述如下:FIG. 1 shows a schematic flowchart of a first speech noise reduction method provided by an embodiment of the present application, and details are as follows:

步骤S101,获取第一语音信号,所述第一语音信号为携带噪音的语音信号。Step S101 , acquiring a first voice signal, where the first voice signal is a noise-carrying voice signal.

具体地,判断当前是否处于通话状态,若当前处于通话状态,则获取第一语音信号。Specifically, it is judged whether it is currently in a talking state, and if it is currently in a talking state, the first voice signal is acquired.

步骤S102,确定所述第一语音信号对应的声纹特征。Step S102: Determine the voiceprint feature corresponding to the first voice signal.

具体地,对所述第一语音信号进行采样及量化,获取量化后的第一语音信号对应的声纹特征。Specifically, the first voice signal is sampled and quantized, and the voiceprint feature corresponding to the quantized first voice signal is obtained.

可选地,为了提高所确定的声纹特征的准确性,所述步骤S102包括:根据预设声纹特征模型确定所述第一语音信号对应的声纹特征。Optionally, in order to improve the accuracy of the determined voiceprint feature, the step S102 includes: determining the voiceprint feature corresponding to the first voice signal according to a preset voiceprint feature model.

具体地,将所述第一语音信号作为预设声纹特征模型的输入,所述预设声纹特征模型输出所述第一语音信号对应的声纹特征,所述预设声纹模型是由大范围标注数据,结合卷积神经网络(Convolutional Neural Networks,CNN)和三元组损失(Triplet loss)训练而成。Specifically, the first voice signal is used as the input of a preset voiceprint feature model, the preset voiceprint feature model outputs the voiceprint feature corresponding to the first voice signal, and the preset voiceprint model is composed of Large-scale labeled data is trained by combining Convolutional Neural Networks (CNN) and Triplet loss.

可选地,在所述步骤S101之前,包括:获取指定用户的声音;根据所述指定用户的声音调整预设声纹特征模型;对应地,所述根据预设声纹特征模型确定所述第一语音信号对应的声纹特征,包括:根据调整后的预设声纹特征模型确定所述第一语音信号对应的声纹特征。Optionally, before the step S101, it includes: acquiring the voice of a specified user; adjusting a preset voiceprint feature model according to the voice of the specified user; correspondingly, determining the first voiceprint feature model according to the preset voiceprint feature model. A voiceprint feature corresponding to a voice signal includes: determining the voiceprint feature corresponding to the first voice signal according to an adjusted preset voiceprint feature model.

具体地,所述根据所述指定用户的声音调整预设声纹特征模型包括:利用所述指定用户的声音调整所述预设声纹特征模型的参数,使所述预设声纹特征模型达到收敛。Specifically, the adjusting the preset voiceprint feature model according to the voice of the designated user includes: using the voice of the designated user to adjust parameters of the preset voiceprint feature model, so that the preset voiceprint feature model reaches convergence.

步骤S103,根据所述声纹特征确定所述第一语音信号对应的语义数据。Step S103: Determine semantic data corresponding to the first voice signal according to the voiceprint feature.

具体地,根据所述声纹特征确定所述第一语音信号对应的音素,根据所述第一语音信号对应的音素生成所述第一语音信号对应的语义数据。Specifically, the phoneme corresponding to the first speech signal is determined according to the voiceprint feature, and the semantic data corresponding to the first speech signal is generated according to the phoneme corresponding to the first speech signal.

步骤S104,根据所述语义数据和所述声纹特征生成第二语音信号。Step S104, generating a second speech signal according to the semantic data and the voiceprint feature.

具体地,利用预设语音合成技术生成所述语义数据对应的中间语音信号,根据所述中间语音信号和所述声纹特征生成第二语音信号,通过有线或者无线的方式发送所述第二语音信号。Specifically, a preset speech synthesis technology is used to generate an intermediate speech signal corresponding to the semantic data, a second speech signal is generated according to the intermediate speech signal and the voiceprint feature, and the second speech is sent in a wired or wireless manner Signal.

可选地,由于所述第二语音信号已经没有任何噪音,这可能会让用户产生不真实感,可能会使通话的人产生紧张等负面情绪,从而降低通话的效率,为了提高通话的效率和通话品质,因此,在所述步骤S104之前,包括:生成指定噪音,所述指定噪音具有平坦功率谱;对应地,所述步骤S104,包括:根据所述指定噪音、所述语义数据以及所述声纹特征生成第二语音信号。Optionally, because the second voice signal has no noise, this may make the user feel unreal, and may make the person on the call feel nervous and other negative emotions, thereby reducing the efficiency of the call. In order to improve the efficiency of the call and Therefore, before the step S104, the call quality includes: generating a specified noise, and the specified noise has a flat power spectrum; correspondingly, the step S104 includes: according to the specified noise, the semantic data and the The voiceprint feature generates a second speech signal.

具体地,所述生成指定噪音包括:根据预设功率和预设频率生成指定噪音。Specifically, the generating the specified noise includes: generating the specified noise according to the preset power and the preset frequency.

本发明实施例中,由于在确定第一语音信号对应的声纹特征后,根据所述声纹特征确定所述第一语音信号对应的语义数据,再根据所述语义数据和所述声纹特征生成第二语音信号,而所生成的第二声音信号已无噪音,且第二声音信号能完整、清晰地表达当前通话用户的语义,因此,本发明实施例大大提高了降噪效率和语音通话质量。In the embodiment of the present invention, after the voiceprint feature corresponding to the first voice signal is determined, the semantic data corresponding to the first voice signal is determined according to the voiceprint feature, and then the semantic data and the voiceprint feature are determined according to the semantic data and the voiceprint feature. The second voice signal is generated, and the generated second voice signal has no noise, and the second voice signal can completely and clearly express the semantics of the current calling user. Therefore, the embodiment of the present invention greatly improves the noise reduction efficiency and the voice call. quality.

实施例二:Embodiment 2:

图2示出了本申请实施例提供的第二种语音降噪方法的流程示意图,本实施例的步骤S201、S206分别与实施例一的步骤S101、S104相同,此处不再赘述:2 shows a schematic flowchart of a second speech noise reduction method provided by an embodiment of the present application. Steps S201 and S206 in this embodiment are respectively the same as steps S101 and S104 in Embodiment 1, and are not repeated here:

步骤S201,获取第一语音信号,所述第一语音信号为携带噪音的语音信号。Step S201: Obtain a first voice signal, where the first voice signal is a noise-carrying voice signal.

步骤S202,根据预设时长将所述第一语音信号分割成至少两个语音帧。Step S202, dividing the first speech signal into at least two speech frames according to a preset duration.

具体地,根据预设窗函数将所述第一语音信号分割成至少两个语音帧,每一帧语音帧的时长为预设时长,所述预设时长可为20ms,所述预设窗函数包括但不限于汉宁窗或汉明窗。Specifically, the first voice signal is divided into at least two voice frames according to a preset window function, the duration of each frame of voice frame is a preset duration, and the preset duration may be 20ms, and the preset window function Including but not limited to Hanning windows or Hamming windows.

步骤S203,根据所述语音帧确定所述第一语音信号对应的声纹特征。Step S203, determining the voiceprint feature corresponding to the first voice signal according to the voice frame.

具体地,获取所述语音帧对应的频域信号,提取所述频域信号对应的频域特征参数,根据所述频域特征参数确定所述第一语音信号对应的声纹特征。Specifically, the frequency domain signal corresponding to the speech frame is acquired, the frequency domain characteristic parameter corresponding to the frequency domain signal is extracted, and the voiceprint characteristic corresponding to the first speech signal is determined according to the frequency domain characteristic parameter.

步骤S204,将具有所述声纹特征的连续语音帧确定为所述第一语音信号中的有效语音片断。Step S204, determining the continuous speech frame with the voiceprint feature as a valid speech segment in the first speech signal.

具体地,将所述第一语音信号对应的声纹特征与预存的声纹特征进行匹配,若所述第一语音信号对应的声纹特征与预存的声纹特征的匹配度在预设范围内,则将具有第一语音信号对应的声纹特征的连续语音帧确定为所述第一语音信号中的有效语音片断。Specifically, the voiceprint feature corresponding to the first voice signal is matched with the pre-stored voiceprint feature, if the matching degree between the voiceprint feature corresponding to the first voice signal and the pre-stored voiceprint feature is within a preset range , the continuous speech frames having the voiceprint feature corresponding to the first speech signal are determined as valid speech segments in the first speech signal.

可选地,由于在通话过程中,可能出现通话双方静默的情况,为了使通话的人知道当前仍处于通话状态,所述语音降噪方法还可包括:若所述第一语音信号为不具有所述声纹特征的连续语音帧,则滤除所述第一语音信号携带的噪音,生成包括指定噪音的第三语音信号,所述指定噪音具有平坦功率谱。Optionally, since during the call, both parties to the call may be silent, in order to let the caller know that the call is still in the current state, the voice noise reduction method may further include: if the first voice signal does not have a For the continuous speech frames of the voiceprint feature, the noise carried by the first speech signal is filtered out, and a third speech signal including a specified noise is generated, and the specified noise has a flat power spectrum.

具体地,所述生成包括指定噪音的第三语音信号包括:确定所述不具有所述声纹特征的连续语音帧的时长,生成包括指定噪音且与所述时长对应的第三语音信号。Specifically, the generating the third voice signal including the specified noise includes: determining the duration of the continuous voice frames without the voiceprint feature, and generating the third voice signal including the specified noise and corresponding to the duration.

步骤S205,获取所述有效语音片断对应的语义数据。Step S205, acquiring semantic data corresponding to the valid speech segment.

具体地,确定所述有效语音片断对应的音素,根据所述有效语音片断对应的音素生成所述第一语音信号对应的语义数据。Specifically, the phoneme corresponding to the valid speech segment is determined, and the semantic data corresponding to the first speech signal is generated according to the phoneme corresponding to the valid speech segment.

可选地,所述语义数据为语义文本数据,对应地,所述步骤S205包括:根据预设语音识别技术获取所述有效语音片段对应的语义文本数据。Optionally, the semantic data is semantic text data. Correspondingly, the step S205 includes: acquiring semantic text data corresponding to the valid speech segment according to a preset speech recognition technology.

具体地,根据预设语音识别技术获取所述有效语音片段对应的音素,根据所述有效语音片段对应的音素生成语义文本数据,所述语义文本数据包括但不限于:中文文本数据或英文文本数据。Specifically, the phoneme corresponding to the valid speech segment is obtained according to the preset speech recognition technology, and semantic text data is generated according to the phoneme corresponding to the valid speech segment, and the semantic text data includes but is not limited to: Chinese text data or English text data .

步骤S206,根据所述语义数据和所述声纹特征生成第二语音信号。Step S206, generating a second speech signal according to the semantic data and the voiceprint feature.

本发明实施例中,由于所获取的语义数据与有效语音片断对应,不仅大大降低了获取语义数据过程中的计算量,减少了计算时间,还使得第二语音信号能完整、清晰地表达当前通话用户的语义,因此,本发明实施例大大提高了降噪效率和语音通话质量。In the embodiment of the present invention, since the acquired semantic data corresponds to the valid speech segment, not only the amount of computation in the process of acquiring the semantic data is greatly reduced, the computation time is also reduced, but also the second speech signal can fully and clearly express the current call Therefore, the embodiment of the present invention greatly improves the noise reduction efficiency and the voice call quality.

实施例三:Embodiment three:

与上述实施例一、实施例二对应,图3示出了本申请实施例提供的一种语音降噪装置的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to Embodiment 1 and Embodiment 2 above, FIG. 3 shows a schematic structural diagram of a speech noise reduction apparatus provided by an embodiment of the present application. For convenience of description, only parts related to the embodiments of the present application are shown.

该语音降噪装置包括:第一语音信号获取单元301、声纹特征确定单元302、语义数据确定单元303以及第二语音信号生成单元304。The speech noise reduction apparatus includes: a first speech signal acquisition unit 301 , a voiceprint feature determination unit 302 , a semantic data determination unit 303 and a second speech signal generation unit 304 .

所述第一语音信号获取单元301,用于获取第一语音信号,所述第一语音信号为携带噪音的语音信号。The first voice signal obtaining unit 301 is configured to obtain a first voice signal, where the first voice signal is a noise-carrying voice signal.

所述第一语音信号获取单元301,具体用于:判断当前是否处于通话状态,若当前处于通话状态,则获取第一语音信号。The first voice signal obtaining unit 301 is specifically configured to: determine whether a call is currently in a state, and if it is currently in a call state, obtain a first voice signal.

所述声纹特征确定单元302,用于确定所述第一语音信号对应的声纹特征。The voiceprint feature determining unit 302 is configured to determine the voiceprint feature corresponding to the first voice signal.

所述声纹特征确定单元302,具体用于:对所述第一语音信号进行采样及量化,获取量化后的第一语音信号对应的声纹特征。The voiceprint feature determining unit 302 is specifically configured to: sample and quantize the first voice signal, and obtain the voiceprint feature corresponding to the quantized first voice signal.

可选地,为了提高所确定的声纹特征的准确性,所述声纹特征确定单元302具体用于:根据预设声纹特征模型确定所述第一语音信号对应的声纹特征。Optionally, in order to improve the accuracy of the determined voiceprint feature, the voiceprint feature determining unit 302 is specifically configured to: determine the voiceprint feature corresponding to the first voice signal according to a preset voiceprint feature model.

可选地,所述声纹特征确定单元302包括:分割子单元和特征确定子单元。Optionally, the voiceprint feature determination unit 302 includes: a segmentation subunit and a feature determination subunit.

所述分割子单元,用于:根据预设时长将所述第一语音信号分割成至少两个语音帧。The dividing subunit is configured to: divide the first speech signal into at least two speech frames according to a preset duration.

所述特征确定子单元,用于:根据所述语音帧确定所述第一语音信号对应的声纹特征。The feature determining subunit is configured to: determine the voiceprint feature corresponding to the first voice signal according to the voice frame.

可选地,该语音降噪装置包括:模型调整单元。Optionally, the speech noise reduction device includes: a model adjustment unit.

所述模型调整单元用于:在所述第一语音信号获取单元301执行所述获取第一语音信号之前,获取指定用户的声音;根据所述指定用户的声音调整预设声纹特征模型;对应地,所述声纹特征确定单元302在执行所述根据预设声纹特征模型确定所述第一语音信号对应的声纹特征时,具体用于:根据调整后的预设声纹特征模型确定所述第一语音信号对应的声纹特征。The model adjustment unit is configured to: before the first voice signal obtaining unit 301 executes the obtaining of the first voice signal, obtain the voice of the specified user; adjust the preset voiceprint feature model according to the voice of the specified user; correspond to Preferably, when the voiceprint feature determining unit 302 performs the determining of the voiceprint feature corresponding to the first voice signal according to the preset voiceprint feature model, it is specifically configured to: determine according to the adjusted preset voiceprint feature model The voiceprint feature corresponding to the first voice signal.

所述语义数据确定单元303,用于根据所述声纹特征确定所述第一语音信号对应的语义数据。The semantic data determining unit 303 is configured to determine semantic data corresponding to the first speech signal according to the voiceprint feature.

所述语义数据确定单元303,具体用于:根据所述声纹特征确定所述第一语音信号对应的音素,根据所述第一语音信号对应的音素生成所述第一语音信号对应的语义数据。The semantic data determining unit 303 is specifically configured to: determine the phoneme corresponding to the first voice signal according to the voiceprint feature, and generate semantic data corresponding to the first voice signal according to the phoneme corresponding to the first voice signal .

可选地,所述语义数据确定单元303包括:片断确定子单元和数据获取子单元。Optionally, the semantic data determination unit 303 includes: a segment determination subunit and a data acquisition subunit.

所述片断确定子单元用于:将具有所述声纹特征的连续语音帧确定为所述第一语音信号中的有效语音片断。The segment determination subunit is used for: determining the continuous speech frame with the voiceprint feature as a valid speech segment in the first speech signal.

可选地,由于在通话过程中,可能出现通话双方静默的情况,为了使通话的人知道当前仍处于通话状态,该语音降噪装置还包括:第三语音信号生成单元。Optionally, since both parties in the call may be silent during the call, in order to let the caller know that the call is still in the current state, the voice noise reduction device further includes: a third voice signal generating unit.

所述第三语音信号生成单元,用于:若所述第一语音信号为不具有所述声纹特征的连续语音帧,则滤除所述第一语音信号携带的噪音,生成包括指定噪音的第三语音信号,所述指定噪音具有平坦功率谱。The third voice signal generation unit is configured to: if the first voice signal is a continuous voice frame without the voiceprint feature, filter out the noise carried by the first voice signal, and generate a voice signal including the specified noise. The third speech signal, the specified noise has a flat power spectrum.

所述数据获取子单元,用于:获取所述有效语音片断对应的语义数据。The data acquisition subunit is configured to: acquire semantic data corresponding to the valid speech segment.

可选地,所述语义数据为语义文本数据,对应地,所述数据获取子单元在执行所述获取所述有效语音片断对应的语义数据时,具体用于:根据预设语音识别技术获取所述有效语音片段对应的语义文本数据。Optionally, the semantic data is semantic text data. Correspondingly, when the data obtaining subunit executes the obtaining of the semantic data corresponding to the valid speech segment, it is specifically configured to: obtain the data according to the preset speech recognition technology. The semantic text data corresponding to the valid speech segment is described.

所述第二语音信号生成单元304,用于根据所述语义数据和所述声纹特征生成第二语音信号。The second voice signal generating unit 304 is configured to generate a second voice signal according to the semantic data and the voiceprint feature.

所述第二语音信号生成单元304,具体用于:利用预设语音合成技术生成所述语义数据对应的中间语音信号,根据所述中间语音信号和所述声纹特征生成第二语音信号,通过有线或者无线的方式发送所述第二语音信号。The second voice signal generating unit 304 is specifically configured to: generate an intermediate voice signal corresponding to the semantic data by using a preset voice synthesis technology, generate a second voice signal according to the intermediate voice signal and the voiceprint feature, and pass The second voice signal is sent in a wired or wireless manner.

可选地,由于所述第二语音信号已经没有任何噪音,这可能会让用户产生不真实感,可能会使通话的人产生紧张等负面情绪,从而降低通话的效率,为了提高通话的效率和通话品质,因此,该语音降噪装置还包括:噪音生成单元。Optionally, because the second voice signal has no noise, this may make the user feel unreal, and may make the person on the call feel nervous and other negative emotions, thereby reducing the efficiency of the call. In order to improve the efficiency of the call and Call quality, therefore, the voice noise reduction device further includes: a noise generating unit.

所述噪音生成单元用于:在所述第二语音信号生成单元304执行所述根据所述语义数据和所述声纹特征生成第二语音信号之前,生成指定噪音,所述指定噪音具有平坦功率谱;对应地,所述第二语音信号生成单元304在执行所述根据所述语义数据和所述声纹特征生成第二语音信号时,具体用于:根据所述指定噪音、所述语义数据以及所述声纹特征生成第二语音信号。The noise generating unit is configured to: before the second voice signal generating unit 304 performs the generating of the second voice signal according to the semantic data and the voiceprint feature, generate a specified noise, where the specified noise has a flat power Correspondingly, when the second voice signal generating unit 304 performs the generating of the second voice signal according to the semantic data and the voiceprint feature, it is specifically configured to: according to the specified noise, the semantic data and the voiceprint feature generates a second voice signal.

本发明实施例中,由于在确定第一语音信号对应的声纹特征后,根据所述声纹特征确定所述第一语音信号对应的语义数据,再根据所述语义数据和所述声纹特征生成第二语音信号,而所生成的第二声音信号已无噪音,且第二声音信号能完整、清晰地表达当前通话用户的语义,因此,本发明实施例大大提高了降噪效率和语音通话质量。In the embodiment of the present invention, after the voiceprint feature corresponding to the first voice signal is determined, the semantic data corresponding to the first voice signal is determined according to the voiceprint feature, and then the semantic data and the voiceprint feature are determined according to the semantic data and the voiceprint feature. The second voice signal is generated, and the generated second voice signal has no noise, and the second voice signal can completely and clearly express the semantics of the current calling user. Therefore, the embodiment of the present invention greatly improves the noise reduction efficiency and the voice call. quality.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

实施例四:Embodiment 4:

图4是本发明实施例提供的终端设备的示意图。如图4所示,该实施例的终端设备4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机程序42。所述处理器40执行所述计算机程序42时实现上述各个语音降噪方法实施例中的步骤,例如图1所示的步骤S101至S104。或者,所述处理器40执行所述计算机程序42时实现上述各装置实施例中各单元的功能,例如图3所示单元301至304的功能。FIG. 4 is a schematic diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 4 , the terminal device 4 of this embodiment includes: a processor 40 , a memory 41 , and a computer program 42 stored in the memory 41 and running on the processor 40 . When the processor 40 executes the computer program 42 , the steps in each of the above embodiments of the speech noise reduction method are implemented, for example, steps S101 to S104 shown in FIG. 1 . Alternatively, when the processor 40 executes the computer program 42, the functions of the units in the foregoing apparatus embodiments, for example, the functions of the units 301 to 304 shown in FIG. 3, are implemented.

示例性的,所述计算机程序42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序42在所述终端设备4中的执行过程。例如,所述计算机程序42可以被分割成第一语音信号获取单元、声纹特征确定单元、语义数据确定单元以及第二语音信号生成单元,各单元具体功能如下:Exemplarily, the computer program 42 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 41 and executed by the processor 40 to complete the this invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the terminal device 4 . For example, the computer program 42 can be divided into a first voice signal acquisition unit, a voiceprint feature determination unit, a semantic data determination unit, and a second voice signal generation unit, and the specific functions of each unit are as follows:

第一语音信号获取单元,用于获取第一语音信号,所述第一语音信号为携带噪音的语音信号。The first voice signal acquisition unit is configured to acquire a first voice signal, where the first voice signal is a noise-carrying voice signal.

声纹特征确定单元,用于确定所述第一语音信号对应的声纹特征。A voiceprint feature determining unit, configured to determine a voiceprint feature corresponding to the first voice signal.

语义数据确定单元,用于根据所述声纹特征确定所述第一语音信号对应的语义数据。A semantic data determination unit, configured to determine semantic data corresponding to the first speech signal according to the voiceprint feature.

第二语音信号生成单元,用于根据所述语义数据和所述声纹特征生成第二语音信号。A second voice signal generating unit, configured to generate a second voice signal according to the semantic data and the voiceprint feature.

所述终端设备4可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图4仅仅是终端设备4的示例,并不构成对终端设备4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 4 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 40 and the memory 41 . Those skilled in the art can understand that FIG. 4 is only an example of the terminal device 4, and does not constitute a limitation on the terminal device 4, and may include more or less components than the one shown, or combine some components, or different components For example, the terminal device may further include an input and output device, a network access device, a bus, and the like.

所称处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器41可以是所述终端设备4的内部存储单元,例如终端设备4的硬盘或内存。所述存储器41也可以是所述终端设备4的外部存储设备,例如所述终端设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述终端设备4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the terminal device 4 , such as a hard disk or a memory of the terminal device 4 . The memory 41 may also be an external storage device of the terminal device 4, for example, a plug-in hard disk equipped on the terminal device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash card (Flash Card) and so on. Further, the memory 41 may also include both an internal storage unit of the terminal device 4 and an external storage device. The memory 41 is used for storing the computer program and other programs and data required by the terminal device. The memory 41 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments 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 division methods, such as multiple units. Or components may be combined or may 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 embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention 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.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.

Claims (10)

Translated fromChinese
1.一种语音降噪方法,其特征在于,包括:1. a speech noise reduction method, is characterized in that, comprises:获取第一语音信号,所述第一语音信号为携带噪音的语音信号;acquiring a first voice signal, where the first voice signal is a noise-carrying voice signal;确定所述第一语音信号对应的声纹特征;determining the voiceprint feature corresponding to the first voice signal;根据所述声纹特征确定所述第一语音信号对应的语义数据;Determining semantic data corresponding to the first voice signal according to the voiceprint feature;根据所述语义数据和所述声纹特征生成第二语音信号。A second speech signal is generated according to the semantic data and the voiceprint feature.2.如权利要求1所述的语音降噪方法,其特征在于,所述语音降噪方法,还包括:2. The voice noise reduction method according to claim 1, wherein the voice noise reduction method further comprises:若所述第一语音信号为不具有所述声纹特征的连续语音帧,则滤除所述第一语音信号携带的噪音,生成包括指定噪音的第三语音信号,所述指定噪音具有平坦功率谱。If the first voice signal is a continuous voice frame without the voiceprint feature, filter out the noise carried by the first voice signal, and generate a third voice signal including a specified noise, and the specified noise has a flat power spectrum.3.如权利要求1所述的语音降噪方法,其特征在于,所述确定所述第一语音信号对应的声纹特征,包括:3. The voice noise reduction method according to claim 1, wherein the determining the voiceprint feature corresponding to the first voice signal comprises:根据预设时长将所述第一语音信号分割成至少两个语音帧;dividing the first speech signal into at least two speech frames according to a preset duration;根据所述语音帧确定所述第一语音信号对应的声纹特征。The voiceprint feature corresponding to the first voice signal is determined according to the voice frame.4.如权利要求3所述的语音降噪方法,其特征在于,所述根据所述声纹特征确定所述第一语音信号对应的语义数据,包括:4. The method for noise reduction of speech according to claim 3, wherein determining the semantic data corresponding to the first speech signal according to the voiceprint feature comprises:将具有所述声纹特征的连续语音帧确定为所述第一语音信号中的有效语音片断;Determining the continuous speech frame with the voiceprint feature as a valid speech segment in the first speech signal;获取所述有效语音片断对应的语义数据。Acquire semantic data corresponding to the valid speech segment.5.如权利要求4所述的语音降噪方法,其特征在于,所述语义数据为语义文本数据,对应地,所述获取所述有效语音片段对应的语义数据,包括:5. The speech noise reduction method according to claim 4, wherein the semantic data is semantic text data, and correspondingly, the acquiring the semantic data corresponding to the valid speech segment comprises:根据预设语音识别技术获取所述有效语音片段对应的语义文本数据。The semantic text data corresponding to the valid speech segment is acquired according to the preset speech recognition technology.6.如权利要求1所述的语音降噪方法,其特征在于,所述确定所述第一语音信号对应的声纹特征,包括:6. The voice noise reduction method according to claim 1, wherein the determining the voiceprint feature corresponding to the first voice signal comprises:根据预设声纹特征模型确定所述第一语音信号对应的声纹特征。The voiceprint feature corresponding to the first voice signal is determined according to a preset voiceprint feature model.7.如权利要求6所述的语音降噪方法,其特征在于,在所述获取第一语音信号之前,包括:7. The method for noise reduction of speech according to claim 6, wherein before the acquiring the first speech signal, the method comprises:获取指定用户的声音;Get the voice of the specified user;根据所述指定用户的声音调整预设声纹特征模型;Adjust the preset voiceprint feature model according to the voice of the specified user;对应地,所述根据预设声纹特征模型确定所述第一语音信号对应的声纹特征,包括:Correspondingly, determining the voiceprint feature corresponding to the first voice signal according to the preset voiceprint feature model includes:根据调整后的预设声纹特征模型确定所述第一语音信号对应的声纹特征。The voiceprint feature corresponding to the first voice signal is determined according to the adjusted preset voiceprint feature model.8.一种语音降噪装置,其特征在于,包括:8. A voice noise reduction device, comprising:第一语音信号获取单元,用于获取第一语音信号,所述第一语音信号为携带噪音的语音信号;a first voice signal acquisition unit, configured to acquire a first voice signal, where the first voice signal is a noise-carrying voice signal;声纹特征确定单元,用于确定所述第一语音信号对应的声纹特征;a voiceprint feature determining unit, configured to determine the voiceprint feature corresponding to the first voice signal;语义数据确定单元,用于根据所述声纹特征确定所述第一语音信号对应的语义数据;a semantic data determining unit, configured to determine semantic data corresponding to the first voice signal according to the voiceprint feature;第二语音信号生成单元,用于根据所述语义数据和所述声纹特征生成第二语音信号。A second voice signal generating unit, configured to generate a second voice signal according to the semantic data and the voiceprint feature.9.一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述方法的步骤。9. A terminal device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, characterized in that, when the processor executes the computer program, the implementation as claimed in the claims The steps of any one of 1 to 7 of the method.10.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述方法的步骤。10. A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented .
CN201910562888.0A2019-06-262019-06-26Voice noise reduction method and device and terminal equipmentPendingCN110246502A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910562888.0ACN110246502A (en)2019-06-262019-06-26Voice noise reduction method and device and terminal equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910562888.0ACN110246502A (en)2019-06-262019-06-26Voice noise reduction method and device and terminal equipment

Publications (1)

Publication NumberPublication Date
CN110246502Atrue CN110246502A (en)2019-09-17

Family

ID=67889621

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910562888.0APendingCN110246502A (en)2019-06-262019-06-26Voice noise reduction method and device and terminal equipment

Country Status (1)

CountryLink
CN (1)CN110246502A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110853666A (en)*2019-12-172020-02-28科大讯飞股份有限公司 A speaker separation method, device, equipment and storage medium
CN111698232A (en)*2020-06-032020-09-22腾讯科技(深圳)有限公司Data processing method, data processing device, computer equipment and storage medium
CN113178187A (en)*2021-04-262021-07-27北京有竹居网络技术有限公司Voice processing method, device, equipment and medium, and program product
WO2022048239A1 (en)*2020-09-042022-03-10华为技术有限公司Audio processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101056322A (en)*2006-04-132007-10-17中兴通讯股份有限公司A device and method for overlapping the background sound at the mobile communication terminal
CN101257529A (en)*2007-02-272008-09-03中国移动通信集团公司 Mute frame transmission control method and voice device
CN103956163A (en)*2014-04-232014-07-30成都零光量子科技有限公司Common voice and encrypted voice interconversion system and method
CN105895103A (en)*2015-12-032016-08-24乐视致新电子科技(天津)有限公司Speech recognition method and device
CN108900725A (en)*2018-05-292018-11-27平安科技(深圳)有限公司A kind of method for recognizing sound-groove, device, terminal device and storage medium
CN109671422A (en)*2019-01-092019-04-23浙江工业大学A kind of way of recording obtaining clean speech
CN109817196A (en)*2019-01-112019-05-28安克创新科技股份有限公司A kind of method of canceling noise, device, system, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101056322A (en)*2006-04-132007-10-17中兴通讯股份有限公司A device and method for overlapping the background sound at the mobile communication terminal
CN101257529A (en)*2007-02-272008-09-03中国移动通信集团公司 Mute frame transmission control method and voice device
CN103956163A (en)*2014-04-232014-07-30成都零光量子科技有限公司Common voice and encrypted voice interconversion system and method
CN105895103A (en)*2015-12-032016-08-24乐视致新电子科技(天津)有限公司Speech recognition method and device
CN108900725A (en)*2018-05-292018-11-27平安科技(深圳)有限公司A kind of method for recognizing sound-groove, device, terminal device and storage medium
CN109671422A (en)*2019-01-092019-04-23浙江工业大学A kind of way of recording obtaining clean speech
CN109817196A (en)*2019-01-112019-05-28安克创新科技股份有限公司A kind of method of canceling noise, device, system, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110853666A (en)*2019-12-172020-02-28科大讯飞股份有限公司 A speaker separation method, device, equipment and storage medium
CN111698232A (en)*2020-06-032020-09-22腾讯科技(深圳)有限公司Data processing method, data processing device, computer equipment and storage medium
CN111698232B (en)*2020-06-032021-09-10腾讯科技(深圳)有限公司Data processing method, data processing device, computer equipment and storage medium
WO2022048239A1 (en)*2020-09-042022-03-10华为技术有限公司Audio processing method and device
CN113178187A (en)*2021-04-262021-07-27北京有竹居网络技术有限公司Voice processing method, device, equipment and medium, and program product

Similar Documents

PublicationPublication DateTitle
CN107481718B (en)Voice recognition method, voice recognition device, storage medium and electronic equipment
US10614803B2 (en)Wake-on-voice method, terminal and storage medium
CN112309365B (en)Training method and device of speech synthesis model, storage medium and electronic equipment
CN108733342B (en) Volume adjustment method, mobile terminal and computer-readable storage medium
CN110246502A (en)Voice noise reduction method and device and terminal equipment
CN110459222A (en)Voice control method, voice control device and terminal equipment
CN105489221A (en)Voice recognition method and device
GB2524864A (en)Adjusting speech recognition using contextual information
WO2016180100A1 (en)Method and device for improving audio processing performance
US20210392276A1 (en)Method and apparatus for triggering special image effects and hardware device
CN108922525A (en)Method of speech processing, device, storage medium and electronic equipment
US20120053937A1 (en)Generalizing text content summary from speech content
CN107919138A (en)Mood processing method and mobile terminal in a kind of voice
WO2021057239A1 (en)Speech data processing method and apparatus, electronic device and readable storage medium
CN112015365A (en)Volume adjustment method and device and electronic equipment
WO2023103253A1 (en)Audio detection method and apparatus, and terminal device
CN111326146A (en)Method and device for acquiring voice awakening template, electronic equipment and computer readable storage medium
CN116075887A (en)Data analysis and expanded speech recognition using speech content from separated audio inputs
CN111326159B (en)Voice recognition method, device and system
WO2020102943A1 (en)Method and apparatus for generating gesture recognition model, storage medium, and electronic device
CN112019961B (en)Noise reduction parameter debugging method and device for noise reduction earphone and terminal
WO2019061323A1 (en)Noise canceling method and terminal
CN108989551B (en) Location prompting method, device, storage medium and electronic device
CN117935825A (en) Interactive unrestricted speech enhancement method, system and terminal based on ultrasonic perception
CN107154996B (en)Incoming call interception method and device, storage medium and terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190917


[8]ページ先頭

©2009-2025 Movatter.jp