CN114765914A - Karaoke control method and related equipment - Google Patents

Karaoke control method and related equipment Download PDF

Info

Publication number
CN114765914A
CN114765914A CN202210316199.3A CN202210316199A CN114765914A CN 114765914 A CN114765914 A CN 114765914A CN 202210316199 A CN202210316199 A CN 202210316199A CN 114765914 A CN114765914 A CN 114765914A
Authority
CN
China
Prior art keywords
audio data
song
vehicle
mobile terminal
song audio
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
Application number
CN202210316199.3A
Other languages
Chinese (zh)
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.)
SHANGHAI YUZHOU ELECTRICAL EQU
Original Assignee
SHANGHAI YUZHOU ELECTRICAL EQU
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 SHANGHAI YUZHOU ELECTRICAL EQU filed Critical SHANGHAI YUZHOU ELECTRICAL EQU
Priority to CN202210316199.3A priority Critical patent/CN114765914A/en
Publication of CN114765914A publication Critical patent/CN114765914A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]

Abstract

The embodiment of the invention discloses a K song control method and related equipment, wherein a mobile terminal is utilized to collect first K song audio data of a K singer, and the first K song audio data comprises accompaniment audio data and voice audio data; the mobile terminal sends the first K song audio data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data. By using the method, the mobile terminal is used as a microphone during the K song, so that no additional microphone is needed to be purchased or a highly-configured vehicle is not needed to be selected during the construction of the vehicle-mounted song-practicing room, and the vehicle-mounted K song cost is reduced; and the user is taken mobile terminal singing, not only possesses the ceremony sense of taking the microphone, still does not receive the constraint of position, in addition, the on-vehicle atmosphere lamp bakes the support, is favorable to improving user K and sings and experiences.

Description

