Sound effect customizing method and device, electronic equipment and storage medium

文档序号:860902 发布日期:2021-03-16 浏览:5次 中文

阅读说明:本技术 一种音效定制方法、装置、电子设备及存储介质 (Sound effect customizing method and device, electronic equipment and storage medium ) 是由 许基业 罗益峰 周阳 于 2020-11-30 设计创作,主要内容包括:本发明公开了一种音效定制方法,包括:播放预设频率的参考音频;用户对参考音频的增益参数进行设置,得到定制增益参数,定制增益参数与预设频率关联;采用定制增益参数,对预设的原始定制音效中对应频率的原始增益参数进行替换,得到用户定制音效;用户聆听预设频率的音频,并设定该预设频率的音频的增益大小,使用户能够直观地感受到在预设频率下的增益大小调节所带来的听觉变化,还能让用户更有针对性地对音效进行调节,得到能够满足用户个性化听觉需求的定制音效。(The invention discloses a sound effect customizing method, which comprises the following steps: playing a reference audio frequency with a preset frequency; setting a gain parameter of a reference audio by a user to obtain a customized gain parameter, wherein the customized gain parameter is associated with a preset frequency; replacing original gain parameters of corresponding frequencies in preset original customized sound effects by adopting customized gain parameters to obtain user customized sound effects; the user listens to the audio frequency with the preset frequency, and sets the gain of the audio frequency with the preset frequency, so that the user can intuitively sense the hearing change caused by the adjustment of the gain under the preset frequency, and the user can adjust the sound effect more specifically to obtain the customized sound effect capable of meeting the personalized hearing requirement of the user.)

1. A method for customizing sound effects, comprising:

step S100, playing reference audio with preset frequency;

s200, setting gain parameters of the reference audio by a user to obtain customized gain parameters, wherein the customized gain parameters are associated with preset frequency;

and S300, replacing the original gain parameters of the corresponding frequency in the preset original customized sound effect by adopting the customized gain parameters to obtain the sound effect customized by the user.

2. The sound effect customizing method of claim 1, wherein the step S100 further comprises: after playing the reference audio of the preset frequency,

and circularly adjusting the gain parameter of the reference audio.

3. The sound effect customizing method of claim 1, wherein between the step S200 and the step S300, a step S280 is further included:

repeating the steps S100 to S200, and playing the reference audio with different preset frequencies each time the step S100 is repeated until all the reference audio is played.

4. The sound effect customization method according to claim 1, further comprising:

and step S400, associating the user customized sound effect with user identity information.

5. The sound-effect customizing method of claim 2 wherein in the step S200, the step of setting the gain parameter of the reference audio by the user further comprises:

and the user interacts with the interactive terminal to select the gain parameter of the current reference audio to obtain the customized gain parameter.

6. The sound effect customizing method of claim 1, wherein the step S200 further comprises: after the customized gain parameters have been obtained, the gain parameters,

and generating a feedback message for the user to refer to according to the preset frequency and the customized gain parameter.

7. The sound effect customizing method of claim 6, wherein the feedback message is pushed to the interactive terminal in a popup mode.

8. A method for customizing sound effects, comprising:

the playing module is used for playing reference audio with preset frequency;

the gain adjusting module is used for setting the gain parameter of the reference audio by a user to obtain a customized gain parameter, and the customized gain parameter is associated with a preset frequency;

and the parameter setting module is used for replacing the original gain parameters of the corresponding frequency in the preset original customized sound effect by adopting the customized gain parameters to obtain the customized sound effect of the user.

9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor implements the sound effect customization method according to any one of claims 1-7 when executing the computer program.

10. A storage medium having stored thereon a computer program which, when executed, implements the sound effect customizing method according to any one of claims 1 to 7.

Technical Field

The invention relates to the field of sound effect setting, in particular to a sound effect customizing method and device, electronic equipment and a storage medium.

Background

The playing sound effect of the existing touch control integrated machine has the following fixed modes: the standard sound effect, the movie sound effect and the music sound effect are single in content, the playing requirements of more scenes are difficult to adapt, and the personalized auditory perception of a user cannot be met. Although the sound effect adjusting program built in the system can adjust the gain of a certain sound frequency at present, a user needs to play a song by himself to adjust the sound effect while listening, however, the sound frequency in the song changes constantly, so that the user cannot intuitively feel the change of the hearing effect brought by the adjustment of the sound frequency gain.

Disclosure of Invention

In order to overcome the defects of the prior art, the invention aims to provide a sound effect customizing method, a sound effect customizing device, electronic equipment and a storage medium, so as to solve the problems that the playing sound effect mode of the existing touch control all-in-one machine is single, and a user cannot intuitively feel the change of the hearing effect caused by sound effect adjustment.

The purpose of the invention is realized by adopting the following technical scheme:

a sound effect customizing method comprises the following steps:

step S100, playing reference audio with preset frequency;

s200, setting gain parameters of the reference audio by a user to obtain customized gain parameters, wherein the customized gain parameters are associated with preset frequency;

and S300, replacing the original gain parameters of the corresponding frequency in the preset original customized sound effect by adopting the customized gain parameters to obtain the sound effect customized by the user.

Preferably, the step S100 further includes: after playing the reference audio of the preset frequency,

and circularly adjusting the gain parameter of the reference audio.

Preferably, the step S280 is further included between the step S200 and the step S300:

repeating the steps S100 to S200, and playing the reference audio with different preset frequencies each time the step S100 is repeated until all the reference audio is played.

Preferably, the method further comprises the following steps:

and step S400, associating the user customized sound effect with user identity information.

Preferably, in step S200, the step of setting the gain parameter of the reference audio by the user further includes:

and the user interacts with the interactive terminal to select the gain parameter of the current reference audio to obtain the customized gain parameter.

Preferably, the step S200 further includes: after the customized gain parameters have been obtained, the gain parameters,

and generating a feedback message for the user to refer to according to the preset frequency and the customized gain parameter.

Preferably, the feedback message is pushed to the interactive terminal in a popup mode.

In order to solve the same technical problem, the invention also provides a sound effect customizing method, which comprises the following steps:

the playing module is used for playing reference audio with preset frequency;

the gain adjusting module is used for setting the gain parameter of the reference audio by a user to obtain a customized gain parameter, and the customized gain parameter is associated with a preset frequency;

and the parameter setting module is used for replacing the original gain parameters of the corresponding frequency in the preset original customized sound effect by adopting the customized gain parameters to obtain the customized sound effect of the user.

In order to solve the same technical problem, the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the processor implements the sound effect customizing method when executing the computer program.

In order to solve the same technical problem, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program is executed to implement the sound effect customizing method.

Compared with the prior art, the invention has the beneficial effects that:

the user listens to the audio frequency with the preset frequency, and sets the gain of the audio frequency with the preset frequency, so that the user can intuitively sense the hearing change caused by the adjustment of the gain under the preset frequency, and the user can adjust the sound effect more specifically to obtain the customized sound effect capable of meeting the personalized hearing requirement of the user.

Drawings

FIG. 1 is a simplified flow diagram of a method for customizing sound effects in accordance with the present invention;

FIG. 2 is a flow chart illustrating a method for customizing sound effects according to the present invention;

FIG. 3 is a schematic diagram of the sound customizing apparatus of the present invention.

In the figure:

100. a playing module; 200. a gain adjustment module; 300. and a parameter setting module.

Detailed Description

To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.

It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

Referring to fig. 1 and fig. 2, a flow of the sound effect customizing method of the present invention is schematically shown.

The sound effect customizing method comprises the following steps:

step S100, playing reference audio with preset frequency;

specifically, a user interacts with the interactive terminal to start sound effect customization, the touch all-in-one machine plays a reference audio with a preset frequency, meanwhile, the gain parameter of the reference audio is adjusted in a circulating mode, the user listens to the reference audio with the preset frequency, the gain parameter of the reference audio is continuously circulated, and the user can intuitively feel auditory changes brought by the adjustment of the gain parameter under the preset frequency, wherein the changes of the gain parameter are specifically shown as changes of sound volume. The interactive terminal is a display screen with a touch function of the touch all-in-one machine.

S200, setting gain parameters of a reference audio by a user to obtain customized gain parameters, wherein the customized gain parameters are associated with preset frequencies;

specifically, when the user considers in step S100 that the hearing effect of the reference audio with the preset frequency is most satisfactory under a certain gain parameter, in step S200, when the gain parameter of the reference audio is adjusted to the gain parameter that the user is satisfied in a circulating manner, the user interacts with the interactive terminal to select the gain parameter of the current reference audio to obtain a customized gain parameter, wherein the customized gain parameter is associated with the preset frequency, and the touch-control all-in-one machine knows that the satisfactory gain parameter of the user to the preset frequency is the customized gain parameter.

After the customized gain parameters are obtained, feedback messages for the user to refer to are generated according to the preset frequency and the customized gain parameters, the feedback messages are pushed to the interactive terminal in a popup mode, namely after the customized gain parameters are obtained, a display screen of the touch all-in-one machine pops up a dialog box and informs the user of the customized gain parameters under the current preset frequency.

Step S280, repeating the step S100 to the step S200, and playing the reference audio with different preset frequencies when the step S100 is repeated each time until all the reference audio is played;

specifically, in this embodiment, there are eight reference audios, and the preset frequencies of the eight reference audios are 100Hz, 120Hz, 500Hz, 700Hz, 800Hz, 1.5KHz, 5KHz, and 10KHz, respectively, so that a user needs to listen to the eight reference audios one by one, and set the customized gain parameters corresponding to the eight preset frequencies based on the eight reference audios.

S300, replacing original gain parameters of corresponding frequencies in preset original customized sound effects by adopting customized gain parameters to obtain user customized sound effects;

specifically, the customized gain parameter is used to replace the original gain parameter in the original customized sound effect, wherein the preset frequency associated with the customized gain parameter corresponds to the frequency of the original gain parameter for corresponding replacement.

And step S400, associating the user customized sound effect with the user identity information, so that the touch all-in-one machine can store the user customized sound effect, and after the user uses the touch all-in-one machine and authenticates the user identity information, the user customized sound effect stored by the touch all-in-one machine can be taken.

As shown in fig. 3, in order to solve the same technical problem, the present invention also provides an audio customizing apparatus, comprising:

the playing module 100 is configured to play a reference audio with a preset frequency;

the gain adjusting module 200 is configured to enable a user to set a gain parameter of a reference audio to obtain a customized gain parameter, where the customized gain parameter is associated with a preset frequency;

the parameter setting module 300 is configured to replace the original gain parameter of the corresponding frequency in the preset original customized sound effect by using the customized gain parameter, so as to obtain the user customized sound effect.

In order to solve the same technical problem, the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein the processor implements the sound effect customizing method when executing the computer program.

In order to solve the same technical problem, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program is executed to implement the sound effect customizing method.

Compared with the prior art, the invention has the beneficial effects that:

the user listens to the audio frequency with the preset frequency, and sets the gain of the audio frequency with the preset frequency, so that the user can intuitively sense the hearing change caused by the adjustment of the gain under the preset frequency, and the user can adjust the sound effect more specifically to obtain the customized sound effect capable of meeting the personalized hearing requirement of the user.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于改善DMS型接收滤波器带外抑制的接地结构及滤波器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!