Outside-vehicle warning tone output method, device and equipment and readable storage medium
By variable frequency processing and loudness adjustment of the external prompt sound of new energy vehicles, the audio simulated vehicle driving sound is generated and output, which solves the problem of insufficient noise when driving at low speeds of new energy vehicles, and improves pedestrian perception ability and traffic safety.
Patent Information
- Application Number
- CN202411012873.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-12
AI Technical Summary
The noise of new energy vehicles is insufficient when driving at low speeds, making it difficult for pedestrians to perceive the existence of vehicles, especially in a mixed environment where people and vehicles have traffic safety hazards.
By obtaining the outside of the vehicle prompt sound master, the frequency conversion process is performed, the loudness information is obtained based on the current driving speed of the vehicle, and the audio simulated vehicle driving sound is generated, and sent to the vehicle external speaker output to provide the vehicle driving sound to improve the pedestrian's perception.
It effectively improves the traffic safety of the driving environment of new energy vehicles, enables pedestrians to timely perceive the approaching behavior of vehicles when driving at low speeds, and reduces the risk of traffic accidents.
Smart Images

Figure CN118928213A_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of voice processing technology, and can be applied to the virtual driving sound output scenario of new energy vehicles. Specifically, the present application relates to a method, device, equipment and readable storage medium for outputting an external vehicle prompt sound. [Background technology]
[0002] In the era of fuel vehicles, the engine's quietness is one of the important factors affecting environmental noise and vehicle comfort. However, new energy vehicles do not have to worry about the loud noise of the motor. On the contrary, there may be certain problems because the noise is too quiet. The more obvious problem is that new energy vehicles are difficult for pedestrians to even feel when they are driving at low speeds. In actual applications, in mixed environments such as residential areas and campuses where people and vehicles are not separated, or on relatively narrow roads, when new energy vehicles driving at low speeds approach pedestrians around, pedestrians may not be able to sense the presence of the vehicle because the noise is too quiet. Especially at road intersections and in specific situations where people with visual impairments or even blind people are walking, there is a certain possibility of danger.
[0003] It is worth noting that the techniques described in this section are not necessarily techniques that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any technique described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. [Summary of the invention]
[0004] The present application provides a method, device, equipment and readable storage medium for outputting an external vehicle prompt sound, aiming to solve at least one of the problems in the related art to a certain extent.
[0005] In order to solve the above technical problems, the first aspect of the present application provides a method for outputting an external vehicle prompt sound, comprising:
[0006] Obtaining an external vehicle prompt sound master tape, and performing frequency conversion processing on the external vehicle prompt sound master tape to obtain a processed audio sample;
[0007] Obtain corresponding target loudness information based on the current driving speed of the vehicle;
[0008] Combining the processed audio sample with the target loudness information to generate audio of simulated vehicle running sound;
[0009] A vehicle driving prompt sound output instruction is generated based on the simulated vehicle driving sound audio, and the vehicle driving prompt sound output instruction is sent 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 vehicle driving sound audio.
[0010] A second aspect of the present application provides a vehicle external prompt sound output device, comprising:
[0011] A sample acquisition module is used to acquire a master tape of an external vehicle prompt sound, and perform frequency conversion processing on the master tape of the external vehicle prompt sound to obtain a processed audio sample;
[0012] A loudness acquisition module, used to acquire corresponding target loudness information based on the current driving speed of the vehicle;
[0013] An audio generation module, used to generate audio simulating the sound of a vehicle running by combining the processed audio sample and the target loudness information;
[0014] An output control module is used to generate a vehicle driving prompt sound output instruction based on the simulated vehicle driving sound audio, and send the vehicle driving 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 vehicle driving sound audio.
[0015] The third aspect of the present application provides an electronic device, comprising: a memory and a processor, wherein the processor is used to execute a computer program stored in the memory; when the processor executes the computer program, it implements each step of the method for outputting an external vehicle prompt sound provided in the first aspect of the present application.
[0016] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for outputting an external vehicle prompt sound provided in the first aspect of the present application are implemented.
[0017] As can be seen from the above, according to the method, device, equipment and readable storage medium for outputting the external vehicle prompt sound provided by this application, the external vehicle prompt sound master tape is obtained, and the external vehicle prompt sound master tape is subjected to frequency conversion processing to obtain the processed audio sample; the corresponding target loudness information is obtained based on the current driving speed of the vehicle; the processed audio sample and the target loudness information are combined to generate a simulated vehicle driving sound audio; a vehicle driving prompt sound output instruction is generated based on the simulated vehicle driving sound audio, and the vehicle driving prompt sound output instruction is sent to the vehicle's external speaker. Through the implementation of this application, the vehicle driving prompt sound is simulated and output outwardly using the external speaker of the new energy vehicle, so that people near the vehicle can effectively perceive the vehicle's approaching behavior, thereby improving the traffic safety of the new energy vehicle driving environment.
[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
Brief Description of the Drawings
[0019] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The drawings shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0020] Figure 1 A schematic diagram of the hardware architecture of a vehicle-mounted system provided in one embodiment of the present application;
[0021] Figure 2 A schematic diagram of the basic flow of a method for outputting an external vehicle prompt sound according to an embodiment of the present application;
[0022] Figure 3 A schematic diagram of the correlation between speed and pitch provided in one embodiment of the present application;
[0023] Figure 4 A schematic diagram of the correlation between speed and loudness provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of the proportion of each frequency band at different speeds provided by an embodiment of the present application;
[0025] Figure 6 A detailed flowchart of a method for outputting an external vehicle prompt sound provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the functional modules of a vehicle external prompt sound output device provided in one embodiment of the present application;
[0027] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. [Specific implementation method]
[0028] In order to make the purpose, features, and advantages of the invention of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0029] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features; the term "multiple" means two or more, unless otherwise clearly and specifically defined; the term "including" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections; the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may include the existence of A alone, the existence of A and B at the same time, and the existence of B alone. The character " / " generally indicates that the previously associated objects belong to the "or" relationship.
[0030] In order to solve the problem of low traffic safety in the driving environment of new energy vehicles caused by the weak perception of pedestrians to new energy vehicles driving nearby in the related art, an embodiment of the present application provides an off-vehicle prompt sound output method, which can be applied to the on-board system of new energy vehicles, preferably AVAS (Acoustic Vehicle Alerting System), such as Figure 1 The figure shows a schematic diagram of the hardware architecture of a vehicle-mounted system provided by the present embodiment. The system includes a CAN (Controller Area Network) circuit, a QNX (Quick UNIX) system, a DSP (Digital Signal Processor) circuit, an amplifier, and a speaker that are electrically connected in sequence. It is worth mentioning that the present embodiment stores the AVAS engine that executes the above-mentioned vehicle external prompt sound output method to generate the simulated vehicle driving sound audio and the vehicle external prompt sound master tape as the engine input in the QNX system, and the CAN bus is used to obtain the current vehicle driving speed in real time. The AVAS engine of the QNX system generates the simulated vehicle driving sound audio based on the current vehicle driving speed and the vehicle external prompt sound master tape, and the DSP circuit optimizes the simulated vehicle driving sound audio and further sends the vehicle driving prompt sound output instruction to the back end to control the vehicle external speaker to output the simulated vehicle driving sound audio. The optimization processing method 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 terminals, one of which is connected to the multimedia sound output circuit, connected to the audio amplifier and speaker in the car, and the other is connected to the audio amplifier outside the car and the AVAS speaker. Then, in actual application, the driving reminder sound outside the car and the multimedia sound inside the car can be output independently from different speakers without affecting each other.
[0032] It should also be noted that this embodiment integrates the AVAS engine into the QNX system. Compared with an independently set up vehicle driving warning sound system, it has the advantages of high integration, low DSP resource usage, high real-time sound output and low latency.
[0033] like Figure 2 This is a basic flow chart of the method for outputting an external vehicle prompt sound provided in this embodiment. The method for outputting an external vehicle prompt sound includes the following steps:
[0034] Step 201: obtain an external vehicle prompt sound master tape, and perform frequency conversion processing on the external vehicle prompt sound master tape to obtain a processed audio sample.
[0035] Specifically, the external vehicle prompt sound master tape of the present embodiment may be an external vehicle prompt sound sample with specific sound effects stored in a specific database, or may be an external vehicle driving sound audio sample recorded in advance for a fuel vehicle. It should also be understood that the present embodiment may apply the same external vehicle prompt sound master tape to different current driving speeds of vehicles, or may adaptively obtain corresponding external vehicle prompt sound master tapes to different current driving speeds of vehicles.
[0036] In some implementations of the present embodiment, the above-mentioned frequency conversion processing of the external vehicle prompt sound master tape to obtain the processed audio samples includes: frequency division processing of the external vehicle prompt sound master tape to obtain multiple external vehicle prompt sound samples corresponding to different frequency bands; frequency conversion processing of multiple vehicle prompt sound samples respectively to obtain processed audio samples.
[0037] Specifically, in this embodiment, the acquired external vehicle prompt sound master tape is first divided to obtain multiple external vehicle prompt sound samples in different frequency bands. The multiple different frequency bands can be divided according to different frequency levels, and can exemplarily include ultra-low frequency band (0 to 300Hz), low frequency band (300 to 2500Hz), medium frequency band (2500 to 5000Hz), and high frequency band (5000 to 10000Hz). Next, the multiple external vehicle prompt sound samples after frequency division can be further normalized in amplitude.
[0038] Further, in some implementations of the present embodiment, the above-mentioned frequency conversion processing is performed on multiple vehicle prompt sound samples respectively to obtain processed audio samples, including: determining the first pitch information and the second pitch information corresponding to the current driving speed according to the preset first inverse proportional function and the first direct proportional function respectively; performing frequency conversion processing on the first vehicle prompt sound sample in the first frequency band among all vehicle prompt sound samples according to the first pitch information, and performing frequency conversion processing on the second vehicle prompt sound sample in the second frequency band among all vehicle prompt sound samples according to the second pitch information to obtain the processed audio samples; wherein the maximum frequency of the first frequency band is less than or equal to the preset first frequency threshold, the minimum frequency of the second frequency band is greater than the preset second frequency threshold, and the second frequency threshold is greater than or equal to the first frequency threshold.
[0039] like Figure 3 The figure shows a schematic diagram of the correlation between speed and pitch provided by this embodiment. The horizontal axis represents speed and the vertical axis represents pitch. The figure shows the correlation between speed and pitch of samples of two different frequency bands. Different from the general processing method of using the same frequency conversion processing for all frequency band samples, in this embodiment, within a specific speed range (for example Figure 3 less than 26km / h), two different frequency conversion processing methods can be used for the adaptability of samples in different frequency bands. Taking the ultra-low frequency band X1, low frequency band X2, medium frequency band X3, and high frequency band X4 in this embodiment as an example, it can be based on Figure 3 In the method, the first pitch information is determined based on the correlation between the speed and the pitch represented by the inverse proportional function, the samples of the ultra-low frequency band X1 and the low frequency band X2 are subjected to frequency conversion processing, and ... samples of the ultra-low frequency band X1 and the low frequency band X2 are subjected to frequency conversion Figure 3 The corresponding second pitch information is determined based on the correlation between another speed and pitch represented by a direct proportional function, and the samples of the medium frequency band X3 and the high frequency band X4 are frequency-converted. In this way, the ductility of the processed sound is improved, the harsh listening feeling is avoided, and the noise impact on the surrounding environment is reduced.
[0040] It should also be noted that when the vehicle's current speed exceeds a certain speed threshold (e.g. Figure 3 After reaching 26km / h), the fixed pitch information can be used to perform the same frequency conversion processing on the vehicle warning sound samples in all frequency bands.
[0041] Step 202: Obtain corresponding target loudness information based on the current driving speed of the vehicle.
[0042] Specifically, this embodiment designs a loudness-speed-varying mechanism to assign different loudness information to different current driving speeds of different vehicles.
[0043] In some implementations of this embodiment, the acquiring corresponding target loudness information based on the current driving speed of the vehicle includes: acquiring overall loudness information corresponding to the current driving speed of the vehicle; and determining target loudness information corresponding to different frequency bands respectively according to the overall loudness information.
[0044] Specifically, the present embodiment pre-configures a correlation relationship between speed and overall loudness, and uses the current speed of the vehicle as an independent variable to determine overall loudness information as a dependent variable, and then determines the audio loudness of different frequency bands based on the overall loudness.
[0045] In some implementations of this embodiment, the acquiring of the overall loudness information corresponding to the current driving speed of the vehicle includes: 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 direct 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; if the current driving speed is greater than the second speed threshold, determining that the overall loudness information corresponding to the current driving speed of the vehicle is zero.
[0046] Different from the general processing method of determining the overall loudness information based on a single continuous positive correlation, this embodiment uses a piecewise function to characterize the correlation between speed and loudness in different speed ranges. Figure 4 The figure shows a schematic diagram of the correlation between speed and loudness provided by the present embodiment. The first speed threshold is exemplarily set to 20 km / h, and the second speed threshold is exemplarily set to 30 km / h. When the current speed of the vehicle is less than or equal to 20 km / h, the loudness increases with the increase of the vehicle speed. When the current 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 vehicle speed. In addition, when the current speed of the vehicle is greater than 30 km / h, the loudness drops to zero. This is suitable for pedestrian prompting needs in low-speed driving scenarios of the vehicle, and avoids noise interference to the surrounding environment in medium- and high-speed driving scenarios.
[0047] In some implementations of this embodiment, the determining of target loudness information corresponding to different frequency bands according to the overall loudness information includes: determining sample proportion information of different frequency bands according to the current driving speed of the vehicle; and determining target loudness information corresponding to different frequency bands according to the sample proportion information corresponding to each frequency band and the overall loudness information.
[0048] Specifically, this embodiment can adjust the ratio of samples in each frequency band according to the sample ratio information, so that the generated timbre is no longer restricted by the samples. Figure 5The figure shows a schematic diagram of the proportion of each frequency band at different speeds provided by the present embodiment. In the figure, the horizontal axis represents the speed and the vertical axis represents the percentage. In the present embodiment, the corresponding proportion information of samples of different frequency bands at different driving speeds is calibrated in advance. For example, the proportions of ultra-low frequency band, low frequency band, medium frequency band and high frequency band are coe1, coe2, coe3 and coe4 respectively, and coe1+coe2+coe3+coe4=1.0. If the overall loudness information is expressed as Amp, the loudness information of different frequency bands are Amp1=Amp*coe1, Amp3=Amp*coe2, Amp3=Amp*coe3 and Amp4=Amp*coe4 respectively.
[0049] It should be noted that Figure 5 This is only an exemplary proportion of each frequency band. In actual application, it can be flexibly set according to the specific application scenario. For example, the AVAS speaker has a cross response to the ultra-low frequency band. If the energy of this part is high, some vibration will occur, which will harm the speaker. In this case, the proportion of this frequency band can be reduced as much as possible.
[0050] Step 203: Combine the processed audio sample and the target loudness information to generate audio of simulated vehicle driving sound.
[0051] In the case where the processed audio samples include audio samples of multiple different frequency bands, this embodiment performs loudness conversion processing on the frequency-converted audio samples of each frequency band based on the processed audio samples of different frequency bands that meet the specific sample ratio relationship and their respective target loudness information, and then synthesizes them to generate simulated vehicle driving sound audio that meets the current driving speed of the vehicle.
[0052] It should be noted that when the vehicle is accelerating or decelerating uniformly and continuously outputting the audio of simulated vehicle driving sound, in order to avoid the appearance of short-term explosive sounds, i.e., pop sounds, resulting in poor sound quality, the present embodiment further processes the connected audio of simulated vehicle driving sound. The specific processing method is to fade out the front audio in the connected audio of simulated vehicle driving sound, and fade in the rear audio to ensure the continuity of the mixed audio signal in the time domain. By 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] Step 204: Generate a vehicle driving prompt sound output instruction based on the simulated vehicle driving sound audio, and send the vehicle driving prompt sound output instruction to the vehicle external speaker.
[0054] The vehicle driving reminder sound output instruction is used to instruct the vehicle's external speaker to output simulated vehicle driving sound audio, so as to realize the external output of simulated audio or specific vehicle driving sound effects when a traditional fuel vehicle is driving, so as to achieve the effect of reminding pedestrians around the vehicle that the vehicle is approaching. It is worth mentioning that the vehicle can be equipped with a single or multiple speakers on the outside, and the speakers can be arranged at any position such as the vehicle body and roof. This embodiment does not limit the number and position of the vehicle's external speakers.
[0055] In some implementations of the present embodiment, the above-mentioned sending of a vehicle driving reminder sound output instruction to a vehicle external speaker includes: determining the position of a pedestrian based on environmental detection data collected by a vehicle sensor; determining a target vehicle external speaker with a corresponding sound emitting direction from a plurality of vehicle external speakers with different configuration positions according to the position of the pedestrian; and sending a vehicle driving reminder sound output instruction to the target vehicle external speaker.
[0056] Specifically, this embodiment can output vehicle driving reminder sounds in a directional manner for pedestrians around the vehicle. In actual applications, the specific positions of pedestrians around the vehicle can be identified based on detection data from sensors such as lidar and cameras. After determining the corresponding sound direction based on the position of the pedestrians, a single vehicle external speaker at the sound direction can be used as the target vehicle external speaker, or two vehicle external speakers on both sides of the sound direction can be used as the target vehicle external speakers.
[0057] In some implementations of this embodiment, the method for outputting an external vehicle prompt sound further includes: when it is detected that the vehicle is in a reversing state, obtaining a preset simulated reversing sound audio to generate a reversing prompt sound output instruction, and sending the reversing prompt sound output instruction to the vehicle's external speaker; wherein the vehicle driving prompt sound output instruction is used to instruct the vehicle's external speaker to output a simulated reversing sound audio.
[0058] Specifically, different from the aforementioned external vehicle prompt sound output method corresponding to the normal driving state of the vehicle, when the vehicle is in the reversing state, this embodiment provides an independent external vehicle prompt sound output solution, which does not require frequency conversion and loudness conversion processing, but directly controls the vehicle's external speakers to output preset simulated reversing sound audio.
[0059] In order to better illustrate the implementation scheme of the present application, this embodiment also provides a detailed method for outputting an external vehicle prompt sound. Figure 6 The figure is a detailed flow chart of a method for outputting an external vehicle prompt sound provided by an embodiment of the present application, which specifically includes the following steps:
[0060] Step 601: obtaining an external vehicle prompt sound master tape, and performing frequency division processing on the external vehicle prompt sound master tape to obtain a plurality of external vehicle 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 preset first direct proportional function respectively;
[0062] Step 603: performing frequency conversion processing on first vehicle prompt sound samples in a first frequency band among 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 among 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: Determine target loudness information corresponding to different frequency bands according to the sample proportion information corresponding to each frequency band and the overall loudness information;
[0065] Step 606: Combine the processed audio samples of different frequency bands and the target loudness information to generate audio of simulated vehicle running sound;
[0066] Step 606: Generate a vehicle driving prompt sound output instruction based on the simulated vehicle driving sound audio, and send the vehicle driving prompt sound output instruction to the vehicle external speaker.
[0067] It should be understood that the size of the serial number of each step in this embodiment does not mean the order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of this application.
[0068] Figure 7 An external vehicle prompt sound output device is provided in one embodiment of the present application. The external vehicle prompt sound output device can be used to implement the external vehicle prompt sound output method in the above-mentioned embodiment, mainly comprising:
[0069] The sample acquisition module 701 is used to acquire the master tape of the external vehicle prompt sound, and perform frequency conversion processing on the master tape of the external vehicle prompt sound to obtain a processed audio sample;
[0070] The loudness acquisition module 702 is used to acquire corresponding target loudness information based on the current driving speed of the vehicle;
[0071] The audio generation module 703 is used to combine the processed audio samples and the target loudness information to generate audio of simulated vehicle driving sound waves;
[0072] The output control module 704 is used to generate a vehicle driving prompt sound output instruction based on the simulated vehicle driving sound audio, and send the vehicle driving 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 vehicle driving sound audio.
[0073] In an optional implementation of the present embodiment, the above-mentioned output control module is also used for: when it is detected that the vehicle is in a reversing state, obtaining a preset simulated reversing sound audio to generate a reversing prompt sound output instruction, and sending the reversing prompt sound output instruction to the vehicle's external speaker; wherein, the vehicle driving prompt sound output instruction is used to instruct the vehicle's external speaker to output a simulated reversing sound audio.
[0074] It should be noted that the external vehicle prompt sound output method in the aforementioned method embodiment can be implemented based on the external vehicle prompt sound output device provided in this embodiment. Ordinary technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the external vehicle prompt sound output device described in this embodiment can be implemented by referring to the corresponding working process in the aforementioned method embodiment, and will not be repeated here.
[0075] Based on the technical solution of the embodiment of the present application, the master tape of the external vehicle prompt sound is obtained, and the master tape of the external vehicle prompt sound is frequency-converted to obtain the processed audio sample; the corresponding target loudness information is obtained based on the current driving speed of the vehicle; the processed audio sample and the target loudness information are combined to generate a simulated vehicle driving sound audio; a vehicle driving prompt sound output instruction is generated based on the simulated vehicle driving sound audio, and the vehicle driving prompt sound output instruction is sent to the vehicle's external speaker. Through the implementation of this application, the vehicle driving prompt sound is simulated and outputted outwardly using the external speaker of the new energy vehicle, so that people near the vehicle can effectively perceive the vehicle's approaching behavior, thereby improving the traffic safety of the new energy vehicle driving environment.
[0076] See also Figure 8 , Figure 8 An electronic device is provided in one embodiment of the present application. The electronic device can be used to implement the vehicle external prompt sound output method in the above-mentioned embodiment. Figure 8 As shown, the electronic device mainly includes:
[0077] The memory 801, the processor 802 and the bus 803 are connected via the bus 803. The memory 801 stores a computer program that can be run on the processor 802. When the processor 802 executes the computer program, the method for outputting the external vehicle prompt sound in the above-mentioned embodiment is implemented. The number of processors can be one or more.
[0078] The memory 801 may be a high-speed random access memory (RAM) memory, 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] Furthermore, the present application also provides a computer-readable storage medium, which may be provided in the electronic device in the above embodiments. Figure 8 Memory in the illustrated embodiment.
[0080] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the method for outputting the vehicle external prompt sound in the aforementioned embodiment is implemented. Furthermore, 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 other media that can store program codes.
[0081] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0082] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0083] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0084] If the integrated module is implemented 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 solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0085] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0086] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0087] The above is a description of the external vehicle prompt sound output method, device, equipment and readable storage medium provided by the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for outputting an external warning sound, characterized in that: include: Obtaining an external vehicle prompt sound master tape, and performing frequency conversion processing on the external vehicle prompt sound master tape to obtain a processed audio sample; Obtain corresponding target loudness information based on the current driving speed of the vehicle; Combining the processed audio sample with the target loudness information to generate audio of simulated vehicle running sound; A vehicle driving prompt sound output instruction is generated based on the simulated vehicle driving sound audio, and the vehicle driving prompt sound output instruction is sent 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 vehicle driving sound audio.
2. The method for outputting an external warning sound according to claim 1, characterized in that: The step of performing frequency conversion processing on the external vehicle prompt sound master tape to obtain a processed audio sample includes: Performing frequency division processing on the external vehicle prompt sound master tape to obtain a plurality of external vehicle prompt sound samples corresponding to different frequency bands; Frequency conversion processing is performed on the plurality of vehicle prompt sound samples respectively to obtain processed audio samples.
3. The method for outputting an external warning sound according to claim 2, characterized in that: The performing frequency conversion processing on the plurality of vehicle prompt sound samples respectively to obtain processed audio samples comprises: Determine the first pitch information and the second pitch information corresponding to the current driving speed according to a preset first inverse proportional function and a preset first direct proportional function respectively; According to the first pitch information, frequency conversion processing is performed on the first vehicle prompt sound samples in the first frequency band among all the vehicle prompt sound samples, and according to the second pitch information, frequency conversion processing is performed on the second vehicle prompt sound samples in the second frequency band among all the vehicle prompt sound samples, so as to obtain processed audio samples; wherein the maximum frequency of the first frequency band is less than or equal to the preset first frequency threshold, the minimum frequency of the second frequency band is greater than the preset second frequency threshold, and the second frequency threshold is greater than or equal to the first frequency threshold.
4. The method for outputting an external warning sound according to claim 2, characterized in that: The obtaining corresponding target loudness information based on the current driving speed of the vehicle includes: Obtaining overall loudness information corresponding to the current speed of the vehicle; Target loudness information corresponding to the different frequency bands is determined respectively according to the overall loudness information.
5. The method for outputting an external warning sound according to claim 4, characterized in that: The obtaining of 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 the first speed threshold, determining the overall loudness information corresponding to the current driving speed of the vehicle according to a preset second direct proportional function; If the current driving speed is greater than the first speed threshold and less than or equal to the 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; If the current driving speed is greater than the second speed threshold, it is determined that the overall loudness information corresponding to the current driving speed of the vehicle is zero.
6. The method for outputting an external warning sound according to claim 4, characterized in that: The determining the target loudness information corresponding to the different frequency bands respectively according to the overall loudness information includes: Determine sample ratio information of different frequency bands according to the current driving speed of the vehicle; The target loudness information corresponding to the different frequency bands is determined according to the sample proportion information corresponding to each frequency band and the overall loudness information.
7. The method for outputting an external warning sound according to claim 1, characterized in that: Also includes: When it is detected that the vehicle is in a reversing state, a preset simulated reversing sound audio is obtained to generate a reversing prompt sound output instruction, and the reversing prompt sound output instruction is sent to the vehicle's external speaker; wherein, the vehicle driving prompt sound output instruction is used to instruct the vehicle's external speaker to output the simulated reversing sound audio.
8. A vehicle external warning sound output device, characterized in that: include: A sample acquisition module is used to acquire a master tape of an external vehicle prompt sound, and perform frequency conversion processing on the master tape of the external vehicle prompt sound to obtain a processed audio sample; A loudness acquisition module, used to acquire corresponding target loudness information based on the current driving speed of the vehicle; An audio generation module, used to generate audio simulating the sound of a vehicle running by combining the processed audio sample and the target loudness information; An output control module is used to generate a vehicle driving prompt sound output instruction based on the simulated vehicle driving sound audio, and send the vehicle driving 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 vehicle driving sound audio.
9. An electronic device, characterized in that: include: Memory and processor; The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method for outputting an external vehicle prompt sound as claimed in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method for outputting an external vehicle prompt sound as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Driving prompt tone adjusting method, device, system and equipment and vehicle
CN119428437A
