Vehicle-mounted singing control method and device, storage medium and electronic equipment
By detecting the humming voice in the vehicle system and automatically matching the accompaniment audio, it solves the problem of insufficient intelligence of existing vehicle singing, achieves automatic startup and efficient output, and significantly improves the user experience.
Patent Information
- Application Number
- CN202310200300.3
- 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
The existing in-vehicle singing method has poor intelligence, long interactive links, requires multiple devices and applications to cooperate with each other, and the user experience is poor.
By detecting humming voice in humming mode, it automatically matches and fuses the target accompaniment audio, and outputs it directly through the car audio, simplifying user interaction and improving intelligence.
It realizes the automatic startup of the car singing function, reduces user interaction operations, significantly improves the user experience, and simplifies the cooperation process between devices and applications.
Smart Images

Figure CN118551072A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle-mounted singing, and in particular to a vehicle-mounted singing control method and device, a storage medium and an electronic device. Background Art
[0002] The existing in-car singing method requires downloading karaoke-related applications through the application center and connecting an external microphone for sound reception. When singing, you need to download the accompaniment songs on the karaoke application before you start singing. It can be seen that the current in-car singing interaction link is long, requiring multiple devices and applications to cooperate with each other, and the accompaniment songs need to be selected manually, which is less intelligent and affects the user experience. Summary of the invention
[0003] The purpose of this application is to overcome the shortcomings of the prior art in that the in-vehicle singing mode has poor intelligence, and to provide a in-vehicle singing control method and device, a storage medium and an electronic device that can automatically detect and start the singing function.
[0004] The technical solution of the present application provides a vehicle-mounted singing control method, comprising:
[0005] When the humming mode is on, if humming voice is detected,
[0006] Matching the humming voice in a preset music library to search for target accompaniment audio;
[0007] The target accompaniment audio and the humming voice are merged and outputted through the vehicle audio system.
[0008] Furthermore, before matching the humming voice in the preset music library, the method further includes obtaining the current playing status;
[0009] The method of matching the humming voice in a preset music library and searching for target accompaniment audio specifically includes:
[0010] If the current playing state is that no song is being played, the singing scene is determined to be spontaneous humming, and a match is performed in a preset music library based on the humming voice to search for the target accompaniment audio.
[0011] Furthermore, the method further comprises:
[0012] If the current playing state is that a song is being played, then the singing scene is determined to be listening to a song and humming;
[0013] The currently playing song is obtained, and a match is performed in a preset music library according to the currently playing song to search for target accompaniment audio.
[0014] Furthermore, the method searches for the target accompaniment audio by matching the currently playing song in the preset music library, specifically including
[0015] Acquire song information of a currently playing song, match the song information with song information of accompaniment audio in a preset music library, and use the accompaniment audio with an information matching degree greater than or equal to an information matching degree threshold as the pending accompaniment audio, wherein the preset music library is provided by an in-vehicle music application;
[0016] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0017] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0018] Furthermore, when the singing scene is humming, the target accompaniment audio and the humming voice are merged to control the vehicle audio output, specifically including:
[0019] Performing noise reduction and polishing processing on the humming voice;
[0020] The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice is played at the current system volume and the target accompaniment audio is played at a preset volume;
[0021] Within a preset time period, the playback volume of the currently playing song is controlled to gradually decrease from the current system volume to the preset volume, and at the same time, the playback volume of the target accompaniment audio is controlled to gradually increase from the preset volume to the current system volume.
[0022] Furthermore, the searching for target accompaniment audio according to the humming voice specifically includes
[0023] If the humming voice is a single person's humming voice, extracting a first audio feature of the humming voice in real time;
[0024] Matching the first audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application;
[0025] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0026] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0027] Furthermore, the searching for target accompaniment audio according to the humming voice specifically includes
[0028] If the humming voice is a multi-person humming voice, performing human voice recognition on the humming voice to generate at least two single-person humming voices;
[0029] According to a preset rule, one of the single-person humming voices is selected as the target humming voice, and a second audio feature of the target humming voice is extracted in real time;
[0030] Matching the second audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application;
[0031] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0032] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0033] Furthermore, the step of selecting one of the single-person humming voices as the target humming voice according to a preset rule specifically includes:
[0034] Performing pitch analysis on each channel of single-person humming voice, and selecting the single-person humming voice with the highest pitch as the target humming voice; or
[0035] Perform volume analysis on each channel of single-person humming voice, and select the single-person humming voice with the highest volume as the target humming voice; or
[0036] Each seat corresponds to a single person humming voice, and the single person humming voice corresponding to the seat with the highest priority is selected as the target humming voice according to the preset seat priority.
[0037] Furthermore, when the singing scene is spontaneous humming, the target accompaniment audio and the humming voice are fused to control the vehicle audio output, specifically including:
[0038] Performing noise reduction and polishing processing on the humming voice;
[0039] The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice and the target accompaniment audio are both played at the current system volume.
[0040] The technical solution of the present application also provides a vehicle-mounted singing control device, comprising
[0041] A detection and acquisition module, for searching for target accompaniment audio by matching the humming voice in a preset music library when the humming mode is turned on if the humming voice is detected;
[0042] The audio fusion module is used to fuse the target accompaniment audio and the humming voice and output them through the vehicle audio system.
[0043] 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 singing control method as described above.
[0044] The technical solution of the present application also provides an electronic device, comprising at least one processor; and
[0045] a memory communicatively connected to the at least one processor; wherein,
[0046] 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 singing control method as described above.
[0047] After adopting the above technical solution, the following beneficial effects are achieved:
[0048] A humming mode is set in this application. When the humming mode is turned on, if humming voice is detected in the car, the target accompaniment audio can be directly searched according to the humming voice, and the target accompaniment audio can be integrated with the humming voice and played through the car audio, thereby realizing the automatic startup of the singing function, reducing the user's interactive operations, and improving the user's singing experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The disclosure of the present 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 the present application. In the drawings:
[0050] Figure 1 is a flow chart of a vehicle-mounted singing control method in one embodiment of the present application;
[0051] Figure 2 is a flow chart of a vehicle-mounted singing control method in another embodiment of the present application;
[0052] Figure 3 is a flow chart of a vehicle-mounted singing control method in another embodiment of the present application;
[0053] Figure 4 It is a structural schematic diagram of a vehicle-mounted singing control device in one embodiment of the present application;
[0054] Figure 5 It is a schematic diagram of the hardware structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION
[0055] The specific implementation of the present application is further described below with reference to the accompanying drawings.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] The vehicle-mounted singing control method in the embodiment of the present application is as follows: Figure 1 Shown, including
[0060] Step S101: When the humming mode is turned on, if humming voice is detected, matching is performed in a preset music library according to the humming voice to search for target accompaniment audio.
[0061] This application sets a humming mode in the vehicle's central control device, and the user can control the humming mode on and off through the vehicle's central control screen. When the humming mode is turned on, the in-car microphone installed in the car detects the voice in the car. If the humming voice is detected, the singing function is automatically started, and the target accompaniment audio is matched according to the humming voice.
[0062] Among them, multiple on-board microphones can be set up and installed in different areas of the car to receive the voices of passengers in different seats. In the humming mode, the voices of all passengers in the car are detected. As long as the humming voice is detected, the singing function is activated. For the detection of the passenger's voice, the voice signal can be feature extracted to determine whether there is a melody feature. If so, it is determined to be a humming voice. Regarding the feature extraction and melody feature judgment of the voice signal, the audio processing technology in the prior art can be used, which will not be repeated here.
[0063] Step S102: The target accompaniment audio and the humming voice are merged and output through the vehicle audio system.
[0064] Specifically, the target accompaniment audio is 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.
[0065] The humming voice can be subjected to noise reduction and polishing processing first to remove background noise and soft timbre, and then the processed humming voice and the target accompaniment audio are fused and played.
[0066] The in-vehicle singing control method in the embodiment of the present application can automatically enter the singing mode and automatically search for the target accompaniment audio through humming voice detection; the humming voice is input through the in-vehicle microphone, and the humming voice and the target accompaniment audio are fused and output through the in-vehicle audio. No external device is required, and the user does not need to perform a large number of interactive operations, which can significantly improve the user experience.
[0067] In one embodiment, before matching in a preset music library according to the humming voice, the method further includes obtaining a current playing state;
[0068] According to the humming voice, match the preset music library and search for the target accompaniment audio, including
[0069] If the current playing state is that no song is being played, the singing scene is determined to be spontaneous humming, and a match is performed in a preset music library according to the humming voice to search for the target accompaniment audio.
[0070] The current playing state is used to indicate whether music is currently being played, and includes at least two states: a song is being played and a song is not being played. The current state of the music player or the music application can be determined by obtaining the current state.
[0071] In an embodiment of the present application, the singing scene is determined according to the current playback status. If the current playback status is that no song is playing, the singing scene is determined to be spontaneous humming. At this time, the melody of the humming voice is recognized and matched in the preset music library to search for the target accompaniment audio. The corresponding accompaniment can be directly called out according to the user's humming content, thereby realizing intelligent karaoke.
[0072] In one embodiment, the in-vehicle singing control method further includes, if the current playing state is that a song is being played, determining that the singing scene is listening to a song and humming;
[0073] Get the currently playing song, match it in the preset music library according to the currently playing song, and search for the target accompaniment audio.
[0074] In the embodiment of the present application, the singing scene is determined according to the current playing state. If the current playing state is a song being played, the singing scene is determined to be listening to a song and humming. At this time, the target accompaniment audio is directly searched according to the currently playing song, which can quickly complete the search and the search results have a high accuracy. In one embodiment, the target accompaniment audio is searched for by matching in a preset music library according to the currently playing song, specifically including
[0075] Acquire song information of a currently playing song, match the song information with song information of accompaniment audio in a preset music library, and use the accompaniment audio with an information matching degree greater than or equal to an information matching degree threshold as the pending accompaniment audio, wherein the preset music library is provided by an in-vehicle music application;
[0076] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0077] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0078] In an embodiment of the present application, when the current playback state is a song being played, a search is performed in the preset music library based on the song information of the song currently being played, the song information of the song currently being played is matched with the song information of the accompaniment audio in the preset music library, and the information matching degree between each accompaniment audio and the song currently being played is determined, and the accompaniment audio whose information matching degree is greater than or equal to the information matching degree threshold is used as the pending accompaniment audio.
[0079] The preset music library is provided by the in-vehicle music application to reduce the storage space occupied by the vehicle cloud and vehicle end. At the same time, the music library provided by the music application stores more comprehensive songs and is updated faster. The in-vehicle music application that provides the preset music library can be selected by the user through the central control display screen. 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.
[0080] Since there are a large number of accompaniment audios in the preset music library, multiple pending accompaniment audios may be found, and the confidence of each pending accompaniment audio can be determined according to the preset confidence rule, and the accompaniment audio with the highest confidence is selected as the target accompaniment audio. In the current song search, a list of songs with a matching degree greater than or equal to a preset matching degree threshold is generally displayed, and the user manually selects. The embodiment of the present application replaces the process of manual selection by the user by determining the confidence of each pending accompaniment audio, so that the target accompaniment audio can be directly searched, and the accompaniment audio can be fully automated. Search, improve user experience.
[0081] 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.
[0082] In the embodiment of the present application, the pending accompaniment audio is first screened out according to the information matching degree, and then the target accompaniment audio is determined according to the preset confidence rules. A corresponding target accompaniment audio can be searched out each time, thereby realizing fully automatic accompaniment search without the need for manual selection by the user, thereby improving the user's singing experience.
[0083] In one embodiment, when the singing scene is humming a song, the target accompaniment audio and the humming voice are merged to control the vehicle audio output, specifically including:
[0084] Performing noise reduction and polishing processing on the humming voice;
[0085] The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice is played at the current system volume and the target accompaniment audio is played at a preset volume;
[0086] Within a preset time period, the playback volume of the currently playing song is controlled to gradually decrease from the current system volume to the preset volume, and at the same time, the playback volume of the target accompaniment audio is controlled to gradually increase from the preset volume to the current system volume.
[0087] Specifically, after the target accompaniment audio and the humming voice are merged, the humming voice is played at the current system volume, and the target accompaniment audio is played at a preset volume. The preset volume is generally set to the lowest volume, and in the subsequent preset time period, the humming voice maintains the current system volume, and the playback volume of the target accompaniment audio gradually increases from the preset volume to the current system volume. At the same time, the playback volume of the currently playing song gradually decreases from the current system volume to the preset volume.
[0088] In a singing scenario of humming a song, the humming voice is first subjected to noise reduction and polishing processing in sequence, and then the noise-reduced and polished humming voice is fused with the target accompaniment audio and output, wherein the noise reduction and polishing processing can adopt the noise reduction processing method and polishing processing method in the prior art.
[0089] In addition, the embodiment of the present application also realizes the natural switching between the song playing function and the singing function. By controlling the volume of the target accompaniment audio and the currently playing song, the volume of the currently playing song is gradually faded and the volume of the target accompaniment audio is gradually increased, thereby realizing the natural switching between the song playing function and the singing function.
[0090] In one embodiment, searching for target accompaniment audio according to the humming voice specifically includes:
[0091] If the humming voice is a single person's humming voice, extracting a first audio feature of the humming voice in real time;
[0092] Matching the first audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application;
[0093] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0094] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0095] Specifically, in the singing scene of spontaneous humming, the target accompaniment audio is searched according to the humming voice. When it is detected that the humming voice is a single humming voice (which can be judged by timbre recognition), the first audio feature of the humming voice is extracted in real time, and the first audio feature is matched with the audio features of all accompaniment audios in the preset music library, and the feature matching degree of each accompaniment audio and the humming voice is determined, and the accompaniment audio whose feature matching degree is greater than or equal to the information matching degree threshold is used as the pending accompaniment audio. Then, the confidence of each pending accompaniment audio is determined according to the preset confidence rule, and the accompaniment audio with the highest confidence is selected as the target accompaniment audio. Regarding the setting of the preset music library and the preset confidence specification, refer to the records in the aforementioned embodiment, which will not be repeated here.
[0096] In the embodiment of the present application, the pending accompaniment audio is first screened out according to the feature matching degree, and then the target accompaniment audio is determined according to the preset confidence rules. A corresponding target accompaniment audio can be searched out each time, thereby realizing fully automatic accompaniment search without the need for manual selection by the user, thereby improving the user's singing experience.
[0097] In one embodiment, searching for target accompaniment audio according to the humming voice specifically includes:
[0098] If the humming voice is a multi-person humming voice, performing human voice recognition on the humming voice to generate at least two single-person humming voices;
[0099] According to a preset rule, one of the single-person humming voices is selected as the target humming voice, and a second audio feature of the target humming voice is extracted in real time;
[0100] Matching the second audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application;
[0101] Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0102] The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
[0103] Specifically, in a spontaneous humming singing scene, if the timbre of at least two people is recognized in the humming voice, the humming voice is considered to be a multi-person humming voice, and the humming voice is generated into at least two single-person humming voices through voice recognition. According to a preset rule, one of the single-person humming voices is selected as the target humming voice for searching the target accompaniment audio. For the detailed steps of searching the target accompaniment audio according to the single-person humming voice, refer to the detailed steps of searching the target accompaniment audio according to the humming voice when a single person hums in the aforementioned embodiment, which will not be repeated here.
[0104] Optionally, one of the single-person humming voices is selected as the target humming voice according to a preset rule, which may specifically include:
[0105] Performing pitch analysis on each channel of single-person humming voice, and selecting the single-person humming voice with the highest pitch as the target humming voice; or
[0106] Perform volume analysis on each channel of single-person humming voice, and select the single-person humming voice with the highest volume as the target humming voice; or
[0107] Each seat corresponds to a single humming voice, and the single humming voice corresponding to the seat with the highest priority is selected as the target humming voice according to the preset seat priority. Specifically, regarding the determination of the target humming voice, the single humming voice with the highest pitch can be selected, or the single humming voice with the highest volume can be selected, or the single humming voice corresponding to the seat with the highest priority can be selected according to the preset seat priority. The preset seat priority can be set according to the actual situation or user needs. In one of the embodiments, when the singing scene is spontaneous humming, the target accompaniment audio and the humming voice are merged to control the vehicle audio output, which specifically includes
[0108] Performing noise reduction and polishing processing on the humming voice;
[0109] The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice and the target accompaniment audio are both played at the current system volume.
[0110] In an embodiment of the present application, in a singing scenario of spontaneous humming, the humming voice is subjected to noise reduction and polishing processing, and then merged with the target accompaniment audio and output through the vehicle audio system. Both the humming voice and the target accompaniment audio are played at the current system volume, and the singing volume can be adaptively adjusted according to the system settings to reduce the impact on other functions while singing.
[0111] Figure 2 and 3 FIG. 1 shows a flow chart of a vehicle singing control method in a preferred embodiment of the present application. Figure 2 As shown, the vehicle-mounted singing control method specifically includes
[0112] Step S201: when the humming mode is turned on, if humming voice is detected, the current playing state is obtained;
[0113] Step S202: if the current playing state is that a song is being played, determining that the singing scene is listening to a song and humming;
[0114] Step S203: obtaining song information of the currently playing song, matching the song information with song information of accompaniment audio in a preset music library, and taking the accompaniment audio with an information matching degree greater than or equal to an information matching degree threshold as the pending accompaniment audio, wherein the preset music library is provided by the in-vehicle music application;
[0115] Step S204: determining the confidence of each pending accompaniment audio according to a preset confidence rule;
[0116] Step S205: selecting the accompaniment audio with the highest confidence as the target accompaniment audio;
[0117] Step S206: performing noise reduction and polishing processing on the humming voice;
[0118] Step S207: fusing the processed humming voice with the target accompaniment audio and outputting them through the vehicle audio system, wherein the humming voice is played at the current system volume and the target accompaniment audio is played at a preset volume;
[0119] Step S208: within a preset time period, the playback volume of the currently playing song is controlled to gradually decrease from the current system volume to the preset volume, and at the same time, the playback volume of the target accompaniment audio is controlled to gradually increase from the preset volume to the current system volume.
[0120] like Figure 3 As shown, the vehicle-mounted singing control method specifically includes
[0121] Step S301: when the humming mode is turned on, if humming voice is detected, the current playing state is obtained;
[0122] Step S302: if the current playing state is that no song is being played, then determining that the singing scene is spontaneous humming; then executing step S303 or step S305;
[0123] Step S303: if the humming voice is a single person's humming voice, extracting the first audio feature of the humming voice in real time;
[0124] Step S304: matching the first audio feature with the audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application; then executing step S308;
[0125] Step S305: if the humming voice is a multi-person humming voice, the humming voice is subjected to voice recognition to generate at least two channels of single-person humming voices;
[0126] Step S306: selecting one of the single-person humming voices as the target humming voice according to a preset rule, and extracting the second audio feature of the target humming voice in real time;
[0127] According to the preset rules, one of the single-person humming voices is selected as the target humming voice, including
[0128] Performing pitch analysis on each channel of single-person humming voice, and selecting the single-person humming voice with the highest pitch as the target humming voice; or
[0129] Perform volume analysis on each channel of single-person humming voice, and select the single-person humming voice with the highest volume as the target humming voice; or
[0130] Each seat corresponds to a single person humming voice, and the single person humming voice corresponding to the seat with the highest priority is selected as the target humming voice according to the preset seat priority;
[0131] Step S307: matching the second audio feature with the audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application; then executing step S308;
[0132] Step S308: determining the confidence of each of the pending accompaniment audios according to a preset confidence rule;
[0133] Step S309: selecting the accompaniment audio with the highest confidence as the target accompaniment audio;
[0134] Step S310: performing noise reduction and polishing processing on the humming voice;
[0135] Step S311: The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein both the humming voice and the target accompaniment audio are played at the current system volume.
[0136] The vehicle-mounted singing control device in the embodiment of the present application is as follows: Figure 4 Shown, including
[0137] The detection and acquisition module 401 is used for searching for target accompaniment audio by matching the humming voice in a preset music library when the humming mode is turned on if the humming voice is detected;
[0138] The audio fusion module 402 is used to fuse the target accompaniment audio and the humming voice and output them through the vehicle audio system.
[0139] In the vehicle-mounted singing control device in the embodiment of the present application, the detection and acquisition module 401 can automatically enter the singing mode through humming voice detection, and automatically search for the target accompaniment audio according to the humming voice; the audio fusion module 403 receives the humming voice input by the vehicle-mounted microphone, fuses the humming voice and the target accompaniment audio, and outputs them through the vehicle-mounted audio. No external device is required, and the user does not need to perform a large number of interactive operations, which can significantly improve the user experience.
[0140] 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 in-vehicle singing control method in any of the aforementioned method embodiments.
[0141] Figure 5 An electronic device of the present application is shown, comprising:
[0142] at least one processor 501; and,
[0143] A memory 502 is communicatively connected to the at least one processor 501; wherein,
[0144] The memory 502 stores instructions that can be executed by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute all steps of the in-vehicle singing control method in any of the aforementioned method embodiments.
[0145] 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.
[0146] Figure 5Take a processor 502 as an example:
[0147] The electronic device may further include: an input device 503 and an output device 504 .
[0148] The processor 501, the memory 502, the input device 503 and the output device 504 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.
[0149] The memory 502 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 singing control method in the embodiment of the present application, for example, Figure 1-3 The processor 501 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 502, that is, the vehicle-mounted singing control method in the above embodiment is implemented.
[0150] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the vehicle-mounted singing control method, etc. In addition, the memory 502 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 502 may optionally include a memory remotely arranged relative to the processor 501, and these remote memories may be connected to the device for executing the vehicle-mounted 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.
[0151] The input device 503 can receive input user clicks and generate signal inputs related to user settings and function control of the vehicle-mounted singing control method. The output device 504 can include display devices such as display screens.
[0152] The one or more modules are stored in the memory 502, and when run by the one or more processors 501, the vehicle-mounted singing control method in any of the above method embodiments is executed.
[0153] 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 vehicle-mounted singing control method, characterized in that: include When the humming mode is on, if humming voice is detected, Matching the humming voice in a preset music library to search for target accompaniment audio; The target accompaniment audio and the humming voice are merged and outputted through the vehicle audio system.
2. The vehicle-mounted singing control method according to claim 1, characterized in that: Before matching the humming voice in the preset music library, the method further includes obtaining the current playing status; The method of matching the humming voice in a preset music library and searching for target accompaniment audio specifically includes: If the current playing state is that no song is being played, the singing scene is determined to be spontaneous humming, and a match is performed in a preset music library based on the humming voice to search for the target accompaniment audio.
3. The vehicle-mounted singing control method according to claim 2, characterized in that: Also includes: If the current playing state is that a song is being played, then the singing scene is determined to be listening to a song and humming; The currently playing song is obtained, and a match is performed in a preset music library according to the currently playing song to search for target accompaniment audio.
4. The vehicle-mounted singing control method according to claim 3, characterized in that: The method of searching for target accompaniment audio by matching the currently played song in a preset music library specifically includes: Acquire song information of a currently playing song, match the song information with song information of accompaniment audio in a preset music library, and use the accompaniment audio with an information matching degree greater than or equal to an information matching degree threshold as the pending accompaniment audio, wherein the preset music library is provided by an in-vehicle music application; Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule; The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
5. The vehicle-mounted singing control method according to claim 3, characterized in that: When the singing scene is humming, the target accompaniment audio and the humming voice are merged to control the vehicle audio output, specifically including: Performing noise reduction and polishing processing on the humming voice; The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice is played at the current system volume and the target accompaniment audio is played at a preset volume; Within a preset time period, the playback volume of the currently playing song is controlled to gradually decrease from the current system volume to the preset volume, and at the same time, the playback volume of the target accompaniment audio is controlled to gradually increase from the preset volume to the current system volume.
6. The vehicle-mounted singing control method according to claims 2-5, characterized in that: The searching for the target accompaniment audio according to the humming voice specifically includes If the humming voice is a single person's humming voice, extracting a first audio feature of the humming voice in real time; Matching the first audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application; Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule; The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
7. The vehicle-mounted singing control method according to claims 2-5, characterized in that: The searching for the target accompaniment audio according to the humming voice specifically includes If the humming voice is a multi-person humming voice, performing voice recognition on the humming voice to generate at least two single-person humming voices; According to a preset rule, one of the single-person humming voices is selected as the target humming voice, and a second audio feature of the target humming voice is extracted in real time; Matching the second audio feature with audio features of all accompaniment audios in a preset music library, and taking the accompaniment audios with a feature matching degree greater than or equal to a feature matching degree threshold as pending accompaniment audios, wherein the preset music library is provided by an in-vehicle music application; Determining the confidence of each of the pending accompaniment audios according to a preset confidence rule; The accompaniment audio with the highest confidence is selected as the target accompaniment audio.
8. The vehicle-mounted singing control method according to claim 7, characterized in that: The method of selecting one of the single-person humming voices as the target humming voice according to the preset rule specifically includes: Performing pitch analysis on each channel of single-person humming voice, and selecting the single-person humming voice with the highest pitch as the target humming voice; or Perform volume analysis on each channel of single-person humming voice, and select the single-person humming voice with the highest volume as the target humming voice; or Each seat corresponds to a single person humming voice, and the single person humming voice corresponding to the seat with the highest priority is selected as the target humming voice according to the preset seat priority.
9. The vehicle-mounted singing control method according to claims 2-5, characterized in that: When the singing scene is spontaneous humming, the target accompaniment audio and the humming voice are merged to control the vehicle audio output, specifically including: Performing noise reduction and polishing processing on the humming voice; The processed humming voice is merged with the target accompaniment audio and outputted through the vehicle audio system, wherein the humming voice and the target accompaniment audio are both played at the current system volume.
10. A car-mounted singing control device, characterized in that: include A detection and acquisition module, for searching for target accompaniment audio by matching the humming voice in a preset music library when the humming mode is turned on if the humming voice is detected; The audio fusion module is used to fuse the target accompaniment audio and the humming voice and output them through the vehicle audio system.
11. A storage medium, characterized in that: The storage medium stores computer instructions, which, when executed by a computer, are used to execute the in-vehicle singing control method as described in any one of claims 1-9.
12. An electronic device, 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 singing control method as described in any one of claims 1-9.
Citation Information
Cited By
Control method and apparatus, and vehicle
WO2026045929A1
