WO2017054507A1 - 音效模拟方法和装置及系统 - Google Patents

音效模拟方法和装置及系统 Download PDF

Info

Publication number
WO2017054507A1
WO2017054507A1 PCT/CN2016/085278 CN2016085278W WO2017054507A1 WO 2017054507 A1 WO2017054507 A1 WO 2017054507A1 CN 2016085278 W CN2016085278 W CN 2016085278W WO 2017054507 A1 WO2017054507 A1 WO 2017054507A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
sound
band pass
input sound
pass filter
Prior art date
Application number
PCT/CN2016/085278
Other languages
English (en)
French (fr)
Inventor
赵伟峰
Original Assignee
广州酷狗计算机科技有限公司
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 广州酷狗计算机科技有限公司 filed Critical 广州酷狗计算机科技有限公司
Publication of WO2017054507A1 publication Critical patent/WO2017054507A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants

Definitions

  • the present invention relates to the field of sound processing technologies, and in particular, to a sound effect simulation method, apparatus, and system.
  • K song is a favorite entertainment method for people in many cities.
  • the sound effect in K song software is a very important function.
  • the phonograph As a classic sound-emitting device, the phonograph has a unique sound and is loved by many users. However, most of the current K song system or K song software can not simulate the sound of the phonograph.
  • Embodiments of the present invention provide a sound effect simulation method, apparatus, and system for simulating the sound effect of a phonograph.
  • a first aspect of the present invention provides a sound effect simulation method, comprising: performing a band pass filter process on an input sound signal by using a band pass filter to obtain an intermediate signal; and multiplying the envelope signal by the intermediate signal to generate an output signal.
  • a second aspect of the present invention provides a sound effect simulation apparatus, comprising: a filtering module, configured to perform band pass filtering processing on an input sound signal by using a band pass filter to obtain an intermediate signal; and a processing module for using an envelope signal The intermediate signals are multiplied to generate an output signal.
  • a third aspect of the present invention provides a sound effect simulation system, including: a computer device, a sound collection device, and a sound system, the computer device including a processor, a memory, a bus, and a communication interface, wherein the memory is configured to store a computer execution instruction,
  • the processor is coupled to the memory via the bus, and when the computer device is running, the processor executes the computer stored by the memory Executing an instruction to cause the computer device to perform the following steps: performing a band pass filtering process on the input sound signal by using a band pass filter to obtain an intermediate signal; and multiplying the envelope signal by the intermediate signal to generate an output signal.
  • the band-pass filtering process is first performed on the sound signal, so that the sound signal only retains the frequency band within the sound range of the phonograph, and then multiplied by the envelope signal to generate a large and small The effect can thus simulate the sound of the phonograph.
  • FIG. 1 is a flowchart of a sound effect simulation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a sound effect simulation device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a sound effect simulation system according to an embodiment of the present invention.
  • a first embodiment of the present invention provides a sound effect simulation method, which may include: performing a band pass filter process on an input sound signal by using a band pass filter to obtain an intermediate signal, wherein a pass band of the band pass filter
  • the lower limit and the upper limit of the cutoff frequency are respectively fl and fh, wherein 600 Hz ⁇ fl ⁇ 800 Hz, 1300 Hz ⁇ fh ⁇ 1500 Hz; the envelope signal is multiplied by the intermediate signal to generate an output signal.
  • the K-song system includes, but is not limited to, a K-song system used in KTV, a K-song system for home use, and an electronic device equipped with K-Song software, which may be a general-purpose computer, a dedicated computer, a mobile phone, or a flat Board computer, etc.
  • the K song system can also include an audio system and a sound collection device such as a microphone.
  • FIG. 1 illustrates a sound effect simulation method including steps 110 and 120 in accordance with an embodiment of the present invention.
  • Step 110 Perform bandpass filtering processing on the input sound signal by using a band pass filter to obtain an intermediate signal.
  • the execution body of the method of the embodiment of the present invention may be a computer device in a K song system, specifically, may be a processor of a computer device, or a K song software running in a processor of the computer device.
  • the singing voice can be converted into an electrical signal input by the sound collecting device to the computer device.
  • the sound effect simulation device in the computer device or the computer device can perform a band pass filter process on the input sound signal by using a band pass filter to obtain an intermediate signal.
  • the design and implementation of the bandpass filter can be in various ways.
  • the bandpass filter can be designed by using MATLAB programming, which is not illustrated in this article.
  • the band pass filter may be implemented by using hardware or by software, which is not limited herein.
  • a bandpass filter is a filter that allows signals of a particular frequency band to pass, which allows the pass frequency to be called the passband frequency.
  • the passband frequency range is determined by the passband cutoff frequency lower limit fl and the passband cutoff frequency upper limit fh.
  • the bandpass filter can be designed to have different fl and fh, that is, the fl and fh of the bandpass filter are determined by the sound effect that needs to be simulated.
  • the input sound signal to be processed is recorded as x(n), where n is the number of times of sampling the sound signal, n is a positive integer, and n can be equal to 1000, for example.
  • the intermediate signal subjected to band pass filtering is denoted as y(n).
  • Step 120 Multiply the envelope signal by the intermediate signal to generate an output signal.
  • the phonograph sound has the characteristics of loud and small sound. Because the envelope signal has the characteristic that the amplitude changes randomly with time, as an example, it can pass The intermediate signal obtained in step 110 is multiplied by the envelope signal to make the sound signal to be processed have a large and small feature.
  • an envelope signal is first generated.
  • r(n) rand(t)
  • t is the system time
  • Out(n) the number of samples and is a positive integer.
  • the frequency range of the Out(n) signal is between fl and fh, and the amplitude varies randomly with time, at Out(n).
  • the signal is output to the sound system of the K song system and converted into a singing voice, the resulting singing voice is a singing voice with a phonograph sound effect.
  • the band-pass filtering process may be performed on the sound signal first, so that the sound signal only retains the frequency band within the sound range of the phonograph, and then multiplied by the envelope signal to generate a large and small effect, thereby simulating the sound effect of the phonograph. This adds a new sound effect to the K song system, which further improves the user experience.
  • the Out(n) signal can have more sound effects, and is not limited to the phonograph. Sound effects can also be used to simulate a variety of other sound effects.
  • the second embodiment of the present invention further provides a related apparatus for implementing the above solution.
  • a second embodiment of the present invention provides a sound effect simulation device 200 .
  • the sound effect simulation device 200 can include a filter module 210 and a processing module 220 .
  • the filtering module 210 is configured to perform band pass filtering on the input sound signal by using a band pass filter
  • the intermediate signal is obtained;
  • the processing module 220 is configured to multiply the envelope signal and the intermediate signal to generate an output signal.
  • the lower limit and the upper limit of the pass band cutoff frequency of the band pass filter are fl and fh, respectively, wherein 600 Hz ⁇ fl ⁇ 800 Hz, and 1300 Hz ⁇ fh ⁇ 1500 Hz.
  • the processing module 220 may include a generating unit and a processing unit .
  • f 700 Hz
  • fh 1400 Hz.
  • the sound effect simulation device described above may further include an acquisition module.
  • the acquisition module is configured to acquire an input sound signal.
  • the input sound signal may be the user's voice, for example, the song of the K-song user.
  • the band-pass filtering process may be performed on the sound signal, so that the sound signal only retains the frequency band within the sound range of the phonograph, and then multiplied by the envelope signal to generate a large and small
  • the effect of this can simulate the sound effect of the phonograph, thus adding a new sound effect to the K song system, which can further improve the user experience.
  • FIG. 3 shows a sound effect simulation system in accordance with a third embodiment of the present invention.
  • the sound effect simulation system can include a computer device 310 and a sound collection device 320 and an audio system 330.
  • the computer device 310 can be a general purpose computer, a special purpose computer, a mobile phone terminal, or a tablet computer.
  • the computer device 310 includes a processor 3101, a memory 3102, a bus 3103, and a communication interface 3104.
  • the memory 3102 is configured to store computer execution instructions
  • the processor 3101 is connected to the memory 3102 through the bus 3103.
  • the The processor 3101 executes the computer execution instructions stored in the memory 3102, so that the computer device 310 performs the following steps: performing band pass filtering processing on the input sound signal by using a band pass filter to obtain an intermediate signal; The signal is multiplied by the intermediate signal to generate an output signal.
  • the passband cutoff frequency lower limit and upper limit of the band pass filter utilized by the processor 3101 may be fl and fh, respectively, as an example, 600 Hz ⁇ fl ⁇ 800 Hz, 1300 Hz ⁇ fh ⁇ 1500 Hz.
  • f 700 Hz
  • fh 1400 Hz.
  • the input sound signal is x(n)
  • the intermediate signal is y(n)
  • n is the number of samples per unit time, and n is a positive integer
  • the processor 3101 may further perform the step of acquiring the input sound signal.
  • the input sound signal may be a singing voice of a K song user.
  • the band-pass filtering process is first performed on the sound signal, so that the sound signal only retains the frequency band within the sound range of the phonograph, and then multiplied by the envelope signal to generate a large and small
  • the effect of this can simulate the sound effect of the phonograph, thus adding a new sound effect to the K song system, which can further improve the user experience.
  • a fourth embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the sound effect simulation method described in the foregoing method embodiments.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division.
  • multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the 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 of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