Karaoke control method and related equipment
Technical Field
The invention relates to the technical field of karaoke, in particular to a karaoke control method and related equipment.
Background
At present, many automobile users can additionally purchase microphones in order to change automobiles into song practice rooms, or select high-configuration vehicles with vehicle-mounted microphones, although the requirements of the automobile users for changing the automobiles into the song practice rooms can be met, the cost is high when the requirements of the automobile users are met due to the fact that the additional microphones are needed or the high-configuration vehicles are needed, the directivity of the vehicle-mounted microphones is not enough (for example, rear passengers cannot use the microphones and the microphones cannot be used outside the automobiles), and the phonograph type feeling and the atmosphere are lacked, so that the existing mode for constructing the vehicle-mounted song practice rooms is low in cost performance and poor in experience feeling.
Disclosure of Invention
The embodiment of the invention provides a karaoke control method and related equipment, which can reduce the cost of karaoke and improve the karaoke experience of a user.
In a first aspect, an embodiment of the present invention provides a karaoke control method applied to a vehicle-mounted terminal, including:
acquiring first K song audio data sent by a mobile terminal, wherein the first K song audio data are acquired by the mobile terminal and comprise accompaniment audio data and human voice audio data;
performing audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data;
and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
Optionally, the performing an audio processing operation on the first K song audio data to obtain second K song audio data specifically includes:
carrying out voice audio processing operation on the voice audio data to obtain target voice audio data;
and carrying out audio synthesis operation on the target human voice audio data and the accompaniment audio data to acquire the second K song audio data.
Optionally, the method further comprises:
and when the second K song audio data meet the preset conditions, modifying the voice audio data according to the accompaniment audio data so as to update the second K song audio data.
Optionally, the determining that the second K song audio data meets a preset condition includes:
segmenting the second K song audio data at preset intervals to obtain a plurality of second K song audio segments;
determining a first amplitude difference between a target human voice audio and a corresponding accompaniment audio in each second K song audio segment;
determining the weight corresponding to the second K song audio segment according to the occupation ratio of the human voice in the second K song audio segment and a first preset corresponding relation, wherein the first preset corresponding relation is the corresponding relation between the occupation ratio and the weight, and the larger the occupation ratio is, the smaller the weight is;
determining a second amplitude difference of the second K song audio data according to the first amplitude difference of the second K song audio segment and the corresponding weight;
and when the second amplitude difference is larger than an amplitude difference threshold value, determining that the second K song audio data meets a preset condition.
Optionally, the method further comprises:
determining the age of the K singer according to the voice audio data;
determining the response color of the corresponding vehicle-mounted atmosphere lamp according to the age of the K singer and a second preset corresponding relation, wherein the second preset corresponding relation is the corresponding relation between the age and the luminous color of the atmosphere lamp;
and controlling the vehicle-mounted atmosphere lamp to respond to light according to the response color.
Optionally, the method further comprises:
determining the tone type of the K singer and the song type of the K song according to the voice audio data;
determining a recommended song according to the tone type and the song type;
and sending the recommended song to the mobile terminal.
In a second aspect, an embodiment of the present invention provides a karaoke control method, which is applied to a mobile terminal, and includes:
collecting first K song audio data, wherein the first K song audio data comprises accompaniment audio data and human voice audio data;
sending the first K song audio data to a vehicle-mounted terminal so that the vehicle-mounted terminal performs audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
Optionally, the method further comprises:
and when the prompt mode of the mobile terminal is determined to be the ringing mode, automatically switching to a mute mode or a vibration mode.
In a third aspect, an embodiment of the present invention provides a vehicle-mounted terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first K song audio data sent by a mobile terminal, the first K song audio data is acquired by the mobile terminal and comprises accompaniment audio data and human voice audio data;
the processing module is used for carrying out audio processing operation on the first K song audio data to obtain second K song audio data and human voice frequency data;
and the response module is used for playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring first K song audio data which comprises accompaniment audio data and human voice audio data;
the sending module is used for sending the first K song audio data to a vehicle-mounted terminal so that the vehicle-mounted terminal can perform audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
In a fifth aspect, an embodiment of the present invention provides a karaoke system, including a vehicle-mounted terminal and a mobile terminal, wherein:
the vehicular terminal is used for executing the step of the karaoke control method in the first aspect;
the mobile terminal is configured to execute the steps of the karaoke control method according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a karaoke control device, including: a processor and a memory;
the processor is connected with the memory, wherein the memory is used for storing program codes, and the processor is used for calling the program codes to execute the Karaoke control method according to the first aspect and/or the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, execute the method for controlling a karaoke according to the first aspect and/or the second aspect.
In the embodiment of the invention, a mobile terminal is utilized to collect first K song audio data of a K singer, wherein the first K song audio data comprises accompaniment audio data and voice audio data; the mobile terminal sends the first K song audio data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data. By using the method, the mobile terminal is used as a microphone during the K song, so that no additional microphone is needed to be purchased or a highly-configured vehicle is not needed to be selected during the construction of the vehicle-mounted song-practicing room, and the vehicle-mounted K song cost is reduced; and the user is taken mobile terminal singing, not only possesses the ceremony sense of taking the microphone, still does not receive the constraint of position, in addition, the on-vehicle atmosphere lamp bakes the support, is favorable to improving user K and sings and experiences.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a scene schematic diagram of a method for controlling a song K according to an embodiment of the present invention;
fig. 1b is a schematic flowchart of a karaoke control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a process of determining that second karaoke audio data meets a preset condition in the karaoke control method according to the embodiment of the present invention;
fig. 3 is a schematic flow chart of recommending songs in the karaoke control method according to the embodiment of the present invention;
fig. 4 is a schematic flowchart of another karaoke control method provided in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a karaoke system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a karaoke control device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be understood that the terms "first," "second," and the like in the description and claims of this application and in the drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by the person skilled in the art that the described embodiments of the invention can be combined with other embodiments.
In the embodiment of the application, the vehicle-mounted terminal refers to vehicle equipment (such as a car machine and the like) carried by a vehicle and/or communication equipment (such as a vehicle event data recorder and the like) temporarily located on the vehicle; and the mobile terminal refers to intelligent equipment such as a mobile phone and a tablet personal computer. In particular, the vehicle-mounted terminal and the mobile terminal include, but are not limited to, the above listed cases.
In the prior art, the cost of the K song of the vehicle is high, and the user experience is poor, so that the K song control method can effectively reduce the cost of the K song of the vehicle and improve the K song experience of the user.
Referring to fig. 1a and 1b, fig. 1a is a scene schematic diagram of a method for controlling a karaoke song according to an embodiment of the present invention, and fig. 1b is a flowchart schematic diagram of the method for controlling the karaoke song according to the embodiment of the present invention; the Karaoke control method is applied to the vehicle-mounted terminal, can be executed by the vehicle-mounted terminal or a chip in the vehicle-mounted terminal, and comprises the following steps:
101, acquiring first K song audio data sent by a mobile terminal, wherein the first K song audio data are acquired by the mobile terminal and comprise accompaniment audio data and human voice audio data;
specifically, the user can utilize the mobile terminal to perform karaoke in a vehicle. The mobile terminal takes a mobile phone as an example, after the vehicular terminal starts a karaoke function, a user A can select a target song and a karaoke mode (modes such as playing accompaniment only or playing original singing audio only) after opening karaoke software on the mobile phone, and then click the song to play the karaoke. In the K song process, the mobile phone sends the first K song audio data collected by the mobile phone to the vehicle-mounted terminal at regular time, and the first K song audio data comprise the voice audio data of the user A and the corresponding accompaniment audio data. The length of the time interval of the timing acquisition may be set according to actual conditions, for example, set to 1 second, 3 seconds, 10 seconds, and the like, and is not particularly limited.
102, carrying out audio processing operation on the first Karaoke audio data to obtain second Karaoke audio data and human voice frequency data;
specifically, the vehicle-mounted terminal processes the first Karaoke audio data to obtain second Karaoke audio data and voice frequency data, wherein the voice quality of the second Karaoke audio data is superior to that of the first Karaoke audio data, and the voice frequency data refers to the singing frequency of a Karaoke singer and can be obtained by utilizing the first Karaoke audio data.
And 103, playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data.
Specifically, the vehicle-mounted terminal uses a vehicle machine as an example, and after the vehicle machine obtains the second K song audio data, the vehicle machine controls a sound playing device on the vehicle, such as a loudspeaker, to play the second K song audio data, and controls the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data. The number of the vehicle-mounted atmosphere lamps can be more than 1, and the vehicle-mounted atmosphere lamps can be surface lamps, line lamps, lighting lamps and the like.
The vehicle-mounted atmosphere lamp can be controlled to emit light directly according to the voice frequency data so as to respond to the singing voice of the K singer and improve the K singing experience; different human voice frequencies correspond to different light emitting brightness. Or determining the type of a target song singed by the K singer according to the voice frequency data to determine the response color of the vehicle-mounted atmosphere lamp; for example, when the song type is determined to be a music type with a gentle rhythm according to the human voice frequency data, the vehicle-mounted ambience lamp presents a blue main ambience; and when the song type is determined to be a music type with violent rhythm according to the voice frequency data, the vehicle-mounted atmosphere lamp presents red main atmosphere. Or, the light response of the K singing light can be carried out according to the voice frequency and the response color at the same time; finally, the mixed color output can be performed corresponding to red, green and blue according to the distribution characteristics of high, medium and low frequencies in the human voice frequency data.
By using the method, the mobile terminal is used as a microphone during the K song, so that no additional microphone is needed to be purchased or a highly-configured vehicle is not needed to be selected during the construction of the vehicle-mounted song-practicing room, and the vehicle-mounted K song cost is reduced; and the user is taken mobile terminal singing, not only possesses the ceremony sense of taking the microphone, still does not receive the constraint of position, in addition, the on-vehicle atmosphere lamp bakes the support, is favorable to improving user experience.
Further, determining the number of mobile terminals currently connected with the vehicle-mounted terminal; if the number is 1, for example, the first mobile terminal controls the vehicle-mounted ambience lamp to emit light according to the voice frequency data of the second karaoke audio data corresponding to the first mobile terminal. When the number of the connected mobile terminals is more than two, the vehicle-mounted atmosphere lamps are controlled to emit light respectively based on the second K song audio data corresponding to the mobile terminals, and if the mobile terminals are respectively the first mobile terminal, the second mobile terminal and the third mobile terminal and the number of the vehicle-mounted atmosphere lamps is 12, the 12 vehicle-mounted atmosphere lamps are divided into 3 groups, namely, a group A, a group B and a group C, and each group of the vehicle-mounted atmosphere lamps respectively serves one mobile terminal.
In the method, the display effect of the vehicle-mounted atmosphere lamps is determined according to the number of the connections of the mobile terminals, each K singer can be ensured to experience the K singing atmosphere brought by the atmosphere lamps, and the application range of the atmosphere lamps is favorably widened.
In one possible embodiment, before controlling the on-vehicle ambience light to perform the karaoke response, the method further comprises:
the vehicle-mounted terminal receives the response color of the vehicle-mounted atmosphere lamp sent by the mobile terminal, and controls the vehicle-mounted atmosphere lamp to perform karaoke response according to the received response color.
Specifically, the K singer may select a response color of the vehicle-mounted ambience light on the mobile terminal and send the selected response color to the vehicle-mounted terminal, or may send the response color selected by the user together when sending the first K song audio data. In this embodiment, can control the response light colour of on-vehicle atmosphere lamp according to user's response demand, further promote user's K song experience.
In a possible embodiment, in step 101, when the first K song audio data is obtained, and when the vehicle sound is noisy, the mobile terminal acquires the human voice audio data including the sounds of the plurality of users, and at this time, the vehicle-mounted terminal needs to process the human voice audio data including the sounds of the plurality of users. Specifically, the voice audio data sent by the mobile terminal is separated by using a blind source separation technology to obtain a plurality of voice audios respectively corresponding to a plurality of users. Then, the voice audio corresponding to the K singer is determined according to the amplitude of the voice audio, and the N personal voice audio with the amplitude larger than the amplitude threshold value is determined as the voice audio corresponding to the K singer, wherein when N is 1, the singing is carried out, and when N is more than 2, the singing is carried out in a song. Wherein, the specific numerical value of amplitude threshold value can set up according to actual need, because the distance of noise apart from the adapter equipment is great, results in the amplitude of noise less than, consequently, utilizes the amplitude size of sound can separate out K singer's voice audio frequency.
In a possible embodiment, in step 102, the audio processing operation is performed on the first karaoke audio data to obtain a second karaoke audio data, which specifically includes:
carrying out voice audio processing operation on the voice audio data to acquire target voice audio data; and carrying out audio synthesis operation on the target human voice audio data and the accompaniment audio data to obtain second K song audio data.
Specifically, the human voice audio processing operation includes, but is not limited to, at least one of noise reduction processing, echo cancellation processing, and audio amplification processing, so that the sound quality of the target human voice audio data obtained after processing is better than that of the human voice audio data before processing. When the voice audio data comprises more than 2 voices, voice audio processing is respectively carried out on the voice audio corresponding to each voice so as to obtain target voice audio data. And then carrying out audio synthesis operation on the accompaniment audio data and the target human voice audio data to obtain second K song audio data.
In one possible embodiment, the method further comprises:
and when the second K song audio data meet the preset conditions, modifying the human voice audio data according to the accompaniment audio data so as to update the second K song audio data.
Specifically, the preset conditions are used for determining the conditions of the K singer such as pronouncing, breaking, running and the like, when the K singer has the conditions, the vehicle-mounted atmosphere lamp cannot perform light response with the light effect expected by the K singer, and the K singing experience is reduced. Therefore, when the fact that the second K song audio data meet the preset conditions is determined, the vehicle-mounted terminal can modify the human voice audio data according to the accompaniment audio data to update the second K song audio data, play the updated second K song audio data, and control the vehicle-mounted atmosphere lamp to perform K song lamp light response according to the modified human voice audio data, so that the K song confidence of a user can be improved, and the K song response can be performed by ideal light of the user.
Further, the accompaniment audio and the original vocal audio of the target song have strong consistency, so that the human voice audio data can be corrected by utilizing the frequency spectrum rule of the accompaniment audio, specifically, when abnormal audio frequency points (break, pitch, etc.) existing in the human voice audio data are determined according to the frequency spectrum rule of the accompaniment and the frequency spectrum rule of the vocal audio data, audio point correction is carried out according to the frequency spectrum rule of the accompaniment, for example, the amplitude of the bass frequency points is reduced.
In a possible embodiment, referring to fig. 2, fig. 2 is a schematic flow chart illustrating a process of determining that second karaoke audio data meets a preset condition in the karaoke control method provided by the embodiment of the present invention, where determining that the second karaoke audio data meets the preset condition includes:
step 201, segmenting second K song audio data at preset intervals to obtain a plurality of second K song audio segments;
specifically, the method for determining that the second K song audio data meets the preset condition in this embodiment is described by taking the example that the second K song audio data contains the voice of one K singer, and when the second K song audio data contains the voice of more than two K singers, the processing method is the same as the processing method of one K singer.
First, the specific length of the preset interval may be periodic or aperiodic, and may be specifically set according to the actual situation, for example, the preset interval is set to 10ms, 30ms, 50ms, or 1s, etc. The second K song audio data are segmented according to preset intervals to obtain a plurality of second K song audio segments, and if the duration of the second K song audio data is 3min and the preset intervals are 1s, 180 second K song audio segments can be obtained.
Step 202, determining a first amplitude difference between the target human voice audio and the corresponding accompaniment audio in each second K song audio segment;
specifically, the unit of the intensity of the sound is "decibel", and the larger the value, the larger the sound, and the larger the amplitude. For each second K song audio pieces, a first amplitude difference between the target human voice audio and the corresponding accompaniment audio in the second K song audio pieces is determined, and a plurality of first amplitude differences, for example, 180 first amplitude differences, may be obtained.
Step 203, determining the weight corresponding to the second K song audio segment according to the occupation ratio of the voice in the second K song audio segment and a first preset corresponding relationship, wherein the first preset corresponding relationship is the corresponding relationship between the occupation ratio and the weight, and the larger the occupation ratio is, the smaller the weight is;
specifically, according to the proportion of the human voice in the corresponding second K song audio segments in each second K song audio segment, the weight corresponding to the second K song audio segments is determined according to the first preset corresponding relation. Wherein. The first preset corresponding relation may be set according to an actual situation, for example, table 1. The ratio can be calculated according to the total duration of the voice of the person in the second K song voice frequency section and the total duration of the second K song voice frequency section.
TABLE 1
Ratio of occupation of Weight of
0-10% 0.5
10%-50% 0.3
50%-90% 0.15
90%-100% 0.05
Step 204, determining a second amplitude difference of the second K song audio data according to the first amplitude difference of the second K song audio segment and the corresponding weight;
specifically, a second amplitude difference of the second ktog audio data may be calculated according to each first amplitude difference and the corresponding weight, for example, assuming that there are first amplitude differences A, B and C and the corresponding weights are 0.05, 0.3 and 0.5, respectively, the second amplitude difference is 0.05A +0.3B + 0.5C.
In step 205, when the second amplitude difference is greater than the amplitude difference threshold, it is determined that the second kth-song audio data meets the preset condition.
Specifically, the specific value of the amplitude difference threshold may be set according to an actual situation, and when the second amplitude difference obtained in step 204 is greater than the amplitude difference threshold, it may be determined that the corresponding second K song audio data meets the preset condition, that is, the K singer has conditions of missing sound, breaking sound, running tone, and the like.
It is particularly noted that the step numbers in fig. 2 are only used to distinguish different steps, and the execution sequence between the steps is not limited. For example, the first amplitude difference and the weight may be determined simultaneously, or the weight may be determined first and then the first amplitude difference, or the first amplitude difference may be determined first and then the weight may be determined.
In one possible embodiment, the karaoke control method further comprises the following steps:
determining the age of the K singer according to the voice audio data; determining the corresponding response color of the atmosphere lamp according to the age of the K singer and a second preset corresponding relationship, wherein the second preset corresponding relationship is the corresponding relationship between the age and the lighting color of the atmosphere lamp; and controlling the vehicle-mounted atmosphere lamp to respond according to the response color.
Specifically, based on the voice audio data collected by the mobile terminal, an age prediction process may be performed, for example, using an age identification model to determine the age of the K singers, taking the case where the voice audio data includes 1K singer as an example. Then, the response color of the corresponding vehicle-mounted atmosphere lamp can be determined according to the predicted age and the second preset corresponding relation. The second preset corresponding relationship may be set according to an actual situation, for example, as shown in table 2. And finally, controlling the vehicle-mounted atmosphere lamp to respond to the K song according to the determined response color. When the voice audio data includes more than 2K singers, the response color is determined according to the number of K singers corresponding to the same response color, for example, if there are 4 chorus players, where 2 chorus players correspond to the response color green, 1 chorus player corresponds to the color blue, and 1 chorus player corresponds to the color purple, green is used as the response color. When more than 2 singers correspond to different response colors, the response color corresponding to the singer with the smallest age or the singer with the largest age can be used as the final response color. In the case of 2 or more K singers, the method of determining the response color may be other methods, and is not particularly limited.
TABLE 2
Age range/year Response color
0-10 Pink colour
10-25 Green colour
25-45 Blue color
45-60 Purple color
More than 60 Yellow colour
In a possible embodiment, referring to fig. 1a and fig. 3, fig. 3 is a schematic flow chart of recommending songs in a method for controlling K songs provided in an embodiment of the present invention, where the method for controlling K songs further includes:
step 301, determining the tone type of a K singer and the song type of a K song according to the voice audio data;
specifically, the voice type of the K singer can be identified by using voice audio data and a pre-trained tone identification model; in addition, the song type of the K song is predicted by utilizing the human voice audio data and the pre-trained song type recognition model, and the song type is determined as the favorite song type of the K singer. Wherein, the tone color types comprise six categories of male voice hoarseness, male voice brightness, female voice hoarseness, female voice brightness, sweet and soul, exemplarily; and the types of songs include classical music, pop music, blues, rock, jazz, orchestra, and modern music.
In particular, the target vocal audio data may also be employed to determine the timbre type of the K singer and the song type of the K song.
Step 302, determining a recommended song according to the tone type and the song type;
specifically, the recommended song of the K singer is determined by combining the tone type and the song type of the K singer song, so that the song suitable for the K singer to sing can be more accurately positioned, and the K singing experience is improved. The recommended song determined at this time should be understood as a song that suits the tone of the K singer and is the favorite song type of the K singer.
Step 303, sending the recommended song to the mobile terminal.
Specifically, the vehicle-mounted terminal sends the recommended songs to the mobile terminal, so that a K singer can select and determine target songs of the K singing from the recommended songs, the operation required for the K singer to search for the singing songs is reduced, and the K singing experience of a user is improved.
In one possible embodiment, the karaoke control method further comprises the following steps:
and when the mobile terminal determines that the current prompt mode is the ringing mode, automatically switching the prompt mode to a mute mode or a vibration mode.
Specifically, when the mobile terminal detects that the current prompt mode is the ringing mode, in order to avoid or reduce interference of the information prompt tone to the sound collection of the K singer, the mobile terminal automatically switches the prompt mode to the mute mode or the vibration mode, and the K singing experience is optimized.
It is worth pointing out that the vehicle-mounted ambience lamp referred to in the above method is an ambience lamp installed inside a vehicle.
In a possible embodiment, it is determined that the vehicle-mounted terminal is performing karaoke control, and when the vehicle-mounted terminal detects that someone or a vehicle (such as a motor vehicle or a non-motor vehicle) enters a preset range around the vehicle where the vehicle-mounted terminal is located (the preset range can be adjusted according to actual conditions such as a circular range with the vehicle as a circle center and a radius of 2 meters), the vehicle-mounted terminal suspends karaoke control, namely, stops playing second karaoke audio data and light response in the suspended vehicle, and plays a pre-stored danger prompt tone, so as to perform danger prompt on a driver of the vehicle, and ensure driving safety. When no person or vehicle is detected to enter the preset range, the vehicle-mounted terminal continues to perform Karaoke control, namely, continues to play the second Karaoke audio data and continues to perform lamplight response in the vehicle.
Further, the method for determining the danger level of the person or the vehicle entering the preset range comprises the following steps: the action speed v and the action acceleration a of the person or the vehicle are determined, and the risk score W is determined based on the action speed and the action acceleration. Where W ═ Av + Ba, A, B are weights corresponding to the action speed and the action acceleration, respectively, the sum of a and B is 1, and the specific value of A, B may be set according to the actual situation, for example, a is 0.4 and B is 0.6; alternatively, A, B were all 0.5. And then, dividing the risk score into different risk levels according to the risk score, a first risk score threshold value and a second risk score threshold value, wherein the first risk score threshold value is smaller than the second risk score threshold value, and specific numerical values of the first risk score threshold value and the second risk score threshold value can be set according to actual conditions. The risk score is smaller than the first risk score threshold value and is a third risk level; the risk score is greater than or equal to the first risk score threshold, but is smaller than the second risk score threshold to form a second risk level; the danger score is greater than or equal to the second danger score threshold and is the first danger level.
Optionally, the vehicle-mounted terminal may pause the second K song audio data and pause the light response when determining that the risk level of the person or the vehicle entering the preset range is the first risk level in the K song process, and play the danger prompt tone, and simultaneously control a vibrator (such as a motor) in the mobile terminal that is using the K song to generate vibration, so as to remind the user that is using the mobile terminal to perform the K song of paying attention to the dangerous situation. And when the danger level of the person or the vehicle entering the preset range is determined to be a second danger level, pausing the second K song audio data and pausing the light response. And when the danger level of the person or the vehicle entering the preset range is determined to be a third danger level, the second Karaoke audio data is not controlled to be paused, and the light response is not controlled to be paused.
Based on the foregoing embodiment of the method for controlling karaoke songs applied to a vehicle-mounted terminal, an embodiment of the present invention further provides a method for controlling karaoke songs, which is applied to a mobile terminal and can be executed by the mobile terminal itself or a chip in the mobile terminal, and referring to fig. 4, fig. 4 is a schematic flow diagram of another method for controlling karaoke songs provided by an embodiment of the present invention; the method comprises the following steps:
step 401, collecting first K song audio data, wherein the first K song audio data comprises accompaniment audio data and human voice audio data;
step 402, sending first Karaoke audio data to a vehicle-mounted terminal so that the vehicle-mounted terminal performs audio processing operation on the first Karaoke audio data to obtain second Karaoke audio data and human voice frequency data; and playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data.
In one possible embodiment, the karaoke control method further comprises the following steps:
and when the prompt mode of the mobile terminal is determined to be the ringing mode, automatically switching to the silent mode or the vibration mode.
The specific description and the beneficial effect description of the karaoke control method according to the embodiment of the present invention may refer to the description of the karaoke control method applied to the vehicle-mounted terminal, and are not repeated.
Based on the foregoing embodiment of the karaoke control method applied to a vehicle-mounted terminal, an embodiment of the present invention further provides a vehicle-mounted terminal, and referring to fig. 5, fig. 5 is a schematic structural diagram of a vehicle-mounted terminal provided in an embodiment of the present invention; the vehicle-mounted terminal includes:
the acquiring module 501 is configured to acquire first K song audio data sent by a mobile terminal, where the first K song audio data is acquired by the mobile terminal and includes accompaniment audio data and human voice audio data;
a processing module 502, configured to perform audio processing operation on the first karaoke audio data to obtain second karaoke audio data and human voice frequency data;
and the response module 503 is configured to play the second karaoke audio data and control the vehicle-mounted ambience lamp to perform light response according to the human voice frequency data.
In a possible embodiment, the processing module 502 is specifically configured to:
carrying out voice audio processing operation on the voice audio data to acquire target voice audio data;
and carrying out audio synthesis operation on the target human voice audio data and the accompaniment audio data to obtain second K song audio data.
In one possible embodiment, the processing module 502 is further configured to:
and when the second K song audio data meet the preset conditions, modifying the human voice audio data according to the accompaniment audio data so as to update the second K song audio data.
In one possible embodiment, the determining that the second karaoke audio data meets the preset condition comprises:
segmenting the second K song audio data at preset intervals to obtain a plurality of second K song audio segments;
determining a first amplitude difference between the target human voice audio and the corresponding accompaniment audio in each second K song audio segment;
determining the weight corresponding to the second K song audio segment according to the occupation ratio of the human voice in the second K song audio segment and a first preset corresponding relation, wherein the first preset corresponding relation is the corresponding relation between the occupation ratio and the weight, and the larger the occupation ratio is, the smaller the weight is;
determining a second amplitude difference of the second K song audio data according to the first amplitude difference of the second K song audio segment and the corresponding weight;
and when the second amplitude difference is larger than the amplitude difference threshold value, determining that the second K song audio data meets the preset condition.
In one possible embodiment, the vehicle-mounted terminal further includes:
the color determining module is used for determining the age of the K singer according to the voice audio data; determining the response color of the corresponding vehicle-mounted atmosphere lamp according to the age of the K singer and a second preset corresponding relation, wherein the second preset corresponding relation is the corresponding relation between the age and the lighting color of the atmosphere lamp;
and the response module 503 is further configured to control the vehicle-mounted atmosphere lamp to perform light response according to the response color.
In one possible embodiment, the vehicle-mounted terminal further includes:
the recommendation module is used for determining the tone type of the K singer and the song type of the K song according to the voice audio data; determining a recommended song according to the tone type and the song type; and sending the recommended songs to the mobile terminal.
In a possible embodiment, the response module 503 is further configured to:
the method comprises the steps of determining that the Karaoke control is being performed, and when detecting that a person or a vehicle (a motor vehicle or a non-motor vehicle and the like) enters a preset range around the vehicle (the preset range can be adjusted according to actual conditions such as a circular range with the radius of 2 meters and the like by taking the vehicle as a circle center), pausing the Karaoke control, namely stopping playing second Karaoke audio data and light response in a paused vehicle, and playing pre-stored danger prompt tones to perform danger prompt on a driver of the vehicle, so that driving safety is guaranteed. And when no person or vehicle enters the preset range, continuing to perform Karaoke control, namely continuously playing the second Karaoke audio data and continuously performing lamplight response in the vehicle.
It should be noted that, for a specific function implementation manner of the in-vehicle terminal, reference may be made to the above description of the karaoke control method applied to the in-vehicle terminal, and details are not repeated here. Each unit or module in the vehicle-mounted terminal may be respectively or completely combined into one or several other units or modules to form the unit or module, or some unit(s) or module(s) thereof may be further split into a plurality of functionally smaller units or modules to form the unit or module(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present invention. The units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may also be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Based on the foregoing embodiment of the karaoke control method applied to a mobile terminal, an embodiment of the present invention further provides a mobile terminal, and referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present invention; the mobile terminal includes:
the system comprises an acquisition module 601, a storage module and a processing module, wherein the acquisition module 601 is used for acquiring first K song audio data which comprise accompaniment audio data and human voice audio data;
a sending module 602, configured to send the first K song audio data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs audio processing on the first K song audio data to obtain second K song audio data and voice frequency data; and playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data.
In one possible embodiment, the mobile terminal further comprises:
and the switching module is used for automatically switching to a mute mode or a vibration mode when the prompt mode of the mobile terminal is determined to be the ringing mode.
It should be noted that, for a specific function implementation manner of the mobile terminal, reference may be made to the above description of the karaoke control method applied to the mobile terminal, and details are not described herein again. Each unit or module in the mobile terminal may be respectively or completely merged into one or several other units or modules to form the structure, or some unit(s) or module(s) therein may be further split into multiple functionally smaller units or modules to form the structure, which may implement the same operation without affecting the implementation of the technical effect of the embodiments of the present invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may also be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Based on the foregoing embodiment of the method for controlling karaoke applied to a mobile terminal, referring to fig. 7, fig. 7 is a schematic structural diagram of a karaoke system provided in an embodiment of the present invention, and an embodiment of the present invention further provides a karaoke system including a mobile terminal 701 and a vehicle-mounted terminal 702, wherein:
the mobile terminal 701 is used for executing the steps of the karaoke control method applied to the mobile terminal;
the in-vehicle terminal 702 is configured to execute the steps of the karaoke control method applied to the in-vehicle terminal.
For the specific description and the beneficial effect description of the karaoke system according to the embodiment of the present invention, reference may be made to the description of the karaoke control method, which is not described in detail.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a karaoke control device.
Please refer to fig. 8, which is a schematic structural diagram of a karaoke control device according to an embodiment of the present invention. As shown in fig. 8, the apparatus for controlling K song may be applied to the mobile terminal or the in-vehicle terminal, and the apparatus for controlling K song 800 may include: the processor 801, the network interface 804 and the memory 805, the apparatus 800 for controlling karaoke may further include: a user interface 803, and at least one communication bus 802. Wherein a communication bus 802 is used to enable connective communication between these components. The user interface 803 may include a Display (Display) and a Keyboard (Keyboard), and the optional user interface 803 may also include a standard wired interface and a standard wireless interface. The network interface 804 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). Memory 805 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 805 may optionally be at least one memory device located remotely from the processor 801 as previously described. As shown in fig. 8, the memory 805, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the karaoke control apparatus 800 shown in fig. 8, the network interface 804 may provide a network communication function; and the user interface 803 is primarily an interface for providing input to a user; and the processor 801 may be configured to call the device control application stored in the memory 805 to implement the steps of the karaoke control method applied to the in-vehicle terminal or the karaoke control method applied to the mobile terminal as described above.
It should be understood that the karaoke control apparatus 800 described in the embodiments of the present invention may perform the karaoke control method described above, and may also perform the description of the mobile terminal or the vehicle-mounted terminal described above, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where the computer program executed by the aforementioned mobile terminal or vehicle-mounted terminal is stored in the computer storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the foregoing karaoke control method can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (13)

