WO2022142254A1 - Song recording method and storage medium - Google Patents

Song recording method and storage medium Download PDF

Info

Publication number
WO2022142254A1
WO2022142254A1 PCT/CN2021/105529 CN2021105529W WO2022142254A1 WO 2022142254 A1 WO2022142254 A1 WO 2022142254A1 CN 2021105529 W CN2021105529 W CN 2021105529W WO 2022142254 A1 WO2022142254 A1 WO 2022142254A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
terminal
accompaniment
external playback
pure
Prior art date
Application number
PCT/CN2021/105529
Other languages
French (fr)
Chinese (zh)
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 WO2022142254A1 publication Critical patent/WO2022142254A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

A song recording method and apparatus, an electronic device and a storage medium. The method comprises: in response to a trigger operation of a song recording function, detecting whether a terminal is connected to an external loudspeaker device or not (S210); in the state that the terminal is not connected to the loudspeaker device, determining that an audio output mode of the terminal is a non-loudspeaker mode (S220); and in the non-loudspeaker mode, in response to a trigger operation of a target accompaniment mode, switching from a current accompaniment mode to the target accompaniment mode (S230).

Description

歌曲录制方法及存储介质Song recording method and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011643138.5、申请日为2020年12月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011643138.5 and the filing date of December 30, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本公开涉及互联网技术领域,尤其涉及一种歌曲录制方法、装置、终端及存储介质。The present disclosure relates to the field of Internet technologies, and in particular, to a song recording method, device, terminal, and storage medium.
背景技术Background technique
相关技术中的歌曲录制应用在采用扬声器模式进行歌曲录制的过程中,往往会将原唱音轨也一同录制在歌曲录制作品中,这导致用户在歌曲录制作品中的干声受到原唱音轨干扰,减低了歌曲录制作品的录制质量。In the song recording application in the related art, in the process of using the speaker mode for song recording, the original singing soundtrack is often recorded in the song recording work together, which causes the user's dry sound in the song recording work to be affected by the original singing soundtrack. interference, reducing the recording quality of song recordings.
发明内容SUMMARY OF THE INVENTION
本公开提供一种歌曲录制方法、装置、终端及存储介质。本公开的技术方案如下:The present disclosure provides a song recording method, device, terminal and storage medium. The technical solutions of the present disclosure are as follows:
根据本公开实施例的第一方面,提供一种歌曲录制方法,包括:According to a first aspect of the embodiments of the present disclosure, a method for recording a song is provided, including:
响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;In response to the triggering operation of the song recording function, detecting whether the terminal is connected to the external playback device;
在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;In a state that the terminal is not connected to an external playback device, determine that the audio output mode of the terminal is a non-external playback mode;
在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。In the non-external playback mode, in response to a triggering operation on a target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
在一种可能实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;In the state that the terminal is connected to the external playback device, determine that the audio output mode of the terminal is the external playback mode;
在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In the external playing mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
在一种可能实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,允许由所述纯伴奏模式切换为所述其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, it is allowed to switch from the pure accompaniment mode to the other accompaniment mode.
在一种可能实现方式中,所述允许由所述纯伴奏模式切换为所述其他伴奏模式,包括:In a possible implementation manner, the allowing switching from the pure accompaniment mode to the other accompaniment modes includes:
响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。In response to the triggering operation on the target accompaniment mode, the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode.
在一种可能实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下,将所 述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed Switch to another accompaniment mode.
在一种可能实现方式中,所述不允许由所述纯伴奏模式切换为其他伴奏模式,包括:In a possible implementation manner, the disallowing switching from the pure accompaniment mode to other accompaniment modes includes:
响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;In response to the triggering operation on the target accompaniment mode, determining whether the target accompaniment mode is the pure accompaniment mode;
在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。If the target accompaniment mode is not the pure accompaniment mode, a prompt message indicating that the current accompaniment mode cannot be switched is displayed.
在一种可能实现方式中,所述将所述终端的当前伴奏模式切换为纯伴奏模式,包括:In a possible implementation manner, the switching the current accompaniment mode of the terminal to the pure accompaniment mode includes:
显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;Displaying the accompaniment switching prompt box, and displaying the prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, and a switch confirmation button in the accompaniment switching prompt box;
响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。In response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
在一种可能实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。In a state in which the terminal is not connected to an external playback device, in response to an access operation to the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from a non-external playback mode to an external playback mode.
在一种可能实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。In a state where the terminal is connected to the external playback device, in response to a disconnection operation for the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-playback mode.
根据本公开实施例的第二方面,提供一种歌曲录制装置;According to a second aspect of the embodiments of the present disclosure, there is provided a song recording device;
响应单元,被配置为执行响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;a response unit, configured to perform a trigger operation in response to the song recording function, to detect whether the terminal is connected to the external playback device;
确定单元,被配置为执行在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;a determining unit, configured to determine that the audio output mode of the terminal is a non-external playback mode when the terminal is not connected to an external playback device;
切换单元,被配置为执行在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。A switching unit configured to perform switching from the current accompaniment mode to the target accompaniment mode in response to a triggering operation on the target accompaniment mode in the non-external mode.
在一种可能实现方式中,所述装置还包括:外放模式确定单元,被配置为执行在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;默认设置单元,被配置为执行在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In a possible implementation manner, the apparatus further includes: an external playback mode determination unit, configured to determine that the audio output mode of the terminal is the external playback mode when the terminal is connected to the external playback device; The default setting unit is configured to execute in the external playback mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
在一种可能实现方式中,所述装置还包括:允许切换单元,被配置为执行在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,允许由所述纯伴奏模式切换为所述其他伴奏模式。In a possible implementation manner, the apparatus further includes: a switch permitting unit configured to perform, when it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, Switching from the pure accompaniment mode to the other accompaniment mode is allowed.
在一种可能实现方式中,所述允许切换单元,被配置为执行响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。In a possible implementation manner, the allowing switching unit is configured to perform, in response to a triggering operation on a target accompaniment mode, switching the current accompaniment mode of the terminal from the pure accompaniment mode to the target accompaniment mode.
在一种可能实现方式中,所述方法还包括:所述装置还包括:纯伴奏切换单元,被配置为执行在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下, 将所述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In a possible implementation manner, the method further includes: the apparatus further includes: a pure accompaniment switching unit, configured to perform switching from the non-external playback mode to the external playback when the audio output mode of the terminal is detected In the case of the mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
在一种可能实现方式中,所述装置还包括:模式判断单元,被配置为执行响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;显示单元,被配置为执行在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。In a possible implementation manner, the apparatus further includes: a mode judgment unit, configured to perform in response to a triggering operation on a target accompaniment mode, to judge whether the target accompaniment mode is the pure accompaniment mode; a display unit, configured by It is configured to display a prompt message that the current accompaniment mode cannot be switched when the target accompaniment mode is not the pure accompaniment mode.
在一种可能实现方式中,所述纯伴奏切换单元,被配置为执行显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。In a possible implementation manner, the pure accompaniment switching unit is configured to display an accompaniment switching prompt box, and display in the accompaniment switching prompt box that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode and a switch confirmation button; in response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
在一种可能实现方式中,所述装置还包括:第一切换判断单元,被配置为执行在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。In a possible implementation manner, the apparatus further includes: a first handover determination unit configured to perform, in a state in which the terminal is not connected to an external playback device, in response to an access operation for the external playback device , and it is determined that it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode.
在一种可能实现方式中,所述装置还包括:第二切换判断单元,被配置为执行在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。In a possible implementation manner, the apparatus further includes: a second switching judgment unit configured to perform a disconnection operation for the external playback device in response to a state in which the terminal is connected to the external playback device , and it is determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-external playback mode.
根据本公开实施例的第三方面,提供一种终端,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如第一方面或第一方面的任一种可能实现方式所述的歌曲录制方法。According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including a memory and a processor, the memory stores a computer program, and the processor implements any of the first aspect or the first aspect when the processor executes the computer program. A possible implementation of the described song recording method.
根据本公开实施例的第四方面,提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面或第一方面的任一种可能实现方式所述的歌曲录制方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the first aspect or any possible implementation manner of the first aspect is implemented. song recording method.
根据本公开实施例的第五方面,提供一种计算机程序产品,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,设备的至少一个处理器从所述可读存储介质读取并执行所述计算机程序,使得设备执行第一方面的任一项实施例中所述的歌曲录制方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, the program product comprising a computer program, the computer program being stored in a readable storage medium, and at least one processor of a device from the readable storage medium The computer program is read and executed so that the device executes the song recording method described in any one of the embodiments of the first aspect.
通过响应于对歌曲录制功能的触发操作,检测终端是否接入外放播放设备;并在终端未接入外放设备的状态下,确定终端的音频输出模式为非外放模式;最后,在非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式,在歌曲录制的过程中当终端处于非外放模式下,用户可以任意地切换终端的当前伴奏模式,当前伴奏模式的音频均不会一同被录制在歌曲录制作品中,避免用户在歌曲录制作品中的干声受到原唱音轨干扰,提高了歌曲录制作品的录制质量。By responding to the trigger operation of the song recording function, it is detected whether the terminal is connected to the external playback device; and when the terminal is not connected to the external playback device, it is determined that the audio output mode of the terminal is the non-playback mode; In the external playback mode, in response to the triggering operation on the target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode. During the song recording process, when the terminal is in the non-playing mode, the user can arbitrarily switch the current accompaniment mode of the terminal. , the audio of the current accompaniment mode will not be recorded in the song recording work together, so that the user's dry voice in the song recording work is prevented from being interfered by the original singing track, and the recording quality of the song recording work is improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure and do not unduly limit the present disclosure.
图1是根据一示例性实施例示出的一种歌曲录制方法的应用环境图。FIG. 1 is an application environment diagram of a method for recording songs according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种歌曲录制方法的流程图。Fig. 2 is a flow chart of a method for recording a song according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种歌曲录制界面的示意图。Fig. 3 is a schematic diagram of a song recording interface according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种伴奏切换提示框的示意图。Fig. 4 is a schematic diagram of an accompaniment switching prompt box according to an exemplary embodiment.
图5是根据一示例性实施例示出的另一种歌曲录制方法的流程图。Fig. 5 is a flow chart of another method for recording songs according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种歌曲录制方法的流程示意图。Fig. 6 is a schematic flowchart of a method for recording a song according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种歌曲录制装置的框图。Fig. 7 is a block diagram of a song recording apparatus according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种终端的内部结构图。Fig. 8 is an internal structural diagram of a terminal according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。It should be noted that the terms "first", "second" and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure.
在本公开的实施例提供的技术方案中,通过响应于对歌曲录制功能的触发操作,检测终端是否接入外放播放设备;并在终端未接入外放设备的状态下,确定终端的音频输出模式为非外放模式;最后,在非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式,在歌曲录制的过程中当终端处于非外放模式下,用户可以任意地切换终端的当前伴奏模式,当前伴奏模式的音频均不会一同被录制在歌曲录制作品中,避免用户在歌曲录制作品中的干声受到原唱音轨干扰,提高了歌曲录制作品的录制质量。In the technical solutions provided by the embodiments of the present disclosure, whether the terminal is connected to the external playback device is detected by responding to the triggering operation of the song recording function; and when the terminal is not connected to the external playback device, the audio frequency of the terminal is determined. The output mode is the non-external mode; finally, in the non-external mode, in response to the trigger operation of the target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode. During the song recording process, when the terminal is in the non-external mode In this way, the user can switch the current accompaniment mode of the terminal arbitrarily, and the audio of the current accompaniment mode will not be recorded in the song recording work together, so as to avoid the user's dry voice in the song recording work being interfered by the original singing track, and improve the performance of the song. The recording quality of the recording.
本公开所提供的歌曲录制方法,可以应用于如图1所示的应用环境中。其中,终端110响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;然后,终端110在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;最后,终端110在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。其中,终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。The song recording method provided by the present disclosure can be applied to the application environment shown in FIG. 1 . The terminal 110 detects whether the terminal is connected to the external playback device in response to the trigger operation of the song recording function; then, the terminal 110 determines that the audio output mode of the terminal is in the state that the terminal is not connected to the external playback device. Non-external playback mode; finally, in the non-external playback mode, the terminal 110 switches from the current accompaniment mode to the target accompaniment mode in response to a triggering operation on the target accompaniment mode. Wherein, the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices.
图2是根据一示例性实施例示出的一种歌曲录制方法的流程图,如图2所示,该歌曲录制方法用于图一的终端110中,此外,该歌曲录制方法也可以用于服务器、处理器、车载设备、移动设备、计算设备等,本公开的实施例对此不作具体限制。包括以下步骤。FIG. 2 is a flow chart of a method for recording songs according to an exemplary embodiment. As shown in FIG. 2 , the method for recording songs is used in the terminal 110 in FIG. 1. In addition, the method for recording songs can also be used in a server , processor, in-vehicle device, mobile device, computing device, etc., which are not specifically limited by the embodiments of the present disclosure. Include the following steps.
在步骤S210中,响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备。In step S210, in response to the triggering operation of the song recording function, it is detected whether the terminal is connected to the external playback device.
其中,外放设备可以是指用于外放音频的音频输出设备。其中,外放设备可以包括但不限于是扬声器、有线音箱、蓝牙音箱、智能音箱等音频输出设备。Wherein, the external playback device may refer to an audio output device used for external audio playback. The external device may include, but is not limited to, audio output devices such as speakers, wired speakers, Bluetooth speakers, and smart speakers.
具体实现中,用户在使用终端进行歌曲录制(K歌)的过程中,终端可以显示录制准备页面;其中,该录制准备页面包括开始录制按钮。若用户决定开始录歌,则点击该录制准备页面中的开始录制按钮即向终端输入对歌曲录制功能的触发操作。终端在接收到对歌曲录制功能的触发操作后,终端则响应于对歌曲录制功能的触发操作后,终端开始进入歌曲录制,检测终端是否接入外放设备。例如,终端检测终端是否与扬声器音频连接。In a specific implementation, when the user uses the terminal to record a song (K song), the terminal may display a recording preparation page, wherein the recording preparation page includes a start recording button. If the user decides to start recording a song, click the start recording button on the recording preparation page to input a trigger operation for the song recording function to the terminal. After the terminal receives the triggering operation for the song recording function, the terminal starts to enter the song recording in response to the triggering operation for the song recording function, and detects whether the terminal is connected to the external playback device. For example, the terminal detects whether the terminal is audio-connected with a speaker.
在步骤S220中,在终端未接入外放设备的状态下,确定终端的音频输出模式为非外放模式。In step S220, in the state that the terminal is not connected to the external playback device, it is determined that the audio output mode of the terminal is the non-external playback mode.
其中,外放模式也可以命名为扬声器模式。Among them, the external mode can also be named as the speaker mode.
其中,非外放模式也可以命名为耳机模式。Among them, the non-external mode can also be named as the headphone mode.
具体实现中,当终端检测出终端当前未接入外放设备,则确定终端在歌曲录制功能下是采用耳机设备进行音频输出的,此时确定终端的音频输出模式为非外放模式。In a specific implementation, when the terminal detects that the terminal is not currently connected to an external playback device, it is determined that the terminal uses an earphone device for audio output under the song recording function, and at this time, the audio output mode of the terminal is determined to be a non-external playback mode.
在步骤S230中,在非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式。In step S230, in the non-external mode, in response to the triggering operation on the target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
具体实现中,在非外放模式下,用户可以任意切换终端的当前伴奏模式。具体来说,用户可以在伴奏模式选择页面中选择目标伴奏模式即向终端输入对目标伴奏模式的触发操作,终端在接收到对目标伴奏模式的触发操作后,终端则响应该目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式。In a specific implementation, in the non-external playback mode, the user can arbitrarily switch the current accompaniment mode of the terminal. Specifically, the user can select the target accompaniment mode on the accompaniment mode selection page, that is, input a trigger operation for the target accompaniment mode to the terminal. After the terminal receives the trigger operation for the target accompaniment mode, the terminal responds to the trigger of the target accompaniment mode. operation to switch from the current accompaniment mode to the target accompaniment mode.
上述歌曲录制方法中,通过响应于对歌曲录制功能的触发操作,检测终端是否接入外放播放设备;并在终端未接入外放设备的状态下,确定终端的音频输出模式为非外放模式;最后,在非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式,在歌曲录制的过程中当终端处于非外放模式下,用户可以任意地切换终端的当前伴奏模式,当前伴奏模式的人声均不会被一同录制在歌曲录制作品中,避免用户在歌曲录制作品中的干声受到非纯伴奏模式的人声音轨干扰,提高了歌曲录制作品的录制质量。In the above song recording method, by responding to the trigger operation of the song recording function, it is detected whether the terminal is connected to the external playback device; and in the state that the terminal is not connected to the external playback device, it is determined that the audio output mode of the terminal is non-external playback. mode; finally, in the non-external mode, in response to the triggering operation on the target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode. During the song recording process, when the terminal is in the non-external mode, the user can arbitrarily Switch the current accompaniment mode of the terminal, and the vocals of the current accompaniment mode will not be recorded in the song recording work together, so as to avoid the user's dry voice in the song recording work being interfered by the vocal track in the non-pure accompaniment mode, and improve the performance of the song. The recording quality of the recording.
在一示例性实施例中,方法还包括:在终端接入外放设备的状态下,确定终端的音频输出模式为外放模式;在外放模式下,终端的默认伴奏模式为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。In an exemplary embodiment, the method further includes: in the state that the terminal is connected to the external playback device, determining that the audio output mode of the terminal is the external playback mode; in the external playback mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and , it is not allowed to switch from pure accompaniment mode to other accompaniment mode.
其中,纯伴奏模式可以是指不含人声的伴奏模式。实际应用中,纯伴奏模式采用的伴奏音频可以是不包括人声的音乐音频。其中,纯伴奏模式可以包括旋律伴奏。The pure accompaniment mode may refer to an accompaniment mode without vocals. In practical applications, the accompaniment audio used in the pure accompaniment mode may be music audio that does not include vocals. The pure accompaniment mode may include melody accompaniment.
其中,其他伴奏模式可以是指除纯伴奏模式以外的伴奏模式。实际应用中,其他伴奏模式也可以命名为非纯伴奏模式。其中,其他伴奏模式可以包括原唱伴奏、干声伴奏等。The other accompaniment modes may refer to accompaniment modes other than pure accompaniment modes. In practical applications, other accompaniment modes can also be named as non-pure accompaniment modes. Among them, other accompaniment modes may include original singing accompaniment, dry accompaniment, and the like.
具体实现中,当终端检测出终端接入外放设备,则确定终端在歌曲录制功能下是采用扬声器、音响等外放设备进行音频输出的,此时终端则确定该终端的音频输出模式为外放 模式。In the specific implementation, when the terminal detects that the terminal is connected to an external device, it is determined that the terminal uses external devices such as speakers and speakers for audio output under the song recording function. At this time, the terminal determines that the audio output mode of the terminal is external. play mode.
在终端的音频输出模式为外放模式下,此时终端如果采用非纯伴奏模式,如原唱模式进行伴奏,则终端会将原唱音轨也一同录制在歌曲录制作品中,这导致用户在歌曲录制作品中的干声受到原唱音轨干扰,减低了歌曲录制作品的录制质量。因而,终端可以将终端的默认伴奏模式设置为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。When the audio output mode of the terminal is the external playback mode, if the terminal adopts a non-pure accompaniment mode, such as the original singing mode for accompaniment, the terminal will also record the original singing track in the song recording work, which will cause the user to The dry sound in the song recording is disturbed by the original vocal track, reducing the recording quality of the song recording. Therefore, the terminal can set the default accompaniment mode of the terminal to the pure accompaniment mode, and is not allowed to switch from the pure accompaniment mode to other accompaniment modes.
具体来说,终端采用纯伴奏模式作为默认伴奏模式进入歌曲录制功能。另外,在终端进行歌曲录制功能下,在检测到终端的当前伴奏模式为非纯伴奏模式的情况下,将终端的当前伴奏模式由非纯伴奏模式切换为纯伴奏模式。Specifically, the terminal adopts the pure accompaniment mode as the default accompaniment mode to enter the song recording function. In addition, when the terminal performs a song recording function, when it is detected that the current accompaniment mode of the terminal is a non-pure accompaniment mode, the current accompaniment mode of the terminal is switched from the non-pure accompaniment mode to the pure accompaniment mode.
本公开的实施例的技术方案,在终端接入外放设备的状态下,确定终端的音频输出模式为外放模式;在外放模式下,终端的默认伴奏模式为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式,如此,可以有效地避免非伴奏模式的人声被一同录制在歌曲录制作品中,避免用户在歌曲录制作品中的干声受到非纯伴奏模式的人声音轨干扰,提高了歌曲录制作品的录制质量。In the technical solution of the embodiments of the present disclosure, when the terminal is connected to the external playback device, it is determined that the audio output mode of the terminal is the external playback mode; in the external playback mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and it is not allowed to Switching from pure accompaniment mode to other accompaniment modes can effectively prevent the vocals of non-accompaniment mode from being recorded in the song recording work together, and prevent the user's dry voice in the song recording work from being affected by the voice of the non-accompaniment mode vocals. track interference, improving the recording quality of song recordings.
在一示例性实施例中,方法还包括:在检测到终端的音频输出模式由外放模式切换为非外放模式的情况下,允许由纯伴奏模式切换为其他伴奏模式。其中,响应于对目标伴奏模式的触发操作,将终端的当前伴奏模式由纯伴奏模式切换为目标伴奏模式。In an exemplary embodiment, the method further includes: in the case of detecting that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, allowing switching from the pure accompaniment mode to other accompaniment modes. Wherein, in response to the triggering operation on the target accompaniment mode, the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode.
具体实现中,终端在歌曲录制功能且处于外放模式的状态下,当用户将耳机设备插入终端后终端则通过耳机设备进行音频输出,此时终端的音频输出模式由外放模式切换为非外放模式。In the specific implementation, when the terminal has a song recording function and is in the external playback mode, when the user inserts the headset device into the terminal, the terminal outputs audio through the headset device. At this time, the audio output mode of the terminal is switched from the external playback mode to the non- external playback mode. play mode.
在终端的音频输出模式由外放模式切换为非外放模式的情况下,终端则允许由纯伴奏模式切换为其他伴奏模式。When the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, the terminal allows switching from the pure accompaniment mode to other accompaniment modes.
其中,用户可以将终端的当前伴奏模式由纯伴奏模式切换为其他伴奏模式。具体来说,用户可以在伴奏模式选择页面中选择目标伴奏模式即向终端输入对目标伴奏模式的触发操作,终端在接收到对目标伴奏模式的触发操作后,终端则响应该目标伴奏模式的触发操作,将终端的当前伴奏模式由纯伴奏模式切换为目标伴奏模式。The user can switch the current accompaniment mode of the terminal from the pure accompaniment mode to other accompaniment modes. Specifically, the user can select the target accompaniment mode on the accompaniment mode selection page, that is, input a trigger operation for the target accompaniment mode to the terminal. After the terminal receives the trigger operation for the target accompaniment mode, the terminal responds to the trigger of the target accompaniment mode. Operation to switch the current accompaniment mode of the terminal from pure accompaniment mode to target accompaniment mode.
本公开的实施例的技术方案,在检测到终端的音频输出模式由外放模式切换为非外放模式的情况下,允许响应于对目标伴奏模式的触发操作,将终端的当前伴奏模式由纯伴奏模式切换为目标伴奏模式,进而可以让用户在终端处于非外放模式下,任意切换终端的当前伴奏模式。The technical solutions of the embodiments of the present disclosure allow, in response to a triggering operation on the target accompaniment mode, to change the current accompaniment mode of the terminal from pure The accompaniment mode is switched to the target accompaniment mode, so that the user can arbitrarily switch the current accompaniment mode of the terminal when the terminal is in a non-external playback mode.
在一示例性实施例中,方法还包括:在检测到终端的音频输出模式由非外放模式切换为外放模式的情况下,将终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。In an exemplary embodiment, the method further includes: switching the current accompaniment mode of the terminal to the pure accompaniment mode when it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, and not allowing Switch from pure accompaniment mode to another accompaniment mode.
具体实现中,终端在歌曲录制功能且处于非外放模式的状态下,当用户将耳机设备从终端拔出,终端则接入外放设备,并通过外放设备进行音频输出,此时终端的音频输出模式由非外放模式切换为外放模式。In the specific implementation, when the terminal has a song recording function and is in a non-external playback mode, when the user pulls out the earphone device from the terminal, the terminal connects to the external playback device and outputs audio through the external playback device. The audio output mode is switched from non-external playback mode to external playback mode.
在终端的音频输出模式由非外放模式切换为外放模式的情况下,终端将终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。When the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, the terminal switches the current accompaniment mode of the terminal to the pure accompaniment mode, and does not allow switching from the pure accompaniment mode to other accompaniment modes.
同时,还可以在歌曲录制界面中显示终将当前伴奏模式切换为纯伴奏模式的提示信息。具体来说,终端可以在歌曲录制界面中toast提示(吐司提示,一种应用程的反馈方式)“扬声器模式下将为您切换至旋律导唱进行录制”。为了便于本领域技术人员的理解,图3示例性示出了一种歌曲录制界面的示意图。如图3所示,310为歌曲录制界面,320为toast提示。At the same time, a prompt message for finally switching the current accompaniment mode to pure accompaniment mode can also be displayed in the song recording interface. Specifically, the terminal can prompt toast (toast prompt, a feedback method of the application) in the song recording interface, "in speaker mode, it will switch to the melody guide for you to record". In order to facilitate the understanding of those skilled in the art, FIG. 3 exemplarily shows a schematic diagram of a song recording interface. As shown in Figure 3, 310 is a song recording interface, and 320 is a toast prompt.
本公开的实施例的技术方案,在检测到终端的音频输出模式由非外放模式切换为外放模式的情况下,通过将终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式,避免非伴奏模式的人声被一同录制在歌曲录制作品中,避免用户在歌曲录制作品中的干声受到非纯伴奏模式的人声音轨干扰,提高了歌曲录制作品的录制质量。The technical solution of the embodiments of the present disclosure is to switch the current accompaniment mode of the terminal to the pure accompaniment mode when it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, and does not allow the audio output mode of the terminal to be switched from the non-external playback mode to the external playback mode The accompaniment mode is switched to other accompaniment modes to avoid the vocals in the non-accompaniment mode being recorded in the song recording work together, and the dry voice in the song recording work can be prevented from being interfered by the non-pure accompaniment mode vocal track, which improves the song recording. The recording quality of the work.
在一示例性实施例中,不允许由纯伴奏模式切换为其他伴奏模式,包括:响应于对目标伴奏模式的触发操作,判断目标伴奏模式是否为纯伴奏模式;在目标伴奏模式不为纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。In an exemplary embodiment, it is not allowed to switch from the pure accompaniment mode to other accompaniment modes, including: in response to a triggering operation on the target accompaniment mode, judging whether the target accompaniment mode is the pure accompaniment mode; when the target accompaniment mode is not pure accompaniment In the case of mode, a message indicating that the current accompaniment mode cannot be switched is displayed.
具体实现中,终端在不允许由纯伴奏模式切换为其他伴奏模式的过程中,具体包括:用户通过终端的前端交互界面向终端输入对目标伴奏模式的触发操作,终端在接收到对目标伴奏模式的触发操作后,终端响应于对目标伴奏模式的触发操作,判断目标伴奏模式是否为纯伴奏模式;在目标伴奏模式为纯伴奏模式的情况下,终端则显示当前伴奏模式切换为纯伴奏模式,在目标伴奏模式不为纯伴奏模式的情况下,终端则显示当前伴奏模式不可切换的提示信息。In a specific implementation, the process that the terminal does not allow switching from the pure accompaniment mode to other accompaniment modes specifically includes: the user inputs a trigger operation for the target accompaniment mode to the terminal through the front-end interactive interface of the terminal, and when the terminal receives the target accompaniment mode After the triggering operation of the target accompaniment mode, the terminal determines whether the target accompaniment mode is the pure accompaniment mode in response to the triggering operation of the target accompaniment mode; if the target accompaniment mode is the pure accompaniment mode, the terminal displays that the current accompaniment mode is switched to the pure accompaniment mode, If the target accompaniment mode is not the pure accompaniment mode, the terminal displays a prompt message that the current accompaniment mode cannot be switched.
本公开的实施例的技术方案,在不允许由纯伴奏模式切换为其他伴奏模式的状态下,通过响应于对目标伴奏模式的触发操作,并判断目标伴奏模式是否为纯伴奏模式;在目标伴奏模式不为纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息,实现及时提醒用户当前终端不允许由纯伴奏模式切换为其他伴奏模式,避免用户重复操作。The technical solution of the embodiment of the present disclosure is to determine whether the target accompaniment mode is the pure accompaniment mode by responding to the trigger operation of the target accompaniment mode in a state where switching from the pure accompaniment mode to other accompaniment modes is not allowed; When the mode is not the pure accompaniment mode, the prompt message that the current accompaniment mode cannot be switched is displayed, so as to timely remind the user that the current terminal is not allowed to switch from the pure accompaniment mode to other accompaniment modes, so as to avoid repeated operations by the user.
在一示例性实施例中,将终端的当前伴奏模式切换为纯伴奏模式,包括:显示伴奏切换提示框,并在伴奏切换提示框中显示终端的当前伴奏模式即将切换为纯伴奏模式的提示信息,以及切换确认按钮;响应于切换确认按钮的触发操作,将终端的当前伴奏模式切换为纯伴奏模式。In an exemplary embodiment, switching the current accompaniment mode of the terminal to the pure accompaniment mode includes: displaying an accompaniment switching prompt box, and displaying, in the accompaniment switching prompt box, prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode. , and a switch confirmation button; in response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
具体实现中,电子设备在将终端的当前伴奏模式切换为纯伴奏模式的过程中,具体包括:电子设备可以显示伴奏切换提示框,并在伴奏切换提示框中显示终端的当前伴奏模式即将切换为纯伴奏模式的提示信息,以及切换确认按钮,进而供用户决定是否将当前伴奏模式切换为纯伴奏模式。当用户决定将当前伴奏模式切换为纯伴奏模式,用户则点击该切换确认按钮即向电子设备输入对切换确认按钮的触发操作,电子设备响应于切换确认按钮的触发操作,将终端的当前伴奏模式切换为纯伴奏模式。In a specific implementation, in the process of switching the current accompaniment mode of the terminal to the pure accompaniment mode, the electronic device specifically includes: the electronic device may display an accompaniment switching prompt box, and display in the accompaniment switching prompt box that the current accompaniment mode of the terminal is about to be switched to The prompt information of the pure accompaniment mode, as well as the switch confirmation button, allow the user to decide whether to switch the current accompaniment mode to the pure accompaniment mode. When the user decides to switch the current accompaniment mode to the pure accompaniment mode, the user clicks the switch confirmation button to input the trigger operation of the switch confirmation button to the electronic device, and the electronic device responds to the trigger operation of the switch confirmation button and changes the current accompaniment mode of the terminal Switch to pure accompaniment mode.
为了便于本领域技术人员的理解,图4示例性示出了一种伴奏切换提示框的示意图。如图4所示,伴奏切换提示框包括终端的当前伴奏模式即将切换为纯伴奏模式的提示文案410、切换确认按钮420和取消按钮430。用户可以通过点击该切换确认按钮420进而实现向电子设备输入对切换确认按钮420的触发操作;通过点击该取消按钮430进而实现向电子设备输入对取消按钮430的触发操作。In order to facilitate the understanding of those skilled in the art, FIG. 4 exemplarily shows a schematic diagram of an accompaniment switching prompt box. As shown in FIG. 4 , the accompaniment switching prompt box includes a prompt text 410 indicating that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, a switch confirmation button 420 and a cancel button 430 . The user can input the trigger operation of the switch confirmation button 420 to the electronic device by clicking the switch confirmation button 420 ; and input the trigger operation of the cancel button 430 to the electronic device by clicking the cancel button 430 .
本公开的实施例的技术方案,在将终端的当前伴奏模式切换为纯伴奏模式的过程中,通过显示伴奏切换提示框,并在伴奏切换提示框中显示终端的当前伴奏模式即将切换为纯伴奏模式的提示信息,以及切换确认按钮;响应于切换确认按钮的触发操作,将终端的当前伴奏模式切换为纯伴奏模式;如此,可以实现供用户自由决定将当前伴奏模式切换为纯伴奏模式,提高人性化程度。According to the technical solution of the embodiment of the present disclosure, during the process of switching the current accompaniment mode of the terminal to the pure accompaniment mode, a prompt box for accompaniment switching is displayed, and in the accompaniment switching prompt box, it is displayed that the current accompaniment mode of the terminal is about to be switched to pure accompaniment The prompt information of the mode, and the switch confirmation button; in response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode; in this way, the user can freely decide to switch the current accompaniment mode to the pure accompaniment mode. degree of humanity.
在一示例性实施例中,方法还包括:在终端未接入外放设备的状态下,响应于针对外放设备的接入操作,确定检测到终端的音频输出模式由非外放模式切换为外放模式。In an exemplary embodiment, the method further includes: in a state where the terminal is not connected to the external playback device, in response to an access operation for the external playback device, determining that the audio output mode of the terminal is detected to be switched from the non-playback mode to the external playback mode. Outgoing mode.
具体实现中,在终端未接入外放设备的状态下,若用户将外放设备接入终端;例如,用户断开终端与耳机设备之间的音频连接即拔掉耳机,该终端则接入外放设备,并采用外放设备进行音频输出,此时终端确定检测到终端的音频输出模式由非外放模式切换为外放模式。In the specific implementation, in the state that the terminal is not connected to the external device, if the user connects the external device to the terminal; for example, if the user disconnects the audio connection between the terminal and the earphone device, that is, unplugs the earphone, the terminal is connected to the terminal. The external playback device is used, and the external playback device is used for audio output. At this time, the terminal determines to detect that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode.
本公开的实施例的技术方案,在终端未接入外放设备的状态下,通过响应于针对外放设备的接入操作,及时准确地确定检测到终端的音频输出模式由非外放模式切换为外放模式。The technical solution of the embodiments of the present disclosure is to timely and accurately determine that the audio output mode of the terminal is detected to be switched from the non-external playback mode by responding to the access operation to the external playback device in the state that the terminal is not connected to the external playback device. for the external mode.
在一示例性实施例中,方法还包括:在终端接入外放设备的状态下,响应于针对外放设备的断开连接操作,确定检测到终端的音频输出模式由外放模式切换为非外放模式。In an exemplary embodiment, the method further includes: in a state where the terminal is connected to the external playback device, in response to a disconnection operation for the external playback device, determining that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-playable playback mode. Outgoing mode.
具体实现中,在终端接入外放设备的状态下,若用户断开外放设备与终端的音频连接;例如,用户将耳机设备接入终端即插入耳机,该终端则采用该耳机设备进行音频输出,此时终端检测到终端的音频输出模式由外放模式切换为非外放模式。In the specific implementation, in the state where the terminal is connected to the external playback device, if the user disconnects the audio connection between the external playback device and the terminal; for example, if the user inserts the headset device into the terminal, the terminal uses the headset device to perform audio output, at this time, the terminal detects that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode.
本公开的实施例的技术方案,在终端接入外放设备的状态下,通过响应于针对外放设备的断开连接操作,及时准确地确定检测到终端的音频输出模式由外放模式切换为非外放模式。According to the technical solution of the embodiments of the present disclosure, in the state that the terminal is connected to the external playback device, by responding to the disconnection operation for the external playback device, it is timely and accurately determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the external playback mode. Non-external mode.
图5是根据一示例性实施例示出的另一种歌曲录制方法的流程图,如图5所示,该方法用于图1中的终端110中,包括以下步骤。在步骤S510中,响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备。在步骤S520中,在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式。在步骤S530中,在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式。在步骤S540中,在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。在步骤S550中,在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,响应于对 目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。需要说明的是,上述步骤的具体限定可以参见上文对一种歌曲录制方法的具体限定,在此不再赘述。Fig. 5 is a flowchart showing another method for recording songs according to an exemplary embodiment. As shown in Fig. 5 , the method is used in the terminal 110 in Fig. 1 and includes the following steps. In step S510, in response to the triggering operation of the song recording function, it is detected whether the terminal is connected to the external playback device. In step S520, when the terminal is connected to the external playback device, it is determined that the audio output mode of the terminal is the external playback mode. In step S530, in the external playing mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and in response to the triggering operation on the target accompaniment mode, it is determined whether the target accompaniment mode is the pure accompaniment mode . In step S540, if the target accompaniment mode is not the pure accompaniment mode, a prompt message indicating that the current accompaniment mode cannot be switched is displayed. In step S550, when it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, in response to the triggering operation on the target accompaniment mode, the current accompaniment of the terminal is The mode is switched from the pure accompaniment mode to the target accompaniment mode. It should be noted that, for the specific limitations of the above steps, reference may be made to the specific limitations on a song recording method above, which will not be repeated here.
应该理解的是,虽然图2和图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图5中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIG. 2 and FIG. 5 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 and FIG. 5 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The order of execution is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages within the other steps.
为了便于本领域技术人员的理解,图6实施例示出的一种歌曲录制方法的流程示意图。其中,用户在使用终端进行歌曲录制(K歌)的过程中,终端可以显示录制准备页面;其中,该录制准备页面包括开始录制按钮。若用户决定开始录歌,则点击该录制准备页面中的开始录制按钮即向终端输入对歌曲录制功能的触发操作。终端在接收到对歌曲录制功能的触发操作后,终端则响应于对歌曲录制功能的触发操作后,终端开始进入歌曲录制,检测终端是否接入外放设备。例如,终端检测终端是否与扬声器音频连接。当终端检测出终端当前未接入外放设备,则确定终端在歌曲录制功能下是采用耳机设备进行音频输出的,此时确定终端的音频输出模式为非外放模式。在非外放模式下,用户可以任意切换终端的当前伴奏模式。具体来说,用户可以在伴奏模式选择页面中选择目标伴奏模式即向终端输入对目标伴奏模式的触发操作,终端在接收到对目标伴奏模式的触发操作后,终端则响应该目标伴奏模式的触发操作,从当前伴奏模式切换成目标伴奏模式。In order to facilitate the understanding of those skilled in the art, the embodiment of FIG. 6 shows a schematic flowchart of a method for recording a song. Wherein, when the user uses the terminal to record a song (K song), the terminal may display a recording preparation page; wherein, the recording preparation page includes a start recording button. If the user decides to start recording a song, click the start recording button on the recording preparation page to input a trigger operation for the song recording function to the terminal. After the terminal receives the triggering operation for the song recording function, the terminal starts to enter the song recording in response to the triggering operation for the song recording function, and detects whether the terminal is connected to the external playback device. For example, the terminal detects whether the terminal is audio-connected with a speaker. When the terminal detects that the terminal is not currently connected to an external playback device, it is determined that the terminal uses an earphone device for audio output under the song recording function, and at this time, it is determined that the audio output mode of the terminal is a non-external playback mode. In the non-external mode, the user can arbitrarily switch the current accompaniment mode of the terminal. Specifically, the user can select the target accompaniment mode on the accompaniment mode selection page, that is, input a trigger operation for the target accompaniment mode to the terminal. After the terminal receives the trigger operation for the target accompaniment mode, the terminal responds to the trigger of the target accompaniment mode. operation to switch from the current accompaniment mode to the target accompaniment mode.
在终端的音频输出模式为外放模式下,此时终端如果采用非纯伴奏模式,如原唱模式进行伴奏,则终端会将原唱音轨也一同录制在歌曲录制作品中,这导致用户在歌曲录制作品中的干声受到原唱音轨干扰,减低了歌曲录制作品的录制质量。因而,终端可以将终端的默认伴奏模式设置为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。When the audio output mode of the terminal is the external playback mode, if the terminal adopts a non-pure accompaniment mode, such as the original singing mode for accompaniment, the terminal will also record the original singing track in the song recording work, which will cause the user to The dry sound in the song recording is disturbed by the original vocal track, reducing the recording quality of the song recording. Therefore, the terminal can set the default accompaniment mode of the terminal to the pure accompaniment mode, and is not allowed to switch from the pure accompaniment mode to other accompaniment modes.
具体来说,终端采用纯伴奏模式作为默认伴奏模式进入歌曲录制功能。另外,在终端进行歌曲录制功能下,在检测到终端的当前伴奏模式为非纯伴奏模式的情况下,将终端的当前伴奏模式由非纯伴奏模式切换为纯伴奏模式。Specifically, the terminal adopts the pure accompaniment mode as the default accompaniment mode to enter the song recording function. In addition, when the terminal performs a song recording function, when it is detected that the current accompaniment mode of the terminal is a non-pure accompaniment mode, the current accompaniment mode of the terminal is switched from the non-pure accompaniment mode to the pure accompaniment mode.
终端在歌曲录制功能且处于非外放模式的状态下,当用户将耳机设备从终端拔出,终端则接入外放设备,并通过外放设备进行音频输出,此时终端的音频输出模式由非外放模式切换为外放模式。When the terminal has the song recording function and is not in the external playback mode, when the user pulls out the earphone device from the terminal, the terminal connects to the external playback device and outputs audio through the external playback device. At this time, the audio output mode of the terminal is set by Switch from non-external mode to external mode.
在终端的音频输出模式由非外放模式切换为外放模式的情况下,终端将终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由纯伴奏模式切换为其他伴奏模式。When the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, the terminal switches the current accompaniment mode of the terminal to the pure accompaniment mode, and does not allow switching from the pure accompaniment mode to other accompaniment modes.
图7是根据一示例性实施例示出的一种歌曲录制装置框图。参照图7,该装置包括:Fig. 7 is a block diagram of a song recording apparatus according to an exemplary embodiment. Referring to Figure 7, the device includes:
响应单元710,被配置为执行响应于对歌曲录制功能的触发操作,检测终端是否接入 外放设备;The response unit 710 is configured to perform a trigger operation in response to the song recording function to detect whether the terminal accesses the external playback device;
确定单元720,被配置为执行在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;The determining unit 720 is configured to determine that the audio output mode of the terminal is a non-external playback mode when the terminal is not connected to an external playback device;
切换单元730,被配置为执行在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。The switching unit 730 is configured to switch from the current accompaniment mode to the target accompaniment mode in response to a triggering operation on the target accompaniment mode in the non-external mode.
在一示例性实施例中,所述装置还包括:外放模式确定单元,被配置为执行在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;默认设置单元,被配置为执行在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In an exemplary embodiment, the apparatus further includes: an external playback mode determination unit configured to perform, when the terminal is connected to the external playback device, determine that the audio output mode of the terminal is the external playback mode; The default setting unit is configured to execute in the external playback mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
在一示例性实施例中,所述装置还包括:允许切换单元,被配置为执行在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,允许由所述纯伴奏模式切换为所述其他伴奏模式。In an exemplary embodiment, the apparatus further includes: a switch allowing unit configured to perform, in a case where it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, Switching from the pure accompaniment mode to the other accompaniment mode is allowed.
在一示例性实施例中,所述允许切换单元,被配置为执行响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。In an exemplary embodiment, the enabling switching unit is configured to perform, in response to a triggering operation on a target accompaniment mode, switching the current accompaniment mode of the terminal from the pure accompaniment mode to the target accompaniment mode.
在一示例性实施例中,所述装置还包括:所述装置还包括:纯伴奏切换单元,被配置为执行在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下,将所述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In an exemplary embodiment, the apparatus further includes: the apparatus further includes: a pure accompaniment switching unit configured to perform switching from the non-external playback mode to the external playback when the audio output mode of the terminal is detected In the case of the mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
在一示例性实施例中,所述装置还包括:模式判断单元,被配置为执行响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;显示单元,被配置为执行在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。In an exemplary embodiment, the apparatus further includes: a mode judgment unit configured to perform in response to a triggering operation on a target accompaniment mode, to judge whether the target accompaniment mode is the pure accompaniment mode; It is configured to display a prompt message that the current accompaniment mode cannot be switched when the target accompaniment mode is not the pure accompaniment mode.
在一示例性实施例中,所述纯伴奏切换单元,被配置为执行显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。In an exemplary embodiment, the pure accompaniment switching unit is configured to display an accompaniment switching prompt box, and display in the accompaniment switching prompt box that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode. and a switch confirmation button; in response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
在一示例性实施例中,所述装置还包括:第一切换判断单元,被配置为执行在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。In an exemplary embodiment, the apparatus further includes: a first handover determination unit configured to perform, in a state where the terminal is not connected to an external playback device, in response to an access operation for the external playback device , and it is determined that it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode.
在一示例性实施例中,所述装置还包括:第二切换判断单元,被配置为执行在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。In an exemplary embodiment, the apparatus further includes: a second switching judgment unit configured to perform a disconnection operation for the external playback device in a state in which the terminal is connected to the external playback device , and it is determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-external playback mode.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图8是根据一示例性实施例示出的一种用于歌曲录制方法的设备800的框图。例如, 设备800可以是移动电话、计算机、数字广播终端、消息收发设备、游戏控制台、平板设备、医疗设备、健身设备、个人数字助理等。FIG. 8 is a block diagram of a device 800 for a song recording method according to an exemplary embodiment. For example, device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, or the like.
参照图8,设备800可以包括以下一个或多个组件:处理组件802、存储器804、电力组件806、多媒体组件808、音频组件810、输入/输出(I/O)的接口812、传感器组件814以及通信组件816。8, device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and Communication component 816.
处理组件802通常控制设备800的整体操作,诸如与显示、电话呼叫、数据通信、相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在设备800上操作的任何应用程序或方法的指令、联系人数据、电话簿数据、消息、图片、视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM)、电可擦除可编程只读存储器(EEPROM)、可擦除可编程只读存储器(EPROM)、可编程只读存储器(PROM)、只读存储器(ROM)、磁存储器、快闪存储器、磁盘或光盘。 Memory 804 is configured to store various types of data to support operation at device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为设备800生成、管理和分配电力相关联的组件。 Power supply assembly 806 provides power to various components of device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 800 .
多媒体组件808包括在所述设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。 Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为设备800提供各个方面的状态评估。 例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为设备800的显示器和小键盘,传感器组件814还可以检测设备800或设备800一个组件的位置改变,用户与设备800接触的存在或不存在,设备800方位或加速/减速和设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器、陀螺仪传感器、磁传感器、压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the orientation or acceleration/deceleration of the device 800 and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于设备800和其他设备之间有线或无线方式的通信。设备800可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 816 is configured to facilitate wired or wireless communications between device 800 and other devices. Device 800 may access wireless networks based on communication standards, such as WiFi, carrier networks (eg, 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器704,上述指令可由电子设备700的处理器720执行以完成上述方法。可选地,计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer readable storage medium including instructions, such as a memory 704 including instructions, which are executable by the processor 720 of the electronic device 700 to perform the above method. Alternatively, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
在示例性实施例中,还提供一种计算机程序产品,包括计算机程序,所述计算机程序存储在计算机可读存储介质中,所述计算机程序可由电子设备700的处理器720执行以完成上述方法。In an exemplary embodiment, a computer program product is also provided, including a computer program stored in a computer-readable storage medium, the computer program being executable by the processor 720 of the electronic device 700 to accomplish the above method.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (29)

  1. 一种歌曲录制方法,其特征在于,所述方法包括:A method for recording a song, the method comprising:
    响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;In response to the triggering operation of the song recording function, detecting whether the terminal is connected to the external playback device;
    在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;In a state that the terminal is not connected to an external playback device, determine that the audio output mode of the terminal is a non-external playback mode;
    在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。In the non-external playback mode, in response to a triggering operation on a target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;In the state that the terminal is connected to the external playback device, determine that the audio output mode of the terminal is the external playback mode;
    在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In the external playing mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,允许由所述纯伴奏模式切换为所述其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, it is allowed to switch from the pure accompaniment mode to the other accompaniment mode.
  4. 根据权利要求3所述的方法,其特征在于,所述允许由所述纯伴奏模式切换为所述其他伴奏模式,包括:The method according to claim 3, wherein the allowing switching from the pure accompaniment mode to the other accompaniment modes comprises:
    响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。In response to the triggering operation on the target accompaniment mode, the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下,将所述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed Switch to another accompaniment mode.
  6. 根据权利要求2或5所述的方法,其特征在于,所述不允许由所述纯伴奏模式切换为其他伴奏模式,包括:The method according to claim 2 or 5, wherein the disallowing switching from the pure accompaniment mode to other accompaniment modes comprises:
    响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;In response to the triggering operation on the target accompaniment mode, determining whether the target accompaniment mode is the pure accompaniment mode;
    在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。If the target accompaniment mode is not the pure accompaniment mode, a prompt message indicating that the current accompaniment mode cannot be switched is displayed.
  7. 根据权利要求5所述的方法,其特征在于,所述将所述终端的当前伴奏模式切换为纯伴奏模式,包括:The method according to claim 5, wherein the switching the current accompaniment mode of the terminal to the pure accompaniment mode comprises:
    显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;Displaying the accompaniment switching prompt box, and displaying the prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, and a switch confirmation button in the accompaniment switching prompt box;
    响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。In response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。In a state in which the terminal is not connected to an external playback device, in response to an access operation to the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from a non-external playback mode to an external playback mode.
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。In a state where the terminal is connected to the external playback device, in response to a disconnection operation for the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-playback mode.
  10. 一种歌曲录制装置,其特征在于,所述装置包括:A song recording device, characterized in that the device comprises:
    响应单元,被配置为响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;a response unit, configured to detect whether the terminal accesses the external playback device in response to the triggering operation of the song recording function;
    确定单元,被配置为在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;a determining unit, configured to determine that the audio output mode of the terminal is a non-external playback mode when the terminal is not connected to an external playback device;
    切换单元,被配置为在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。The switching unit is configured to switch from the current accompaniment mode to the target accompaniment mode in response to a triggering operation on the target accompaniment mode in the non-external playback mode.
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:外放模式确定单元,被配置为在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;默认设置单元,被配置为在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。The apparatus according to claim 10, wherein the apparatus further comprises: an external playback mode determination unit, configured to determine the audio output mode of the terminal when the terminal is connected to the external playback device as External playback mode; the default setting unit is configured such that in the external playback mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:允许切换单元,被配置为在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,则允许由所述纯伴奏模式切换为所述其他伴奏模式。The apparatus according to claim 11, characterized in that the apparatus further comprises: a switch allowing unit configured to switch from the external playback mode to the non-external playback mode when the audio output mode of the terminal is detected In the case of , it is allowed to switch from the pure accompaniment mode to the other accompaniment mode.
  13. 根据权利要求12所述的装置,其特征在于,所述允许切换单元,被配置为执行响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。The device according to claim 12, wherein the allowable switching unit is configured to switch the current accompaniment mode of the terminal from the pure accompaniment mode to the all accompaniment mode in response to a triggering operation on the target accompaniment mode. to describe the target accompaniment mode.
  14. 根据权利要求10所述的装置,其特征在于,所述装置还包括:纯伴奏切换单元,被配置为在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下,则将所述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。The device according to claim 10, wherein the device further comprises: a pure accompaniment switching unit, configured to switch the audio output mode of the terminal from the non-external playback mode to the external playback mode when it is detected that the audio output mode of the terminal is detected. In this case, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
  15. 根据权利要求11或14所述的装置,其特征在于,所述装置还包括:模式判断单元,被配置为响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;显示单元,被配置为在所述目标伴奏模式不为所述纯伴奏模式的情况下,则显示当前伴奏模式不可切换的提示信息。The device according to claim 11 or 14, characterized in that the device further comprises: a mode determination unit, configured to, in response to a triggering operation on a target accompaniment mode, determine whether the target accompaniment mode is the pure accompaniment mode; a display unit configured to display prompt information that the current accompaniment mode cannot be switched if the target accompaniment mode is not the pure accompaniment mode.
  16. 根据权利要求14所述的装置,其特征在于,所述纯伴奏切换单元,被配置为显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。The device according to claim 14, wherein the pure accompaniment switching unit is configured to display an accompaniment switching prompt box, and display in the accompaniment switching prompt box that the current accompaniment mode of the terminal is about to be switched to the desired accompaniment mode. The prompt information of the pure accompaniment mode, and the switch confirmation button; in response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
  17. 根据权利要求10所述的装置,其特征在于,所述装置还包括:第一切换判断单元,被配置为在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。The apparatus according to claim 10, wherein the apparatus further comprises: a first switching judgment unit, configured to, in a state that the terminal is not connected to an external playback device, respond to the external playback device the access operation, it is determined that the audio output mode of the terminal is detected to be switched from the non-external playback mode to the external playback mode.
  18. 根据权利要求10所述的装置,其特征在于,所述装置还包括:第二切换判断单 元,被配置为在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。The apparatus according to claim 10, wherein the apparatus further comprises: a second switching judgment unit, configured to, in a state in which the terminal is connected to an external playback device, responds to a request for the external playback device In the disconnection operation, it is determined that it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode.
  19. 一种终端,其特征在于,包括:A terminal, characterized in that, comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
    其中,所述处理器被配置为执行所述指令,以实现以下处理:wherein the processor is configured to execute the instructions to implement the following processes:
    响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;In response to the triggering operation of the song recording function, detecting whether the terminal is connected to the external playback device;
    在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;In a state that the terminal is not connected to an external playback device, determine that the audio output mode of the terminal is a non-external playback mode;
    在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。In the non-external playback mode, in response to a triggering operation on a target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
  20. 根据权利要求19所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 19, wherein the processor is configured to execute the instructions to implement the following steps:
    在所述终端接入外放设备的状态下,确定所述终端的音频输出模式为外放模式;In the state that the terminal is connected to the external playback device, determine that the audio output mode of the terminal is the external playback mode;
    在所述外放模式下,所述终端的默认伴奏模式为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。In the external playing mode, the default accompaniment mode of the terminal is the pure accompaniment mode, and switching from the pure accompaniment mode to other accompaniment modes is not allowed.
  21. 根据权利要求20所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 20, wherein the processor is configured to execute the instructions to implement the following steps:
    在检测到所述终端的音频输出模式由所述外放模式切换为所述非外放模式的情况下,则允许由所述纯伴奏模式切换为所述其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the external playback mode to the non-external playback mode, it is allowed to switch from the pure accompaniment mode to the other accompaniment mode.
  22. 根据权利要求21所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 21, wherein the processor is configured to execute the instructions to implement the following steps:
    响应于对目标伴奏模式的触发操作,将所述终端的当前伴奏模式由所述纯伴奏模式切换为所述目标伴奏模式。In response to the triggering operation on the target accompaniment mode, the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode.
  23. 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:19. The electronic device of claim 19, wherein the processor is configured to execute the instructions to implement the following steps:
    在检测到所述终端的音频输出模式由所述非外放模式切换为外放模式的情况下,将所述终端的当前伴奏模式切换为纯伴奏模式,并且,不允许由所述纯伴奏模式切换为其他伴奏模式。When it is detected that the audio output mode of the terminal is switched from the non-external playback mode to the external playback mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed Switch to another accompaniment mode.
  24. 根据权利要求20或23所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal according to claim 20 or 23, wherein the processor is configured to execute the instructions to implement the following steps:
    响应于对目标伴奏模式的触发操作,判断所述目标伴奏模式是否为所述纯伴奏模式;In response to the triggering operation on the target accompaniment mode, determining whether the target accompaniment mode is the pure accompaniment mode;
    在所述目标伴奏模式不为所述纯伴奏模式的情况下,显示当前伴奏模式不可切换的提示信息。If the target accompaniment mode is not the pure accompaniment mode, a prompt message indicating that the current accompaniment mode cannot be switched is displayed.
  25. 根据权利要求23所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 23, wherein the processor is configured to execute the instructions to implement the following steps:
    显示伴奏切换提示框,并在所述伴奏切换提示框中显示所述终端的当前伴奏模式即将切换为所述纯伴奏模式的提示信息,以及切换确认按钮;Displaying the accompaniment switching prompt box, and displaying the prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, and a switch confirmation button in the accompaniment switching prompt box;
    响应于所述切换确认按钮的触发操作,将所述终端的当前伴奏模式切换为所述纯伴奏模式。In response to the trigger operation of the switch confirmation button, the current accompaniment mode of the terminal is switched to the pure accompaniment mode.
  26. 根据权利要求19所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 19, wherein the processor is configured to execute the instructions to implement the following steps:
    在所述终端未接入外放设备的状态下,响应于针对所述外放设备的接入操作,确定检测到所述终端的音频输出模式由非外放模式切换为外放模式。In a state in which the terminal is not connected to an external playback device, in response to an access operation for the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from a non-external playback mode to an external playback mode.
  27. 根据权利要求19所述的终端,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:The terminal of claim 19, wherein the processor is configured to execute the instructions to implement the following steps:
    在所述终端接入外放设备的状态下,响应于针对所述外放设备的断开连接操作,确定检测到所述终端的音频输出模式由外放模式切换为非外放模式。In a state where the terminal is connected to the external playback device, in response to a disconnection operation for the external playback device, it is determined that the audio output mode of the terminal is detected to be switched from the external playback mode to the non-playback mode.
  28. 一种计算机可读存储介质,当所述计算机可读存储介质中的指令由终端的处理器执行时,使得所述终端实现以下处理:A computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of a terminal, the terminal can realize the following processing:
    响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;In response to the triggering operation of the song recording function, detecting whether the terminal is connected to the external playback device;
    在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;In a state that the terminal is not connected to an external playback device, determine that the audio output mode of the terminal is a non-external playback mode;
    在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。In the non-external playback mode, in response to a triggering operation on a target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
  29. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现以下处理:A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the following processes are implemented:
    响应于对歌曲录制功能的触发操作,检测终端是否接入外放设备;In response to the triggering operation of the song recording function, detecting whether the terminal is connected to the external playback device;
    在所述终端未接入外放设备的状态下,确定所述终端的音频输出模式为非外放模式;In a state that the terminal is not connected to an external playback device, determine that the audio output mode of the terminal is a non-external playback mode;
    在所述非外放模式下,响应于对目标伴奏模式的触发操作,从当前伴奏模式切换成所述目标伴奏模式。In the non-external playback mode, in response to a triggering operation on a target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
PCT/CN2021/105529 2020-12-30 2021-07-09 Song recording method and storage medium WO2022142254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011643138.5A CN112596696A (en) 2020-12-30 2020-12-30 Song recording method, device, terminal and storage medium
CN202011643138.5 2020-12-30

Publications (1)

Publication Number Publication Date
WO2022142254A1 true WO2022142254A1 (en) 2022-07-07

Family

ID=75206694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/105529 WO2022142254A1 (en) 2020-12-30 2021-07-09 Song recording method and storage medium

Country Status (2)

Country Link
CN (1) CN112596696A (en)
WO (1) WO2022142254A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596696A (en) * 2020-12-30 2021-04-02 北京达佳互联信息技术有限公司 Song recording method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654971A (en) * 2014-11-11 2016-06-08 腾讯科技(深圳)有限公司 Singing assistance method and device in process of song recording
US20180232446A1 (en) * 2016-03-18 2018-08-16 Tencent Technology (Shenzhen) Company Limited Method, server, and storage medium for melody information processing
CN110808021A (en) * 2019-11-08 2020-02-18 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN111583972A (en) * 2020-05-28 2020-08-25 北京达佳互联信息技术有限公司 Singing work generation method and device and electronic equipment
CN112596696A (en) * 2020-12-30 2021-04-02 北京达佳互联信息技术有限公司 Song recording method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654971A (en) * 2014-11-11 2016-06-08 腾讯科技(深圳)有限公司 Singing assistance method and device in process of song recording
US20180232446A1 (en) * 2016-03-18 2018-08-16 Tencent Technology (Shenzhen) Company Limited Method, server, and storage medium for melody information processing
CN110808021A (en) * 2019-11-08 2020-02-18 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN111583972A (en) * 2020-05-28 2020-08-25 北京达佳互联信息技术有限公司 Singing work generation method and device and electronic equipment
CN112596696A (en) * 2020-12-30 2021-04-02 北京达佳互联信息技术有限公司 Song recording method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN112596696A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
JP6385459B2 (en) Control method and apparatus for audio reproduction
JP6121621B2 (en) Voice call method, apparatus, program, and recording medium
JP6177457B2 (en) Method, apparatus, program and recording medium for prompting call request
WO2017177594A1 (en) Method and device for displaying pages in application
WO2017045307A1 (en) Method and apparatus for displaying answering extension function
CN106454644B (en) Audio playing method and device
RU2656693C2 (en) Event prompting method and device
WO2017161811A1 (en) Method and device for multimedia adjustment and mobile device
US20220248083A1 (en) Method and apparatus for video playing
WO2022142871A1 (en) Video recording method and apparatus
JP2017531891A (en) Remote assistance method, client, program, and recording medium
CN105426218A (en) Method and device for controlling audio playing
WO2017054354A1 (en) Information processing method and device
JP2017508413A (en) Voice call prompt method, apparatus, program, and recording medium
CN114422463A (en) Communication method, communication apparatus, electronic device, and storage medium
US20220270649A1 (en) Method for splicing audio file and computer device
WO2022142254A1 (en) Song recording method and storage medium
CN108984098B (en) Information display control method and device based on social software
CN112764636A (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
CN107958038A (en) Speaker control method and device
CN106791897A (en) Living broadcast interactive method and device based on video playback platform
CN105577653B (en) Establish the method and device of video calling
CN105956489B (en) Long-range control method and device
CN108874450A (en) Wake up the method and device of voice assistant
WO2018058331A1 (en) Method and apparatus for controlling volume

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: 21913007

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18.10.2023)