Exterior vehicle alert sound output method and apparatus, device, and readable storage medium
By acquiring and frequency-converting the master tape of external prompts, and combining it with vehicle speed to adjust the loudness information, a simulated vehicle driving sound audio is generated and output, solving the problem that pedestrians cannot perceive the sound when new energy vehicles are driving at low speeds, thus improving traffic safety.
Patent Information
- Application Number
- PCT/CN2024/107624
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2026-01-29
AI Technical Summary
New energy vehicles are too quiet when driving at low speeds, making them difficult for pedestrians to perceive, resulting in lower traffic safety.
The master tape of the external vehicle warning sound is acquired, and after frequency conversion processing, it generates a simulated vehicle driving sound audio. The loudness information is adjusted according to the vehicle speed, and the warning sound is output through an external speaker.
It improves traffic safety for new energy vehicles at low speeds by simulating vehicle noise, allowing pedestrians to sense the approach of a vehicle.
Smart Images

Figure CN2024107624_29012026_PF_FP_ABST
Abstract
Description
An out-of-vehicle prompt tone output method, device, equipment and readable storage medium TECHNICAL FIELD
[0001] The present application relates to the technical field of voice processing, and can be applied to the virtual driving sound wave output scene of a new energy vehicle. Specifically, the present application relates to an out-of-vehicle prompt tone output method, device, equipment and readable storage medium. BACKGROUND
[0002] In the era of fuel vehicles, the engine mute capability is one of the important factors affecting the environmental noise and the comfort of the vehicle, while the new energy vehicle does not have to worry about the problem of loud motor sound. On the contrary, there may be certain problems because the sound is too small. A more significant problem is that the new energy vehicle is difficult to be felt by pedestrians even in a low-speed driving state. In practical applications, in the environment where people and vehicles are mixed, such as communities, campuses and the like, or on relatively narrow roads, the new energy vehicle driving at low speed may not be perceived by pedestrians due to the small noise when it approaches the surrounding pedestrians. In particular, in the specific case of road intersections and people with visual impairment or even the blind, there may be a certain risk of danger.
[0003] It is noted that the technology described in this section need not be previously conceived or adopted technology. Unless otherwise indicated, any technology described in this section should not be considered as prior art merely because it is included in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as recognized in any prior art. Technical problems
[0004] The present application provides an out-of-vehicle prompt tone output method, device, equipment and readable storage medium, which aims to at least solve one of the problems in the related art to some extent. Technical solutions
[0005] To solve the above technical problems, the first aspect of the present application provides an out-of-vehicle prompt tone output method, comprising:
[0006] Obtaining an out-of-vehicle prompt tone master tape, and performing frequency conversion processing on the out-of-vehicle prompt tone master tape to obtain a processed audio sample;
[0007] Obtaining corresponding target loudness information based on the current driving speed of the vehicle;
[0008] Combining the processed audio sample and the target loudness information to generate simulated vehicle driving sound wave audio;
[0009] generate a vehicle driving prompt tone output instruction based on the simulated vehicle driving sound wave audio, and send the vehicle driving prompt tone output instruction to an external speaker of the vehicle; wherein the vehicle driving prompt tone output instruction is used to instruct the external speaker of the vehicle to output the simulated vehicle driving sound wave audio.
[0010] The second aspect of the present application provides a vehicle external prompt tone output device, comprising:
[0011] a sample acquisition module, configured to acquire a vehicle external prompt tone master tape, and perform frequency conversion processing on the vehicle external prompt tone master tape to obtain processed audio samples;
[0012] a loudness acquisition module, configured to acquire corresponding target loudness information based on a current vehicle driving speed;
[0013] an audio generation module, configured to generate simulated vehicle driving sound wave audio by combining the processed audio samples and the target loudness information;
[0014] an output control module, configured to generate a vehicle driving prompt tone output instruction based on the simulated vehicle driving sound wave audio, and send the vehicle driving prompt tone output instruction to an external speaker of the vehicle; wherein the vehicle driving prompt tone output instruction is used to instruct the external speaker of the vehicle to output the simulated vehicle driving sound wave audio.
[0015] The third aspect of the present application provides an electronic device, comprising a memory and a processor, wherein the processor is configured to execute a computer program stored in the memory; when the processor executes the computer program, each step of the vehicle external prompt tone output method provided in the first aspect of the present application is implemented.
[0016] The fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, each step of the vehicle external prompt tone output method provided in the first aspect of the present application is implemented. Advantages
[0017] It can be seen from the above that, according to the vehicle external prompt sound output method, device, equipment and readable storage medium provided by the application, the vehicle external prompt sound master tape is acquired, and frequency conversion processing is performed on the vehicle external prompt sound master tape to obtain a processed audio sample; the corresponding target loudness information is acquired based on the current driving speed of the vehicle; the processed audio sample and the target loudness information are combined to generate simulated vehicle driving sound wave audio; the vehicle driving prompt sound output instruction is generated based on the simulated vehicle driving sound wave audio, and the vehicle driving prompt sound output instruction is sent to the vehicle external loudspeaker. Through the implementation of the application, the vehicle external loudspeaker of the new energy vehicle is used to simulate and output the vehicle driving prompt sound outward, so that the people near the vehicle can effectively perceive the approaching behavior of the vehicle, and the traffic safety of the new energy vehicle driving environment is improved.
[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the application, nor is it used to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0019] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments and together with the description serve to explain exemplary embodiments of the application. The illustrated embodiments are merely examples and do not limit the scope of the claims. In all the drawings, like reference numerals refer to like but not necessarily identical elements.
[0020] Fig. 1 is a schematic diagram of the hardware architecture of a vehicle-mounted system according to an embodiment of the application;
[0021] Fig. 2 is a schematic diagram of the basic flow of a vehicle external prompt sound output method according to an embodiment of the application;
[0022] Fig. 3 is a schematic diagram of the correlation between speed and pitch according to an embodiment of the application;
[0023] Fig. 4 is a schematic diagram of the correlation between speed and loudness according to an embodiment of the application;
[0024] Fig. 5 is a schematic diagram of the proportion of each frequency band at different speeds according to an embodiment of the application;
[0025] Fig. 6 is a schematic diagram of the detailed flow of a vehicle external prompt sound output method according to an embodiment of the application;
[0026] Fig. 7 is a schematic diagram of the functional modules of a vehicle external prompt sound output device according to an embodiment of the application;
[0027] Fig. 8 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the application. Embodiments of the application
[0028] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0029] In the description of the embodiments of the present application, the terms "first", "second" are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features, so that the features with "first", "second" can explicitly or implicitly include one or more of the features; the term "multiple" means two or more, unless otherwise explicitly and specifically limited; the term "comprising" indicates the presence of the described features, whole, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, whole, steps, operations, elements, components and / or sets thereof; the term "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can include three cases of A existing alone, A and B existing together, and B existing alone, and the character " / " generally represents the relationship of "or" between the front and rear associated objects.
[0030] In order to solve the problem of low traffic safety of the new energy vehicle driving environment caused by the weak perception ability of pedestrians to the new energy vehicles driving nearby, an embodiment of the present application provides a vehicle exterior prompt sound output method, which can be applied to the vehicle-mounted system of the new energy vehicle, preferably the AVAS (Acoustic Vehicle Alerting System, vehicle acoustic warning system) system. As shown in FIG. 1, it is a hardware architecture schematic diagram of a vehicle-mounted system provided by the embodiment, and the system includes CAN (Controller Area Network, controller area network bus) circuit, QNX (Quick UNIX) system, DSP (Digital Signal Processor, digital signal processor) circuit, power amplifier and loudspeaker which are electrically connected in sequence. It is worth mentioning that the AVAS engine for simulating the vehicle driving sound wave audio generation process in the vehicle exterior prompt sound output method and the vehicle exterior prompt sound master tape as the engine input are stored in the QNX system in the embodiment, and the CAN bus is used to obtain the current driving speed of the vehicle in real time. The AVAS engine of the QNX system generates the simulated vehicle driving sound wave audio based on the current driving speed of the vehicle and the vehicle exterior prompt sound master tape. The DSP circuit further sends the vehicle driving prompt sound output instruction to the back end after optimizing the simulated vehicle driving sound wave audio, so as to control the vehicle external loudspeaker to output the simulated vehicle driving sound wave audio. The optimization processing mode of the DSP circuit includes but is not limited to any one or more of equalization processing, dynamic control processing, gain control and delay control.
[0031] It is worth noting that the DSP circuit is provided with two audio signal output ends, one of which is connected with the multimedia sound output circuit, connecting the in-vehicle audio power amplifier and the loudspeaker, and the other of which is connected with the vehicle exterior audio power amplifier and the AVAS loudspeaker. Therefore, in actual application, the vehicle exterior driving prompt sound and the in-vehicle multimedia sound can be independently output from different loudspeakers without affecting each other.
[0032] It is also necessary to point out that the AVAS engine is integrated in the QNX system in the embodiment, which has the advantages of high integration, low DSP resource occupation, high sound output real-time performance and low delay compared with the independently arranged vehicle exterior driving prompt sound system.
[0033] As shown in FIG. 2, it is a basic flowchart of the vehicle exterior prompt sound output method provided by the embodiment, which includes the following steps:
[0034] Step 201, obtaining the vehicle exterior prompt sound master tape and performing frequency conversion processing on the vehicle exterior prompt sound master tape to obtain the processed audio sample.
[0035] Specifically, the off-board prompt tone master tape of the embodiment can be an off-board prompt tone sample with a specific sound effect saved in a specific database, or an off-board driving sound wave audio sample recorded in advance for a fuel automobile. It should be understood that the same off-board prompt tone master tape can be applied to different vehicles according to the current driving speed, or the corresponding off-board prompt tone master tape can be adaptively obtained according to the current driving speed of different vehicles.
[0036] In some embodiments of the present embodiment, the frequency conversion processing of the off-board prompt tone master tape to obtain the processed audio sample includes: performing frequency division processing on the off-board prompt tone master tape to obtain a plurality of off-board prompt tone samples corresponding to different frequency bands; and performing frequency conversion processing on the plurality of vehicle prompt tone samples respectively to obtain the processed audio sample.
[0037] Specifically, in the present embodiment, the obtained off-board prompt tone master tape is first frequency-division processed to obtain a plurality of off-board prompt tone samples of different frequency bands, and the plurality of different frequency bands are divided according to different frequency levels, which can exemplarily include an ultralow frequency band (0-300 Hz), a low frequency band (300-2500 Hz), a medium frequency band (2500-5000 Hz), and a high frequency band (5000-10000 Hz). Next, the plurality of off-board prompt tone samples after frequency division can be further subjected to amplitude normalization processing.
[0038] Further, in some embodiments of the present embodiment, the frequency conversion processing of the plurality of vehicle prompt tone samples respectively to obtain the processed audio sample includes: determining first pitch information and second pitch information corresponding to the current driving speed according to a preset first inverse proportional function and a first proportional function respectively; performing frequency conversion processing on first vehicle prompt tone samples in a first frequency band among all vehicle prompt tone samples according to the first pitch information, and performing frequency conversion processing on second vehicle prompt tone samples in a second frequency band among all vehicle prompt tone samples according to the second pitch information to obtain the processed audio sample; wherein the maximum frequency of the first frequency band is less than or equal to a preset first frequency threshold, the minimum frequency of the second frequency band is greater than a preset second frequency threshold, and the second frequency threshold is greater than or equal to the first frequency threshold.
[0039] As shown in FIG. 3 is a speed and pitch correlation diagram provided by the embodiment, in which the horizontal axis represents speed, and the vertical axis represents pitch. The diagram shows the speed and pitch correlation of two different frequency band samples. Different from the general processing mode of using the same frequency conversion processing for all frequency band samples, in the embodiment, two different frequency conversion processing modes can be adaptively used for different frequency band samples within a specific speed range (e.g. less than 26 km / h in FIG. 3). For example, for the aforementioned ultra-low frequency band X1, low frequency band X2, medium frequency band X3, and high frequency band X4, the first pitch information can be determined according to the speed and pitch correlation represented by the inverse proportional function in FIG. 3, the samples of the ultra-low frequency band X1 and low frequency band X2 are processed by frequency conversion, and the second pitch information can be determined according to the speed and pitch correlation represented by the proportional function in FIG. 3, the samples of the medium frequency band X3 and high frequency band X4 are processed by frequency conversion. In this way, the expansibility of the processed sound is improved, the harsh listening experience is avoided, and the noise impact on the surrounding environment is reduced.
[0040] It should be further noted that when the current vehicle speed exceeds a specific speed threshold (e.g. 26 km / h in FIG. 3), the same frequency conversion processing can be performed on the vehicle prompt sound samples of all frequency bands using fixed pitch information.
[0041] Step 202: Obtain the corresponding target loudness information based on the current vehicle speed.
[0042] Specifically, the embodiment designs a loudness change mechanism with speed to assign different loudness information to different current vehicle speeds.
[0043] In some embodiments of the embodiment, the above-mentioned obtaining the corresponding target loudness information based on the current vehicle speed includes: obtaining the overall loudness information corresponding to the current vehicle speed; and determining the target loudness information corresponding to different frequency bands according to the overall loudness information.
[0044] Specifically, the embodiment is pre-configured with a speed and overall loudness correlation relationship. The current vehicle speed is used as the independent variable, and the overall loudness information is used as the dependent variable. Then, the audio loudness of different frequency bands is determined according to the overall loudness.
[0045] In some embodiments of the present embodiment, the obtaining the overall loudness information corresponding to the current driving speed of the vehicle comprises: if the current driving speed is less than or equal to a first speed threshold, determining the overall loudness information corresponding to the current driving speed of the vehicle according to a preset second positive proportional function; if the current driving speed is greater than the first speed threshold and less than or equal to a second speed threshold, determining the overall loudness information corresponding to the current driving speed of the vehicle according to a preset second inverse proportional function; and if the current driving speed is greater than the second speed threshold, determining the overall loudness information corresponding to the current driving speed of the vehicle as zero.
[0046] Different from the general processing mode of determining the overall loudness information according to a single continuous positive correlation relationship, the present embodiment adopts a segmented function to represent the correlation between the speed and the loudness in different speed ranges. As shown in FIG. 4, which is a schematic diagram of the correlation between the speed and the loudness provided by the present embodiment, the first speed threshold is set as 20 km / h and the second speed threshold is set as 30 km / h, when the current driving speed of the vehicle is less than or equal to 20 km / h, the loudness increases with the increase of the speed, when the current driving speed of the vehicle is greater than 20 km / h and less than or equal to 30 km / h, the loudness decreases with the increase of the speed, and in addition, when the current driving speed of the vehicle is greater than 30 km / h, the loudness is reduced to zero, which is applicable to the pedestrian prompting demand in the low-speed driving scenario of the vehicle and avoids the noise interference to the surrounding environment in the medium-speed and high-speed driving scenario.
[0047] In some embodiments of the present embodiment, the determining the target loudness information corresponding to different frequency bands according to the overall loudness information comprises: determining sample proportion information of different frequency bands according to the current driving speed of the vehicle; and determining the target loudness information corresponding to different frequency bands according to the sample proportion information of each frequency band and the overall loudness information.
[0048] Specifically, the present embodiment can adjust the proportional relationship of the samples of each frequency band according to the sample proportion information, and the timbre generated is no longer subject to the samples. As shown in FIG. 5, which is a schematic diagram of the proportion of each frequency band under different speeds provided by the present embodiment, the horizontal axis represents the speed and the vertical axis represents the percentage. In the present embodiment, the sample proportion information of different frequency bands under different driving speeds is calibrated in advance, for example, the proportions of the ultra-low frequency band, the low frequency band, the medium frequency band and the high frequency band are coel, coe2, coe3 and coe4 respectively, coel+coe2+coe3+coe4 = 1.0, if the overall loudness information is represented as Amp, the loudness information of different frequency bands is Amp1 = Amp * coel, Amp2 = Amp * coe2, Amp3 = Amp * coe3 and Amp4 = Amp * coe4 respectively.
[0049] It should be noted that FIG. 5 is only an exemplary ratio of each frequency band, and in actual application, the ratio can be flexibly set according to specific application scenarios. For example, if the response of the AVAS loudspeaker to the ultralow frequency band is crossed and the energy of this part is high, some vibration will be generated, which will harm the loudspeaker. Therefore, the ratio of this frequency band can be reduced as much as possible.
[0050] In step 203, the processed audio sample and the target loudness information are combined to generate the simulated vehicle driving sound wave audio.
[0051] For the case where the processed audio sample includes multiple audio samples of different frequency bands, in this embodiment, the processed audio samples of different frequency bands and the respective target loudness information that meet a specific sample ratio relationship are processed, the frequency-converted processed audio samples of each frequency band are subjected to variable loudness processing, and then synthesized, so as to generate the simulated vehicle driving sound wave audio that meets the current driving speed of the vehicle.
[0052] It should be noted that when the simulated vehicle driving sound wave audio is continuously output during the uniform acceleration or uniform deceleration driving of the vehicle, in order to avoid the occurrence of a short burst sound (i.e., pop sound) in the sound effect, which leads to poor sound quality, the simulated vehicle driving sound wave audio that is connected in sequence is further processed in this embodiment. The specific processing method is to perform fade-out processing on the preceding audio and fade-in processing on the following audio in the simulated vehicle driving sound wave audio that is connected in sequence, so as to ensure the continuity of the mixed audio signal in the time domain. Through cross fade-in and fade-out switching, the pop sound caused by the discontinuity of the sound effect in the time domain can be effectively avoided.
[0053] In step 204, a vehicle driving prompt tone output instruction is generated based on the simulated vehicle driving sound wave audio, and the vehicle driving prompt tone output instruction is sent to the vehicle external loudspeaker.
[0054] The vehicle driving prompt tone output instruction is used to instruct the vehicle external loudspeaker to output the simulated vehicle driving sound wave audio, so as to realize the output of the simulated audio or the specific vehicle driving sound effect when the traditional fuel vehicle is driving, and achieve the effect of prompting the pedestrians around the vehicle that the vehicle is driving and approaching. It should be noted that the vehicle exterior can be configured with a single or multiple loudspeakers, which can be arranged at any position of the vehicle body, roof, etc. The number and position of the vehicle external loudspeaker are not uniquely limited in this embodiment.
[0055] In some embodiments of this embodiment, the above sending of the vehicle driving prompt tone output instruction to the vehicle external loudspeaker includes: determining the position of the pedestrian based on the environmental detection data collected by the vehicle sensor; determining the target vehicle external loudspeaker of the corresponding sound emitting position from the multiple vehicle external loudspeakers with different configuration positions according to the position of the pedestrian; and sending the vehicle driving prompt tone output instruction to the target vehicle external loudspeaker.
[0056] Specifically, the embodiment can output a vehicle driving prompt sound in the direction of the pedestrian around the vehicle. In actual application, the specific position of the pedestrian around the vehicle can be recognized according to the detection data of sensors such as laser radar and camera. After the sound emitting position is determined according to the position of the pedestrian, a single vehicle external speaker at the sound emitting position can be used as the target vehicle external speaker, or two vehicle external speakers on both sides of the sound emitting position can be used as the target vehicle external speaker.
[0057] In some embodiments of the present embodiment, the vehicle external prompt sound output method further comprises: when it is detected that the vehicle is in a reversing state, obtaining a preset simulated reversing sound wave audio to generate a reversing prompt sound output instruction, and sending the reversing prompt sound output instruction to the vehicle external speaker; wherein the vehicle driving prompt sound output instruction is used to instruct the vehicle external speaker to output the simulated reversing sound wave audio.
[0058] Specifically, unlike the aforementioned vehicle external prompt sound output method corresponding to the normal driving state of the vehicle, when the vehicle is in a reversing state, the present embodiment provides an independent vehicle external prompt sound output scheme, which does not need to be frequency-converted and variable-loudness-processed, but directly controls the vehicle external speaker to output the preset simulated reversing sound wave audio.
[0059] In order to better illustrate the implementation scheme of the present application, the present embodiment further provides a refined vehicle external prompt sound output method. FIG. 6 shows a refined flowchart of a vehicle external prompt sound output method according to an embodiment of the present application, which specifically comprises the following steps:
[0060] Step 601: obtaining a vehicle external prompt sound master tape, and performing frequency division processing on the vehicle external prompt sound master tape to obtain a plurality of vehicle external prompt sound samples corresponding to different frequency bands;
[0061] Step 602: determining first pitch information and second pitch information corresponding to the current driving speed according to a preset first inverse proportional function and a first positive proportional function, respectively;
[0062] Step 603: performing frequency conversion processing on first vehicle prompt sound samples in a first frequency band in all vehicle prompt sound samples according to the first pitch information, and performing frequency conversion processing on second vehicle prompt sound samples in a second frequency band in all vehicle prompt sound samples according to the second pitch information, to obtain processed audio samples;
[0063] Step 604: obtaining overall loudness information corresponding to the current driving speed of the vehicle, and determining sample proportion information of different frequency bands according to the current driving speed of the vehicle;
[0064] Step 605: determining target loudness information corresponding to different frequency bands according to the sample proportion information of each frequency band and the overall loudness information, respectively;
[0065] Step 606, combine the processed audio sample of different frequency bands and the target loudness information to generate simulated vehicle driving sound wave audio;
[0066] Step 606, generate vehicle driving prompt tone output instruction based on the simulated vehicle driving sound wave audio, and send the vehicle driving prompt tone output instruction to the vehicle external speaker.
[0067] It should be understood that the size of the serial number of each step in the embodiment does not mean the order of the execution of the steps. The execution order of each step should be determined by its function and inherent logic, and should not constitute the only limitation on the implementation process of the embodiment of the application.
[0068] FIG. 7 is an external prompt tone output device provided by an embodiment of the application, which can be used to implement the external prompt tone output method in the foregoing embodiments, and mainly includes:
[0069] The sample acquisition module 701 is configured to acquire the external prompt tone master tape, and perform frequency conversion processing on the external prompt tone master tape to obtain a processed audio sample;
[0070] The loudness acquisition module 702 is configured to acquire corresponding target loudness information based on the current vehicle driving speed;
[0071] The audio generation module 703 is configured to combine the processed audio sample and the target loudness information to generate simulated vehicle driving sound wave audio;
[0072] The output control module 704 is configured to generate vehicle driving prompt tone output instruction based on the simulated vehicle driving sound wave audio, and send the vehicle driving prompt tone output instruction to the vehicle external speaker; wherein the vehicle driving prompt tone output instruction is used to instruct the vehicle external speaker to output the simulated vehicle driving sound wave audio.
[0073] In an optional implementation of the embodiment, the output control module is further configured to: when it is detected that the vehicle is in a reverse state, acquire a preset simulated reverse sound wave audio to generate a reverse prompt tone output instruction, and send the reverse prompt tone output instruction to the vehicle external speaker; wherein the vehicle driving prompt tone output instruction is used to instruct the vehicle external speaker to output the simulated reverse sound wave audio.
[0074] It should be noted that the external prompt tone output method in the foregoing method embodiments can be implemented based on the external prompt tone output device provided by the embodiment. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the external prompt tone output device described in the embodiment can be implemented by referring to the corresponding working process in the foregoing method embodiments, which will not be described here.
[0075] Based on the technical solutions of the embodiments of the present application, the vehicle exterior prompt tone master tape is acquired, and frequency conversion processing is performed on the vehicle exterior prompt tone master tape to obtain a processed audio sample; the corresponding target loudness information is acquired based on the current driving speed of the vehicle; the processed audio sample and the target loudness information are combined to generate simulated vehicle driving sound wave audio; the vehicle driving prompt tone output instruction is generated based on the simulated vehicle driving sound wave audio, and the vehicle driving prompt tone output instruction is sent to the vehicle external loudspeaker. Through the implementation of the present application, the vehicle exterior loudspeaker of the new energy vehicle is used to simulate and output the vehicle driving prompt tone outward, so that the people near the vehicle can effectively perceive the approaching behavior of the vehicle, and the traffic safety of the new energy vehicle driving environment is improved.
[0076] Please refer to FIG. 8, which is an electronic device provided by an embodiment of the present application. The electronic device can be used to implement the vehicle exterior prompt tone output method in the foregoing embodiments. As shown in FIG. 8, the electronic device mainly includes:
[0077] The memory 801, the processor 802 and the bus 803 are connected through the bus 803. The memory 801 and the processor 802 are connected through the bus 803. The memory 801 stores a computer program that can run on the processor 802. When the processor 802 executes the computer program, the vehicle exterior prompt tone output method in the foregoing embodiments is implemented. The number of processors can be one or more.
[0078] The memory 801 can be a high-speed random access memory (RAM) or a non-volatile memory such as a disk memory. The memory 801 is used to store executable program codes, and the processor 802 is coupled to the memory 801.
[0079] Further, the embodiments of the present application also provide a computer readable storage medium, which can be arranged in the electronic device in the foregoing embodiments. The computer readable storage medium can be the memory in the embodiment shown in FIG. 8.
[0080] The computer readable storage medium stores a computer program, and the program is executed by the processor to implement the vehicle exterior prompt tone output method in the foregoing embodiments. Further, the computer readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and various media that can store program codes.
[0081] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented by other manners. For example, the apparatus embodiments described above are merely illustrative, for example, the division of the modules is merely a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed modules can be indirect coupling or communication connection through some interfaces, apparatuses or modules, and can be electrical, mechanical or other forms.
[0082] The modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., can be located in one place or distributed to a plurality of network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0083] In addition, the function modules in each embodiment of the present application can be integrated in one processing module, or each module can be physically present alone, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module.
[0084] If the integrated module is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a readable storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, and various program code storage media.
[0085] It should be noted that, for the foregoing method embodiments, in order to facilitate description, they are all expressed as a combination of a series of actions, but those skilled in the art should know that the present application is not limited by the action order described, because according to the present application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0086] In the above embodiments, the description of each embodiment is focused on, and the part not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0087] The above is the description of the vehicle outside prompt sound output method, device, equipment and readable storage medium provided by the application. For those skilled in the art, according to the idea of the embodiments of the application, the specific implementation and application range will be changed. In summary, the content of the specification should not be understood as a limitation of the application.
Claims
1. A method of outputting a sound outside a vehicle, characterized by, The method comprises: acquiring an outside vehicle prompt tone master tape, and performing frequency conversion processing on the outside vehicle prompt tone master tape to obtain a processed audio sample; acquiring corresponding target loudness information based on a current vehicle driving speed; combining the processed audio sample and the target loudness information to generate simulated vehicle driving sound wave audio; generating a vehicle driving prompt tone output instruction based on the simulated vehicle driving sound wave audio, and sending the vehicle driving prompt tone output instruction to an external vehicle loudspeaker; wherein the vehicle driving prompt tone output instruction is used to instruct the external vehicle loudspeaker to output the simulated vehicle driving sound wave audio.
2. The car outside prompt sound output method according to claim 1, characterized by, The frequency conversion processing on the outside vehicle prompt tone master tape to obtain a processed audio sample comprises: performing frequency division processing on the outside vehicle prompt tone master tape to obtain a plurality of outside vehicle prompt tone samples corresponding to different frequency bands; respectively performing frequency conversion processing on a plurality of vehicle prompt tone samples to obtain a processed audio sample.
3. The car outside prompt sound output method according to claim 2, characterized by, The frequency conversion processing on a plurality of vehicle prompt tone samples to obtain a processed audio sample comprises: respectively determining first pitch information and second pitch information corresponding to the current driving speed according to a preset first inverse proportional function and a first proportional function; performing frequency conversion processing on first vehicle prompt tone samples in a first frequency band among all the vehicle prompt tone samples according to the first pitch information, and performing frequency conversion processing on second vehicle prompt tone samples in a second frequency band among all the vehicle prompt tone samples according to the second pitch information, to obtain a processed audio sample; wherein the maximum frequency of the first frequency band is less than or equal to a preset first frequency threshold, the minimum frequency of the second frequency band is greater than a preset second frequency threshold, and the second frequency threshold is greater than or equal to the first frequency threshold.
4. The car outside prompt sound output method according to claim 2, characterized by, The acquiring of corresponding target loudness information based on a current vehicle driving speed comprises: acquiring overall loudness information corresponding to the current vehicle driving speed; respectively determining target loudness information corresponding to the different frequency bands according to the overall loudness information.
5. The car outside prompt sound output method according to claim 4, characterized by, The acquiring of overall loudness information corresponding to the current vehicle driving speed comprises: if the current driving speed is less than or equal to a first speed threshold, determining the overall loudness information corresponding to the current vehicle driving speed according to a preset second proportional function; if the current driving speed is greater than the first speed threshold and less than or equal to a second speed threshold, determining the overall loudness information corresponding to the current vehicle driving speed according to a preset second inverse proportional function; if the current driving speed is greater than the second speed threshold, determining the overall loudness information corresponding to the current vehicle driving speed as zero.
6. The car outside prompt sound output method according to claim 4, characterized by The respectively determining of target loudness information corresponding to the different frequency bands according to the overall loudness information comprises: determining sample proportion information of different frequency bands according to the current vehicle driving speed; respectively determining target loudness information corresponding to the different frequency bands according to the sample proportion information of each frequency band and the overall loudness information.
7. The car outside prompt sound output method according to claim 1, characterized by, The method further comprises: When it is detected that the vehicle is in a reverse state, a preset simulated reverse sound audio is acquired to generate a reverse prompt tone output instruction, and the reverse prompt tone output instruction is sent to an external speaker of the vehicle; wherein the vehicle driving prompt tone output instruction is used to instruct the external speaker of the vehicle to output the simulated reverse sound audio.
8. An outside-siren output device characterized by comprising: The method comprises the steps of: a sample acquisition module is configured to acquire an external vehicle prompt tone master tape and perform frequency conversion processing on the external vehicle prompt tone master tape to obtain a processed audio sample; a loudness acquisition module is configured to acquire corresponding target loudness information based on a current vehicle driving speed; an audio generation module is configured to generate a simulated vehicle driving sound audio by combining the processed audio sample and the target loudness information; an output control module is configured to generate a vehicle driving prompt tone output instruction based on the simulated vehicle driving sound audio and send the vehicle driving prompt tone output instruction to an external speaker of the vehicle; wherein the vehicle driving prompt tone output instruction is used to instruct the external speaker of the vehicle to output the simulated vehicle driving sound audio.
9. An electronic device, comprising: The method comprises the steps of: a memory and a processor; the processor is configured to execute a computer program stored in the memory; when the processor executes the computer program, the steps of the external vehicle prompt tone output method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, when the computer program is executed by the processor, the steps of the external vehicle prompt tone output method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method of matching running noise and control device
CN102219000A
Regulating sound generating system for environment friendly vehicle and a method for controlling the system
CN106331949A
Vehicle exterior sound production control system and method
CN116424216A
Method and device for generating warning tone of electric vehicle and method for determining sound pressure attenuation reference value
CN117382535A
Simulating engine sound generating device for electric vehicle
CN201721384U