1. The K song control method is applied to a vehicle-mounted terminal and comprises the following steps:
acquiring first K song audio data sent by a mobile terminal, wherein the first K song audio data is acquired by the mobile terminal and comprises accompaniment audio data and voice audio data;
performing audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data;
and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
2. The method according to claim 1, wherein the audio processing operation on the first karaoke audio data to obtain second karaoke audio data specifically comprises:
carrying out voice audio processing operation on the voice audio data to obtain target voice audio data;
and carrying out audio synthesis operation on the target human voice audio data and the accompaniment audio data to acquire the second K song audio data.
3. The method of claim 2, further comprising:
and when the second K song audio data meet the preset conditions, modifying the human voice audio data according to the accompaniment audio data so as to update the second K song audio data.
4. The method according to claim 3, wherein the determining that the second K song audio data satisfies a preset condition comprises:
segmenting the second K song audio data at preset intervals to obtain a plurality of second K song audio segments;
determining a first amplitude difference between a target human voice audio and a corresponding accompaniment audio in each second K song audio segment;
determining the weight corresponding to the second K song audio segment according to the occupation ratio of the human voice in the second K song audio segment and a first preset corresponding relation, wherein the first preset corresponding relation is the corresponding relation between the occupation ratio and the weight, and the larger the occupation ratio is, the smaller the weight is;
determining a second amplitude difference of the second K song audio data according to the first amplitude difference of the second K song audio segment and the corresponding weight;
and when the second amplitude difference is larger than an amplitude difference threshold value, determining that the second K song audio data meets a preset condition.
5. The method according to any one of claims 1 to 4, further comprising:
determining the age of the K singer according to the voice audio data;
determining the response color of the corresponding vehicle-mounted atmosphere lamp according to the age of the K singer and a second preset corresponding relation, wherein the second preset corresponding relation is the corresponding relation between the age and the luminous color of the atmosphere lamp;
and controlling the vehicle-mounted atmosphere lamp to perform light response according to the response color.
6. The method according to any one of claims 1 to 4, further comprising:
determining the tone type of the K singer and the song type of the K song according to the voice audio data;
determining a recommended song according to the tone type and the song type;
and sending the recommended songs to the mobile terminal.
7. A karaoke control method is applied to a mobile terminal and comprises the following steps:
collecting first K song audio data, wherein the first K song audio data comprises accompaniment audio data and human voice audio data;
sending the first K song audio data to a vehicle-mounted terminal so that the vehicle-mounted terminal performs audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
8. The method of claim 7, further comprising:
and when the prompt mode of the mobile terminal is determined to be the ringing mode, automatically switching to a mute mode or a vibration mode.
9. A vehicle-mounted terminal characterized by comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first K song audio data sent by a mobile terminal, the first K song audio data is acquired by the mobile terminal and comprises accompaniment audio data and human voice audio data;
the processing module is used for carrying out audio processing operation on the first Karaoke audio data to obtain second Karaoke audio data and human voice frequency data;
and the response module is used for playing the second K song audio data and controlling the vehicle-mounted atmosphere lamp to perform light response according to the human voice frequency data.
10. A mobile terminal, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring first K song audio data which comprises accompaniment audio data and human voice audio data;
the sending module is used for sending the first K song audio data to a vehicle-mounted terminal so that the vehicle-mounted terminal can perform audio processing operation on the first K song audio data to acquire second K song audio data and human voice frequency data; and playing the second K song audio data, and controlling the vehicle-mounted atmosphere lamp to perform light response according to the voice frequency data.
11. The utility model provides a K sings system which characterized in that, includes vehicle mounted terminal and mobile terminal, wherein:
the vehicular terminal is used for executing the steps of the Karaoke control method of any one of claims 1-6;
the mobile terminal is used for executing the steps of the karaoke control method as claimed in any one of claims 7 to 8.
12. A karaoke control device, comprising: a processor and a memory;
the processor is connected with the memory, wherein the memory is used for storing program codes, and the processor is used for calling the program codes to execute the Karaoke control method according to any one of claims 1-8.
13. A computer storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the method of karaoke control according to any one of claims 1-8.
CN202210316199.3A 2022-03-23 2022-03-23 Karaoke control method and related equipment Pending CN114765914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210316199.3A CN114765914A (en) 2022-03-23 2022-03-23 Karaoke control method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210316199.3A CN114765914A (en) 2022-03-23 2022-03-23 Karaoke control method and related equipment

