Voice playing method and device, vehicle-mounted terminal and storage medium
By generating text content in the vehicle-mounted terminal based on trigger instructions and the tone of the vehicle-mounted voice assistant, the problem of dull voice content in existing voice interaction technology is solved, a more adaptable and harmonious voice interaction experience is achieved, and the flexibility of the voice interaction function is improved. .
Patent Information
- Application Number
- CN202410660356.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In existing voice interaction technology, voice playback content appears rigid and inflexible, lacking personalization and adaptability.
After receiving the trigger command from the vehicle-mounted terminal, the adaptive text content is generated based on the timbre of the vehicle-mounted voice assistant, and is converted into speech using text-to-speech synthesis technology. The played voice content and timbre are more harmonious, improving the voice interaction function. flexibility.
The generated text content takes into account the timbre characteristics of the in-vehicle voice assistant, making the played voice content and timbre more suitable, improving the flexibility and personalized experience of the voice interaction function.
Smart Images

Figure CN118711566A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of human-computer interaction technology, and in particular to a voice playback method, device, vehicle-mounted terminal, and storage medium. Background Art
[0002] With the development of human-computer interaction technology, voice interaction function was born.
[0003] In the related art, the voice interaction function simply converts the preset text content directly into voice and plays it out, which makes the voice played out during the voice interaction process appear to be relatively rigid and not flexible enough. Summary of the invention
[0004] The embodiments of the present application provide a voice playback method, device, vehicle-mounted terminal, and storage medium, which can improve the flexibility of voice interaction functions. The technical solutions provided by the embodiments of the present application are as follows:
[0005] According to one aspect of an embodiment of the present application, a voice playback method is provided, the method comprising:
[0006] When receiving a trigger instruction for triggering the in-vehicle voice assistant in the in-vehicle terminal, generating text content based on the trigger instruction and the timbre of the in-vehicle voice assistant;
[0007] Based on the timbre of the in-vehicle voice assistant and the text content, generating a voice corresponding to the text content;
[0008] Play the voice.
[0009] According to one aspect of an embodiment of the present application, a voice playback device is provided, the device comprising:
[0010] A text generation module, configured to generate text content based on a trigger instruction for triggering the vehicle-mounted voice assistant in the vehicle-mounted terminal and a timbre of the vehicle-mounted voice assistant upon receiving the trigger instruction;
[0011] A speech generation module, used to generate speech corresponding to the text content based on the timbre of the in-vehicle voice assistant and the text content;
[0012] The voice playing module is used to play the voice.
[0013] According to one aspect of an embodiment of the present application, a computer device is provided, the computer device comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-mentioned voice playback method.
[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned voice playback method.
[0015] According to one aspect of an embodiment of the present application, a computer program product is provided, and the computer program product is loaded and executed by a processor to implement the above-mentioned voice playback method.
[0016] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0017] By generating text content based on trigger instructions and specific timbres, the generated text content takes into account the timbre characteristics of the in-vehicle voice assistant, making the played voice content and timbre more adapted and harmonious, thereby improving the flexibility of the voice interaction function.
[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flow chart of a voice playback method provided by an embodiment of the present application;
[0021] Figure 2 is a block diagram of a vehicle-mounted terminal provided by another embodiment of the present application;
[0022] Figure 3 is a block diagram of a voice playback device provided by an embodiment of the present application;
[0023] Figure 4 This is a block diagram of a vehicle-mounted terminal provided by an embodiment of the present application. DETAILED DESCRIPTION
[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods consistent with some aspects of the present application as detailed in the appended claims.
[0025] In the method provided in the embodiment of the present application, the execution subject of each step may be a vehicle-mounted terminal, which refers to an electronic device integrated in a vehicle and having data calculation, processing and storage capabilities.
[0026] Please refer to Figure 1 , which shows a flow chart of a voice playback method provided by an embodiment of the present application. In this embodiment, the method is mainly applied to the vehicle terminal introduced above as an example. The method may include at least one of the following steps 110 to 130.
[0027] Step 110, when a trigger instruction for triggering the in-vehicle voice assistant in the in-vehicle terminal is received, generate text content based on the trigger instruction and the timbre of the in-vehicle voice assistant.
[0028] In some embodiments, a vehicle-mounted terminal is installed in the vehicle, and the vehicle-mounted terminal is the front-end device of the vehicle monitoring and management system, and may also be referred to as a vehicle dispatch monitoring terminal (Transmission Control Unit, TCU). In some embodiments, the vehicle-mounted terminal may be integrated with various functions such as positioning, communication, navigation, and vehicle driving information recording. In some embodiments, the vehicle-mounted terminal may also support functions such as telephone calls and voice interaction. In some embodiments, the vehicle-mounted voice assistant may be a computer program installed in the vehicle-mounted terminal for implementing the voice interaction function. In some embodiments, the vehicle-mounted voice assistant may send prompt information to people inside or outside the vehicle through voice interaction. In some embodiments, the vehicle-mounted voice assistant may also communicate with the user of the vehicle through voice interaction.
[0029] In some embodiments, the trigger instruction may be an instruction generated or activated by the vehicle terminal itself, such as a seat belt reminder instruction, an overspeed reminder instruction, a door closing reminder instruction, a fuel consumption reminder instruction, etc. For example, during the vehicle startup or driving process, if the vehicle terminal does not detect that the user has fastened the seat belt, a seat belt reminder instruction is automatically generated; based on the seat belt reminder instruction, a text content can be generated to remind the user to fasten the seat belt as soon as possible, such as "the seat belt is not fastened", "please fasten the seat belt", etc. For another example, during the vehicle driving process, if the vehicle terminal detects that the vehicle speed exceeds the specified speed, the vehicle terminal can generate an overspeed reminder instruction; based on the overspeed reminder instruction, a text content can be generated to remind the user that the vehicle has exceeded the speed limit, such as "the vehicle has exceeded the speed limit", "please reduce the speed", etc. For another example, during the vehicle startup or driving process, if a door is not closed properly, the vehicle terminal can generate a door closing reminder instruction; based on the door closing reminder instruction, a text content can be generated to remind the driver and / or passenger in the vehicle to close the door properly, such as "the door is not closed", "please close the door", etc.
[0030] In some embodiments, the trigger instruction may also be an instruction that is triggered based on the behavior of the driver or passenger in the vehicle. For example, after the driver of the vehicle starts the vehicle, an instruction may be generated to prompt that the vehicle has been started, and based on the instruction, corresponding text content may be generated, such as "the vehicle has been started", "a certain vehicle has been successfully started", etc. In some embodiments, the trigger instruction may also be a voice instruction. For example, if the driver or passenger in the vehicle issues a voice instruction "how is the weather today", the vehicle terminal may generate corresponding text content based on the weather information of the day after obtaining the weather information of the day.
[0031] In some embodiments, the text content generated based on the trigger instruction in the present application is adapted to the timbre of the in-vehicle voice assistant. For example, if the timbre of the in-vehicle voice assistant is that of a young woman, the text content generated based on the seat belt reminder instruction to prompt the user to fasten the seat belt as soon as possible may be "Fasten your seat belt quickly, pay attention to safety~"; if the timbre of the in-vehicle voice assistant is that of an older woman, the text content generated based on the seat belt reminder instruction to prompt the user to fasten the seat belt as soon as possible may be "Fasten your seat belt well, kid"; if the timbre of the in-vehicle voice assistant is that of a young man, the text content generated based on the seat belt reminder instruction to prompt the user to fasten the seat belt as soon as possible may be "Fasten your seat belt well, brother".
[0032] Step 120, based on the timbre and text content of the in-vehicle voice assistant, generate speech corresponding to the text content.
[0033] In some embodiments, the text content is converted into corresponding voice using the voice of the in-vehicle voice assistant, such as converting the text content into a corresponding voice file to obtain the voice to be played. This step converts text into voice, which involves text to speech synthesis (TTS, Text To Speech) technology.
[0034] Step 130, play the voice.
[0035] In some embodiments, the voice generated in the above step 120 can be played through a speaker built into the vehicle terminal or a speaker connected to the vehicle terminal.
[0036] In some embodiments, applications that support in-vehicle voice assistants may also support users to turn off the corresponding in-vehicle voice assistant function at any time. That is, users can arbitrarily turn on and off the voice assistant function of each application or each function in the vehicle, thereby making the in-vehicle voice assistant more personalized and improving the setting flexibility of the in-vehicle voice assistant.
[0037] To sum up, the technical solution provided in the embodiment of the present application generates text content based on trigger instructions and specific timbre, so that the generated text content takes into account the timbre characteristics of the in-vehicle voice assistant, thereby making the played voice content and timbre more adapted and harmonious, thereby improving the flexibility of the voice interaction function.
[0038] In some possible implementations, the in-vehicle voice assistant corresponds to a plurality of candidate timbres; the method further includes at least one of the following steps:
[0039] 1. Display multiple candidate timbres;
[0040] 2. In response to a selection operation on a first timbre among a plurality of candidate timbres, the first timbre is determined as the timbre of the in-vehicle voice assistant.
[0041] In some embodiments, the in-vehicle voice assistant may have multiple candidate timbres, and the in-vehicle terminal may display the multiple candidate timbres to the user, and when the user determines to select one of the timbres, such as the first timbres, the timbres are determined as the timbres of the in-vehicle voice assistant. Afterwards, before the user reselects a timbres, the first timbres are the default timbres of the in-vehicle voice assistant, which saves the user the time cost of selecting a timbres each time, and improves the convenience of user operation.
[0042] In some embodiments, displaying multiple candidate timbres may mean that the display screen of the vehicle terminal displays the options of multiple candidate timbres (such as the name of each timbre, the corresponding character / role avatar, etc.), and the user can determine the first timbre as the timbre of the vehicle voice assistant by selecting the option corresponding to the first timbre (such as clicking).
[0043] In some embodiments, displaying multiple candidate timbres may also refer to playing example voices corresponding to the multiple candidate timbres respectively, so that the user can make a more satisfactory choice. In some embodiments, the multiple candidate timbres may include a main accompanying timbres, such as the timbres of the user's relatives or friends.
[0044] In some embodiments, the plurality of candidate timbres include at least one of the following: the timbre of an IP character; the timbre of a human voice provided by a user.
[0045] In some embodiments, the candidate timbre may be the timbre of a character in a game, movie, TV series, or other media content. In some embodiments, the timbre of an IP character may be pre-stored in the vehicle terminal, or may be downloaded by the user and stored in the vehicle terminal. In some embodiments, the candidate timbre may be the timbre of a human voice provided by the user.
[0046] In some embodiments, the process of obtaining candidate timbres may include the following steps:
[0047] 1. Sound collection
[0048] In some embodiments, the developer or user of the in-vehicle voice assistant records multiple different voice samples. These voice samples can be the voices of the IP characters in their respective games, movies, TV series and other media content, or the voices of the user of the in-vehicle voice assistant or the user's family and friends, or the voices of virtual human voices generated by speech synthesis technology. In some embodiments, these voice samples can be the voices of different groups of people, such as men, women, children, and the elderly.
[0049] 2. Tone processing and storage
[0050] The collected sound samples need to be processed and stored. The processing of the sound samples may include removing noise, adjusting the pitch, adding audio effects, etc. Afterwards, the sound samples are stored in the audio library of the vehicle terminal or the backend server of the vehicle terminal for user selection and playback.
[0051] In some embodiments, the text content can be combined into a voice to be played by a synthesis engine, and the synthesis engine can use mixing, pitch adjustment and other technologies to ensure that the output voice is consistent with the timbre of the in-vehicle voice assistant selected by the user. In some embodiments, once the user selects a certain timbre (such as the first timbre), the in-vehicle terminal can set and store it as the user's personal preference setting, and subsequently use the timbre as the default timbre of the in-vehicle voice assistant.
[0052] In some embodiments, the vehicle terminal may include the following modules: a signal processing module 10, an ASR (Automatic Speech Recognition) module 20, an NLP (Natural Language Processing) module 30, and a TTS module 40. The signal processing module 10 may include the following units: a microphone array, and VAD (Voice Activity Detection); the ASR module 20 may include the following units: an acoustic model, a language model; the NLP module 30 may include the following units: NLU (Natural Language Understanding), DM (Data Mining), and NLG (Natural Language Generation); the TTS module 40 may include the following units: a linguistic front end, and a vocoder.
[0053] In the above implementation, users can choose a tone that suits their preferences from a variety of candidate tones, thereby enriching the tone selection of the in-car voice assistant and making the tone of the in-car voice assistant more personalized.
[0054] In some possible implementations, generating text content based on the trigger instruction and the timbre of the in-vehicle voice assistant includes at least one of the following steps:
[0055] 1. Based on the trigger instruction, generate the standard text content corresponding to the trigger instruction;
[0056] 2. Based on the timbre of the in-vehicle voice assistant, adjust the standard text content to generate text content.
[0057] In some embodiments, regardless of the timbre of the in-vehicle voice assistant, the standard text content generated based on the trigger instruction is the same. Afterwards, based on the timbre characteristics of the in-vehicle voice assistant, the standard text content can be adjusted so that the final generated text content is more in line with the impression given to the user by the timbre of the in-vehicle voice assistant. For example, for the seat belt reminder instruction, the standard text content can be "Please fasten your seat belts". If the timbre of the in-vehicle voice assistant is the timbre of a certain general character, the text content "Listen to the order! Fasten your seat belts!" can be generated based on the standard text content; if the timbre of the in-vehicle voice assistant is the timbre of a certain doctor character, the text content "Fasten your seat belts, don't become my patient" can be generated based on the standard text content; if the timbre of the in-vehicle voice assistant is the timbre of the user's partner, the text content "Dear, fasten your seat belts, wait for you to come back safely~" can be generated based on the standard text content; if the timbre of the in-vehicle voice assistant is the timbre of the user's child, the text content "Dad / Mom, don't forget your seat belts, wait for you to come home safely for dinner" can be generated based on the standard text content.
[0058] In some embodiments, adjusting the standard text content based on the timbre of the in-vehicle voice assistant to generate text content can be implemented as at least one of the following steps:
[0059] 1. Obtain common phrases corresponding to the timbre of the in-vehicle voice assistant; add the common phrases to the standard text content to generate text content.
[0060] In some embodiments, common phrases can also be referred to as pet phrases. Through statistical analysis of the voice samples of the character or person corresponding to the voice color of the in-vehicle voice assistant, the words or sentences with higher frequencies of occurrence are determined as the common phrases corresponding to the voice color of the in-vehicle voice assistant, and this common phrase is added to the standard text content to generate the text content corresponding to the voice color of the in-vehicle voice assistant. For example, if through the statistical analysis of the voice samples of the character or person corresponding to the voice color of the in-vehicle voice assistant, its common phrase is "Alright", for the standard text content "Vehicle starting", after adding the corresponding common phrase, the resulting text content can be "Alright! Vehicle starting".
[0061] 2. Obtain the address that the character or person corresponding to the voice color of the in-vehicle voice assistant uses to address the user; add the address to the standard text content to generate the text content.
[0062] In some embodiments, the user can pre-enter or select the address that the character or person corresponding to the voice color of the in-vehicle voice assistant uses to address the user, such as "Dad", "Mom", "Son", "Daughter", "Xiaoming", "Lili", "Father", "Mother", "Girlfriend", "Boyfriend", "Bestie", "Doggy", "Baby", etc., and store this address in the in-vehicle terminal. When the in-vehicle voice assistant plays the voice, this address is added to the standard text content to generate the text content corresponding to this voice.
[0063] For example, if the voice color of the in-vehicle voice assistant is the voice color of the user's child, the user can determine the address as "Dad" or "Mom", and when generating the text content, add "Dad" or "Mom".
[0064] 3. Obtain the self-address of the IP character or person corresponding to the voice color of the in-vehicle voice assistant; add the self-address to the standard text content to generate the text content.
[0065] In some embodiments, the IP character or person corresponding to the voice color of the in-vehicle voice assistant may have common self-addresses, such as "Xiaoqi", "Xiao Q", "Jiangjiang", "This one", "This handsome one", "This girl", "This old monk", "This old monk", "This贫僧", etc. Relevant technical personnel or the user himself can select and determine the self-address corresponding to each candidate voice color, and add this self-address when generating the text content.
[0066] In some embodiments, in the case where there is no first person in the standard text content, directly add this self-address. For example, if the standard text content is "The in-vehicle air conditioner has been turned down by 5 degrees Celsius", then, after adding the self-address, the text content can be "Xiao Q has turned down the in-vehicle air conditioner by 5 degrees Celsius".
[0067] In some embodiments, when the first person pronoun (such as "I") exists in the standard text content, the first person pronoun can be replaced with the corresponding self-pronoun. For example, if the standard text content is "I have lowered the air conditioner in the car by 5 degrees Celsius", then after replacing "I" with the self-pronoun "Xiao Q", the text content can be "Xiao Q has lowered the air conditioner in the car by 5 degrees Celsius".
[0068] Of course, the method of adjusting the content of the standard text is not limited to the above examples, and there may be other adjustment methods, which are not specifically limited in the embodiments of the present application.
[0069] In this embodiment, by adding common expressions, user names, self-names, etc., the final text content is more compatible and harmonious with the timbre of the in-vehicle voice assistant, making the final played voice more vivid.
[0070] In the above implementation, based on the trigger instruction, the standard text content is uniformly generated, and the text content corresponding to the voice that is finally played is obtained based on the standard text content. Therefore, while making the text content consistent with the impression given to the user by the timbre of the in-vehicle voice assistant, it also tries to ensure that the semantics of the text content is consistent with the trigger instruction.
[0071] In some possible implementations, when there is no passenger on the co-pilot seat of the vehicle where the in-vehicle terminal is located, the first speaker is used to play voice; wherein the first speaker is the speaker corresponding to the co-pilot seat.
[0072] In some embodiments, when there is no passenger on the co-pilot seat of the vehicle where the vehicle-mounted terminal is located, or when there is only the driver in the vehicle and no one else, the first speaker corresponding to the co-pilot seat is used to play the voice, so that the driver can hear the voice of the vehicle-mounted voice assistant from the co-pilot seat, thereby simulating the passenger in the co-pilot seat talking to the driver, and improving the driver's feeling and experience of voice interaction with the vehicle-mounted voice assistant.
[0073] In some embodiments, when there is a passenger in the front passenger seat, other speakers other than the front passenger seat are used to play voice, such as the speaker corresponding to the driver's seat, the speaker between the driver's seat and the front passenger seat, the roof speaker, etc.
[0074] In some embodiments, pressure detection can be used to identify whether there are people in each seat in the vehicle. For example, if the pressure of the front passenger seat is less than or equal to the first threshold, it means that there is no passenger in the front passenger seat. The specific value of the first threshold can be determined by relevant technical personnel, and the embodiments of the present application do not make specific limitations on this.
[0075] In the above implementation, by simulating the driver's hearing when the passenger in the co-pilot seat is talking to the driver, the driver's sense of authenticity of talking to a real person is enhanced, thereby improving the driver's experience of voice interaction with the in-vehicle voice assistant.
[0076] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0077] Please refer to Figure 3 , which shows a block diagram of a voice playback device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned voice playback method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the vehicle-mounted terminal introduced above, or it can be set on the vehicle-mounted terminal. The device 300 may include: a text generation module 310, a voice generation module 320 and a voice playback module 330.
[0078] The text generation module 310 is used to generate text content based on the trigger instruction and the timbre of the in-vehicle voice assistant when receiving a trigger instruction for triggering the in-vehicle voice assistant in the in-vehicle terminal.
[0079] The speech generation module 320 is used to generate speech corresponding to the text content based on the timbre of the in-vehicle voice assistant and the text content.
[0080] The voice playing module 330 is used to play the voice.
[0081] In some embodiments, the device 300 further includes: a timbre display module and a timbre determination module.
[0082] The timbre display module is used to display the multiple candidate timbres;
[0083] The timbre determination module is used to determine the first timbre as the timbre of the in-vehicle voice assistant in response to a selection operation on the first timbre among the multiple candidate timbres.
[0084] In some embodiments, the plurality of candidate timbres include at least one of the following:
[0085] The voice of the intellectual property IP character;
[0086] The timbre of the vocal provided by the user.
[0087] In some embodiments, the text generation module 310 includes: a text generation submodule.
[0088] The text generation submodule is used to generate standard text content corresponding to the trigger instruction based on the trigger instruction.
[0089] The text generation submodule is also used to adjust the standard text content based on the timbre of the in-vehicle voice assistant to generate the text content.
[0090] In some embodiments, the text generation submodule is used to:
[0091] Acquire a common phrase corresponding to the timbre of the in-vehicle voice assistant; add the common phrase to the standard text content to generate the text content;
[0092] or,
[0093] Obtaining the name of the user from the role or character corresponding to the timbre of the in-vehicle voice assistant; adding the name to the standard text content to generate the text content;
[0094] or,
[0095] Obtain the self-name of the IP role or character corresponding to the timbre of the in-vehicle voice assistant; add the self-name into the standard text content to generate the text content.
[0096] In some embodiments, the voice playback module 330 is used to:
[0097] When there is no passenger on the co-pilot seat of the vehicle where the vehicle-mounted terminal is located, using the first speaker to play the voice;
[0098] Among them, the first speaker is the speaker corresponding to the co-pilot seat.
[0099] To sum up, the technical solution provided in the embodiment of the present application generates text content based on trigger instructions and specific timbre, so that the generated text content takes into account the timbre characteristics of the in-vehicle voice assistant, thereby making the played voice content and timbre more adapted and harmonious, thereby improving the flexibility of the voice interaction function.
[0100] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0101] Please refer to Figure 4, which shows a structural block diagram of a vehicle terminal 400 provided in one embodiment of the present application. The vehicle terminal is used to implement the voice playback method provided in the above embodiment. Specifically:
[0102] Typically, the vehicle-mounted terminal 400 includes a processor 401 and a memory 402 .
[0103] The processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0104] The memory 402 may include one or more computer-readable storage media, which may be non-transitory. The memory 402 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 402 is used to store a computer program and is configured to be executed by one or more processors to implement the above-mentioned voice playback method.
[0105] In some embodiments, the vehicle-mounted terminal 400 may further optionally include: a peripheral device interface 403 and at least one peripheral device. The processor 401, the memory 402 and the peripheral device interface 403 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 403 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 404, a display screen 405, an audio circuit 406 and a power supply 407.
[0106] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the vehicle-mounted terminal 400, and may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0107] In an exemplary embodiment, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the above-mentioned voice playing method is implemented.
[0108] In an exemplary embodiment, a computer program product is also provided. The computer program product is loaded and executed by a processor to implement the above-mentioned voice playing method.
[0109] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0110] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A voice playing method, characterized in that: Executed by a vehicle-mounted terminal, the method includes: When receiving a trigger instruction for triggering the in-vehicle voice assistant in the in-vehicle terminal, generating text content based on the trigger instruction and the timbre of the in-vehicle voice assistant; Based on the timbre of the in-vehicle voice assistant and the text content, generating a voice corresponding to the text content; Play the voice.
2. The method according to claim 1, characterized in that The in-vehicle voice assistant corresponds to a plurality of candidate timbres; The method further comprises: Displaying the plurality of candidate timbres; In response to a selection operation on a first timbre among the plurality of candidate timbres, the first timbre is determined as the timbre of the in-vehicle voice assistant.
3. The method according to claim 2, characterized in that The plurality of candidate timbres include at least one of the following: The voice of the intellectual property IP character; The timbre of the vocal provided by the user.
4. The method according to claim 1, characterized in that: The generating corresponding text content based on the trigger instruction and the timbre of the in-vehicle voice assistant includes: Based on the trigger instruction, generate standard text content corresponding to the trigger instruction; Based on the timbre of the in-vehicle voice assistant, the standard text content is adjusted to generate the text content.
5. The method according to claim 4, characterized in that The step of adjusting the standard text content based on the timbre of the in-vehicle voice assistant to generate the text content includes: Acquire a common phrase corresponding to the timbre of the in-vehicle voice assistant; add the common phrase to the standard text content to generate the text content; or, Obtaining the name of the user from the role or character corresponding to the timbre of the in-vehicle voice assistant; adding the name to the standard text content to generate the text content; or, Obtain the self-name of the IP role or character corresponding to the timbre of the in-vehicle voice assistant; add the self-name into the standard text content to generate the text content.
6. The method according to claim 1, characterized in that The playing of the voice comprises: When there is no passenger on the co-pilot seat of the vehicle where the vehicle-mounted terminal is located, using the first speaker to play the voice; Among them, the first speaker is the speaker corresponding to the co-pilot seat.
7. A voice playing device, characterized in that: The device comprises: A text generation module, configured to generate text content based on a trigger instruction for triggering the vehicle-mounted voice assistant in the vehicle-mounted terminal and a timbre of the vehicle-mounted voice assistant upon receiving the trigger instruction; A speech generation module, used to generate speech corresponding to the text content based on the timbre of the in-vehicle voice assistant and the text content; The voice playing module is used to play the voice.
8. A vehicle-mounted terminal, characterized in that: The vehicle-mounted terminal includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the voice playback method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the voice playback method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product is loaded and executed by a processor to implement the voice playback method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Video dubbing method and device, computer device and computer readable storage medium
CN110933330A
Vehicle-mounted human-computer interaction device and method with unified hearing feeling
CN117456978A
Speech synthesis method, device and equipment and computer readable medium
CN117496946A
Method for registering attribute of voice synthesis model, device, electronic apparatus, storage medium and computer program
JP2021192119A
Speech playing method and apparatus for article, and device, storage medium and program product
WO2022184055A1
Cited By
Method and device for automatically switching voice pronouncing persons based on information of persons in vehicle
CN119207435A
