CN112596696B - Song recording method, device, terminal and storage medium - Google Patents

Song recording method, device, terminal and storage medium Download PDF

Info

Publication number
CN112596696B
CN112596696B CN202011643138.5A CN202011643138A CN112596696B CN 112596696 B CN112596696 B CN 112596696B CN 202011643138 A CN202011643138 A CN 202011643138A CN 112596696 B CN112596696 B CN 112596696B
Authority
CN
China
Prior art keywords
mode
accompaniment
terminal
switching
pure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011643138.5A
Other languages
Chinese (zh)
Other versions
CN112596696A (en
Inventor
陈纯
马小坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011643138.5A priority Critical patent/CN112596696B/en
Publication of CN112596696A publication Critical patent/CN112596696A/en
Priority to PCT/CN2021/105529 priority patent/WO2022142254A1/en
Application granted granted Critical
Publication of CN112596696B publication Critical patent/CN112596696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

The disclosure relates to a song recording method, a song recording device, an electronic device and a storage medium, wherein the song recording method comprises the following steps: responding to the triggering operation of the song recording function, and detecting whether the terminal is connected to the play-out equipment; in a state that the terminal is not connected to the external playing device, determining that an audio output mode of the terminal is a non-external playing mode; in the non-play mode, switching from a current accompaniment mode to the target accompaniment mode in response to a trigger operation on the target accompaniment mode. By adopting the method and the device, the song recording effect of the electronic equipment can be improved.

Description

Song recording method, device, terminal and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a song recording method, a song recording device, a song recording terminal and a song recording storage medium.
Background
In the related art, when the song recording is performed in a speaker mode, the original audio track is often recorded in the song recording work together, which causes interference of the original audio track on the dry sound of the user in the song recording work, and reduces the recording quality of the song recording work.
Therefore, the electronic device in the related art has a problem of poor song recording effect.
Disclosure of Invention
The disclosure provides a song recording method, a song recording device, a song recording terminal and a song recording storage medium, so as to at least solve the problem that electronic equipment in the related art is poor in song recording effect. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a song recording method, including:
responding to the triggering operation of the song recording function, and detecting whether the terminal is connected to the playing equipment;
in a state that the terminal is not connected to the external playing device, determining that an audio output mode of the terminal is a non-external playing mode;
in the non-play mode, switching from a current accompaniment mode to the target accompaniment mode in response to a trigger operation on the target accompaniment mode.
In one possible implementation, the method further includes:
in a state that the terminal is connected to the play-out equipment, determining that an audio output mode of the terminal is a play-out mode;
In the play-out 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 one possible implementation, the method further includes:
And if the audio output mode of the terminal is detected to be switched from the play-out mode to the non-play-out mode, allowing the pure accompaniment mode to be switched to the other accompaniment modes.
In one possible implementation, the enabling the switching from the pure accompaniment mode to the other accompaniment mode includes:
And responding to the triggering operation of the target accompaniment mode, and switching the current accompaniment mode of the terminal from the pure accompaniment mode to the target accompaniment mode.
In one possible implementation, the method further includes:
If the audio output mode of the terminal is detected to be switched from the non-playing mode to the playing mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes.
In one possible implementation, the disallowing switching from the pure accompaniment mode to another accompaniment mode includes:
Responding to the triggering operation of the target accompaniment pattern, and judging whether the target accompaniment pattern is the pure accompaniment pattern;
And if the target accompaniment mode is not the pure accompaniment mode, displaying prompting information that the current accompaniment mode is not switchable.
In one possible implementation manner, the switching the current accompaniment mode of the terminal to the pure accompaniment mode includes:
displaying an accompaniment switching prompt box, displaying prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode in the accompaniment switching prompt box, and switching a confirmation button;
And responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into the pure accompaniment mode.
In one possible implementation, the method further includes:
And in a state that the terminal is not connected to the playing device, responding to the access operation of the playing device, and determining that the audio output mode of the terminal is switched from a non-playing mode to a playing mode.
In one possible implementation, the method further includes:
and in a state that the terminal is connected with the external device, responding to the disconnection operation of the external device, and determining that the audio output mode of the terminal is detected to be switched from the external mode to the non-external mode.
According to a second aspect of embodiments of the present disclosure, there is provided a song recording apparatus;
A response unit configured to perform a trigger operation in response to the song recording function, detecting whether the terminal is connected to the playback device;
A determining unit configured to determine that an audio output mode of the terminal is a non-play-out mode in a state where the terminal is not connected to a play-out device;
And a switching unit configured to perform switching from a current accompaniment mode to a target accompaniment mode in response to a trigger operation on the target accompaniment mode in the non-play mode.
In one possible implementation, the apparatus further includes: a play-out mode determining unit configured to determine that an audio output mode of the terminal is a play-out mode in a state where the terminal is connected to a play-out device; and a default setting unit configured to perform that in the play-out mode, a 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 one possible implementation, the apparatus further includes: and a permission switching unit configured to perform permission to switch from the pure accompaniment mode to the other accompaniment mode if it is detected that the audio output mode of the terminal is switched from the play-out mode to the non-play-out mode.
In one possible implementation manner, the permission switching unit is specifically configured to perform switching of the current accompaniment pattern of the terminal from the pure accompaniment pattern to the target accompaniment pattern in response to a trigger operation on the target accompaniment pattern.
In one possible implementation, the method further includes: the apparatus further comprises: and a pure accompaniment switching unit configured to perform switching of a current accompaniment mode of the terminal to a pure accompaniment mode and not allow switching of the pure accompaniment mode to other accompaniment modes if it is detected that the audio output mode of the terminal is switched from the non-play-out mode to the play-out mode.
In one possible implementation, the apparatus further includes: a pattern judgment unit configured to perform judgment as to whether or not a target accompaniment pattern is the pure accompaniment pattern in response to a trigger operation on the target accompaniment pattern; and the display unit is configured to execute the step of displaying prompt information that the current accompaniment mode is not switchable if the target accompaniment mode is not the pure accompaniment mode.
In one possible implementation manner, the pure accompaniment switching unit is specifically configured to perform displaying an accompaniment switching prompt box, and display, in the accompaniment switching prompt box, a prompt message that a current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, and a switching confirmation button; and responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into the pure accompaniment mode.
In one possible implementation, the apparatus further includes: a first switching determination unit configured to perform, in a state in which the terminal is not connected to the playback device, determination of detection of switching of the audio output mode of the terminal from the non-playback mode to the playback mode in response to an access operation to the playback device.
In one possible implementation, the apparatus further includes: and a second switching judgment unit configured to perform a determination of detecting that an audio output mode of the terminal is switched from a play-out mode to a non-play-out mode in response to a disconnection operation for the play-out device in a state in which the terminal is connected to the play-out device.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising a memory storing a computer program and a processor implementing a song recording method according to the first aspect or any one of the possible implementations of the first aspect when the processor executes the computer program.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the song recording method according to the first aspect or any one of the possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, causing the device to perform the song recording method as described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: detecting whether the terminal is connected to the play-out device or not by responding to the triggering operation of the song recording function; under the state that the terminal is not connected to the external playing device, determining that the audio output mode of the terminal is a non-external playing mode; finally, in the non-play mode, responding to the triggering operation of the target accompaniment mode, switching from the current accompaniment mode to the target accompaniment mode, and in the song recording process, when the terminal is in the non-play mode, the user can randomly switch the current accompaniment mode of the terminal, and the audio of the current accompaniment mode is not recorded in the song recording work together, so that the interference of the dry sound of the user in the song recording work by the original singing track is avoided, and the recording quality of the song recording work is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application environment diagram illustrating a song recording method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a song recording method according to an exemplary embodiment.
Fig. 3 is a schematic diagram of a song recording interface, according to an example embodiment.
Fig. 4 is a schematic diagram showing an accompaniment switching prompt box according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating another song recording method according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating a song recording method according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a song recording apparatus according to an exemplary embodiment.
Fig. 8 is an internal structural diagram of a terminal according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of 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 in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure.
The song recording method provided by the disclosure can be applied to an application environment as shown in fig. 1. Wherein, the terminal 110 responds to the triggering operation of the song recording function and detects whether the terminal is connected to the playing device; then, the terminal 110 determines that the audio output mode of the terminal is a non-play mode in a state that the terminal is not connected to the play device; finally, the terminal 110 switches from the current accompaniment mode to the target accompaniment mode in response to a trigger operation for the target accompaniment mode in the non-play mode. Among them, the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
Fig. 2 is a flowchart illustrating a song recording method according to an exemplary embodiment, which is used in the terminal 110 of fig. 1, as shown in fig. 2, and includes the following steps.
In step S210, in response to a triggering operation of the song recording function, it is detected whether the terminal is connected to the playback device.
Wherein the playback device may refer to an audio output device for playing back audio. The external device may include, but is not limited to, audio output devices such as speakers, wired speakers, bluetooth speakers, smart speakers, and the like.
In the specific implementation, in the process of using the terminal to record songs (K songs), the terminal can display a recording preparation page; wherein the recording preparation page includes a start recording button. If the user decides to start recording songs, clicking a start recording button in the recording preparation page inputs a triggering operation of a song recording function to the terminal. After receiving the triggering operation of the song recording function, the terminal responds to the triggering operation of the song recording function, and then starts to enter song recording, and whether the terminal is connected to the playing equipment is detected. For example, the terminal detects whether the terminal is connected to speaker audio.
In step S220, in a state in which the terminal is not connected to the playback device, it is determined that the audio output mode of the terminal is a non-playback mode.
The play-out mode may also be named speaker mode.
The non-play-out mode may also be named earphone mode.
In the specific implementation, when the terminal detects that the terminal is not connected to the playing device at present, it is determined that the terminal adopts the earphone device to output audio under the song recording function, and at this time, it is determined that the audio output mode of the terminal is a non-playing mode.
In step S230, in the non-play mode, in response to a trigger operation for the target accompaniment mode, the current accompaniment mode is switched to the target accompaniment mode.
In a specific implementation, in the non-play mode, the user can randomly switch the current accompaniment mode of the terminal. Specifically, the user may select a target accompaniment pattern in the accompaniment pattern selection page, that is, input a trigger operation for the target accompaniment pattern to the terminal, and after receiving the trigger operation for the target accompaniment pattern, the terminal switches from the current accompaniment pattern to the target accompaniment pattern in response to the trigger operation for the target accompaniment pattern.
In the song recording method, whether the terminal is connected to the play-out device is detected by responding to the triggering operation of the song recording function; under the state that the terminal is not connected to the external playing device, determining that the audio output mode of the terminal is a non-external playing mode; finally, in the non-play mode, responding to the triggering operation of the target accompaniment mode, switching from the current accompaniment mode to the target accompaniment mode, and in the song recording process, when the terminal is in the non-play mode, the user can randomly switch the current accompaniment mode of the terminal, and the human voice of the current accompaniment mode cannot be recorded in the song recording work together, so that the interference of the dry voice of the user in the song recording work by the human voice track of the non-pure accompaniment mode is avoided, and the recording quality of the song recording work is improved.
In an exemplary embodiment, the method further comprises: in the state that the terminal is connected to the external playing device, determining that the audio output mode of the terminal is the external playing mode; in the play-out 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.
The pure accompaniment pattern may refer to an accompaniment pattern without human voice. In practical applications, the accompaniment audio used in the pure accompaniment mode may be music audio excluding human voice. Wherein the pure accompaniment patterns may include melody accompaniment.
Wherein, the other accompaniment patterns may refer to accompaniment patterns other than the pure accompaniment pattern. In practical applications, other accompaniment patterns may also be named as non-pure accompaniment patterns. Wherein, other accompaniment patterns may include original singing accompaniment, dry accompaniment, etc.
In the specific implementation, when the terminal detects that the terminal is connected to the playing device, it is determined that the terminal adopts the playing device such as a loudspeaker and a sound to output audio under the song recording function, and at this time, the terminal determines that the audio output mode of the terminal is the playing mode.
When the audio output mode of the terminal is the play mode, if the terminal adopts a non-pure accompaniment mode, such as an original singing mode, the terminal records the original singing track in the song recording work together, so that the dry sound of the user in the song recording work is interfered by the original singing track, and the recording quality of the song recording work is reduced. Thus, the terminal can set the default accompaniment pattern of the terminal to the pure accompaniment pattern, and the switching from the pure accompaniment pattern to the other accompaniment pattern is not allowed.
Specifically, the terminal enters the song recording function using the pure accompaniment pattern as a default accompaniment pattern. In addition, under the song recording function of the terminal, if the current accompaniment mode of the terminal is detected to be the non-pure accompaniment mode, the current accompaniment mode of the terminal is switched from the non-pure accompaniment mode to the pure accompaniment mode.
According to the technical scheme, in the state that the terminal is connected to the external device, the audio output mode of the terminal is determined to be the external mode; in the play mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes, so that the situation that the voices of the non-accompaniment modes are recorded in the song recording work together can be effectively avoided, the situation that the dry voices of users in the song recording work are interfered by the voice tracks of the non-pure accompaniment modes is avoided, and the recording quality of the song recording work is improved.
In an exemplary embodiment, the method further comprises: if the audio output mode of the terminal is detected to be switched from the play mode to the non-play mode, the pure accompaniment mode is allowed to be switched to other accompaniment modes. Wherein, in response to the triggering operation of the target accompaniment pattern, the current accompaniment pattern of the terminal is switched from the pure accompaniment pattern to the target accompaniment pattern.
In a specific implementation, when the terminal is in a state of the song recording function and in the play mode, after the user inserts the earphone device into the terminal, the terminal outputs audio through the earphone device, and at the moment, the audio output mode of the terminal is switched from the play mode to the non-play mode.
If the audio output mode of the terminal is switched from the play mode to the non-play mode, the terminal allows to switch 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 may select a target accompaniment pattern in the accompaniment pattern selection page, that is, input a trigger operation for the target accompaniment pattern to the terminal, and after receiving the trigger operation for the target accompaniment pattern, the terminal responds to the trigger operation for the target accompaniment pattern to switch the current accompaniment pattern of the terminal from a pure accompaniment pattern to the target accompaniment pattern.
According to the technical scheme, if the fact that the audio output mode of the terminal is switched from the play mode to the non-play mode is detected, the fact that the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode in response to the triggering operation of the target accompaniment mode is allowed, and then a user can randomly switch the current accompaniment mode of the terminal when the terminal is in the non-play mode, and humanization of a song recording function of the terminal is improved.
In an exemplary embodiment, the method further comprises: if the audio output mode of the terminal is detected to be switched from the non-playing mode to the playing mode, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes.
In the specific implementation, when the terminal is in a state of a song recording function and in a non-play mode, and the earphone device is pulled out from the terminal by a user, the terminal is connected to the play device and outputs audio through the play device, and at the moment, the audio output mode of the terminal is switched from the non-play mode to the play mode.
If the audio output mode of the terminal is switched from the non-playing mode to the playing mode, the terminal switches the current accompaniment mode of the terminal to the pure accompaniment mode, and the terminal is not allowed to switch from the pure accompaniment mode to other accompaniment modes.
Meanwhile, prompt information for switching the current accompaniment mode to the pure accompaniment mode can be displayed in the song recording interface. Specifically, the terminal may switch to melody guiding for recording in a "speaker mode" of a toast alert (a way of feeding back an application program) in the song recording interface. For ease of understanding by those skilled in the art, fig. 3 illustrates a schematic diagram of a song recording interface. As shown in fig. 3, 310 is a song recording interface and 320 is a tooltip prompt.
According to the technical scheme, if the fact that the audio output mode of the terminal is switched from the non-playing mode to the playing mode is detected, the current accompaniment mode of the terminal is switched to the pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes is avoided, the situation that the voice of the non-accompaniment mode is recorded in the song recording work together is avoided, the situation that the dry voice of a user in the song recording work is interfered by the voice track of the non-pure accompaniment mode is avoided, and the recording quality of the song recording work is improved.
In an exemplary embodiment, switching from the pure accompaniment mode to the other accompaniment modes is not allowed, including: responding to the triggering operation of the target accompaniment pattern, judging whether the target accompaniment pattern is a pure accompaniment pattern; if the target accompaniment pattern is not the pure accompaniment pattern, displaying the prompting information that the current accompaniment pattern is not switchable.
In a specific implementation, the terminal specifically includes: the method comprises the steps that a user inputs a triggering operation of a target accompaniment pattern to the terminal through a front-end interaction interface of the terminal, and after the terminal receives the triggering operation of the target accompaniment pattern, the terminal responds to the triggering operation of the target accompaniment pattern to judge whether the target accompaniment pattern is a pure accompaniment pattern or not; if the target accompaniment pattern is a pure accompaniment pattern, the terminal displays that the current accompaniment pattern is switched to the pure accompaniment pattern, and if the target accompaniment pattern is not the pure accompaniment pattern, the terminal displays prompting information that the current accompaniment pattern is not switched.
According to the technical scheme, in the state that the pure accompaniment mode is not allowed to be switched to other accompaniment modes, whether the target accompaniment mode is the pure accompaniment mode is judged by responding to the triggering operation of the target accompaniment mode; if the target accompaniment mode is not the pure accompaniment mode, displaying the prompting information that the current accompaniment mode is not switchable, and timely reminding the user that the current terminal does not allow the pure accompaniment mode to be switched to other accompaniment modes, so that the repeated operation of the user is avoided.
In an exemplary embodiment, switching a current accompaniment pattern of a terminal to a pure accompaniment pattern includes: displaying an accompaniment switching prompt box, displaying prompt information that the current accompaniment mode of the terminal is about to be switched to a pure accompaniment mode in the accompaniment switching prompt box, and switching a confirmation button; and switching the current accompaniment mode of the terminal to a pure accompaniment mode in response to the triggering operation of the switching confirmation button.
In a specific implementation, in a process of switching a current accompaniment mode of a terminal to a pure accompaniment mode, the electronic device specifically includes: the electronic equipment can display an accompaniment switching prompt box, display prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode in the accompaniment switching prompt box, and switch a confirmation button, so that a user can determine 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 switching confirmation button, namely, the triggering operation of the switching confirmation button is input to the electronic equipment, and the electronic equipment responds to the triggering operation of the switching confirmation button to switch the current accompaniment mode of the terminal to the pure accompaniment mode.
For the convenience of understanding of those skilled in the art, fig. 4 is a schematic diagram schematically showing an accompaniment switching prompt box. As shown in fig. 4, the accompaniment switching prompt box includes a prompt 410 in which the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, a switching confirm button 420, and a cancel button 430. The user can further realize the triggering operation of inputting the switching confirmation button 420 to the electronic equipment by clicking the switching confirmation button 420; by clicking the cancel button 430, a trigger operation of the cancel button 430 is input to the electronic device.
According to the technical scheme, in the process of switching the current accompaniment mode of the terminal into the pure accompaniment mode, an accompaniment switching prompt box is displayed, and prompt information of the current accompaniment mode of the terminal to be switched into the pure accompaniment mode and a switching confirmation button are displayed in the accompaniment switching prompt box; responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into a pure accompaniment mode; therefore, the user can freely decide to switch the current accompaniment mode into the pure accompaniment mode, and the humanization degree is improved.
In an exemplary embodiment, the method further comprises: in a state that the terminal is not connected to the external device, in response to the connection operation to the external device, it is determined that the audio output mode of the terminal is detected to be switched from the non-external mode to the external mode.
In the specific implementation, if the user accesses the external device to the terminal in a state that the terminal is not accessed to the external device; for example, the user disconnects the audio connection between the terminal and the earphone device, i.e. pulls out the earphone, the terminal is connected to the external device and uses the external device to output audio, and at this time, the terminal determines that the audio output mode of the terminal is detected to be switched from the non-external mode to the external mode.
According to the technical scheme, in the state that the terminal is not connected to the external device, the audio output mode of the terminal is timely and accurately determined to be switched from the non-external mode to the external mode by responding to the connection operation of the external device.
In an exemplary embodiment, the method further comprises: in a state that the terminal is connected to the external device, in response to a disconnection operation for the external device, it is determined that the audio output mode of the terminal is detected to be switched from the external mode to the non-external mode.
In the specific implementation, if a user disconnects audio connection between the external device and the terminal in a state that the terminal is connected with the external device; for example, the user inserts the earphone device into the terminal, and the terminal uses the earphone device to output audio, and at this time, the terminal detects that the audio output mode of the terminal is switched from the play mode to the non-play mode.
According to the technical scheme, in the state that the terminal is connected to the external device, the audio output mode of the terminal is timely and accurately determined to be switched from the external mode to the non-external mode by responding to the disconnection operation of the external device.
Fig. 5 is a flowchart illustrating another song recording method according to an exemplary embodiment, which is used in the terminal 110 of fig. 1, as shown in fig. 5, including the following steps. In step S510, in response to a triggering operation of the song recording function, it is detected whether the terminal is connected to the playback device. In step S520, in a state that the terminal is connected to the playback device, it is determined that the audio output mode of the terminal is the playback mode. In step S530, in the play-out mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and in response to a trigger operation on a target accompaniment mode, it is determined whether the target accompaniment mode is the pure accompaniment mode. In step S540, if the target accompaniment pattern is not the pure accompaniment pattern, a prompt message indicating that the current accompaniment pattern is not switchable is displayed. In step S550, if it is detected that the audio output mode of the terminal is switched from the play mode to the non-play mode, the current accompaniment mode of the terminal is switched from the pure accompaniment mode to the target accompaniment mode in response to the trigger operation on the target accompaniment mode. It should be noted that, the specific limitation of the above steps may be referred to the specific limitation of a song recording method, which is not described herein.
It should be understood that, although the steps in the flowcharts of fig. 2 and 5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 2 and 5 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps.
For the convenience of understanding of those skilled in the art, a flow chart of a song recording method is shown in the embodiment of fig. 6. In the process of recording songs (K songs) by using the terminal, the terminal can display a recording preparation page; wherein the recording preparation page includes a start recording button. If the user decides to start recording songs, clicking a start recording button in the recording preparation page inputs a triggering operation of a song recording function to the terminal. After receiving the triggering operation of the song recording function, the terminal responds to the triggering operation of the song recording function, and then starts to enter song recording, and whether the terminal is connected to the playing equipment is detected. For example, the terminal detects whether the terminal is connected to speaker audio. When the terminal detects that the terminal is not connected to the playing device currently, the terminal is determined to adopt the earphone device to output the audio under the song recording function, and the audio output mode of the terminal is determined to be a non-playing mode. In the non-play mode, the user can arbitrarily switch the current accompaniment mode of the terminal. Specifically, the user may select a target accompaniment pattern in the accompaniment pattern selection page, that is, input a trigger operation for the target accompaniment pattern to the terminal, and after receiving the trigger operation for the target accompaniment pattern, the terminal switches from the current accompaniment pattern to the target accompaniment pattern in response to the trigger operation for the target accompaniment pattern.
When the audio output mode of the terminal is the play mode, if the terminal adopts a non-pure accompaniment mode, such as an original singing mode, the terminal records the original singing track in the song recording work together, so that the dry sound of the user in the song recording work is interfered by the original singing track, and the recording quality of the song recording work is reduced. Thus, the terminal can set the default accompaniment pattern of the terminal to the pure accompaniment pattern, and the switching from the pure accompaniment pattern to the other accompaniment pattern is not allowed.
Specifically, the terminal enters the song recording function using the pure accompaniment pattern as a default accompaniment pattern. In addition, under the song recording function of the terminal, if the current accompaniment mode of the terminal is detected to be the 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 is in a state of a song recording function and in a non-playing mode, and the earphone equipment is pulled out from the terminal by a user, the terminal is connected to the playing equipment and outputs audio through the playing equipment, and at the moment, the audio output mode of the terminal is switched from the non-playing mode to the playing mode.
If the audio output mode of the terminal is switched from the non-playing mode to the playing mode, the terminal switches the current accompaniment mode of the terminal to the pure accompaniment mode, and the terminal is not allowed to switch from the pure accompaniment mode to other accompaniment modes.
Fig. 7 is a block diagram of a song recording apparatus according to an exemplary embodiment. Referring to fig. 7, the apparatus includes:
a response unit 710 configured to perform a trigger operation in response to the song recording function, detecting whether the terminal is connected to the playback device;
a determining unit 720 configured to determine that an audio output mode of the terminal is a non-play-out mode in a state where the terminal is not connected to a play-out device;
And a switching unit 730 configured to perform switching from a current accompaniment mode to a target accompaniment mode in response to a trigger operation on the target accompaniment mode in the non-play mode.
In an exemplary embodiment, the apparatus further comprises: a play-out mode determining unit configured to determine that an audio output mode of the terminal is a play-out mode in a state where the terminal is connected to a play-out device; and a default setting unit configured to perform that in the play-out mode, a 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 comprises: and a permission switching unit configured to perform permission to switch from the pure accompaniment mode to the other accompaniment mode if it is detected that the audio output mode of the terminal is switched from the play-out mode to the non-play-out mode.
In an exemplary embodiment, the permission switching unit is specifically configured to perform switching of the current accompaniment pattern of the terminal from the pure accompaniment pattern to the target accompaniment pattern in response to a trigger operation on the target accompaniment pattern.
In an exemplary embodiment, the apparatus further comprises: the apparatus further comprises: and a pure accompaniment switching unit configured to perform switching of a current accompaniment mode of the terminal to a pure accompaniment mode and not allow switching of the pure accompaniment mode to other accompaniment modes if it is detected that the audio output mode of the terminal is switched from the non-play-out mode to the play-out mode.
In an exemplary embodiment, the apparatus further comprises: a pattern judgment unit configured to perform judgment as to whether or not a target accompaniment pattern is the pure accompaniment pattern in response to a trigger operation on the target accompaniment pattern; and the display unit is configured to execute the step of displaying prompt information that the current accompaniment mode is not switchable if the target accompaniment mode is not the pure accompaniment mode.
In an exemplary embodiment, the pure accompaniment switching unit is specifically configured to perform displaying an accompaniment switching prompt box, and display, in the accompaniment switching prompt box, a prompt message that a current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode, and a switching confirmation button; and responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into the pure accompaniment mode.
In an exemplary embodiment, the apparatus further comprises: a first switching determination unit configured to perform, in a state in which the terminal is not connected to the playback device, determination of detection of switching of the audio output mode of the terminal from the non-playback mode to the playback mode in response to an access operation to the playback device.
In an exemplary embodiment, the apparatus further comprises: and a second switching judgment unit configured to perform a determination of detecting that an audio output mode of the terminal is switched from a play-out mode to a non-play-out mode in response to a disconnection operation for the play-out device in a state in which the terminal is connected to the play-out device.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating an apparatus 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, exercise device, personal digital assistant, or the like.
Referring to fig. 8, device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, video, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically Erasable Programmable Read Only Memory (EEPROM), erasable Programmable Read Only Memory (EPROM), programmable Read Only Memory (PROM), read Only Memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. 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 touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the device 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The 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 gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the device 800 and other devices, either wired or wireless. The device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 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 one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. 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.
In an exemplary embodiment, the apparatus 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 Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of electronic device 700 to perform the above-described method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising 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 perform the above-described method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a 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 arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1.A method of recording songs, the method comprising:
responding to the triggering operation of the song recording function, and detecting whether the terminal is connected to the playing equipment;
in a state that the terminal is not connected to the external playing device, determining that an audio output mode of the terminal is a non-external playing mode;
In the non-play mode, switching from a current accompaniment mode to a target accompaniment mode in response to a trigger operation on the target accompaniment mode;
in a state that the terminal is connected to the play-out equipment, determining that an audio output mode of the terminal is a play-out mode;
in the play-out mode, the default accompaniment mode of the terminal is a pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes;
If the audio output mode of the terminal is detected to be switched from the play mode to the non-play mode, allowing the pure accompaniment mode to be switched to the other accompaniment modes;
If the audio output mode of the terminal is detected to be switched from the non-playing mode to the playing mode, the current accompaniment mode of the terminal is switched to a pure accompaniment mode, and the pure accompaniment mode is not allowed to be switched to other accompaniment modes; the step of switching the current accompaniment mode of the terminal to the pure accompaniment mode comprises the steps of displaying an accompaniment switching prompt box, displaying prompt information of the terminal, which is about to be switched to the pure accompaniment mode, in the accompaniment switching prompt box, and switching a confirmation button; and responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into the pure accompaniment mode.
2. The method of claim 1, wherein said allowing switching from the pure accompaniment mode to the other accompaniment mode comprises:
And responding to the triggering operation of the target accompaniment mode, and switching the current accompaniment mode of the terminal from the pure accompaniment mode to the target accompaniment mode.
3. The method of claim 1, wherein the disallowing switching from the pure accompaniment mode to the other accompaniment mode comprises:
Responding to the triggering operation of the target accompaniment pattern, and judging whether the target accompaniment pattern is the pure accompaniment pattern;
And if the target accompaniment mode is not the pure accompaniment mode, displaying prompting information that the current accompaniment mode is not switchable.
4. The method according to claim 1, wherein the method further comprises:
And in a state that the terminal is not connected to the playing device, responding to the access operation of the playing device, and determining that the audio output mode of the terminal is switched from a non-playing mode to a playing mode.
5. The method according to claim 1, wherein the method further comprises:
and in a state that the terminal is connected with the external device, responding to the disconnection operation of the external device, and determining that the audio output mode of the terminal is detected to be switched from the external mode to the non-external mode.
6. A song recording apparatus, the apparatus comprising:
A response unit configured to perform a trigger operation in response to the song recording function, detecting whether the terminal is connected to the playback device;
A determining unit configured to determine that an audio output mode of the terminal is a non-play-out mode in a state where the terminal is not connected to a play-out device;
a switching unit configured to perform switching from a current accompaniment pattern to a target accompaniment pattern in response to a trigger operation on the target accompaniment pattern in the non-play-out pattern;
a play-out mode determining unit configured to determine that an audio output mode of the terminal is a play-out mode in a state where the terminal is connected to a play-out device;
A default setting unit configured to perform that in the play-out mode, a 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;
A permission switching unit configured to perform permission to switch from the pure accompaniment mode to the other accompaniment mode if it is detected that the audio output mode of the terminal is switched from the play-out mode to the non-play-out mode;
A pure accompaniment switching unit configured to perform switching of a current accompaniment pattern of the terminal to a pure accompaniment pattern if it is detected that an audio output pattern of the terminal is switched from the non-play-out pattern to a play-out pattern, and not allowing switching from the pure accompaniment pattern to other accompaniment patterns; displaying an accompaniment switching prompt box, displaying prompt information that the current accompaniment mode of the terminal is about to be switched to the pure accompaniment mode in the accompaniment switching prompt box, and switching a confirmation button; and responding to the triggering operation of the switching confirmation button, and switching the current accompaniment mode of the terminal into the pure accompaniment mode.
7. The apparatus according to claim 6, wherein the permission switching unit is specifically configured to perform switching of a current accompaniment pattern of the terminal from the pure accompaniment pattern to the target accompaniment pattern in response to a trigger operation on the target accompaniment pattern.
8. The apparatus of claim 6, wherein the apparatus further comprises: a pattern judgment unit configured to perform judgment as to whether or not a target accompaniment pattern is the pure accompaniment pattern in response to a trigger operation on the target accompaniment pattern; and the display unit is configured to execute the step of displaying prompt information that the current accompaniment mode is not switchable if the target accompaniment mode is not the pure accompaniment mode.
9. The apparatus of claim 6, wherein the apparatus further comprises: a first switching determination unit configured to perform, in a state in which the terminal is not connected to the playback device, determination of detection of switching of the audio output mode of the terminal from the non-playback mode to the playback mode in response to an access operation to the playback device.
10. The apparatus of claim 6, wherein the apparatus further comprises: and a second switching judgment unit configured to perform a determination of detecting that an audio output mode of the terminal is switched from a play-out mode to a non-play-out mode in response to a disconnection operation for the play-out device in a state in which the terminal is connected to the play-out device.
11. A terminal, comprising:
A processor;
A memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the song recording method of any one of claims 1 to 5.
12. A computer readable storage medium, which when executed by a processor of a terminal, causes the terminal to perform the song recording method of any one of claims 1 to 5.
CN202011643138.5A 2020-12-30 2020-12-30 Song recording method, device, terminal and storage medium Active CN112596696B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011643138.5A CN112596696B (en) 2020-12-30 2020-12-30 Song recording method, device, terminal and storage medium
PCT/CN2021/105529 WO2022142254A1 (en) 2020-12-30 2021-07-09 Song recording method and storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112596696A CN112596696A (en) 2021-04-02
CN112596696B true CN112596696B (en) 2024-06-21

Family

ID=75206694

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN112596696B (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
CN112596696B (en) * 2020-12-30 2024-06-21 北京达佳互联信息技术有限公司 Song recording method, device, terminal and storage medium

Citations (1)

* 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203571B (en) * 2016-03-18 2019-08-06 腾讯科技(深圳)有限公司 Song lyric information processing method and device
CN110808021B (en) * 2019-11-08 2024-06-11 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN111583972B (en) * 2020-05-28 2022-03-25 北京达佳互联信息技术有限公司 Singing work generation method and device and electronic equipment
CN112596696B (en) * 2020-12-30 2024-06-21 北京达佳互联信息技术有限公司 Song recording method, device, terminal and storage medium

Patent Citations (1)

* 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

Also Published As

Publication number Publication date
WO2022142254A1 (en) 2022-07-07
CN112596696A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN104618218B (en) Message prompt method and device
CN105845124B (en) Audio processing method and device
CN106547663B (en) Key management method and device
CN107102772B (en) Touch control method and device
RU2656693C2 (en) Event prompting method and device
CN104793846A (en) Displaying method and device for interface of application program
CN104301877A (en) Short message prompting method and device
CN105141758A (en) Terminal control method and device
CN105653236A (en) Sound volume control method and device and mobile terminal
US11756586B2 (en) Method for splicing audio file and computer device
CN105426218A (en) Method and device for controlling audio playing
CN106375846B (en) The processing method and processing device of live audio
CN108984098B (en) Information display control method and device based on social software
CN112764636B (en) Video processing method, apparatus, electronic device, and computer-readable storage medium
CN112596696B (en) Song recording method, device, terminal and storage medium
CN105677215A (en) Application control method and apparatus
CN105472149A (en) Ringtone setting method and apparatus thereof
CN112596695B (en) Song guiding method and device, electronic equipment and storage medium
CN110162366A (en) A kind of information display method, device, electronic equipment and storage medium
CN106060253B (en) Information presentation method and device
CN106791077B (en) Method and device for processing multimedia messages in instant messaging software
CN113709538A (en) Multimedia data playing method and device, electronic equipment and storage medium
CN105516466A (en) Method and device for invoking interface
CN114125545B (en) Video information processing method, device, electronic equipment and storage medium
CN107888781A (en) Information sharing method, device and computer-readable storage medium

Legal Events

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