Publications (1)

Publication Number Publication Date
CN114765914A true CN114765914A (en) 2022-07-19

Family

ID=82364956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210316199.3A Pending CN114765914A (en) 2022-03-23 2022-03-23 Karaoke control method and related equipment

Country Status (1)

Country Link
CN (1) CN114765914A (en)

Similar Documents

Publication Publication Date Title
CN111332197B (en) Light control method and device of vehicle-mounted entertainment system and vehicle-mounted entertainment system
US7881934B2 (en) Method and system for adjusting the voice prompt of an interactive system based upon the user's state
CN105933822B (en) Vehicle audio control system and method
EP3955247A1 (en) Modifying operations based on acoustic ambience classification
CN110475170A (en) Control method, device, mobile terminal and the storage medium of earphone broadcast state
CN105850154A (en) Adapting audio based upon detected environmental acoustics
CN110027469A (en) A kind of method for controlling lamp and system, vehicle based on vehicle-mounted music
CN100512030C (en) Telephone and method for converting sound to image and displaying on screen thereof
US8706171B2 (en) Hands-free terminals and hands-free system for cars
TW200946193A (en) Visual feedback in electronic entertainment system
CN112437383B (en) Multi-sound-source adjusting method and device, vehicle and storage medium
CN112172978A (en) Method, device and equipment for controlling balance car light and storage medium
CN111354359A (en) Vehicle voice control method, device, equipment, system and medium
CN114828359A (en) Music-based atmosphere lamp display method, device, equipment and storage medium
CN114765914A (en) Karaoke control method and related equipment
CN111427535A (en) Audio playing method, device, terminal and computer readable storage medium
CN114900929A (en) Atmosphere lamp display control method and related product
CN115571047A (en) Vehicle-mounted atmosphere lamp rhythm control method, device, equipment, chip and system
CN114734942A (en) Method and device for adjusting sound effect of vehicle-mounted sound equipment
JP2023539121A (en) Audio content identification
JPH1021049A (en) Voice synthesizer
CN116552377A (en) Method, device, equipment and storage medium for controlling lamplight of intelligent cabin
CN219728100U (en) Device for controlling vehicle to play music and vehicle
CN115212589B (en) Equipment control method, automobile model and storage medium
CN113126949A (en) Vehicle-mounted machine volume adjusting method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication