[go: up one dir, main page]

CN105825844B - Method and device for correcting sound - Google Patents

Method and device for correcting sound Download PDF

Info

Publication number
CN105825844B
CN105825844B CN201510469290.9A CN201510469290A CN105825844B CN 105825844 B CN105825844 B CN 105825844B CN 201510469290 A CN201510469290 A CN 201510469290A CN 105825844 B CN105825844 B CN 105825844B
Authority
CN
China
Prior art keywords
score
difference
standard
digital
song
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510469290.9A
Other languages
Chinese (zh)
Other versions
CN105825844A (en
Inventor
陈增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510469290.9A priority Critical patent/CN105825844B/en
Publication of CN105825844A publication Critical patent/CN105825844A/en
Application granted granted Critical
Publication of CN105825844B publication Critical patent/CN105825844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Auxiliary Devices For Music (AREA)

Abstract

本发明实施例提供了一种修音的方法和装置,该方法包括:获取用户的歌曲音频;转换歌曲音频为数字乐谱;获取歌曲音频的特征,并依据特征,获取具有相同特征的标准乐谱;比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异;依据差异修正数字乐谱。通过本发明实施例提供了一种修音的方法和装置,实现了在移动终端上纠正用户唱歌跑调的情况,能够方便快捷的后期修音处理。

Figure 201510469290

Embodiments of the present invention provide a method and device for revising sound, the method comprising: acquiring the audio of a user's song; converting the audio of the song into a digital musical score; acquiring features of the audio of the song, and obtaining a standard musical score with the same features according to the features; Compare the digital score and the standard score, determine the difference between the digital score and the standard score; correct the digital score according to the difference. The embodiment of the present invention provides a method and device for sound correction, which realizes the correction of the user's singing out of tune on the mobile terminal, and enables convenient and fast sound correction processing in the later stage.

Figure 201510469290

Description

一种修音的方法和装置Method and device for correcting sound

技术领域technical field

本发明涉及音频处理技术领域,特别是涉及一种修音的方法和装置。The present invention relates to the technical field of audio processing, and in particular, to a method and device for modifying sound.

背景技术Background technique

K歌是人们消遣的方式,但由于不同的人对乐感和旋律的感知能力参差不齐,跑调或是节奏跟不上的情况时有发生,严重影响唱歌的心情。K-singing is a way of entertainment for people, but because different people have different perceptions of music and melody, out-of-tune or rhythm sometimes happens, which seriously affects the mood of singing.

现在解决跑调或是跟不上节奏的方法,只能是找到专业录音棚进行后期修音处理,以修正跑调。虽然录音棚修音的专业性较高,但是在制作周期较长、制作费用不菲等条件的限制下,普通民众大都很难接受,导致人们K歌的兴趣度下降。Now, the only way to solve out-of-tune or not keep up with the rhythm is to find a professional recording studio for post-processing to correct the out-of-tune. Although the studio sound repair is highly professional, under the constraints of a long production cycle and high production costs, it is difficult for ordinary people to accept it, resulting in a decline in people's interest in K songs.

因此,目前需要本领域技术人员迫切解决的一个技术问题就是,如何能够在唱歌时实现方便快捷的后期修音处理。Therefore, a technical problem that needs to be urgently solved by those skilled in the art at present is how to implement a convenient and quick post-editing process when singing.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种修音的方法和装置,以解决用户只能去录音棚对音频进行修音,以纠正跑调的技术问题。Embodiments of the present invention provide a sound repair method and device, so as to solve the technical problem that a user can only go to a recording studio to repair the audio in order to correct the out-of-tune.

为了解决上述问题,本发明实施例公开了一种修音的方法,包括:In order to solve the above problems, an embodiment of the present invention discloses a method for revising a sound, including:

获取用户的歌曲音频;Get the user's song audio;

转换所述歌曲音频为数字乐谱;convert the audio of the song into a digital sheet music;

获取所述歌曲音频的特征,并依据所述特征,获取具有相同所述特征的标准乐谱;Acquire the features of the audio of the song, and according to the features, obtain a standard musical score with the same features;

比较所述数字乐谱和所述标准乐谱,确定所述数字乐谱与所述标准乐谱的差异;comparing the digital musical score and the standard musical score, and determining the difference between the digital musical score and the standard musical score;

依据所述差异修正所述数字乐谱。The digital score is revised according to the difference.

优选地,所述比较所述数字乐谱和所述标准乐谱,确定所述数字乐谱与所述标准乐谱的差异,包括:Preferably, the comparison of the digital musical score and the standard musical score to determine the difference between the digital musical score and the standard musical score includes:

比较所述数字乐谱和所述标准乐谱的速度、节拍或音高频率中的至少一种,获得速度差值、节拍差值或音高频率差值中的至少一种差值。Comparing at least one of tempo, tempo or pitch frequency of the digital score and the standard score, at least one of tempo difference, tempo difference or pitch frequency difference is obtained.

优选地,所述获取用户的歌曲音频的步骤中,所述歌曲音频为干声。Preferably, in the step of acquiring the user's song audio, the song audio is dry sound.

优选地,所述获取所述歌曲音频的特征,并依据所述特征,获取具有相同所述特征的标准乐谱的步骤包括:Preferably, the step of obtaining the features of the audio of the song, and according to the features, obtaining a standard musical score with the same features includes:

获取所述歌曲音频的歌名和原唱歌手名,通过所述歌名和原唱歌手名获取对应的标准乐谱,所述标准乐谱为数字乐谱。Acquire the song title and the original singer's name of the audio of the song, and obtain a corresponding standard musical score through the song title and the original singer's name, where the standard musical score is a digital musical score.

优选地,所述依据所述差异修正所述数字乐谱的步骤,包括:Preferably, the step of correcting the digital musical score according to the difference includes:

根据速度差值、节拍差值和音高频率差值,在所述标准乐谱的五线谱上显示所述差值;displaying the difference on the staff of the standard score according to the difference in tempo, the difference in beat and the difference in pitch frequency;

接收用户的修正指令,修正所述歌曲音频。The user's modification instruction is received, and the audio of the song is modified.

本发明实施例提供了一种修音的装置,包括:An embodiment of the present invention provides a sound-modifying device, including:

歌曲频率获取模块,用于获取用户的歌曲音频;The song frequency acquisition module is used to acquire the user's song audio;

转换模块,用于转换所述歌曲音频为数字乐谱;a conversion module for converting the audio of the song into a digital score;

标准乐谱获取模块,用于获取所述歌曲音频的特征,并依据所述特征,获取具有相同所述特征的标准乐谱;A standard musical score acquisition module, used to obtain the features of the audio of the song, and according to the features, obtain a standard musical score with the same described features;

差异比较模块,用于比较所述数字乐谱和所述标准乐谱,确定所述数字乐谱与所述标准乐谱的差异;Difference comparison module, used to compare the digital musical score and the standard musical score, and determine the difference between the digital musical score and the standard musical score;

乐谱修正模块,用于依据所述差异修正所述数字乐谱。A musical score correction module, used for correcting the digital musical score according to the difference.

优选地,所述差异比较模块具体用于,比较所述数字乐谱和所述标准乐谱的速度、节拍或音高频率中的至少一种,获得速度差值、节拍差值或音高频率差值中的至少一种差值。Preferably, the difference comparison module is specifically configured to compare at least one of tempo, beat or pitch frequency of the digital musical score and the standard musical score, and obtain a tempo difference, beat difference or pitch frequency difference at least one of the differences.

优选地,所述歌曲频率获取模块中,所述歌曲音频为干声。Preferably, in the song frequency acquisition module, the song audio is dry sound.

优选地,所述标准乐谱获取模块具体用于,获取所述歌曲音频的歌名和原唱歌手名,通过所述歌名和原唱歌手名获取对应的标准乐谱,所述标准乐谱为数字乐谱。Preferably, the standard musical score obtaining module is specifically configured to obtain the song title and the original singer's name of the song audio, and obtain the corresponding standard musical score through the song title and the original singer's name, and the standard musical score is a digital musical score .

优选地,所述乐谱修正模块包括:Preferably, the musical score correction module includes:

差值显示单元,用于根据速度差值、节拍差值和音高频率差值,在所述标准乐谱的五线谱上显示所述差值;a difference value display unit, used for displaying the difference value on the staff of the standard musical score according to the speed difference value, the beat difference value and the pitch frequency difference value;

修正单元,用于接收用户的修正指令,修正所述歌曲音频。A correction unit, configured to receive a correction instruction from the user, and correct the audio of the song.

本发明实施例提供的一种修音的方法和装置,通过获取用户的歌曲音频,转换歌曲音频转换为数字乐谱;获取歌曲音频的特征,并依据歌曲音频的特征,获取具有相同特征的标准乐谱;比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异;依据差异对数字乐谱进行修音,从而实现了在移动终端上纠正用户唱歌跑调的情况,能够方便快捷的后期修音处理。A method and device for revising sound provided by an embodiment of the present invention, by acquiring the audio of a user's song, converting the audio of the song into a digital musical score; acquiring the feature of the audio of the song, and obtaining a standard musical score with the same feature according to the feature of the audio of the song ; Compare the digital score and the standard score, determine the difference between the digital score and the standard score; modify the digital score according to the difference, so as to correct the user's singing out of tune on the mobile terminal, which can be convenient and quick for post-editing processing.

附图说明Description of drawings

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

图1是本发明实施例一提供的一种修音的方法的流程示意图;1 is a schematic flowchart of a method for revising a sound provided by Embodiment 1 of the present invention;

图2a是本发明实施例一提供的数字乐谱的示意图;Fig. 2a is a schematic diagram of a digital musical score provided by Embodiment 1 of the present invention;

图2b是本发明实施例一提供的标准乐谱的示意图;Fig. 2b is the schematic diagram of the standard musical score provided by the first embodiment of the present invention;

图3是本发明实施例二提供的一种修音的方法的流程示意图;3 is a schematic flowchart of a method for revising a sound according to Embodiment 2 of the present invention;

图4是本发明实施例三提供的一种修音的装置的结构示意图;FIG. 4 is a schematic structural diagram of a sound-modifying device provided in Embodiment 3 of the present invention;

图5是本发明实施例四提供的一种修音的装置的结构示意图。FIG. 5 is a schematic structural diagram of a sound modification device according to Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例一Example 1

本发明实施例一提供了一种修音的方法,如图1所示,该修音的方法可以包括以下步骤:Embodiment 1 of the present invention provides a method for revising sound. As shown in FIG. 1 , the method for revising sound may include the following steps:

步骤S101,获取用户的歌曲音频。Step S101, acquiring the user's song audio.

在本步骤中,移动终端可以通过麦克风获取用户的歌曲音频,该歌曲音频可以为干声,干声又称为裸声,属于音频术语,一般指录音以后未经过任何后期处理和加工的原始人声。在本发明实施例中,移动终端可以是具有录音功能、存储音频功能和播放音频功能的电子设备,例如,手机、平板电脑。In this step, the mobile terminal can obtain the user's song audio through the microphone. The song audio can be dry sound, which is also called naked sound, which belongs to the audio term and generally refers to the original person who has not undergone any post-processing and processing after recording. Voice. In this embodiment of the present invention, the mobile terminal may be an electronic device having a recording function, an audio storage function, and an audio playback function, such as a mobile phone and a tablet computer.

步骤S102,转换歌曲音频为数字乐谱。Step S102, converting the audio of the song into a digital musical score.

在本步骤中,可以通过频谱、功率、过零等处理将该歌曲音频转化为数字乐谱,数字乐谱中可以包括歌曲速度、旋律音高、节拍、力度关系等信息。In this step, the audio of the song can be converted into a digital musical score through processing such as spectrum, power, and zero-crossing, and the digital musical score can include information such as song speed, melody pitch, tempo, and dynamic relationship.

步骤S103,获取歌曲音频的特征,并依据特征,获取具有相同特征的标准乐谱。In step S103, the characteristics of the song audio are acquired, and according to the characteristics, a standard musical score with the same characteristics is acquired.

在本步骤中,标准乐谱是完全按照乐谱演唱和/或演奏的乐谱,通俗的说就是不跑调的乐谱。该歌曲音频的特征可以包括:歌名、原唱歌手名和版本,例如歌名为“十年”,原唱歌手名为“陈奕迅”,版本为录音棚板。歌曲音频的特征也可以包括翻唱歌手名。可以依据上述特征,在可以在移动终端的本地曲库中查找具有相同特征的标准乐谱,标准乐谱可以是原唱歌手演唱的乐谱。本地曲库中也可以存储有一个歌手演唱的不同版本的标准乐谱,例如,录音棚板、现场版、演唱会版等等,一般来说,录音棚版乐谱音质比现场版乐谱音质要好,因此,当本地乐谱中存在多个版本的标准乐谱时,可以优先选择音质最好的乐谱,例如录音棚乐谱。In this step, the standard score is a score that is completely sung and/or played in accordance with the score, and in layman's terms is a score that is not out of tune. The audio features of the song may include: song title, original singer name and version, for example, the song name is "Ten Years", the original singer name is "Eason Chan", and the version is a recording studio board. Features of the song audio may also include cover artist names. According to the above features, a standard musical score with the same characteristics can be searched in the local music library of the mobile terminal, and the standard musical score can be the musical score sung by the original singer. The local music library can also store different versions of standard scores sung by a singer, such as studio board, live version, concert version, etc. Generally speaking, the sound quality of the studio version is better than the live version, so , when there are multiple versions of the standard score in the local score, the score with the best sound quality can be selected first, such as the studio score.

步骤S104,比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异。Step S104, compare the digital musical score and the standard musical score, and determine the difference between the digital musical score and the standard musical score.

在本步骤中,可以通过比较数字乐谱和标准乐谱的节奏和音高来判断数字乐谱是否跑调。节奏表示的是音乐快慢和激烈缓柔程度,节奏可以包括速度和节拍两部分。因此,数字乐谱和标准乐谱的速度、节拍和音高中的至少一个会存在差异。具体的,可以在移动终端本地比较数字乐谱和标准乐谱的速度、节拍或音高频率中的至少一种,获得速度差值、节拍差值或音高频率差值中的至少一种差值。若数字乐谱和标准乐谱之间不存在差异,或者速度差值、节拍差值或音高频率差值在允许的差值范围内,则可以向用户反馈不需要调音的提示。In this step, it can be determined whether the digital musical score is out of tune by comparing the rhythm and pitch of the digital musical score and the standard musical score. Rhythm represents the speed and intensity of music, and the rhythm can include two parts: speed and beat. Therefore, there will be a difference in at least one of tempo, tempo, and pitch between the digital score and the standard score. Specifically, at least one of the tempo, tempo or pitch frequency of the digital musical score and the standard musical score can be compared locally on the mobile terminal to obtain at least one of the tempo difference, tempo difference or pitch frequency difference. If there is no difference between the digital musical score and the standard musical score, or the difference in tempo, tempo, or pitch and frequency is within the allowable difference range, a prompt that tuning is not required may be fed back to the user.

步骤S105,依据差值修正数字乐谱。Step S105, correcting the digital musical score according to the difference.

在本步骤中,可以在移动终端本地依据差值对数字乐谱进行修音,以实现数字乐谱与标准乐谱之间无差值,也就是对跑调的数字乐谱进行修正。在本发明实施例中,可以根据速度差值、节拍差值和音高频率差值,在标准乐谱的五线谱上显示差值;接收用户的修正指令,修正歌曲音频,用户的修正指令可以是对全部差值进行修正,实现一键修音,也可以是对部分差值进行修复,保留部分差值,实现了个性化修音。In this step, the digital musical score can be modified locally on the mobile terminal according to the difference, so as to realize that there is no difference between the digital musical score and the standard musical score, that is, the digital musical score that is out of tune is corrected. In the embodiment of the present invention, the difference value can be displayed on the staff of the standard musical score according to the speed difference value, the beat difference value and the pitch frequency difference value; the user's correction instruction is received to correct the audio of the song, and the user's correction instruction can be for all The difference is corrected to achieve one-click sound repair, or it can be repaired to some differences, and some differences are retained to achieve personalized sound repair.

图2a为本发明实施例一提供的数字乐谱示意图,图2b为本发明实施例一提供的标准乐谱示意图,经比较可以发现,图2a中圆圈内的音符与图2b内的相应位置的音符不同,也就是数字乐谱的跑调之处,因此需要对图2a中圆圈内的音符进行修音,将圆圈内的音符修改为与图2b中相应位置的音符一样,实现对跑调的音符进行修音。在本发明实施例一中,可以自动将依据差值对数字乐谱进行修音,也可以将差值显示给用户,允许用户手动修音。在手动修音过程中,可以允许用户对旋律中单个音符进行手动调整,在与标准乐谱的旋律节奏对比下,可以按自己个性化需求,对节奏和音高进行手动单个调节。手动修音的方式可以是,通过调整五线谱中的音符位置实现修音。可以调整与标准乐谱不同的音符,也可以调整标准乐谱的音符,实现在原歌曲基础上的变奏旋律歌曲。FIG. 2a is a schematic diagram of a digital musical score provided by Embodiment 1 of the present invention, and FIG. 2b is a schematic diagram of a standard musical score provided by Embodiment 1 of the present invention. After comparison, it can be found that the notes in the circle in FIG. 2a are different from the notes in the corresponding positions in FIG. 2b , that is, the place where the digital score is out of tune. Therefore, it is necessary to modify the notes in the circle in Figure 2a, and modify the notes in the circle to be the same as the notes in the corresponding position in Figure 2b, so as to modify the out-of-tune notes. In the first embodiment of the present invention, the digital music score can be automatically modified according to the difference value, and the difference value can also be displayed to the user, allowing the user to manually modify the voice. In the process of manual tuning, users can manually adjust individual notes in the melody. Compared with the melody rhythm of the standard score, users can manually adjust the rhythm and pitch individually according to their individual needs. The way of manual tuning can be achieved by adjusting the note positions in the staff. You can adjust the notes that are different from the standard score, and you can also adjust the notes of the standard score to achieve a variation melody song based on the original song.

通过本发明实施例一提供的一种修音的方法,实现了在移动终端上纠正用户唱歌跑调的情况,能够对音频进行方便快捷的后期修音处理。By means of the voice modification method provided in the first embodiment of the present invention, it is possible to correct the situation that the user sings out of tune on the mobile terminal, and it is possible to perform convenient and quick post-modification processing on the audio.

实施例二Embodiment 2

由于移动终端的本地内存较小,存储的标准音频数量较少,有可能存在查找不到标准音频的情况,为解决这一技术问题,本发明实施例二提供了一种修音的方法,如图3所示,可以包括以下步骤:Since the local memory of the mobile terminal is small and the number of standard audios stored is small, it is possible that the standard audio cannot be found. In order to solve this technical problem, the second embodiment of the present invention provides a method for audio modification, such as As shown in Figure 3, the following steps may be included:

步骤S301,移动终端获取用户的演唱音频。Step S301, the mobile terminal acquires the user's singing audio.

步骤S302,移动终端获取歌曲音频的特征,并转换歌曲音频为数字乐谱。In step S302, the mobile terminal acquires the characteristics of the audio of the song, and converts the audio of the song into a digital musical score.

步骤S303,移动终端将特征和数字乐谱上传至云端。Step S303, the mobile terminal uploads the feature and the digital musical score to the cloud.

步骤S304,云端接收数字乐谱和特征,并比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异。Step S304, the cloud receives the digital musical score and the features, compares the digital musical score and the standard musical score, and determines the difference between the digital musical score and the standard musical score.

在本步骤中,云端接收数字乐谱,依据特征,获取具有相同特征的标准乐谱;比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差值;并向移动终端反馈差值。因此,不需要在本地缓存标准乐谱,释放了本地存储空间。In this step, the cloud receives the digital musical score, obtains a standard musical score with the same characteristics according to the features; compares the digital musical score and the standard musical score, determines the difference between the digital musical score and the standard musical score; and feeds back the difference to the mobile terminal. Therefore, there is no need to cache standard scores locally, freeing up local storage space.

步骤S305,云端将差异反馈给移动终端。Step S305, the cloud feeds back the difference to the mobile terminal.

步骤S306,移动终端接收差异,并依据差异修正数字乐谱。Step S306, the mobile terminal receives the difference and corrects the digital musical score according to the difference.

通过本发明实施例二提供的一种修音的方法,可以将标准乐谱保存在云端,不需要占用移动终端的本地资源,保障查找到标准乐谱,以实现对数字乐谱的修音。With the method for revising sound provided by the second embodiment of the present invention, the standard musical score can be stored in the cloud without occupying the local resources of the mobile terminal, ensuring that the standard musical score can be found, so as to realize the melding of the digital musical score.

实施例三Embodiment 3

本发明实施例提供了一种修音的移动终端,可以执行上述实施例一中的修音方法,如图4所示,该修音的移动终端可以包括以下模块:歌曲频率获取模块41、转换模块42、标准乐谱获取模块43、差异比较模块44和乐谱修正模块45。An embodiment of the present invention provides a sound-modifying mobile terminal, which can execute the sound-modifying method in the first embodiment. As shown in FIG. 4 , the sound-modifying mobile terminal may include the following modules: a song frequency acquisition module 41, a conversion Module 42 , standard score acquisition module 43 , difference comparison module 44 and score correction module 45 .

歌曲频率获取模块41,用于获取用户的歌曲音频;转换模块42,用于转换歌曲音频为数字乐谱;标准乐谱获取模块43,用于获取歌曲音频的特征,并依据特征,获取具有相同特征的标准乐谱;差异比较模块44,用于比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异;乐谱修正模块45,用于依据差异修正数字乐谱。The song frequency acquisition module 41 is used to acquire the user's song audio; the conversion module 42 is used to convert the song audio into a digital musical score; the standard musical score acquisition module 43 is used to acquire the characteristics of the song audio, and according to the characteristics, obtain the same characteristics. Standard musical score; the difference comparison module 44 is used to compare the digital musical score and the standard musical score to determine the difference between the digital musical score and the standard musical score; the musical score correction module 45 is used to correct the digital musical score according to the difference.

在歌曲频率获取模块41中,移动终端可以通过麦克风获取用户的歌曲音频,该歌曲音频可以为干声,干声又称为裸声,属于音频术语,一般指录音以后未经过任何后期处理和加工的原始人声。在本发明实施例中,移动终端可以是具有录音功能、存储音频功能和播放音频功能的电子设备,例如,手机、平板电脑。In the song frequency acquisition module 41, the mobile terminal can acquire the user's song audio through the microphone. The song audio can be dry sound, which is also called naked sound. original vocals. In this embodiment of the present invention, the mobile terminal may be an electronic device having a recording function, an audio storage function, and an audio playback function, such as a mobile phone and a tablet computer.

在转换模块42中,可以通过频谱、功率、过零等处理将该歌曲音频转化为数字乐谱,数字乐谱中可以包括歌曲速度、旋律音高、节拍、力度关系等信息。In the conversion module 42, the audio of the song can be converted into a digital musical score by processing spectrum, power, zero crossing, etc., and the digital musical score can include information such as song speed, melody pitch, tempo, and dynamic relationship.

在标准乐谱获取模块43中,标准乐谱是完全按照乐谱演唱和/或演奏的乐谱,通俗的说也就是不跑调的乐谱。该歌曲音频的特征可以包括:歌名、原唱歌手名和版本,例如歌名为“十年”,原唱歌手名为“陈奕迅”,版本为录音棚板。歌曲音频的特征也可以包括翻唱歌手名。可以依据上述特征,在可以在移动终端的本地曲库中查找具有相同特征的标准乐谱,标准乐谱可以是原唱歌手演唱的乐谱。本地曲库中也可以存储有一个歌手演唱的不同版本的标准乐谱,例如,录音棚板、现场版、演唱会版等等,一般来说,录音棚版乐谱音质比现场版乐谱音质要好,因此,当本地乐谱中存在多个版本的标准乐谱时,可以优先选择音质最好的乐谱,例如录音棚乐谱。In the standard musical score obtaining module 43, the standard musical score is a musical score that is completely sung and/or played according to the musical score, which is a musical score that is not out of tune in layman's terms. The audio features of the song may include: song title, original singer name and version, for example, the song name is "Ten Years", the original singer name is "Eason Chan", and the version is a recording studio board. Features of the song audio may also include cover artist names. According to the above features, a standard musical score with the same characteristics can be searched in the local music library of the mobile terminal, and the standard musical score can be the musical score sung by the original singer. The local music library can also store different versions of standard scores sung by a singer, such as studio board, live version, concert version, etc. Generally speaking, the sound quality of the studio version is better than the live version, so , when there are multiple versions of the standard score in the local score, the score with the best sound quality can be selected first, such as the studio score.

在差异比较模块44中,可以通过比较数字乐谱和标准乐谱的节奏和音高来判断数字乐谱是否跑调。节奏表示的是音乐快慢和激烈缓柔程度,节奏可以包括速度和节拍两部分。因此,数字乐谱和标准乐谱的速度、节拍和音高中的至少一个会存在差异。具体的,可以在移动终端本地比较数字乐谱和标准乐谱的速度、节拍或音高频率中的至少一种,获得速度差值、节拍差值或音高频率差值中的至少一种差值。若数字乐谱和标准乐谱之间不存在差异,或者速度差值、节拍差值或音高频率差值在允许的差值范围内,则可以向用户反馈不需要调音的提示In the difference comparison module 44, it can be determined whether the digital musical score is out of tune by comparing the rhythm and pitch of the digital musical score and the standard musical score. Rhythm represents the speed and intensity of music, and the rhythm can include two parts: speed and beat. Therefore, there will be a difference in at least one of tempo, tempo, and pitch between the digital score and the standard score. Specifically, at least one of the tempo, tempo or pitch frequency of the digital musical score and the standard musical score can be compared locally on the mobile terminal to obtain at least one of the tempo difference, tempo difference or pitch frequency difference. If there is no difference between the digital score and the standard score, or the difference in tempo, tempo, or pitch frequency is within the allowable difference range, the user can be fed back a prompt that tuning is not required

在乐谱修正模块45中,可以在移动终端本地依据差值对数字乐谱进行修音,以实现数字乐谱与标准乐谱之间无差值,也就是对跑调的数字乐谱进行修正。在本发明实施例中,可以根据速度差值、节拍差值和音高频率差值,在标准乐谱的五线谱上显示差值;接收用户的修正指令,修正歌曲音频,用户的修正指令可以是对全部差值进行修正,实现一键修音,也可以是对部分差值进行修复,保留部分差值,实现了个性化修音。In the musical score correction module 45, the digital musical score can be modified locally on the mobile terminal according to the difference, so that there is no difference between the digital musical score and the standard musical score, that is, the out-of-tune digital musical score is corrected. In the embodiment of the present invention, the difference value can be displayed on the staff of the standard musical score according to the speed difference value, the beat difference value and the pitch frequency difference value; the user's correction instruction is received to correct the audio of the song, and the user's correction instruction can be for all The difference is corrected to achieve one-click sound repair, or it can be repaired to some differences, and some differences are retained to achieve personalized sound repair.

通过本发明实施例三提供的一种修音的移动终端,实现了在移动终端上纠正用户唱歌跑调的情况,能够对音频进行方便快捷的后期修音处理。With the mobile terminal for voice modification provided by the third embodiment of the present invention, it is possible to correct the situation that the user sings out of tune on the mobile terminal, and it is possible to perform convenient and quick post-modification processing on the audio.

实施例四Embodiment 4

由于移动终端的本地内存较小,存储的标准音频数量较少,有可能存在查找不到标准音频的情况,为解决这一技术问题,如图5所示,本发明实施例四提供的一种修音的移动装置可以包括以下:Since the local memory of the mobile terminal is small and the number of stored standard audios is small, it is possible that the standard audio cannot be found. To solve this technical problem, as shown in FIG. 5 , the fourth embodiment of the present invention provides a The mobile device for audio modification may include the following:

移动终端51和云端52;移动终端51包括:歌曲频率获取模块511、转换模块512、数字乐谱上传模块513、乐谱修正模块514;The mobile terminal 51 and the cloud 52; the mobile terminal 51 includes: a song frequency acquisition module 511, a conversion module 512, a digital music score uploading module 513, and a music score correction module 514;

云端52包括:差异比较模块521和差异反馈模块522。The cloud 52 includes: a difference comparison module 521 and a difference feedback module 522 .

歌曲频率获取模块511,用于获取用户的演唱音频;转换模块512,用于获取歌曲音频的特征,并转换歌曲音频为数字乐谱;数字乐谱上传模块513,用于将特征和数字乐谱上传至云端;差异比较模块521,用于云端接收数字乐谱和特征,并比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差异;差异反馈模块522,用于将差异反馈给移动终端;乐谱修正模块514,用于接收差异,并依据差异修正数字乐谱。The song frequency acquisition module 511 is used to acquire the user's singing audio; the conversion module 512 is used to acquire the characteristics of the song audio and convert the song audio into a digital musical score; the digital musical score uploading module 513 is used to upload the features and digital musical scores to the cloud Difference comparison module 521, for receiving digital musical scores and features in the cloud, and comparing the digital musical scores and standard musical scores to determine the difference between the digital musical scores and the standard musical scores; Difference feedback module 522, for feeding back the differences to the mobile terminal; Music score correction module 514 , which receives the differences and corrects the digital score according to the differences.

在差异比较模块521中,云端接收数字乐谱,依据特征,获取具有相同特征的标准乐谱;比较数字乐谱和标准乐谱,确定数字乐谱与标准乐谱的差值;并向移动终端反馈差值。因此,不需要在本地缓存标准乐谱,释放了本地存储空间。In the difference comparison module 521, the cloud receives the digital musical score, obtains a standard musical score with the same characteristics according to the features; compares the digital musical score and the standard musical score, determines the difference between the digital musical score and the standard musical score; and feeds back the difference to the mobile terminal. Therefore, there is no need to cache standard scores locally, freeing up local storage space.

在乐谱修正模块514中,可以包括差值显示单元和修正单元。In the score correction module 514, a difference value display unit and a correction unit may be included.

差值显示单元,用于根据速度差值、节拍差值和音高频率差值,在标准乐谱的五线谱上显示差值;The difference value display unit is used to display the difference value on the staff of the standard score according to the speed difference value, the beat difference value and the pitch frequency difference value;

修正单元,用于接收用户的修正指令,修正歌曲音频。The correction unit is used to receive the correction instruction from the user and correct the audio of the song.

通过本发明实施例四提供的一种修音的装置,可以将标准乐谱保存在云端,不需要占用移动终端的本地资源,保障查找到标准乐谱,以实现对数字乐谱的修音。By means of the sound repairing device provided in the fourth embodiment of the present invention, the standard musical score can be stored in the cloud, without occupying the local resources of the mobile terminal, ensuring that the standard musical score can be found, so as to realize the sound repairing of the digital musical score.

以上对本发明所提供的一种修音的方法和装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for revising a sound provided by the present invention have been described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used to help understand the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this description should not be construed as Limitations of the present invention.

Claims (6)

1. A method of modifying a tone, comprising:
acquiring song audio of a user;
converting the song audio into a digital music score;
acquiring the characteristics of the song audio, and acquiring a standard music score with the same characteristics according to the characteristics;
comparing the digital score with the standard score to determine the difference between the digital score and the standard score;
correcting the digital music score according to the difference;
wherein said modifying said digital score in accordance with said difference comprises:
modifying the digital score to achieve that there is no difference between the digital score and the standard score;
wherein said comparing said digital score to said standard score, determining a difference between said digital score and said standard score, comprises:
comparing at least one of the speed, the beat or the pitch frequency of the digital music score and the standard music score to obtain at least one of a speed difference value, a beat difference value or a pitch frequency difference value;
the step of modifying the digital score in dependence on the difference comprises:
displaying the difference value on a staff of the standard music score according to the speed difference value, the beat difference value and the pitch frequency difference value;
receiving a correction instruction of a user, correcting the song audio, and comprising: receiving an instruction of the user for correcting all the difference values, correcting all the difference values in the digital music score, or receiving manual adjustment of notes displayed on the staff by the user, and correcting the difference values of the notes adjusted by the user;
wherein said receiving manual adjustments by the user to notes displayed on the staff comprises: receiving a manual adjustment by the user of a position of a single note displayed on the staff.
2. The method of claim 1, wherein in the step of obtaining the song audio of the user, the song audio is dry sound.
3. The method of claim 1, wherein said step of obtaining characteristics of said song audio and, depending on said characteristics, obtaining a standard score having the same said characteristics comprises:
and acquiring the name of the song audio and the name of the original singer, and acquiring a corresponding standard music score through the name of the song and the name of the original singer, wherein the standard music score is a digital music score.
4. An apparatus for modifying sound, comprising:
the song frequency acquisition module is used for acquiring song audio of a user;
the conversion module is used for converting the song audio into a digital music score;
the standard music score acquisition module is used for acquiring the characteristics of the song audio and acquiring a standard music score with the same characteristics according to the characteristics;
the difference comparison module is used for comparing the digital music score with the standard music score and determining the difference between the digital music score and the standard music score;
the music score correction module is used for correcting the digital music score according to the difference;
the score correction module is specifically configured to: modifying the digital score to achieve that there is no difference between the digital score and the standard score;
the difference comparison module is specifically configured to compare at least one of speeds, beats or pitch frequencies of the digital music score and the standard music score to obtain at least one of a speed difference, a beat difference or a pitch frequency difference;
the score correcting module comprises:
a difference display unit for displaying the difference on the staff of the standard music score according to the speed difference, the beat difference and the pitch frequency difference;
the correcting unit is used for receiving a correcting instruction of a user and correcting the song audio, and comprises: receiving an instruction of the user for correcting all the difference values, correcting all the difference values in the digital music score, or receiving manual adjustment of notes displayed on the staff by the user, and correcting the difference values of the notes adjusted by the user;
wherein the modifying unit is specifically configured to receive a manual adjustment by the user of a position of a single note displayed on the staff.
5. The apparatus of claim 4, wherein in the song frequency acquisition module, the song audio is dry sound.
6. The apparatus of claim 4, wherein the standard score obtaining module is specifically configured to obtain a song name and an original singer name of the song audio, and obtain a corresponding standard score through the song name and the original singer name, wherein the standard score is a digital score.
CN201510469290.9A 2015-07-30 2015-07-30 Method and device for correcting sound Active CN105825844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510469290.9A CN105825844B (en) 2015-07-30 2015-07-30 Method and device for correcting sound

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510469290.9A CN105825844B (en) 2015-07-30 2015-07-30 Method and device for correcting sound

Publications (2)

Publication Number Publication Date
CN105825844A CN105825844A (en) 2016-08-03
CN105825844B true CN105825844B (en) 2020-07-07

Family

ID=56514393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510469290.9A Active CN105825844B (en) 2015-07-30 2015-07-30 Method and device for correcting sound

Country Status (1)

Country Link
CN (1) CN105825844B (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453918B (en) * 2016-10-31 2019-11-15 维沃移动通信有限公司 A music search method and mobile terminal
CN107274876A (en) * 2017-06-30 2017-10-20 武汉理工大学 A kind of audition paints spectrometer
CN107800879A (en) * 2017-10-23 2018-03-13 努比亚技术有限公司 A kind of audio regulation method, terminal and computer-readable recording medium
CN108257609A (en) * 2017-12-05 2018-07-06 北京小唱科技有限公司 The modified method of audio content and its intelligent apparatus
CN108231048B (en) * 2017-12-05 2021-09-28 北京小唱科技有限公司 Method and device for correcting audio rhythm
CN108281130B (en) * 2018-01-19 2021-02-09 北京小唱科技有限公司 Audio correction method and device
CN108172232A (en) * 2018-01-19 2018-06-15 北京小唱科技有限公司 Audio modification method and device
CN108665881A (en) * 2018-03-30 2018-10-16 北京小唱科技有限公司 Repair sound controlling method and device
CN108492807B (en) * 2018-03-30 2020-09-11 北京小唱科技有限公司 Method and device for displaying sound modification state
CN108766452B (en) * 2018-04-03 2020-11-06 北京小唱科技有限公司 Sound repairing method and device
CN108696632B (en) * 2018-04-03 2020-09-15 北京小唱科技有限公司 Correction method and device for audio data
CN108810241B (en) * 2018-04-03 2020-12-18 北京小唱科技有限公司 Audio data-based sound modification display method and device
CN108810075B (en) * 2018-04-11 2020-12-18 北京小唱科技有限公司 Audio correction system realized based on server side
CN108735224B (en) * 2018-04-11 2021-04-30 北京小唱科技有限公司 Audio correction method and device based on distributed structure
CN110010162A (en) * 2019-02-28 2019-07-12 华为技术有限公司 A kind of song recordings method repairs sound method and electronic equipment
CN111724812A (en) * 2019-03-22 2020-09-29 广州艾美网络科技有限公司 Audio processing method, storage medium and music practice terminal
CN111757165B (en) * 2019-03-28 2022-09-16 阿里巴巴集团控股有限公司 Data output method, data processing method, device and equipment
CN112420004B (en) * 2019-08-22 2024-11-15 北京峰趣互联网信息服务有限公司 Method, device, electronic device and computer-readable storage medium for generating songs
CN111048058B (en) * 2019-11-25 2022-10-28 福建星网视易信息系统有限公司 Singing or playing method and terminal for adjusting song music score in real time
CN110910862B (en) * 2019-12-06 2024-03-08 广州酷狗计算机科技有限公司 Audio adjustment method, device, server and computer readable storage medium
CN111402856B (en) * 2020-03-23 2023-04-14 北京字节跳动网络技术有限公司 Voice processing method and device, readable medium and electronic equipment
CN111445885A (en) * 2020-03-31 2020-07-24 中国美术学院 Chinese zither control system and control method
CN111524416A (en) * 2020-04-29 2020-08-11 威海海洋职业学院 Music teaching training system based on virtual reality
CN112133269B (en) * 2020-09-22 2024-03-15 腾讯音乐娱乐科技(深圳)有限公司 Audio processing method, device, equipment and medium
CN112447182A (en) * 2020-10-20 2021-03-05 开放智能机器(上海)有限公司 Automatic sound modification system and sound modification method
CN113470602B (en) * 2021-06-29 2023-09-29 广州番禺巨大汽车音响设备有限公司 Method, device and system for controlling karaoke sound through audio playing
CN114566191A (en) * 2022-02-25 2022-05-31 腾讯音乐娱乐科技(深圳)有限公司 Sound correcting method for recording and related device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5799695A (en) * 1980-11-20 1982-06-21 Ricoh Watch Keyboard input coding device
JP3102335B2 (en) * 1996-01-18 2000-10-23 ヤマハ株式会社 Formant conversion device and karaoke device
CN100363981C (en) * 2003-10-23 2008-01-23 凌阳科技股份有限公司 electronic music score device
JP4622415B2 (en) * 2004-09-22 2011-02-02 ヤマハ株式会社 Music information display device and program
US20080163742A1 (en) * 2007-01-09 2008-07-10 Oliver Janet L Rainbow method for stringed instruments
KR20100057307A (en) * 2008-11-21 2010-05-31 삼성전자주식회사 Singing score evaluation method and karaoke apparatus using the same
CN101551997B (en) * 2009-02-25 2012-07-04 北京派瑞根科技开发有限公司 Assisted learning system of music
CN101853650B (en) * 2009-04-03 2012-04-25 王路露 Music processing and output system and method thereof
CN101719366A (en) * 2009-12-16 2010-06-02 德恩资讯股份有限公司 Method for editing and displaying music symbols and music marks and karaoke system
CN103177621A (en) * 2013-04-03 2013-06-26 广西环球音乐图书有限公司 Multimedia teaching technology for musical instrument teaching
CN103354092B (en) * 2013-06-27 2016-01-20 天津大学 A kind of audio frequency music score comparison method with error detection function
JP6171711B2 (en) * 2013-08-09 2017-08-02 ヤマハ株式会社 Speech analysis apparatus and speech analysis method
CN104408992A (en) * 2014-12-19 2015-03-11 李荣广 Method for stimulating playing of music instrument and recording music score by use of computer

Also Published As

Publication number Publication date
CN105825844A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105825844B (en) Method and device for correcting sound
US10957297B2 (en) Self-produced music apparatus and method
CN106057208B (en) A kind of audio modification method and device
US9852721B2 (en) Musical analysis platform
US10311848B2 (en) Self-produced music server and system
CN110675886A (en) Audio signal processing method, audio signal processing device, electronic equipment and storage medium
Boersma et al. Spectral characteristics of three styles of Croatian folk singing
JP2014071138A (en) Karaoke device
US20200135237A1 (en) Systems, Methods and Applications For Modulating Audible Performances
US9804818B2 (en) Musical analysis platform
WO2016009444A2 (en) Music performance system and method thereof
CN108766452B (en) Sound repairing method and device
CN108053814B (en) Speech synthesis system and method for simulating singing voice of user
US11087727B2 (en) Auto-generated accompaniment from singing a melody
CN112992110B (en) Audio processing method, device, computing equipment and medium
CN105810211A (en) Audio frequency data processing method and terminal
US10885894B2 (en) Singing expression transfer system
Arzt et al. Artificial Intelligence in the Concertgebouw.
CN112825244B (en) Music audio generation method and device
CN101930732B (en) Music producing method and device based on user input voice and intelligent terminal
Dong et al. I2r speech2singing perfects everyone's singing.
CN115331682A (en) Method and apparatus for correcting pitch of audio
CN109584845A (en) Automatic dub in background music method and system, terminal and computer readable storage medium
JP6793422B1 (en) Audio compensator, singing system, audio compensator, and program
JP7149218B2 (en) karaoke device

Legal Events

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