一种音效模拟方法和装置及系统,以便用于模拟留声机的音效。所述方法包括:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号(110);将包络信号与所述中间信号相乘,生成输出信号(120)。

Description

音效模拟方法和装置及系统
本申请要求于2015年9月29日提交中国专利局、申请号为201510632264.3、发明名称为“一种音效模拟方法和装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及声音处理技术领域,具体涉及一种音效模拟方法和装置及系统。
背景技术
K歌是很多都市的人们喜欢的娱乐方式,K歌软件中的音效是一项很重要的功能。
留声机作为一种经典的放音装置,其音效具有独特的魅力,深受很多用户的喜爱。但是,目前大多数的K歌系统或K歌软件都不能模拟留声机的音效。
发明内容
本发明实施例提供一种音效模拟方法和装置及系统,以便用于模拟留声机的音效。
本发明第一方面提供一种音效模拟方法,包括:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;将包络信号与所述中间信号相乘,生成输出信号。
本发明第二方面提供一种音效模拟装置,包括:滤波模块,用于利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;处理模块,用于将包络信号与所述中间信号相乘,生成输出信号。
本发明第三方面提供一种音效模拟系统,包括:计算机设备和声音采集设备及音响系统,所述计算机设备包括处理器、存储器、总线和通信接口,所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算机设备运行时,所述处理器执行所述存储器存储的所述计算机 执行指令,以使所述计算机设备执行如下步骤:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;将包络信号与所述中间信号相乘,生成输出信号。
由上可见,本发明实施例一些可行的实施方式中,采用先对声音信号进行带通滤波处理,使声音信号仅保留留声机音效范围内的频段,再乘以包络信号,产生忽大忽小的效果,从而可以模拟出留声机的音效。
附图说明
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1是本发明实施例提供的音效模拟方法的流程图;
图2是本发明实施例提供的音效模拟装置的结构示意图;
图3是本发明实施例提供的音效模拟系统的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。当然,本领域技术人员应该理解,这里所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的其他实施例,都应当属于本发明保护的范围。
本发明第一实施例提供了一种音效模拟方法,该方法可包括:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号,其中,所述带通滤波器的通带截止频率下限和上限分别为fl和fh,其中,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz;将包络信号与所述中间信号相乘,生成输出信号。
作为示例,可以将根据本发明实施例的技术方案应用于K歌系统。所述K歌系统包括但不限于KTV中使用的K歌系统、家庭用的K歌系统以及安装了K歌软件的电子设备,所述电子设备可以是通用计算机、专用计算机、手机或平 板电脑等。K歌系统还可以包括音响系统和诸如麦克风的声音采集设备。
下面结合图1对本发明实施例进行详细的说明。图1示出了一种根据本发明实施例的音效模拟方法,该方法包括步骤110和步骤120。
步骤110:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号。以K歌系统为例,本发明实施例方法的执行主体可以为K歌系统中的计算机设备,具体地,可以是计算机设备的处理器,或者,计算机设备的处理器中运行的K歌软件对应的装置或模块,例如音效模拟装置。
当用户对着K歌系统的声音采集设备进行演唱时,其歌声可以被声音采集设备转换为电信号输入到计算机设备。计算机设备或者说计算机设备中的音效模拟装置,可以利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号。
其中,带通滤波器的设计和实现可以有多种方式,例如可以利用MATLAB编程设计带通滤波器,本文不一一举例说明。需要说明的是,带通滤波器可以采用硬件来实现,也可以采用软件来实现,本文对此不予限定。
带通滤波器是一种允许特定频段的信号通过的滤波器,其允许通过频率称为通带频率。通带频率范围由通带截止频率下限fl和通带截止频率上限fh决定。为了实现不同的音效模拟效果,可以设计带通滤波器时令其具有不同的fl和fh,也就是说,带通滤波器的fl和fh由需要模拟的音效决定。
作为示例,本发明实施例中,为了模拟留声机的音效,需要提前获知留声机发出的声音所处于的频段范围,从而具体决定带通滤波器的fl和fh。作为示例,可以令600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz,来模拟留声机音效。作为示例,可以令fl=700Hz,fh=1400Hz。
为便于说明,本文中将输入的需要处理的声音信号记为x(n),其中,n为对声音信号的采样次数,n为正整数,n例如可以等于1000。将经过带通滤波处理的中间信号记为y(n)。
步骤120:将包络信号与所述中间信号相乘,生成输出信号。
留声机音效除了具有位于特定频段范围内的特征,还具有声音忽大忽小的特征。因为,包络信号具有振幅随着时间随机变化的特征,作为示例,可以通 过将步骤110得到的中间信号乘以包络信号,来使需要处理的声音信号具有忽大忽小的特征。
作为示例,在步骤120中,首先生成包络信号。该包络信号可以表示为g(n);其中,g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,优选的,T的取值范围为[0.1,2],r(n)为归一化的随机数,pi为圆周率。一些实施方式中,r(n)=rand(t),t为系统时间,rand(t)代表设定范围内的随机数,例如1到1100范围内的随机数,并且,同时将r(n)归一化到[rmin,rmax]范围内,优选地rmin=0.5,rmax=1。也就是说,作为一种示例,可以将r(n)为归一化到[0.5,1]范围内的随机数,从而使得包络信号g(n)的振幅随机变化。
在步骤120中,进一步将生成的包络信号g(n)与步骤110得到的中间信号y(n)相乘,得到输出信号Out(n),Out(n)可以用下式表示:Out(n)=y(n)*g(n)。输出信号Out(n)中,n表示采样次数,是一个正整数。
由上可见,当fl至fh是基于留声机发出的声音所处于的频段范围来确定时,Out(n)信号的频率范围在fl至fh之间,且振幅随着时间随机变化,在Out(n)信号被输出至K歌系统的音响系统转换为歌声时,所得的歌声即为具有留声机音效的歌声。
作为示例,可以采用先对声音信号进行带通滤波处理,使声音信号仅保留留声机音效范围内的频段,再乘以包络信号,产生忽大忽小的效果,从而可以模拟出留声机的音效,由此为K歌系统增加了一种新的音效,可进一步改善用户体验。
但是,需要说明的是,本发明实施例技术方案中,通过调整fl和fh的取值,以及通过改变包络信号,可以使Out(n)信号具有更多样的音效,并不局限于留声机音效,还可用于模拟多种其它音效。
为了更好的实施本发明实施例的上述方案,本发明第二实施例还提供用于配合实施上述方案的相关装置。
请参考图2,本发明第二实施例提供一种音效模拟装置200,所述音效模拟装置200可包括滤波模块210和处理模块220。
所述滤波模块210用于利用带通滤波器对输入的声音信号进行带通滤波处 理,得到中间信号;所述处理模块220用于将包络信号与所述中间信号相乘,生成输出信号。
作为示例,所述带通滤波器的通带截止频率下限和上限分别为fl和fh,其中,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz。
作为示例,假设所述输入的声音信号为x(n),中间信号为y(n),n为单位时间内的采样次数,n为正整数;所述处理模块220可包括生成单元和处理单元。
所述生成单元用于生成包络信号g(n),g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,T的取值范围为[0.1,2],r(n)为归一化到[0.5,1]范围内的随机数,pi为圆周率;所述处理单元用于将所述包络信号g(n)与所述中间信号y(n)相乘,生成输出信号Out(n),Out(n)=y(n)*g(n)。作为示例,可以令fl=700Hz,fh=1400Hz。
作为示例,上述音效模拟装置还可包括获取模块。所述获取模块用于获取输入的声音信号。作为示例,所述输入的声音信号可以为用户的声音,例如,K歌用户的歌声。
可以理解,本发明实施例的音效模拟装置的各个功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述方法实施例中的相关描述,此处不再赘述。
作为示例,在本发明的一些可行的实施方式中,可采用先对声音信号进行带通滤波处理,使声音信号仅保留留声机音效范围内的频段,再乘以包络信号,产生忽大忽小的效果,从而可以模拟出留声机的音效,由此为K歌系统增加了一种新的音效,可进一步改善用户体验。
图3示出了根据本发明第三实施例的一种音效模拟系统。
所述音效模拟系统可包括计算机设备310和声音采集设备320及音响系统330。其中,计算机设备310可以是通用计算机、专用计算机、手机终端或平板电脑等。
所述计算机设备310包括:处理器3101、存储器3102、总线3103和通信接口3104。其中,所述存储器3102用于存储计算机执行指令,所述处理器3101与所述存储器3102通过所述总线3103连接,当所述计算机设备310运行时,所 述处理器3101执行所述存储器3102存储的所述计算机执行指令,以使所述计算机设备310执行如下步骤:利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;将包络信号与所述中间信号相乘,生成输出信号。
作为示例,处理器3101利用的带通滤波器的通带截止频率下限和上限可以分别为fl和fh,作为示例,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz。作为示例,可以令fl=700Hz,fh=1400Hz。
在本发明的一些实施例中,所述输入的声音信号为x(n),中间信号为y(n),n为单位时间内的采样次数,n为正整数;处理器3101还可以执行如下步骤:生成包络信号g(n),g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,T的取值范围为[0.1,2],r(n)为归一化到[0.5,1]范围内的随机数,pi为圆周率;将所述包络信号g(n)与所述中间信号y(n)相乘,生成输出信号Out(n),Out(n)=y(n)*g(n)。
在本发明的一些实施例中,所述利用带通滤波器对输入的声音信号进行带通滤波处理之前;处理器3101还可以执行如下步骤:获取输入的声音信号。作为示例,所述输入的声音信号可以为K歌用户的歌声。
由上可见,在本发明的一些可行的实施方式中,采用先对声音信号进行带通滤波处理,使声音信号仅保留留声机音效范围内的频段,再乘以包络信号,产生忽大忽小的效果,从而可以模拟出留声机的音效,由此为K歌系统增加了一种新的音效,可进一步改善用户体验。
本发明第四实施例还提供一种计算机存储介质,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的音效模拟方法的部分或全部步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必需的。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁盘或者光盘等各种可以存储程序代码的介质。
以上对本发明实施例所提供的音效模拟方法和装置及系统进行了详细介绍,本文中应用了具体实施例对本发明的原理及实施方式进行了阐述,以上实 施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (15)

  1. 一种音效模拟方法,应用于计算机设备,其特征在于,包括:
    利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;
    将包络信号与所述中间信号相乘,生成输出信号。
  2. 根据权利要求1所述的方法,其特征在于,
    所述带通滤波器的通带截止频率下限和上限分别为fl和fh,其中,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz。
  3. 根据权利要求2所述的方法,其特征在于,
    所述输入的声音信号为x(n),中间信号为y(n),n为单位时间内的采样次数,n为正整数;所述将包络信号与所述中间信号相乘包括:
    生成包络信号g(n),g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,T的取值范围为[0.1,2],r(n)为归一化到[0.5,1]范围内的随机数,pi为圆周率;
    将所述包络信号g(n)与所述中间信号y(n)相乘,生成输出信号Out(n),Out(n)=y(n)*g(n)。
  4. 根据权利要求2或3所述的方法,其特征在于,
    fl=700Hz,fh=1400Hz。
  5. 根据权利要求1至3任一所述的方法,其特征在于,所述利用带通滤波器对输入的声音信号进行带通滤波处理之前还包括:
    获取输入的声音信号,所述输入的声音信号为用户的声音。
  6. 一种音效模拟装置,应用于计算机设备,其特征在于,包括:
    滤波模块,用于利用带通滤波器对输入的声音信号进行带通滤波处理,得到中间信号;
    处理模块,用于将包络信号与所述中间信号相乘,生成输出信号。
  7. 根据权利要求5所述的装置,其特征在于,
    所述带通滤波器的通带截止频率下限和上限分别为fl和fh,其中,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz。
  8. 根据权利要求7所述的装置,其特征在于,所述输入的声音信号为x(n),中间信号为y(n),n为单位时间内的采样次数,n为正整数;所述处理模块包括:
    生成单元,用于生成包络信号g(n),g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,T的取值范围为[0.1,2],r(n)为归一化到[0.5,1]范围内的随机数,pi为圆周率;
    处理单元,用于将所述包络信号g(n)与所述中间信号y(n)相乘,生成输出信号Out(n),Out(n)=y(n)*g(n)。
  9. 根据权利要求7或8所述的装置,其特征在于,
    fl=700Hz,fh=1400Hz。
  10. 根据权利要求6至8任一所述的装置,其特征在于,还包括:
    获取模块,用于获取输入的声音信号,所述输入的声音信号为用户的声音。
  11. 一种音效模拟系统,其特征在于,包括:计算机设备和声音采集设备及音响系统,所述声音采集设备接收用户输入的声音,将用户的声音转换为电信号并输入到所述计算机设备,所述音响系统将经过所述计算机设备处理后的输出信号进行输出,所述计算机设备包括处理器、存储器、总线和通信接口,所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算机设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算机设备执行如下步骤:
    利用带通滤波器对通过声音采集设备输入的声音信号进行带通滤波处理,得到中间信号;
    将包络信号与所述中间信号相乘,生成输出信号。
  12. 根据权利要求11所述的系统,其特征在于,
    所述带通滤波器的通带截止频率下限和上限分别为fl和fh,其中,600Hz≤fl≤800Hz,1300Hz≤fh≤1500Hz。
  13. 根据权利要求12所述的系统,其特征在于,
    所述输入的声音信号为x(n),中间信号为y(n),n为单位时间内的采样次数,n为正整数;所述将包络信号与所述中间信号相乘包括:
    生成包络信号g(n),g(n)=r(n)*sin(2*pi*n/T),其中,T为信号周期,T的取值范围为[0.1,2],r(n)为归一化到[0.5,1]范围内的随机数,pi为圆周率;
    将所述包络信号g(n)与所述中间信号y(n)相乘,生成输出信号Out(n), Out(n)=y(n)*g(n)。
  14. 根据权利要求12或13所述的系统,其特征在于,
    fl=700Hz,fh=1400Hz。
  15. 根据权利要求11至13任一所述的系统,其特征在于,所述利用带通滤波器对输入的声音信号进行带通滤波处理之前还包括:
    获取输入的声音信号,所述输入的声音信号为用户的声音。
PCT/CN2016/085278 2015-09-29 2016-06-08 音效模拟方法和装置及系统 WO2017054507A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510632264.3A CN106558298A (zh) 2015-09-29 2015-09-29 一种音效模拟方法和装置及系统
CN201510632264.3 2015-09-29

Publications (1)

Publication Number Publication Date
WO2017054507A1 true WO2017054507A1 (zh) 2017-04-06

Family

ID=58417085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085278 WO2017054507A1 (zh) 2015-09-29 2016-06-08 音效模拟方法和装置及系统

Country Status (2)

Country Link
CN (1) CN106558298A (zh)
WO (1) WO2017054507A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449339A (zh) * 2022-02-16 2022-05-06 深圳万兴软件有限公司 背景音效的转换方法、装置、计算机设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030206506A1 (en) * 2002-05-06 2003-11-06 Laurent Cohen Phonograph turntable with MIDI output
US20100228543A1 (en) * 2005-09-02 2010-09-09 Nortel Networks Limited Method and apparatus for extending the bandwidth of a speech signal
CN103827965A (zh) * 2011-07-29 2014-05-28 Dts有限责任公司 自适应语音可理解性处理器
CN103827967A (zh) * 2011-12-27 2014-05-28 三菱电机株式会社 语音信号复原装置以及语音信号复原方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728578B1 (en) * 2000-06-01 2004-04-27 Advanced Bionics Corporation Envelope-based amplitude mapping for cochlear implant stimulus
CN101154375B (zh) * 2006-09-25 2012-07-25 蔡本伟 卡拉ok形式音频修正及处理系统
CN103517183B (zh) * 2012-10-09 2017-02-01 Tcl集团股份有限公司 一种低音信号增强的方法及装置
CN102915741A (zh) * 2012-10-29 2013-02-06 上海大学 基于等响曲线的根据音量调整自动还原声音信号音色的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030206506A1 (en) * 2002-05-06 2003-11-06 Laurent Cohen Phonograph turntable with MIDI output
US20100228543A1 (en) * 2005-09-02 2010-09-09 Nortel Networks Limited Method and apparatus for extending the bandwidth of a speech signal
CN103827965A (zh) * 2011-07-29 2014-05-28 Dts有限责任公司 自适应语音可理解性处理器
CN103827967A (zh) * 2011-12-27 2014-05-28 三菱电机株式会社 语音信号复原装置以及语音信号复原方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VESA, V.: "Digital audio antiquing-Signal processing methods for imitating the sound quality of historical recordings", JOURNAL OF THE AUDIO ENGINEERING SOCIETY, vol. 56, no. 3, 31 March 2008 (2008-03-31), pages 8, XP040508464, ISSN: 0004-7554 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449339A (zh) * 2022-02-16 2022-05-06 深圳万兴软件有限公司 背景音效的转换方法、装置、计算机设备及存储介质
CN114449339B (zh) * 2022-02-16 2024-04-12 深圳万兴软件有限公司 背景音效的转换方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN106558298A (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
CN108899044B (zh) 语音信号处理方法及装置
CN112289333B (zh) 语音增强模型的训练方法和装置及语音增强方法和装置
CN106878533B (zh) 一种移动终端的通信方法和装置
CN108346433A (zh) 一种音频处理方法、装置、设备及可读存储介质
JP6587742B2 (ja) サウンド混合処理方法および装置、装置、並びに記憶媒体
CN106095384B (zh) 一种音效调节方法及用户终端
CN105723459B (zh) 用于改进声频信号的感知的设备和方法
WO2017181615A1 (zh) 一种陌生来电处理方法、装置及移动终端
CN111863015A (zh) 一种音频处理方法、装置、电子设备和可读存储介质
CN110688518A (zh) 节奏点的确定方法、装置、设备及存储介质
CN107293305A (zh) 一种基于盲源分离算法改善录音质量的方法及其装置
CN109413475A (zh) 一种视频中字幕的调整方法、装置和服务器
CN101714861A (zh) 谐波产生装置及其产生方法
CN112309414A (zh) 基于音频编解码的主动降噪方法、耳机及电子设备
CN112201262A (zh) 一种声音处理方法及装置
CN110232909A (zh) 一种音频处理方法、装置、设备及可读存储介质
WO2017054507A1 (zh) 音效模拟方法和装置及系统
CN114255782A (zh) 说话人语音增强方法、电子设备和存储介质
US20230260527A1 (en) Audio data processing method and apparatus, device, and medium
WO2017121245A1 (zh) 环绕立体声实现方法、电子设备及存储介质
CN109119089B (zh) 对音乐进行通透处理的方法及设备
CN114758668A (zh) 语音增强模型的训练方法和语音增强方法
WO2019052361A1 (zh) 铃音设置方法及装置
CN113436613A (zh) 语音识别方法、装置、电子设备及存储介质
CN108932953B (zh) 一种音频均衡函数确定方法、音频均衡方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16850132

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16850132

Country of ref document: EP

Kind code of ref document: A1