Vehicle-mounted multi-person singing control method and device, storage medium and electronic equipment
By performing audio separation and melody recognition in the vehicle-mounted system, distinguishing single and multi-person singing modes, and selecting appropriate accompaniment audio output, the problem of noisy singing experience in the existing technology is solved and the singing experience of the occupants is improved.
Patent Information
- Application Number
- CN202310198218.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
Existing in-vehicle singing technology cannot distinguish between singing voices and talking voices, resulting in a noisy singing experience in the car and affecting the passenger experience.
By obtaining the audio of multiple people in the car for audio separation, it can identify a single person's voice and determine whether it carries a melody, enter a single person singing mode or a multi-person singing mode, and select the appropriate accompaniment audio and humming voice fusion output.
It effectively improves the singing experience of the occupants. By identifying and separating multi-person audio and selecting appropriate melody and accompaniment, the sound quality and experience of in-car singing are improved.
Smart Images

Figure CN118553218A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of in-vehicle singing, and in particular to a method and device for controlling in-vehicle multi-person singing, a storage medium and an electronic device. Background Art
[0002] With the current way of singing in the car, all the sounds received by the radio device are output as a mixture of human voice and accompaniment, and it is impossible to distinguish between singing voice and conversation voice. When there is only one person singing in the car, the conversation noise of others will also be received and output through the car audio. At this time, the singing audio in the car will be noisy, affecting the singing experience of the passengers. Summary of the invention
[0003] The purpose of this application is to overcome the problem in the prior art that it is impossible to distinguish between singing and talking, resulting in a poor in-vehicle singing experience, and to provide a vehicle-mounted multi-person singing control method and device, a storage medium and an electronic device that can identify single-person singing and multi-person singing.
[0004] The technical solution of the present application provides a vehicle-mounted multi-person singing control method, comprising:
[0005] Acquire multi-person audio in the vehicle, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio;
[0006] Performing melody recognition on each channel of the single-person voice to determine whether the single-person voice carries a melody, and treating the single-person voice carrying a melody as a single-person humming voice;
[0007] If the number of the single-person humming voice is one, the single-person singing mode is entered, and the single-person humming voice is output;
[0008] If the number of single-person humming voices is greater than or equal to two, the multi-person singing mode is entered and all the single-person humming voices are output.
[0009] Furthermore, the multi-person singing mode specifically includes:
[0010] Selecting one of the single-person humming voices as the target humming voice according to a preset rule;
[0011] Determining a target accompaniment audio according to the target humming voice;
[0012] The target accompaniment audio and all the single-person humming voices are merged to control the vehicle audio output.
[0013] Further, the selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0014] The pitches of the single-person humming voices are compared, and the single-person humming voice with the highest pitch is selected as the target humming voice.
[0015] Further, the selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0016] The volumes of the single-person humming voices are compared, and the single-person humming voice with the largest volume is selected as the target humming voice.
[0017] Furthermore, each channel of the single-person humming voice corresponds to one seat;
[0018] The step of selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0019] According to the preset seat priorities, the single person humming voice corresponding to the highest seat priority is selected as the target humming voice.
[0020] Furthermore, the priority of the preset seats from high to low is: front passenger seat, driver's seat, rear right seat, and rear left seat.
[0021] Furthermore, the single singing mode specifically includes:
[0022] Determining target accompaniment audio according to the single-person humming voice;
[0023] The target accompaniment audio and the single person humming voice are merged to control the vehicle audio output.
[0024] The technical solution of the present application also provides a vehicle-mounted multi-person singing control device, comprising
[0025] An audio acquisition unit, used to acquire multi-person audio in the vehicle, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio;
[0026] A melody recognition unit, used to perform melody recognition on each channel of the single-person voice, determine whether the single-person voice carries a melody, and regard the single-person voice carrying a melody as a single-person humming voice;
[0027] The mode determination unit is used to enter the single-person singing mode and output the single-person humming voice if the number of single-person humming voices is one; if the number of single-person humming voices is greater than or equal to two, enter the multi-person singing mode and output all the single-person humming voices.
[0028] The technical solution of the present application also provides a storage medium, which stores computer instructions. When a computer executes the computer instructions, it is used to execute the vehicle-mounted multi-person singing control method as described above.
[0029] The technical solution of the present application also provides an electronic device, comprising at least one processor; and
[0030] a memory communicatively connected to the at least one processor; wherein,
[0031] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the in-vehicle multi-person singing control method as described above.
[0032] After adopting the above technical solution, the following beneficial effects are achieved:
[0033] This application separates multi-person audio into multiple single-person voices, and performs melody recognition on each single-person voice, and regards the single-person voice with melody as a single-person humming voice. According to the number of single-person humming voices, the single-person singing mode or the multi-person singing mode is determined. It can recognize the humming voice in the multi-person audio and select different singing modes, which can effectively improve the singing experience of the passengers. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The disclosure of this application will become easier to understand with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of this application. In the drawings:
[0035] Figure 1 This is a flow chart of a method for controlling multi-person singing in a vehicle in one embodiment of the present application;
[0036] Figure 2 is a flow chart of a method for controlling multi-person singing in a vehicle in another embodiment of the present application;
[0037] Figure 3 It is a structural schematic diagram of a vehicle-mounted multi-person singing control device in one embodiment of the present application;
[0038] Figure 4 It is a schematic diagram of the hardware structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION
[0039] The specific implementation of the present application is further described below with reference to the accompanying drawings.
[0040] It is easy to understand that according to the technical solution of the present application, without changing the essential spirit of the present application, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present application, and should not be regarded as the entirety of the present application or as a limitation or restriction on the technical solution of the application.
[0041] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to their different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0042] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above-mentioned in this application can be understood according to the specific circumstances.
[0043] The vehicle-mounted multi-person singing control method in the embodiment of the present application is as follows: Figure 1 Shown, including
[0044] Step S101: Acquire multi-person audio in the car, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio.
[0045] When the singing function in the car is turned on, the input audio detected in the car is detected, and when it is detected that the input audio includes at least two voices, the input audio is determined to be multi-person audio. The input audio can be input by a car microphone installed inside the car cabin, or by a microphone connected outdoors.
[0046] After obtaining the multi-person audio in the car, the multi-person audio is separated into multiple single-person voices, where each single-person voice is the voice of one person with the same timbre. Audio separation can first filter out the background noise in the multi-person audio, and then use the timbre recognition in the existing technology to separate the human voices with the same timbre to generate multiple single-person voices.
[0047] Step S102: Perform melody recognition on each single-person voice, determine whether the single-person voice carries melody, and treat the single-person voice carrying melody as the single-person humming voice.
[0048] Through melody recognition, it is determined whether each single-person voice carries a melody, and the single-person voice carrying a melody is regarded as a single-person humming voice, and the single-person voice without a melody is removed. The number of single-person humming voices can be multiple single-person voices. Regarding melody recognition, a melody recognition method in the prior art can be adopted, which will not be repeated here.
[0049] Step S103: if the number of single-person humming voices is one, then enter the single-person singing mode and output one channel of single-person humming voices;
[0050] If the number of single-person humming voices is greater than or equal to two, the multi-person singing mode is entered and all single-person humming voices are output.
[0051] This step determines the number of single-person humming voices. If the number of humming voices is one, it is determined that only one person is singing, and the single-person singing mode is entered. If the number of humming voices is greater than or equal to two, it is determined that multiple people are singing, and the multi-person singing mode is entered. In addition, if the number of humming voices is zero, the in-car singing function is turned off, or a reminder is sent to the user through voice or screen pop-up window to ask whether to turn off the in-car singing function, until a shutdown instruction issued by the user is received, the in-car singing function is turned off.
[0052] When the in-car singing function is turned on, the embodiment of the present application separates and identifies the melody of multiple audios in the car, and can determine whether it is a single person singing or a group of people singing, so as to enter the corresponding singing mode, thereby improving the singing experience of the passengers in the car.
[0053] In one embodiment, the multi-person singing mode specifically includes:
[0054] According to a preset rule, one of the single-person humming voices is selected as the target humming voice;
[0055] Determine the target accompaniment audio according to the target humming voice;
[0056] The target accompaniment audio and all single-person humming voices are combined to control the car audio output.
[0057] First, according to the preset rules, one of the single-person humming voices is selected as the target humming voice for determining the target accompaniment audio. The target humming voice can be blurred and polished first, and then the target melody features in the target humming voice are extracted, and the melody features are matched in the preset music library to match the matching accompaniment audio with a matching degree greater than or equal to the preset matching degree threshold. Among them, the preset music library is provided by the in-vehicle music application to reduce the occupation of the vehicle's cloud and vehicle-side storage space. At the same time, the music library provided by the music application stores more comprehensive songs and updates faster. The in-vehicle music application that provides a preset music library can be selected by the user through the central control display. The user can select two or more in-vehicle music applications to provide preset music libraries to enrich the number of accompaniment audio in the preset music library.
[0058] If the number of matching accompaniment audios is one, the matching accompaniment audio is used as the target accompaniment audio; if the number of matching accompaniment audios is greater than or equal to two, the confidence of each matching accompaniment audio is determined according to a preset confidence rule, and the matching accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0059] Among them, the preset confidence specification can determine the confidence from at least one dimension such as playback volume, whether it is an original singer, and sound quality. For example, the playback volume corresponds to different confidences in different ranges, and the more playback volume, the higher the confidence; the confidence of the original singer is higher than the confidence of the cover; the higher the sound quality, the higher the corresponding confidence. If the confidence is determined from at least two dimensions, the proportion of confidence in different dimensions can also be set according to user preferences, so as to determine the target accompaniment audio according to user preferences. For example, if the user preference is set to playback volume, the confidence ratio corresponding to the playback volume accounts for the largest proportion and can be set to 50%, while the confidence ratios corresponding to whether it is an original singer and sound quality are set to 25% respectively.
[0060] After the target accompaniment audio is determined, the target accompaniment audio and all the single-person humming voices are merged to control the vehicle audio output. The humming voice can be first subjected to noise reduction and polishing processing to remove background noise and soft timbre, and then the processed humming voice and the target accompaniment audio are merged and played.
[0061] The target accompaniment audio can be positioned according to the real-time humming voice. For example, if the real-time humming content of the humming voice is one minute into the song, the target accompaniment audio will start playing from the one-minute position of the accompaniment audio, so that the target accompaniment audio and the humming voice remain synchronized, thereby improving the user's singing experience.
[0062] In the multi-person singing mode, the embodiment of the present application selects a target humming voice from the single-person humming voice to match the target accompaniment audio. The user does not need to manually select the accompaniment song in advance. After turning on the singing function, the accompaniment audio can be started by singing directly, making the in-car singing function more intelligent and improving the user experience.
[0063] In one of the embodiments, selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0064] The pitches of the single-person humming voices are compared, and the single-person humming voice with the highest pitch is selected as the target humming voice.
[0065] The embodiment of the present application analyzes and compares the pitch of a single person's humming voice, and selects the single person's humming voice with the highest pitch as the target humming voice for determining the target accompaniment audio. The voice with high pitch can more accurately identify the melody therein, thereby more accurately matching the target accompaniment audio.
[0066] Regarding pitch recognition, the pitch recognition method in the prior art can be adopted, which is not the invention point of this application and will not be described in detail here.
[0067] In one of the embodiments, selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0068] The volumes of the single-person humming voices are compared, and the single-person humming voice with the loudest volume is selected as the target humming voice.
[0069] The embodiment of the present application analyzes and compares the volume of the single-person humming voice, and selects the single-person humming voice with the largest volume as the target humming voice for determining the target accompaniment audio. The melody in the voice with a large volume is clearer, so that the target accompaniment audio can be accurately matched.
[0070] Regarding volume recognition, the pitch recognition method in the prior art can be adopted, which is not the invention point of the present application and will not be described in detail here.
[0071] In one embodiment, each single-person humming voice corresponds to one seat;
[0072] According to a preset rule, one of the single-person humming voices is selected as the target humming voice, specifically including:
[0073] According to the preset seat priority, the single-person humming voice with the highest corresponding seat priority is selected as the target humming voice.
[0074] The single-person humming voice can be matched with the seat in the car. Specifically, a microphone is set for each seat in the car to collect the passenger audio of each seat. By matching the timbre of the single-person humming voice with the passenger audio, the seat corresponding to each single-person humming voice can be determined. According to the preset seat priority, the single-person humming voice with the highest priority of the corresponding seat is selected as the target humming voice.
[0075] As an example, the preset seat priorities are as follows from high to low: front passenger seat, driver seat, rear right seat, and rear left seat. Specifically, the possibility of using the singing function in the front seat is higher than that in the rear seat, and the driver seat is the driving seat, and the singing stability is lower than that in the front passenger seat. Therefore, the front passenger seat has the highest priority, followed by the driver seat, and then the rear seat.
[0076] The embodiment of the present application presets seat priorities and selects the corresponding single-person humming voice as the target humming voice according to the seat priorities. Through the seat priorities, the single-person humming voice of the singing initiator can be selected to match the target accompaniment audio, so that the melody is more comprehensive and smooth, and can more accurately match the target accompaniment audio.
[0077] In one embodiment, the single-person singing mode specifically includes:
[0078] Determine the target accompaniment audio according to the single person humming voice;
[0079] The target accompaniment audio and the single person humming voice are combined to control the car audio output.
[0080] In the embodiment of the present application, in the single-person singing mode, the target accompaniment audio is directly determined according to the single-person humming voice, and the target accompaniment audio and the single-person humming voice are merged to control the output of the vehicle audio. The user does not need to manually select the accompaniment song in advance, and can start the accompaniment audio by singing directly after turning on the singing function, making the vehicle singing function more intelligent and improving the user experience.
[0081] Regarding the determination of the target accompaniment audio and the output of the target accompaniment audio and the single-person humming voice, please refer to the matching method of the target accompaniment audio and the output method of the target accompaniment audio and the single-person humming voice in the multi-person singing mode in the aforementioned embodiment, which will not be repeated here.
[0082] Figure 2 The present invention shows a method for controlling multiple people singing in a vehicle in a preferred embodiment of the present invention, which specifically includes:
[0083] Step S201: Acquire multi-person audio in the car, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio.
[0084] Step S202: Perform melody recognition on each single-person voice, determine whether the single-person voice carries melody, and treat the single-person voice carrying melody as the single-person humming voice.
[0085] Step S203: If the number of the single-person humming voice is one, then enter the single-person singing mode and execute steps S204-205;
[0086] If the number of single-person humming voices is greater than or equal to two, the multi-person singing mode is entered and steps S206-208 are executed.
[0087] Step S204: determining the target accompaniment audio according to the single-person humming voice.
[0088] Step S205: The target accompaniment audio and all the individual humming voices are merged and then the output is controlled by the vehicle audio system.
[0089] Step S206: comparing the pitches of the individual humming voices, and selecting the individual humming voice with the highest pitch as the target humming voice; or
[0090] Comparing the volumes of the single-person humming voices, and selecting the single-person humming voice with the loudest volume as the target humming voice; or
[0091] According to the preset seat priorities, the single-person humming voice with the highest corresponding seat priority is selected as the target humming voice. The preset seat priorities are from high to low: front passenger seat, driver's seat, rear right seat, and rear left seat.
[0092] Step S207: determining a target accompaniment audio according to the target humming voice;
[0093] Step S208: The target accompaniment audio and all the individual humming voices are merged and then the output is controlled by the vehicle audio system.
[0094] Vehicle-mounted multi-person singing control device:
[0095] The vehicle-mounted multi-person singing control device in the embodiment of the present application comprises:
[0096] The audio acquisition unit 301 is used to acquire multi-person audio in the car, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio;
[0097] The melody recognition unit 302 is used to perform melody recognition on each single-person voice, determine whether the single-person voice carries a melody, and regard the single-person voice carrying a melody as a single-person humming voice;
[0098] The mode determination unit 303 is used to enter the single-person singing mode and output one single-person humming voice if the number of single-person humming voices is one; if the number of single-person humming voices is greater than or equal to two, enter the multi-person singing mode and output all single-person humming voices.
[0099] In the embodiment of the present application, the audio acquisition unit 301 separates multi-person audio into multiple single-person voices, and performs melody recognition on each single-person voice through the melody recognition unit 302, and uses the single-person voice with melody as the single-person humming voice. The mode determination unit 303 determines the single-person singing mode or the multi-person singing mode according to the number of single-person humming voices, and can recognize the humming voice in the multi-person audio and select different singing modes, which can effectively improve the singing experience of the passengers.
[0100] Storage Media:
[0101] The storage medium of an embodiment of the present application stores computer instructions, and when a computer executes the computer instructions, it is used to execute the vehicle-mounted multi-person singing control method in any of the aforementioned embodiments.
[0102] Figure 4 An electronic device of the present application is shown, comprising:
[0103] at least one processor 401; and,
[0104] A memory 402 is communicatively connected to the at least one processor 401; wherein,
[0105] The memory 402 stores instructions that can be executed by the at least one processor 401, and the instructions are executed by the at least one processor 401 so that the at least one processor 401 can execute all steps of the vehicle-mounted multi-person singing control method in any of the aforementioned method embodiments.
[0106] The electronic device is preferably an on-board electronic control unit (ECU), and further a microcontroller unit (MCU) in the on-board electronic control unit.
[0107] Figure 4 Take a processor 402 as an example:
[0108] The electronic device may further include: an input device 403 and an output device 404 .
[0109] The processor 401, the memory 402, the input device 403 and the output device 404 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.
[0110] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the vehicle-mounted multi-person singing control method in the embodiment of the present application, for example, Figure 1 The processor 401 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 402, that is, the vehicle-mounted multi-person singing control method in the above embodiment is implemented.
[0111] The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the vehicle-mounted multi-person singing control method, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 402 may optionally include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to a device for executing the vehicle-mounted multi-person singing control method via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0112] The input device 403 can receive input user clicks and generate signal inputs related to user settings and function control of the vehicle-mounted multi-person singing control method. The output device 404 can include display devices such as display screens.
[0113] The one or more modules are stored in the memory 402, and when run by the one or more processors 401, the vehicle-mounted multi-person singing control method in any of the above method embodiments is executed.
[0114] The above description is only the principle and preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this field, the implementation methods obtained by appropriately combining the technical solutions disclosed in different embodiments are also included in the technical scope of the present invention. On the basis of the principle of the present application, several other variations can be made, which should also be regarded as the protection scope of the present application.
Claims
1. A method for controlling multi-person singing in a vehicle, It is characterized in that include: Acquire multi-person audio in the vehicle, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio; Performing melody recognition on each channel of the single-person voice to determine whether the single-person voice carries a melody, and treating the single-person voice carrying a melody as a single-person humming voice; If the number of the single-person humming voice is one, the single-person singing mode is entered, and the single-person humming voice is output; If the number of single-person humming voices is greater than or equal to two, the multi-person singing mode is entered and all the single-person humming voices are output.
2. The vehicle-mounted multi-person singing control method according to claim 1, It is characterized in that The multi-person singing mode specifically includes: Selecting one of the single-person humming voices as the target humming voice according to a preset rule; Determining a target accompaniment audio according to the target humming voice; The target accompaniment audio and all the single-person humming voices are merged to control the vehicle audio output.
3. The vehicle-mounted multi-person singing control method according to claim 2, It is characterized in that The step of selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes: The pitches of the single-person humming voices are compared, and the single-person humming voice with the highest pitch is selected as the target humming voice.
4. The vehicle-mounted multi-person singing control method according to claim 2, It is characterized in that The step of selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes: The volumes of the single-person humming voices are compared, and the single-person humming voice with the largest volume is selected as the target humming voice.
5. The vehicle-mounted multi-person singing control method according to claim 2, It is characterized in that Each channel of the single humming voice corresponds to one seat; The step of selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes: According to the preset seat priorities, the single person humming voice corresponding to the highest seat priority is selected as the target humming voice.
6. The vehicle-mounted multi-person singing control method according to claim 5, It is characterized in that The priority of the preset seats from high to low is: front passenger seat, driver's seat, rear right seat, and rear left seat.
7. The vehicle-mounted multi-person singing control method according to any one of claims 1 to 6, It is characterized in that The single-person singing mode specifically includes: Determining target accompaniment audio according to the single-person humming voice; The target accompaniment audio and the single person humming voice are merged to control the vehicle audio output.
8. A vehicle-mounted multi-person singing control device, It is characterized in that include An audio acquisition unit, used to acquire multi-person audio in the vehicle, perform audio separation on the multi-person audio, and generate at least two channels of single-person audio; A melody recognition unit, used to perform melody recognition on each channel of the single-person voice, determine whether the single-person voice carries a melody, and regard the single-person voice carrying a melody as a single-person humming voice; The mode determination unit is used to enter the single-person singing mode and output the single-person humming voice if the number of single-person humming voices is one; if the number of single-person humming voices is greater than or equal to two, enter the multi-person singing mode and output all the single-person humming voices.
9. A storage medium, It is characterized in that The storage medium stores computer instructions, and when the computer executes the computer instructions, it is used to execute the vehicle-mounted multi-person singing control method as described in any one of claims 1-7.
10. An electronic device, It is characterized in that comprising at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the in-vehicle multi-person singing control method as described in any one of claims 1-7.
