CN116758880A - Singing page starting method, computer equipment and storage medium - Google Patents
Singing page starting method, computer equipment and storage medium Download PDFInfo
- Publication number
- CN116758880A CN116758880A CN202310553427.3A CN202310553427A CN116758880A CN 116758880 A CN116758880 A CN 116758880A CN 202310553427 A CN202310553427 A CN 202310553427A CN 116758880 A CN116758880 A CN 116758880A
- Authority
- CN
- China
- Prior art keywords
- starting
- external
- sound channel
- external sound
- local
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000004590 computer program Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 9
- 230000003213 activating effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 12
- 238000001514 detection method Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0008—Associated control or indicating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0033—Recording/reproducing or transmission of music for electrophonic musical instruments
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/36—Accompaniment arrangements
- G10H1/361—Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2220/00—Input/output interfacing specifically adapted for electrophonic musical tools or instruments
- G10H2220/005—Non-interactive screen display of musical or status data
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2240/00—Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
- G10H2240/325—Synchronizing two or more audio tracks or files according to musical features or musical timings
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The application relates to a singing page starting method, computer equipment and a storage medium. The method comprises the following steps: the music client receives a singing and playing request aiming at target audio, and detects whether an external sound channel type corresponding to an external microphone is recorded in advance; under the condition that the type of the external sound channel is detected to be recorded in advance, starting external sound output driving corresponding to the external sound channel and external sound input driving; under the condition that the type of the external sound channel is not recorded in advance, starting local sound output drive corresponding to the local sound channel of the terminal equipment where the music client is located and local sound input drive; and playing the singing page aiming at the target audio under the condition that the starting states of the external sound output drive and the external sound input drive are successful in starting or the starting states of the local sound output drive and the local sound input drive are successful in starting. By adopting the method, the starting failure rate of the singing page can be reduced.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to an audio playing method, a computer device, and a storage medium.
Background
With the development of computer technology, a technology for evaluating singing capability of a user is presented, for example, a microphone is externally connected to a device which can be used for playing audio, such as a television or a jukebox, and relevant assistant software is installed in the device to externally connect a sound channel, so that the externally connected sound channel can be utilized to drive an audio input device and an output device, and audio input and output can be achieved through the microphone.
In the conventional technology, the device for playing audio is usually also provided with a local sound channel, and in the device initialization process, the audio input device and the output device are separately initialized, in this case, no matter the local sound channel or the external sound channel is used, only the sound input drive and the output drive are required to be opened simultaneously, so that the singing playing page is completed.
However, in the singing page starting method, the voice input drive used after the singing page is started is a local voice input drive, the voice output drive is an external voice output drive, so that the situation that a microphone has voice but scoring evaluation cannot be performed is likely to occur, the voice input drive used is an external voice input drive, the voice output drive is a local voice output drive, so that the situation that the microphone does not sound, but can receive human voice and score is likely to occur, and therefore, the starting failure rate of the existing singing page is higher.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a singing page starting method, a computer device, and a computer-readable storage medium that can reduce the rate of singing page starting failure.
In a first aspect, the present application provides a singing page starting method, applied to a music client, the method comprising:
receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel;
under the condition that the type of the external sound channel is not recorded in advance, starting a local sound output driver corresponding to a local sound channel of terminal equipment where the music client is located and a local sound input driver corresponding to the local sound channel;
and playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
In one embodiment, after the external sound output driver corresponding to the external sound channel for starting the external sound channel type characterization and the external sound input driver corresponding to the external sound channel, the method further includes: detecting the available sound channel type of the terminal equipment again under the condition that the external sound output drive or the starting state of at least one of the external sound input drives is failed in starting; recording the re-detected sound channel type and starting the re-detected external sound output drive and the re-detected external sound input drive under the condition that the re-detected sound channel type is characterized as an external sound channel; and playing the singing page aiming at the target audio under the condition that the re-detected external sound output drive and the re-detected external sound input drive are both started successfully.
In one embodiment, after the activating the redetected external sound output driver and the redetected external sound input driver, the method further comprises: and starting the local sound output drive and the local sound input drive under the condition that the starting state of at least one of the re-detected external sound output drive or the re-detected external sound input drive is failed to start.
In one embodiment, after the redetecting the type of the sound channel available to the terminal device, the method further includes: and in the case that the re-detected sound channel type is characterized as the absence of an external sound channel, starting the local sound output drive and the local sound input drive.
In one embodiment, in a case that the start state of at least one of the external voice output driver or the external voice input driver is a start failure, re-detecting the type of the voice channel available to the terminal device includes: displaying user prompt information matched with the current external starting failure state under the condition that the external sound output drive or the starting state of at least one of the external sound input drives is the starting failure; responding to a confirmation operation triggered by the prompt information of the user, wherein the confirmation operation is used for redetecting the sound channel, and redetecting the type of the sound channel available by the terminal equipment; the current external connection start failure state comprises at least one of the following: the starting state of the external sound output drive is failed in starting, and the starting state of the external sound input drive is successful in starting; the starting state of the external sound output drive is successful in starting, and the starting state of the external sound input drive is failed in starting; the starting state of the external sound output drive and the external sound input drive is failure in starting.
In one embodiment, after the starting the local sound output driver corresponding to the local sound channel of the terminal device where the music client is located and the local sound input driver corresponding to the local sound channel, the method further includes: displaying user prompt information matched with the current local starting failure state under the condition that the starting state of the local sound output drive or at least one of the local sound input drives is the starting failure; wherein the current local start-up failure state comprises at least one of: the starting state of the local sound output driver is failed in starting, and the starting state of the local sound input driver is successful in starting; the starting state of the local sound output driver is successful in starting, and the starting state of the local sound input driver is failed in starting; the starting state of the local sound output driver and the local sound input driver is failure in starting.
In one embodiment, before receiving the singing request for the target audio, the method further includes: receiving a starting request aiming at the music client, and detecting the type of a sound channel available to the terminal equipment; and recording the sound channel type when the sound channel type is characterized as an external sound channel.
In one embodiment, the singing and playing request is triggered by an audio playing page displayed by the music client; before receiving the singing playing request aiming at the target audio, the method further comprises the following steps: detecting the type of the sound channel available by the terminal equipment again under the condition that the connection state of the external microphone is detected to be changed in the process of displaying the audio playing page; recording the re-detected sound channel type in case the re-detected sound channel type is characterized as the presence of an external sound channel.
In one embodiment, after the playing of the singing page for the target audio, the method further includes: detecting the available sound channel type of the terminal equipment again under the condition that the connection state of the external microphone is detected to be changed; recording the re-detected sound channel type and displaying prompt information for prompting whether to re-sing the target audio when the re-detected sound channel type is characterized as an external sound channel; and receiving a re-singing request aiming at the target audio triggered based on the prompt information, and returning to execute the step of detecting whether the external sound channel type corresponding to the external microphone is recorded in advance.
In a second aspect, the present application further provides a singing page starting device, applied to a music client, where the device includes:
the channel type detection module is used for receiving a singing playing request aiming at target audio and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
the external drive starting module is used for starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel under the condition that the external sound channel type is detected to be recorded in advance;
the local drive starting module is used for starting local sound output drive corresponding to a local sound channel of the terminal equipment where the music client is located and local sound input drive corresponding to the local sound channel under the condition that the external sound channel type is not recorded in advance;
and the target audio playing module is used for playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel;
under the condition that the type of the external sound channel is not recorded in advance, starting a local sound output driver corresponding to a local sound channel of terminal equipment where the music client is located and a local sound input driver corresponding to the local sound channel;
and playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel;
under the condition that the type of the external sound channel is not recorded in advance, starting a local sound output driver corresponding to a local sound channel of terminal equipment where the music client is located and a local sound input driver corresponding to the local sound channel;
and playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel;
under the condition that the type of the external sound channel is not recorded in advance, starting a local sound output driver corresponding to a local sound channel of terminal equipment where the music client is located and a local sound input driver corresponding to the local sound channel;
and playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
The singing page starting method, the singing page starting device, the computer equipment, the storage medium and the computer program product are used for receiving a singing and playing request aiming at target audio through a music client and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance; under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel; under the condition that the type of the external sound channel is not recorded in advance, starting local sound output drive corresponding to a local sound channel of terminal equipment where the music client is located and local sound input drive corresponding to the local sound channel; and playing the singing page aiming at the target audio under the condition that the starting states of the external sound output drive and the external sound input drive are successful in starting or the starting states of the local sound output drive and the local sound input drive are successful in starting. According to the singing page starting method, the music client detects whether the external sound channel type corresponding to the external microphone is recorded in advance or not when a user initiates a singing playing request, if the external sound channel type is recorded, the output drive and the input drive corresponding to the external sound channel can be started, if the external sound channel type is not recorded, the output drive and the input drive of the local sound channel of the terminal equipment where the music client is located are started, and playing of the singing page of target audio is achieved.
Drawings
FIG. 1 is a flow chart of a singing page starting method in one embodiment;
FIG. 2 is a flow diagram of an external voice drive to initiate re-detection in one embodiment;
FIG. 3 is a flow chart of recording the type of sound channel in one embodiment;
FIG. 4 is a flowchart illustrating a process of re-detecting a sound channel type after playing a target audio according to an embodiment;
FIG. 5 is a schematic diagram of an audio architecture used by a terminal device in one embodiment;
FIG. 6 is a schematic diagram of an audio architecture used by a terminal device according to another embodiment;
FIG. 7 is a schematic diagram of a song play process in one embodiment;
FIG. 8 is a schematic diagram of a song playing process according to another embodiment;
FIG. 9 is a schematic diagram of a success rate of singing and playing according to one embodiment;
FIG. 10 is a schematic diagram of a singing mode audio preparation success rate in one embodiment;
FIG. 11 is a block diagram of a singing page initiator in one embodiment;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in fig. 1, a singing page starting method is provided, and the method is applied to a music client for illustration, and the method includes the following steps:
step S101, receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance.
In this embodiment, the music client may be an application program for implementing audio playing, for example, some singing software may be used, the target audio is audio information that needs to be played by the music client, for example, a music song played by the singing software may be used, and the singing request is a request triggered by a user for starting the playing of the music song to perform singing.
Specifically, when the user needs to start music playing to sing through the music client, the method can be realized by triggering a singing and playing request to the music client, for example, the singing and playing request can be triggered by selecting a song to be singed through the music client, at this time, the music client can receive the singing and playing request, take the song to be singed selected by the user as target audio, and detect whether the voice channel type corresponding to the external microphone, that is, the external voice channel type corresponding to the external microphone, is recorded in the music client in advance.
Step S102, under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output driving corresponding to the external sound channel represented by the external sound channel type and external sound input driving corresponding to the external sound channel.
The external sound channel refers to a sound channel used by the external microphone, the external sound output drive is a drive of the external sound channel for realizing sound output, and the external sound input drive is a drive of the external sound channel for realizing sound input. Under the condition that the music client detects that the external sound channel type is recorded in advance, namely, the terminal equipment where the current music client is located is characterized by being possibly externally connected with a microphone, then the music client can start external sound output driving corresponding to the external sound channel and external sound input driving corresponding to the external sound channel, and therefore the external sound output driving and the external sound input driving can be matched and used under the condition that the external sound channel type is recorded in advance by the music client.
Step S103, under the condition that the type of the external sound channel is not recorded in advance, starting local sound output drive corresponding to the local sound channel of the terminal equipment where the music client is located and local sound input drive corresponding to the local sound channel.
The terminal device where the music client is located refers to a terminal device on which the music client is installed, for example, a personal computer, a notebook computer, a smart phone, a tablet personal computer, a television device and the like, while the local sound channel is a sound channel used by the terminal device for processing sound input or output, taking the terminal device where the music client is located as the television device as an example, the local sound channel is a sound channel of the television device, and the local sound output driver is a driver of the local sound channel for realizing sound output, for example, the local sound channel may be AudioTrack, and the local sound input driver may be a driver of the local sound channel for realizing sound input, for example, the local sound channel may be AudioFlinger.
If the music client cannot detect the type of the pre-recorded external sound channel, that is, the terminal equipment where the current music client is located may not have an external microphone, then the music client can start the local sound output drive corresponding to the local sound channel of the terminal equipment where the current music client is located and the local sound input drive corresponding to the local sound channel, so that the local sound output drive and the local sound input drive can be used in a matched mode under the condition that the external sound channel type is not recorded in the music client.
Step S104, playing the singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
The singing page of the target audio is a display page displayed in the music client for a user to perform singing operation on the target audio, and on the display page, the target audio can be played, and the user can perform singing operation according to the played target audio. If the music client starts up successfully for both the external sound output driver and the external sound input driver in step S102, or the music client starts up successfully for both the local sound output driver and the local sound input driver in step S103, the music client may display a singing page for playing the target audio, and play the target audio on the singing page.
In the singing page starting method, a singing playing request aiming at target audio is received through a music client, and whether an external sound channel type corresponding to an external microphone is recorded in advance or not is detected; under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel; under the condition that the type of the external sound channel is not recorded in advance, starting local sound output drive corresponding to a local sound channel of terminal equipment where the music client is located and local sound input drive corresponding to the local sound channel; and playing the singing page aiming at the target audio under the condition that the starting states of the external sound output drive and the external sound input drive are successful in starting or the starting states of the local sound output drive and the local sound input drive are successful in starting. According to the singing page starting method, the music client detects whether the external sound channel type corresponding to the external microphone is recorded in advance or not when a user initiates a singing playing request, if the external sound channel type is recorded, the output drive and the input drive corresponding to the external sound channel can be started, if the external sound channel type is not recorded, the output drive and the input drive of the local sound channel of the terminal equipment where the music client is located are started, and playing of the singing page of target audio is achieved.
In one embodiment, as shown in fig. 2, after step S102, the method may further include:
in step S201, when the starting state of at least one of the external voice output driver or the external voice input driver is the starting failure, the available voice channel type of the terminal device is re-detected.
If the external sound output drive or one of the external sound input drives fails to start, or if the external sound output drive and the external sound input drive fail to start, it indicates that a connection problem may occur to the external microphone, for example, the external microphone is connected loose, so in this case, in order to ensure that the singing page of the target audio can be played normally, in this embodiment, the music client can re-detect the type of the sound channel that the terminal device can use currently, that is, re-determine whether the current terminal device can use the external sound channel, so as to realize playing of the singing page of the target audio.
In step S202, in the case where the re-detected sound channel type is characterized as the presence of an external sound channel, the re-detected sound channel type is recorded, and the re-detected external sound output driver and the re-detected external sound input driver are started.
The re-detected external sound output driver may refer to a sound output driver corresponding to the re-detected external sound channel, and the re-detected external sound input driver may refer to a sound input driver corresponding to the re-detected external sound channel. If the redetected sound channel still characterizes that an external sound channel exists, i.e. the current terminal device can use the external sound channel, the music client can record the redetected sound channel type, and since different external microphones may correspond to different external sound channel types, for example, microphones of different manufacturers can use different sound channel types for audio input or output, so as to ensure that the music client can start corresponding external sound output driving and external sound input driving based on the redetected external sound channel, the music client can also record the redetected sound channel type and start the redetected external sound output driving and the redetected external sound input driving.
For example, the pre-recorded external voice channel type may be the voice channel type a corresponding to the external microphone a, and then the music client starts the external voice output driver and the external voice input driver corresponding to the voice channel type a. Then if one of the voice output drivers corresponding to the voice channel type a or the voice input drivers fails to start, the music client can start the re-detection of the currently available voice channel type of the terminal device, at this time, if the user replaces the external microphone B, the re-detected voice channel type can be the voice channel type B corresponding to the external microphone B, in order to ensure the smooth start of the external voice output drivers, the music client can record the re-detected voice channel type B and start the external voice output drivers corresponding to the voice channel type B and the external voice input drivers instead of starting the external voice output drivers corresponding to the voice channel type a and the external voice input drivers, and because the recorded external voice channel type has been updated to the voice channel type B, when the target audio is played for singing, the music client can directly start the external voice output drivers corresponding to the voice channel type B and the external voice input drivers instead of starting the external voice output drivers corresponding to the voice channel type a and the external voice input drivers.
In step S203, playing the singing page for the target audio when the detected starting states of the external voice output driver and the external voice input driver are both successful.
Finally, if the starting states of the external sound output driver and the external sound input driver detected again are characterized as successful starting, the music client can play the singing page of the target audio by utilizing the external sound output driver and the external sound input driver detected again, so that smooth playing of the singing page of the target audio can be ensured.
In this embodiment, if the external sound output driver or at least one of the external sound input drivers fails to start, the music client may re-detect the available sound channel type of the terminal device, and if the re-detected sound channel type is still characterized as the external sound channel, the re-detected external sound channel may be recorded, and the corresponding external sound output driver and external sound input driver are started to play the singing page of the target audio, so that it may be ensured that the external sound output driver and the external sound input driver may start smoothly, and the start success rate of the external sound output driver and the external sound input driver may be further improved.
In addition, after step S202, the method may further include: and starting the local sound output drive and the local sound input drive under the condition that the starting state of at least one of the re-detected external sound output drive or the re-detected external sound input drive is failed to start.
If the detected external voice output driver or the detected external voice input driver is still in a starting failure state, or the detected external voice output driver and the detected external voice input driver are in a starting failure state, if the available voice channel type detection is performed again, the playing efficiency of the singing page of the target audio may be reduced, so in this case, in order to ensure the playing efficiency of the singing page, the music client may prompt the user that the external microphone fails and is not available, stop detecting the current available voice channel type of the terminal device again, and start the local voice output driver and the local voice input driver of the terminal device where the music client is located, so as to realize the playing of the singing page of the target audio through the local voice output driver and the local voice input driver.
In this embodiment, if at least one of the external sound output driver or the external sound input driver fails to start, and at least one of the external sound output driver and the external sound input driver that is newly detected is still in a start failure state, then the music client may stop detecting the sound channel type available to the terminal device again, and directly start the local sound output driver, and the local sound input driver to implement playing of the singing page of the target audio, so that playing efficiency of the singing page of the target audio may be improved.
In addition, after step S201, it may further include: in the event that the re-detected sound channel type is characterized by the absence of an external sound channel, a local sound output drive is initiated, and a local sound input drive.
If the re-detected sound channel type is characterized as that no external sound channel exists, that is, the current terminal device has no usable external sound channel, in this case, in order to ensure that the singing page of the target audio can be played smoothly, the music client may start a local sound output driver and a local sound input driver, so as to realize the singing page playing of the target audio through the local sound output driver and the local sound input driver, instead of continuing to use the external sound output driver and the external sound input driver to play the singing page of the target audio.
In this embodiment, if the redetected sound channel type is characterized by no external sound channel, that is, when the current terminal device has no usable external sound channel, the music client may start the local sound output driver and the local sound input driver to play the singing page of the target audio, thereby ensuring smooth playing of the singing page of the target audio and further improving the success rate of starting the singing page.
In one embodiment, step S201 may further include: displaying user prompt information matched with the current external connection start failure state under the condition that at least one of the external connection sound output drive or the external connection sound input drive is in the start failure state; detecting the type of the sound channel available to the terminal device again in response to a confirmation operation for detecting the sound channel again triggered by the user prompt message; the current external connection start failure state comprises at least one of the following: the starting state of the external sound output drive is failed in starting, and the starting state of the external sound input drive is successful in starting; the starting state of the external sound output drive is successful in starting, and the starting state of the external sound input drive is failed in starting; the starting state of the external voice output drive and the external voice input drive is failure in starting.
The user prompting information is information for prompting the user of the current external voice driving start failure state, and the user prompting information can also comprise 3 types of external voice driving start failure states which respectively correspond to 3 different external voice driving start failure states, wherein the external voice driving start is successful, the external voice driving start is failed, and the external voice driving start are failed. The external voice output drive fails to start, but the external voice input drive starts successfully, and the displayed user prompt information can be prompt information for prompting the user that the microphone does not have voice. For the starting failure state that the external sound output drive is successful, but the external sound input drive is failed, the displayed user prompt information can be prompt information for prompting the user that the user cannot score. For the starting failure state that the external sound output drive and the external sound input drive are failed to start, the displayed user prompt information can be prompt information for prompting the user that the microphone is silent and cannot score.
After the prompt information of the user is displayed, the user can also complete checking processing of the microphone according to the prompt information, and click confirmation is carried out on the displayed prompt information, so that confirmation operation for detecting the available sound channels again by the music client is triggered, and then the music client can respond to the confirmation operation and execute the step of detecting the types of the available sound channels of the terminal equipment again.
In this embodiment, when the external voice output driver or at least one of the external voice input drivers fails to start, the music client may further display corresponding user prompt information to prompt the user about the current external start failure state, and after the user performs the confirmation operation, execute the step of re-detecting the available voice channel types of the terminal device, so that the user can learn about the current external start failure state to process the fault specifically, thereby improving the processing efficiency of the external start failure state.
In one embodiment, after step S103, the method may further include: displaying user prompt information matched with the current local starting failure state under the condition that the starting state of at least one of the local sound output drive or the local sound input drive is the starting failure; wherein the current local start-up failure state includes at least one of: the starting state of the local sound output driver is failed in starting, and the starting state of the local sound input driver is successful in starting; the starting state of the local sound output driver is successful in starting, and the starting state of the local sound input driver is failed in starting; the start-up status of the local sound output driver and the local sound input driver is a start failure.
In this embodiment, the user prompting information may also be information for prompting the user about the current local voice driving start failure state, where the user prompting information may also include 3 types of local start failure states corresponding to 3 different sides respectively, and the local voice output driving start failure states are respectively local voice input driving start success, but the local voice input driving start success, the local voice output driving start success, but the local voice input driving start failure, and both the local voice output driving and the local voice input driving start failure. The local sound input drive is started successfully, and the displayed user prompt information can be prompt information for prompting the user that the sound output equipment is problematic. For the starting success of the external voice output drive, but the starting failure state of the external voice input drive, the displayed user prompt information can be prompt information for prompting the user that the voice input equipment is problematic. For the startup failure state that the local sound output drive and the local sound input drive are both started up failure, the displayed user prompt information can be prompt information for prompting the user that the sound output device and the sound input device are both problematic.
In this embodiment, if the local audio output driver or at least one of the local audio input drivers fails to be started, the music client may also display corresponding user prompt information to prompt the user about the current local start failure state, so that the user can know the current local start failure state, and the efficiency of fault processing of the local audio device can be improved.
In one embodiment, as shown in fig. 3, before step S101, the method may further include:
step S301, receiving a start request for a music client, detecting a sound channel type available to a terminal device.
The starting request of the music client refers to a user-triggered request for starting the music client, and may be the starting request for the music client triggered when the user opens a certain singing software. At this time, the music client may receive the start request and detect the type of the sound channel that the terminal device may use currently, that is, detect whether there is an external microphone in the current terminal device.
In step S302, in the case where the sound channel type is characterized as the presence of an external sound channel, the sound channel type is recorded.
If the current available sound channel type of the terminal device indicates that an external sound channel exists, that is, if the current terminal device exists an external microphone, the music client can record the sound channel type, and then when a user triggers a singing playing request for a target audio, as the corresponding sound channel type of the external microphone is recorded, that is, the external sound channel type is recorded, the external sound output drive and the external sound input drive corresponding to the external sound channel type can be started, so that the playing of the singing page of the target audio can be realized through the external sound output drive and the external sound input drive, and the detection and recording of the available sound channel type of the terminal device are not required to be executed every time the singing playing is performed, thereby further reducing the risk of opening failure of the sound channel and improving the singing playing efficiency.
In this embodiment, the music client may perform detection of the type of the sound channel available to the terminal device when the terminal device is started, and may record the type of the sound channel of the external sound channel when the external sound channel is detected, so that the detection and recording of the type of the sound channel available to the terminal device are not required when the music client performs singing and playing each time, thereby further reducing the risk of failure in opening the sound channel and improving the efficiency of singing and playing.
In addition, the singing and playing request is triggered by an audio playing page displayed by the music client; prior to step S101, the method may further include: detecting the available sound channel type of the terminal equipment again under the condition that the connection state of the external microphone is detected to be changed in the process of displaying the audio playing page; in the case where the re-detected sound channel type is characterized as the presence of an external sound channel, the re-detected sound channel type is recorded.
In this embodiment, the singing and playing request may be triggered by the user in an audio playing page displayed by the music client, after the user starts the music client, the music client may display an audio playing page, an audio list may be displayed in the audio page, the audio list may include a plurality of audio songs available for singing and playing, and the user may select a target audio by selecting an audio song in the audio list, and trigger the singing and playing request for the target audio.
Then, if the user performs the plug operation on the external microphone in the process of displaying the audio playing page, namely, the connection state of the external microphone is changed, in order to ensure the accuracy of the current available sound channel type of the terminal equipment, in the process of displaying the audio playing page, the music client can re-detect the available sound channel type of the terminal equipment if detecting the change of the connection state of the external microphone, and if the re-detected sound channel type is characterized as the condition that the external sound channel exists, the re-detected sound channel type of the external sound channel can be recorded, so that when the target audio is singed and played, the corresponding sound output drive and the corresponding sound input drive can be started based on the sound channel after the plug operation of the external microphone, and the real-time accuracy of the recorded external sound channel type is further improved.
In this embodiment, when a change in the connection state of the external microphone is detected during displaying the audio playing page, the type of the sound channel available to the terminal device may be redetected, and when the redetected type of the sound channel is characterized as an external sound channel, the redetected type of the sound channel is recorded, so that the corresponding sound output drive and sound input drive may be started based on the sound channel after the external microphone plugging operation, and the real-time accuracy of the recorded type of the external sound channel is further improved.
In one embodiment, as shown in fig. 4, after step S103, the method may further include:
in step S401, in the case that a change in the connection state of the external microphone is detected, the type of the sound channel available to the terminal device is re-detected.
If the music client detects that the connection state of the external microphone changes after playing the singing page aiming at the target audio, for example, the connection of the external microphone is loose after playing the target audio, or the user replaces the external microphone to change the connection state of the external microphone, the music client can also re-detect the available sound channel type of the terminal device.
In step S402, when the re-detected sound channel type is characterized as the presence of an external sound channel, the re-detected sound channel type is recorded, and a prompt message for prompting whether to re-sing the target audio is displayed.
Then if the re-detected sound channel type represents that an external sound channel exists, the music client can record the re-detected sound channel type, and meanwhile, since the current target audio is played, the change of the microphone connection state can influence the singing process of the user, so that in the case, the music client can display prompt information for prompting the user whether to re-singe the target audio, for example, prompt information for prompting the user whether microphone hardware is plugged in or plugged out, possibly influencing singing and whether to re-singe the target audio.
Step S403, receiving a re-singing request for the target audio triggered based on the prompt information, and returning to execute step S101.
Then, if the user selects a re-singing request for the target audio, which needs to re-sing the target audio, through the displayed prompt information, the request may be triggered through a control selected in the prompt information, for example, whether a control corresponding to re-singing is displayed in the prompt information, if the user selects a control representing that the target audio needs to be re-singed, the re-singing request for the target audio may be triggered, and at this time, the music client may execute the step of detecting whether an external sound channel type corresponding to an external microphone is recorded in advance, so as to play the singing page for the target audio again.
If the user selects to not re-sing the target audio through the presented prompt information, for example, the user selects a control for representing the non-re-singing target audio, in this case, the music client will continue playing the singing page of the target audio, and not perform re-playing for the target audio.
In this embodiment, during playing the target audio, if the connection state of the external microphone is detected to change, the available sound channel type of the terminal device may be re-detected, and prompt information for prompting the user whether to re-sing the target audio may also be displayed, if the user selects to re-sing the target audio, the process of detecting whether the external sound channel type corresponding to the external microphone is pre-recorded may be performed again, so as to implement re-playing of the target audio, thereby enabling the user to re-sing the target audio, and further improving the intelligence of playing the target audio.
In one embodiment, a method for starting the sound input device and the output device when singing in the terminal device is further provided, so that the problem of low success rate of starting the sound input device and the output device in the traditional technology can be solved.
In the conventional technology, the audio architecture used by the terminal device may be as shown in fig. 5, where the microphone device built in the device is used as the sound input without connecting an external microphone, the audiorecord provided by the system is used to receive data from the sound device for use by singing software, and accompaniment data is transmitted to the sound output device through the AudioTrack and played by the audioplayer, so that the singing capability of the basic singing software can be satisfied.
If the terminal device is externally connected with a microphone, the microphone manufacturer preloads microphone assistant software on the terminal device to complete microphone sound input and output, so that the sound input and output architecture of the singing software is different from the architecture shown in fig. 5, and can be shown in fig. 6.
For the architecture shown in fig. 6, in the prior art, the process of opening the sound output device and the sound input device is to separately initialize the sound output and the sound input, and the sound channel of the system or the sound channel of the three-party microphone is used as an output or input device to perform the opening operation, so that the playing process of songs can be as shown in fig. 7, when playing, the supported three-party sound channel type can be polled and the three-party output driver is initialized, if the three-party sound output driver is successfully opened, the three-party sound channel type supported by polling is entered and the three-party input driver is initialized, and if the three-party sound output driver is failed to be opened, the AudioTrack is opened, and if the AudioTrack is successfully opened, the three-party input driver is initialized. And then if the three-party sound input drive is successfully opened, audio playing is carried out, if the opening fails, the AuidoRecord is opened, and if the AuidoRecord is successfully opened, the audio playing is carried out.
In the above process, driving such as using a three-way sound channel for sound output may occur, but due to failure of input driving of the three-way sound channel, the system audioRecord is used for sound input, but the audioRecord cannot receive human voice at this time, and finally microphone sound is generated, but app cannot score and save, or failure of output driving of opening the three-way sound channel, so that audioTrack of the system is used, but input driving of the three-way sound channel is successfully opened, and finally microphone is not sound, but app can receive human voice and score. And each time the sound channel is opened, the sound channel is polled and initialized, the risk of failure in opening the sound channel is increased, and the number of times of playing failure is increased.
Therefore, the number of the starting failures of the starting flow in the conventional technology is more, so that the embodiment provides a compatible processing method for the three-party sound channel and the system sound channel, and the user is ensured to be able to obtain an effective sound input and output method finally. The embodiment uses the principles of pairing initialization and opening driving no matter the system or the three parties, ensures that the output and the input of the same type appear in pairs, avoids the output and the input of the three parties and the system from being mixed, and improves the usability and the robustness of the sound channel.
In addition, in this embodiment, when the user sings, the app receives the voice, and makes a corresponding score and midi hit display. By using the scheme, the whole singing experience can be improved, the microphone can generate sound, the app can score, a specific flow can be shown as shown in fig. 8, and the method comprises the following steps:
(1) When playing, judging whether the last recorded voice channel type of the three-party microphone manufacturer exists, if so, directly opening the output and input drive of the corresponding three-party voice channel according to the recorded type.
(2) When the output and input drive of the sound channel is opened, because the calling of the three-party process is involved, overtime logic and abnormal capture are added, errors can be thrown out in time, and the App process is prevented from being blocked.
(3) If any one of the voice output or input drive fails to be opened, a corresponding prompt is given to a user according to the type of the output or input, and if the output drive fails to be opened, the microphone does not have voice output; if the input drive fails to open, the work cannot be scored and saved.
(4) The voice channel type detection is then redone once and then the output and input drivers are retried on.
(5) If the second time still fails, prompt the user App to complete the construction of the sound output and input module using the AudioTrack and AudioRecord of the system.
(6) Finally, whether a three-way sound channel or a sound output/input module of the system is used, an effective scheme is ensured to be used by a user.
Through the embodiment, as shown in fig. 9 and fig. 10, fig. 9 is a schematic diagram of a singing and playing success rate in an embodiment, and fig. 10 is a schematic diagram of an audio preparation success rate in a singing mode in an embodiment, it can be seen that the singing and playing success rate and the audio preparation success rate are obviously improved, the probability that a microphone does not sound and cannot score is reduced, and the starting success rate of a sound input device and an output device is also obviously improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order 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 some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a singing page starting device for realizing the singing page starting method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the singing page starting device or embodiments provided below may be referred to the limitation of the singing page starting method hereinabove, and will not be described herein.
In one embodiment, as shown in fig. 11, there is provided a singing page starting apparatus applied to a music client, including: the device comprises a channel type detection module 1101, an external drive starting module 1102, a local drive starting module 1103 and a target audio playing module 1104, wherein:
the channel type detection module 1101 is configured to receive a singing request for a target audio, and detect whether an external sound channel type corresponding to an external microphone is recorded in advance;
the external driving starting module 1102 is configured to start external sound output driving corresponding to an external sound channel represented by an external sound channel type and external sound input driving corresponding to the external sound channel when detecting that the external sound channel type is recorded in advance;
The local driver starting module 1103 is configured to start a local sound output driver corresponding to a local sound channel of a terminal device where the music client is located and a local sound input driver corresponding to the local sound channel when detecting that an external sound channel type is not recorded in advance;
the target audio playing module 1104 is configured to play a singing page for the target audio when the external audio output driver and the external audio input driver are both started successfully, or the local audio output driver and the local audio input driver are both started successfully.
The above-mentioned individual modules in the singing page starting apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a singing page launch method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 12 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (11)
1. A singing page launching method, applied to a music client, comprising:
receiving a singing playing request aiming at target audio, and detecting whether an external sound channel type corresponding to an external microphone is recorded in advance;
under the condition that the external sound channel type is detected to be recorded in advance, starting external sound output drive corresponding to the external sound channel represented by the external sound channel type and external sound input drive corresponding to the external sound channel;
Under the condition that the type of the external sound channel is not recorded in advance, starting a local sound output driver corresponding to a local sound channel of terminal equipment where the music client is located and a local sound input driver corresponding to the local sound channel;
and playing a singing page aiming at the target audio under the condition that the starting states of the external sound output driver and the external sound input driver are successful in starting or the starting states of the local sound output driver and the local sound input driver are successful in starting.
2. The method of claim 1, wherein the step of starting the external sound output drive corresponding to the external sound channel represented by the external sound channel type, and the step of starting the external sound input drive corresponding to the external sound channel, further comprises:
detecting the available sound channel type of the terminal equipment again under the condition that the external sound output drive or the starting state of at least one of the external sound input drives is failed in starting;
recording the re-detected sound channel type and starting the re-detected external sound output drive and the re-detected external sound input drive under the condition that the re-detected sound channel type is characterized as an external sound channel;
And playing the singing page aiming at the target audio under the condition that the re-detected external sound output drive and the re-detected external sound input drive are both started successfully.
3. The method of claim 2, wherein after said activating said re-detected external voice output driver and said re-detected external voice input driver, further comprising:
and starting the local sound output drive and the local sound input drive under the condition that the starting state of at least one of the re-detected external sound output drive or the re-detected external sound input drive is failed to start.
4. The method according to claim 2, wherein after re-detecting the type of sound channel available to the terminal device, further comprising:
and in the case that the re-detected sound channel type is characterized as the absence of an external sound channel, starting the local sound output drive and the local sound input drive.
5. The method according to claim 2, wherein, in the case that the start-up status of at least one of the external sound output driver or the external sound input driver is a start-up failure, re-detecting the type of the sound channel available to the terminal device includes:
Displaying user prompt information matched with the current external starting failure state under the condition that the external sound output drive or the starting state of at least one of the external sound input drives is the starting failure;
responding to a confirmation operation triggered by the prompt information of the user, wherein the confirmation operation is used for redetecting the sound channel, and redetecting the type of the sound channel available by the terminal equipment;
the current external connection start failure state comprises at least one of the following:
the starting state of the external sound output drive is failed in starting, and the starting state of the external sound input drive is successful in starting;
the starting state of the external sound output drive is successful in starting, and the starting state of the external sound input drive is failed in starting;
the starting state of the external sound output drive and the external sound input drive is failure in starting.
6. The method of claim 1, wherein after the starting the local sound output driver corresponding to the local sound channel of the terminal device where the music client is located and the local sound input driver corresponding to the local sound channel, further comprises:
Displaying user prompt information matched with the current local starting failure state under the condition that the starting state of the local sound output drive or at least one of the local sound input drives is the starting failure;
wherein the current local start-up failure state comprises at least one of:
the starting state of the local sound output driver is failed in starting, and the starting state of the local sound input driver is successful in starting;
the starting state of the local sound output driver is successful in starting, and the starting state of the local sound input driver is failed in starting;
the starting state of the local sound output driver and the local sound input driver is failure in starting.
7. The method of claim 1, wherein prior to receiving the singing play request for the target audio, further comprising:
receiving a starting request aiming at the music client, and detecting the type of a sound channel available to the terminal equipment;
and recording the sound channel type when the sound channel type is characterized as an external sound channel.
8. The method of claim 7, wherein the singing-to-play request is triggered by an audio play page presented by the music client; before receiving the singing playing request aiming at the target audio, the method further comprises the following steps:
Detecting the type of the sound channel available by the terminal equipment again under the condition that the connection state of the external microphone is detected to be changed in the process of displaying the audio playing page;
recording the re-detected sound channel type in case the re-detected sound channel type is characterized as the presence of an external sound channel.
9. The method of claim 1, wherein after playing the singing page for the target audio, further comprising:
detecting the available sound channel type of the terminal equipment again under the condition that the connection state of the external microphone is detected to be changed;
recording the re-detected sound channel type and displaying prompt information for prompting whether to re-sing the target audio when the re-detected sound channel type is characterized as an external sound channel;
and receiving a re-singing request aiming at the target audio triggered based on the prompt information, and returning to execute the step of detecting whether the external sound channel type corresponding to the external microphone is recorded in advance.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 9 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310553427.3A CN116758880A (en) | 2023-05-16 | 2023-05-16 | Singing page starting method, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310553427.3A CN116758880A (en) | 2023-05-16 | 2023-05-16 | Singing page starting method, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116758880A true CN116758880A (en) | 2023-09-15 |
Family
ID=87958000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310553427.3A Pending CN116758880A (en) | 2023-05-16 | 2023-05-16 | Singing page starting method, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116758880A (en) |
-
2023
- 2023-05-16 CN CN202310553427.3A patent/CN116758880A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8401534B2 (en) | Mobile communication terminal and method for controlling the same | |
TWI386852B (en) | System for switching bios and method thereof | |
US20080046820A1 (en) | Apparatus and method for controlling media player in portable terminal | |
CN105094903A (en) | Method and device for upgrading firmware | |
US9578158B2 (en) | System and method for starting up application of electronic device | |
AU2019461393A1 (en) | Screen sharing processing method, apparatus and device, and storage medium | |
US20070234060A1 (en) | Data processing device | |
JP2012243316A (en) | Media file splitting method and device for the same | |
CN112231021A (en) | Method and device for guiding new software function | |
CN107168818A (en) | Terminal and brush machine failure recovery method | |
CN109684125B (en) | Method, device, equipment and storage medium for repairing DDR physical damage | |
JP5542823B2 (en) | System and method for using sound to distinguish key presses | |
US9118756B2 (en) | Recording method, recording device, and electronic device | |
EP1777926A1 (en) | Method and mobile terminal for performing multiple tasks without conflict | |
CN116758880A (en) | Singing page starting method, computer equipment and storage medium | |
CN112486519A (en) | Method and equipment for configuring embedded product | |
CN114911529A (en) | Starting method, electronic equipment, readable storage medium and computer program product | |
KR20210097294A (en) | Data hiding method and apparatus thereof | |
KR20100050098A (en) | Image processing apparatus and control method thereof | |
CN116107617A (en) | Vehicle ECU (electronic control Unit) refreshing method and system, electronic equipment and readable storage medium | |
US20120041840A1 (en) | Hot button for performance diagnostic and recommendation | |
US20180322869A1 (en) | Voice transmission device and method for executing voice assistant program thereof | |
WO2016062060A1 (en) | Method and apparatus for updating/backing up operating system through t card, and storage medium | |
JP2012022541A (en) | Electronic apparatus and program start control method thereof | |
JP2022549237A (en) | ANIMATION DISPLAY METHOD AND DEVICE, COMPUTER PROGRAM AND ELECTRONIC DEVICE |
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 |