Vehicle-based prompt tone generation method and device, equipment and storage medium
By obtaining white noise source data outside the car and inside the car, determining the frequency band of transmission loss, and generating vehicle prompt sound data, the problems of insufficient noise and noise pollution when driving at low speeds of electric vehicles are solved, and noise isolation and ride in the car are achieved. Improved experience.
Patent Information
- Application Number
- CN202411130959.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-12-13
AI Technical Summary
Electric vehicles are not noise-free when driving at low speeds, making it difficult for pedestrians to detect and prone to traffic accidents. At the same time, the prompt sound causes noise pollution to the people in the car.
By obtaining white noise source data outside the car and inside the car, determining the transmission loss frequency band, and generating prompt sound data in combination with preset sound source data to reduce noise pollution in the car.
It realizes effective isolation of the outside of the car, reduces noise pollution in the car, and improves the ride experience.
Smart Images

Figure CN119116832A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of audio processing, and in particular to a vehicle-based prompt tone generation method, device, equipment and storage medium. Background Art
[0002] When electric vehicles are driving at low speeds, the noise they generate is weak, making it difficult for pedestrians on the road to notice the vehicle approaching, which can easily lead to traffic accidents. In order to avoid accidents caused by being too quiet, electric vehicles need to emit a warning sound when driving at low speeds. However, although the warning sound can serve as a warning to pedestrians, it also causes noise pollution to people in the car.
[0003] Therefore, how to generate the vehicle's warning sound so that the warning sound reduces the noise pollution to the people in the vehicle is a problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a vehicle-based prompt sound generation method, device, equipment and storage medium to reduce noise pollution of vehicle prompt sound data.
[0005] In a first aspect, the present invention provides a vehicle-based prompt tone generation method, comprising:
[0006] Acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker;
[0007] Determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle;
[0008] The warning sound data of the vehicle is generated according to the preset sound source data and the transmission loss frequency band.
[0009] In a second aspect, the present invention provides a vehicle-based prompt sound generating device, comprising:
[0010] The sound source acquisition module is used to acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker;
[0011] A frequency band determination module, used to determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle;
[0012] A data generating module is used to generate the warning sound data of the vehicle according to the preset sound source data and the transmission loss frequency band.
[0013] In a third aspect, the invention provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0014] The memory stores computer-executable instructions;
[0015] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.
[0016] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0017] In a fifth aspect, the present invention provides a computer program product, comprising a computer program, which implements the method described in the first aspect when executed by a processor.
[0018] The present invention provides a vehicle-based prompt sound generation method, device, equipment and storage medium, which obtains the basic sound source of the prompt sound data by obtaining the preset sound source data of the vehicle. By obtaining the full-band white noise source data outside the vehicle and the white noise source data inside the vehicle, the loudness loss when the white noise outside the vehicle is transmitted to the inside of the vehicle can be determined, thereby obtaining the transmission loss frequency band. Combining the preset sound source data and the transmission loss frequency band, the vehicle's prompt sound data is obtained, so that the perception of the prompt sound by the occupants of the vehicle is not obvious, and the effective isolation of the external prompt sound from the occupants of the vehicle is achieved, reducing the noise pollution perception of the occupants of the vehicle, and improving the riding experience of the occupants of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0020] Figure 1 A schematic diagram of a process flow of a vehicle-based prompt tone generation method provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a process flow of a vehicle-based prompt tone generation method provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a first relationship provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of a second relationship provided by an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of loudness loss of white noise provided by an embodiment of the present invention;
[0025] Figure 6 A schematic diagram of a process flow of a vehicle-based prompt tone generation method provided by an embodiment of the present invention;
[0026] Figure 7 A schematic diagram of a third relationship provided by an embodiment of the present invention;
[0027] Figure 8 A structural block diagram of a vehicle-based prompt tone generating device provided by an embodiment of the present invention;
[0028] Fig. 9 A structural block diagram of a vehicle-based prompt tone generating device provided by an embodiment of the present invention;
[0029] Fig.10 A structural block diagram of an electronic device provided by an embodiment of the present invention;
[0030] Fig.11 A structural block diagram of an electronic device provided by an embodiment of the present invention.
[0031] The above drawings have shown clear embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0032] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0033] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0034] In the description of the present invention, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0035] It should be noted that due to space limitations, this specification does not exhaustively list all optional implementations. After reading this specification, those skilled in the art should be able to think that as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation. The following is a detailed description of each embodiment.
[0036] Electric vehicles, such as pure electric vehicles, hybrid vehicles, fuel cell vehicles, etc., when traveling at low speeds in pure electric mode, have significantly lower exterior noise than traditional internal combustion engine vehicles. This makes it difficult for other road users, such as pedestrians, bicycles, etc., especially people with visual impairments, to notice the approach of the vehicle, thus leading to traffic accidents.
[0037] In order to avoid accidents caused by being too quiet, electric vehicles are required to emit warning sounds when driving at low speeds. For example, warning sounds of different loudness or frequency bands are required at different driving speeds. However, although the warning sound serves to warn pedestrians, it also causes huge noise pollution to the people in the car, seriously affecting the feelings of the driver and passengers in the car and reducing the driving quality of the whole vehicle.
[0038] The present invention provides a vehicle-based prompt sound generation method, device, equipment and storage medium, aiming to solve the above technical problems in the prior art.
[0039] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0040] Figure 1 FIG. 1 is a flow chart of a method for generating a vehicle-based prompt sound according to an embodiment of the present invention. The method can be executed by a vehicle-based prompt sound generating device. Figure 1 As shown, the method comprises the following steps:
[0041] S101. Acquire preset sound source data of a vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker.
[0042] Exemplarily, the vehicle's prompt sound data is generated in advance so that when the vehicle is driving, the generated prompt sound data can be emitted to warn pedestrians. When generating the prompt sound data, a preset sound source data can be determined as the basis of the prompt sound data. The preset sound source data can represent the noise data collected outside the vehicle and generated by the vehicle itself, so that the perception of the prompt sound by the user in the vehicle is not obvious. The preset sound source data can be tire noise source data or wind noise source data. The tire noise source data refers to the noise generated by the rotation of the vehicle tires, and the wind noise source data represents the wind noise generated when the vehicle is driving. For example, the vehicle can be placed in a relatively quiet environment, for example, the vehicle can be placed on a semi-anechoic chamber drum device for the whole vehicle. Start the vehicle and rotate the tires of the vehicle at a preset driving speed. For example, the tires of the vehicle can rotate based on different driving speeds such as fixed 10km / h, 15km / h, 20km / h, and 25km / h. The tires will generate noise when they rotate, and the noise collected when the tires rotate is determined as tire noise source data. The time for each acquisition can be preset, for example, 10 seconds for each acquisition.
[0043] A microphone may be placed within a certain range outside the vehicle to collect tire noise source data. For example, a high-sensitivity analog microphone may be used for data collection, and the analog microphone may be kept 0.1 meters away from the ground. In this embodiment, the position and type of the microphone are not specifically limited.
[0044] A speaker may also be provided outside the vehicle, and the speaker outside the vehicle may emit white noise within a preset frequency band. For example, full-band white noise may be emitted, and full-band white noise refers to white noise from low frequency to high frequency. The white noise emitted by the speaker outside the vehicle may be collected by a microphone outside the vehicle as white noise source data outside the vehicle. The microphone for collecting tire noise source data and the microphone for collecting white noise source data outside the vehicle may be the same or different.
[0045] A microphone is also provided in the vehicle. For example, microphones may be provided at the driver and co-driver positions in the vehicle cockpit, and at the human ear positions in the rear seats. When the speaker outside the vehicle emits white noise, the microphone inside the vehicle also collects sound data. The white noise collected by the microphone inside the vehicle is determined as the white noise source data inside the vehicle. That is, the sound signal of the white noise transmitted from outside the vehicle to inside the vehicle can be obtained. The white noise source data outside the vehicle and the white noise source data inside the vehicle can be obtained at the same time. When collecting the white noise source data inside the vehicle, the vehicle windows can be closed.
[0046] S102. Determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle.
[0047] Exemplarily, the speaker outside the car emits white noise in a preset frequency band range, and the preset frequency band range includes multiple frequency bands. For example, the preset frequency band range can be 50Hz to 2000Hz. White noise in different frequency bands (unit: Hz) corresponds to different loudness information, and the loudness information can refer to the loudness of the audio (unit: dB). That is to say, the white noise source data outside the car can include the loudness information corresponding to each frequency band; the white noise source data inside the car can also include the loudness information corresponding to each frequency band. When white noise is transmitted from outside the car to inside the car, there will be a certain loudness loss, so that the loudness of the white noise emitted outside the car is different from the loudness of the white noise heard inside the car. That is, for the white noise source data outside the car and the white noise source data inside the car, the loudness in the same frequency band may be different.
[0048] The loudness loss in different frequency bands may also be different. Loudness loss may refer to the fact that in the same frequency band, the loudness of the in-car white noise source data is reduced compared to the loudness of the out-car white noise source data. For example, in the out-car white noise source data, the loudness information corresponding to 50Hz is 65dB, while in the in-car white noise source data, the loudness information corresponding to 50Hz is 58dB, that is, there is a 7dB loudness loss.
[0049] For each frequency band within the preset frequency band range, determine the loudness of the white noise source data outside the vehicle in the frequency band, and the loudness of the white noise source data inside the vehicle in the same frequency band. According to the loudness of the white noise source data outside the vehicle in each frequency band, and the loudness of the white noise source data inside the vehicle in the same frequency band, determine one or more frequency bands from the preset frequency band range as transmission loss frequency bands. For example, a frequency band with loudness loss can be determined as a transmission loss frequency band, or only a frequency band with a large loudness loss can be determined as a transmission loss frequency band.
[0050] S103 . Generate vehicle prompt sound data according to preset sound source data and transmission loss frequency band.
[0051] Exemplarily, the preset sound source data also includes multiple frequency bands, and the frequency band range of the preset sound source data may be different from the preset frequency band range of the white noise. For example, the frequency band range of the tire noise source data is 25 Hz to 20,000 Hz. The frequency band range of the tire noise source data is determined by the actual emission of the tire noise.
[0052] After obtaining the transmission loss frequency band, the preset sound source data and the transmission loss frequency band can be combined to generate the vehicle's prompt sound data based on the preset sound source data. For example, it can be determined whether the tire noise source data includes the transmission loss frequency band, which means that the sound in this frequency band can effectively isolate the inside and outside of the vehicle. If so, the prompt sound data can be determined based on the loudness corresponding to the transmission loss frequency band in the tire noise source data; if not, the frequency band in the tire noise source data that is close to the transmission loss frequency band can be selected, and the prompt sound data can be determined based on the loudness of the close frequency band.
[0053] The loudness of the prompt sound in different frequency bands has been pre-specified by relevant regulations. Therefore, after selecting a frequency band from the preset sound source data, the loudness specified in the frequency band can be found, and the loudness of the frequency band in the preset sound source data can be adjusted according to the pre-specified loudness. For example, the loudness of the frequency band can be increased to the specified loudness. For frequency bands that are not selected in the preset sound source data, the loudness adjustment may not be performed. The adjusted preset sound source data can be determined as the prompt sound data of the vehicle.
[0054] After obtaining the prompt audio data, you can also perform operations such as cropping, modifying and editing the prompt audio data, adjust the volume, balance and effects, etc. You can also further process the mixed prompt audio data by compression, equalization, etc., and finally export the processed prompt audio data into a file that can be parsed or played by the vehicle computer.
[0055] In an embodiment of the present invention, the basic sound source of the prompt sound data is obtained by obtaining preset sound source data such as tire noise source data of the vehicle. By obtaining full-band white noise source data outside the vehicle and white noise source data inside the vehicle, the loudness loss when the white noise outside the vehicle is transmitted to the inside of the vehicle can be determined, thereby obtaining the transmission loss frequency band. Combining the preset sound source data and the transmission loss frequency band, the vehicle's prompt sound data is obtained. The preset sound source data conforms to the characteristics of the entire vehicle noise. By taking the preset sound source data as the basis, the perception of the prompt sound by the occupants of the vehicle is not obvious. By combining the transmission loss frequency band, the effective isolation of the external prompt sound from the occupants of the vehicle is achieved, further reducing the noise pollution perception of the occupants of the vehicle, and improving the riding experience of the occupants of the vehicle.
[0056] Figure 2 A flowchart of a vehicle-based prompt tone generation method provided in an embodiment of the present invention is provided. This embodiment is an optional embodiment based on the above embodiment.
[0057] In this embodiment, the preset frequency band range includes multiple frequency bands; determining the transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle includes: determining the frequency response relationship of the white noise source data outside the vehicle as a first relationship, and determining the frequency response relationship of the white noise source data inside the vehicle as a second relationship; wherein the frequency response relationship represents the relationship between each frequency band and the loudness information corresponding to the frequency band; determining the transmission loss frequency band according to the first relationship and the second relationship.
[0058] like Figure 2 As shown, the method comprises the following steps:
[0059] S201. Acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker.
[0060] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0061] S202, determining the frequency response relationship of the white noise source data outside the vehicle as a first relationship, and determining the frequency response relationship of the white noise source data inside the vehicle as a second relationship; wherein the frequency response relationship represents the relationship between each frequency band and the loudness information corresponding to the frequency band.
[0062] Exemplarily, both the vehicle exterior white noise source data and the vehicle interior white noise source data include loudness information corresponding to different frequency bands, for example, the preset frequency band range includes 50Hz, 63Hz, 80Hz, 125Hz, 160Hz, 200Hz, 250Hz, etc. Each frequency band has its own corresponding loudness information, for example, for the vehicle exterior white noise source data, the loudness information corresponding to each frequency band is 65dB; for the vehicle interior white noise source data, the loudness information corresponding to the 50Hz frequency band is 58dB, the loudness information corresponding to the 63Hz frequency band is 59dB, and the loudness information corresponding to the 80Hz frequency band is 65dB.
[0063] The loudness information corresponding to each frequency band is determined from the white noise source data outside the vehicle, and the frequency response relationship of the white noise source data outside the vehicle is obtained as the first relationship. And the loudness information corresponding to each frequency band is determined from the white noise source data inside the vehicle, and the frequency response relationship of the white noise source data inside the vehicle is obtained as the second relationship.
[0064] The frequency response relationship, that is, the first relationship and the second relationship, can be represented by a bar graph. Figure 3 is a schematic diagram of the first relationship, Figure 3 In the preset frequency band range, it is 50Hz to 2000Hz, and the loudness information corresponding to each frequency band is 65dB. Figure 4 is a schematic diagram of the second relationship, Figure 4 In the preset frequency band range, it is also 50Hz to 2000Hz, and each frequency band corresponds to different loudness information.
[0065] S203: Determine a transmission loss frequency band according to the first relationship and the second relationship.
[0066] Exemplarily, after obtaining the first relationship and the second relationship, the loudness information corresponding to the same frequency band in the first relationship and the second relationship can be compared. According to the comparison result, the transmission loss frequency band is determined from the preset frequency band range. For example, the bar graph of the first relationship and the bar graph of the second relationship can be overlapped to find the frequency band where the loudness information of the two graphs has a difference in the same frequency band, and the found frequency band is determined as the transmission loss frequency band. For example, Figure 3 In the example, the loudness information corresponding to 500Hz is 65dB. Figure 4 In the figure, the loudness information corresponding to 500Hz is 35dB, the difference between the two loudness information is 30dB, and 500Hz is the transmission loss frequency band.
[0067] In this embodiment, the transmission loss frequency band is determined according to the first relationship and the second relationship, including: determining the loudness difference between the white noise source data outside the vehicle and the white noise source data inside the vehicle in each frequency band according to the first relationship and the second relationship; determining the transmission loss frequency band according to the loudness difference between the white noise source data outside the vehicle and the white noise source data inside the vehicle in each frequency band.
[0068] Specifically, the frequency bands included in the first relationship and the second relationship are the same. For each frequency band, one piece of loudness information can be found in the first relationship, and one piece of loudness information can also be found in the second relationship. For any frequency band, the loudness information corresponding to the frequency band in the first relationship is determined as the first loudness information, and the loudness information of the frequency band in the second relationship is determined as the second loudness information.
[0069] For each frequency band, the difference between the first loudness information and the second loudness information is determined, that is, the loudness difference between the white noise source data outside the vehicle and the white noise source data inside the vehicle in each frequency band is determined. The loudness difference is the loudness loss of the white noise in the frequency band when it is transmitted from outside the vehicle to inside the vehicle. According to the loudness differences corresponding to each frequency band, one or more transmission loss frequency bands are determined from the multiple frequency bands. For example, a frequency band with a larger loudness difference is determined as a transmission loss frequency band.
[0070] Figure 5 This is a schematic diagram of the loudness loss of white noise, which can represent the loudness loss in different frequency bands when white noise is transmitted from outside the car to inside the car. Figure 5 It can be seen that between 200Hz and 400Hz, the loudness loss is only about 5dB, while between 400Hz and 6000Hz, the loudness loss reaches 30 to 35dB, and at 8000Hz and above it is only about 5dB.
[0071] The beneficial effect of this setting is that, based on the loudness difference of white noise transmitted from outside the car to inside the car, it is possible to determine which frequency bands can be effectively isolated, thereby determining the transmission loss frequency band, improving the accuracy of the generation of the prompt sound data, and ensuring that the people in the car do not perceive the prompt sound data obviously.
[0072] In this embodiment, the transmission loss frequency band is determined according to the loudness difference between the white noise source data outside the vehicle and the white noise source data inside the vehicle in each frequency band, including: if the loudness difference between the white noise source data outside the vehicle and the white noise source data inside the vehicle in the frequency band is greater than a preset loudness threshold, then the frequency band is determined to be a transmission loss frequency band.
[0073] Specifically, a loudness value is preset as a loudness threshold. If the loudness information of a certain frequency band in the first relationship is consistent with the loudness information of the frequency band in the second relationship, that is, the frequency band has no corresponding loudness difference value, then the frequency band is definitely not a transmission loss frequency band. If it is determined that the frequency band corresponds to a loudness difference value, the loudness difference value can be compared with a preset loudness threshold. If the loudness difference value of the frequency band is greater than the preset loudness threshold, then the frequency band is determined to be a transmission loss frequency band; if the loudness difference value of the frequency band is less than or equal to the preset loudness threshold, then the frequency band is determined not to be a transmission loss frequency band.
[0074] The beneficial effect of such a setting is that by comparing the loudness difference with the loudness threshold, a frequency band with a larger loudness difference can be determined, that is, a frequency band with a good isolation effect can be determined, thereby improving the generation accuracy of the prompt sound data.
[0075] S204: Generate vehicle prompt sound data according to preset sound source data and transmission loss frequency band.
[0076] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.
[0077] In an embodiment of the present invention, the basic sound source of the prompt sound data is obtained by acquiring the preset sound source data of the vehicle. By acquiring the full-band white noise source data outside the vehicle and the white noise source data inside the vehicle, the loudness loss when the white noise outside the vehicle is transmitted to the inside of the vehicle can be determined, thereby obtaining the transmission loss frequency band. Combining the preset sound source data and the transmission loss frequency band, the vehicle's prompt sound data is obtained. The preset sound source data conforms to the characteristics of the entire vehicle noise. By taking the preset sound source data as the basis, the perception of the prompt sound by the occupants of the vehicle is not obvious. By combining the transmission loss frequency band, the effective isolation of the external prompt sound from the occupants of the vehicle is achieved, further reducing the noise pollution perception of the occupants of the vehicle, and improving the riding experience of the occupants of the vehicle.
[0078] Figure 6 A flowchart of a vehicle-based prompt tone generation method provided in an embodiment of the present invention is provided. This embodiment is an optional embodiment based on the above embodiment.
[0079] In this embodiment, the vehicle's prompt sound data is generated according to the preset sound source data and the transmission loss frequency band, including: determining the frequency response relationship of the preset sound source data is a third relationship; generating the vehicle's prompt sound data according to the third relationship and the transmission loss frequency band.
[0080] like Figure 6 As shown, the method comprises the following steps:
[0081] S601. Acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker.
[0082] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0083] S602. Determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle.
[0084] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.
[0085] S603: Determine the frequency response relationship of the preset sound source data as the third relationship.
[0086] Exemplarily, the preset sound source data is noise related to the vehicle, for example, the preset sound source data is tire noise source data. When the tire makes noise, it can make sounds in multiple frequency bands, that is, the tire noise source data includes multiple frequency bands, and different frequency bands can correspond to different loudness. After the tire noise source data is obtained, the correlation between each frequency band and loudness in the tire noise source data can be determined as the third relationship.
[0087] Figure 7 This is a schematic diagram of the third relationship. Figure 7 It can represent the tire noise characteristics of the vehicle at a speed of 25km / h. The frequency band of the tire noise source data is between 25Hz and 20000Hz, among which the loudness between 400Hz and 5000Hz is relatively large, that is, the energy amplitude of the tire noise source is concentrated in the frequency band of 400Hz to 5000Hz. By statistically comparing the loudness of each frequency band at different driving speeds, it can be found that the energy amplitude of the tire noise source at different speeds is concentrated in the frequency band of 400Hz to 1600Hz.
[0088] S604: Generate vehicle prompt sound data according to the third relationship and the transmission loss frequency band.
[0089] Exemplarily, after obtaining the third relationship and the transmission loss frequency band, the frequency bands that need to be adjusted in loudness can be determined by combining the frequency bands in the third relationship and the transmission loss frequency bands, thereby obtaining the vehicle's prompt sound data. For example, according to the transmission loss frequency band, a portion of the frequency bands can be determined from the third relationship, and the loudness information of the portion of the frequency bands can be adjusted to obtain the prompt sound data.
[0090] In this embodiment, the vehicle's prompt sound data is generated according to the third relationship and the transmission loss frequency band, including: determining the candidate frequency band of the preset sound source data according to the third relationship; wherein the third relationship includes multiple frequency bands, and the candidate frequency band is a part of the frequency band in the third relationship; determining the target frequency band of the preset sound source data according to the candidate frequency band and the transmission loss frequency band; and determining the vehicle's prompt sound data according to the loudness information corresponding to the target frequency band.
[0091] Specifically, multiple frequency bands may be represented in the third relationship, and a portion of the frequency bands may be selected from the multiple frequency bands in the third relationship as candidate frequency bands. For example, multiple frequency bands in the middle range of the third relationship may be determined as candidate frequency bands, or multiple frequency bands with larger loudness information values may be determined as candidate frequency bands.
[0092] The target frequency band is determined from the candidate frequency bands by combining the candidate frequency bands and the transmission loss frequency bands. For example, it can be determined whether the transmission loss frequency band exists in the candidate frequency bands. If so, the transmission loss frequency band in the candidate frequency bands is used as the target frequency band; if not, the candidate frequency band can be directly used as the target frequency band. Alternatively, after determining that the transmission loss frequency band does not exist in the candidate frequency bands, it can be determined whether the transmission loss frequency band is located in the third relationship. If so, both the candidate frequency band and the transmission loss frequency band can be used as the target frequency band; if not, the candidate frequency band can be directly used as the target frequency band.
[0093] That is to say, the target frequency band must be located in the frequency band contained in the preset sound source data, the loudness information corresponding to the target frequency band in the preset sound source data is determined, and the loudness information of the target frequency band is adjusted to obtain the vehicle's prompt sound data. For example, the loudness information of the target frequency band can be appropriately increased, and the loudness information of the frequency bands other than the target frequency band is not changed. According to the adjusted preset sound source data, the vehicle's prompt sound data is obtained, that is, the prompt sound data includes the adjusted target frequency band and the frequency band that is not adjusted.
[0094] The beneficial effect of this setting is that a part of the frequency band is selected from the preset sound source data for adjustment, so that the loudness of the 1 / 3 octave band in the preset sound source data meets the relevant regulations, which can not only serve to alert pedestrians, but also reduce the impact on people in the car, and improve the accuracy and efficiency of generating prompt sound data.
[0095] In this embodiment, determining the candidate frequency band of the preset sound source data according to the third relationship includes: if the value of the loudness information corresponding to the frequency band in the third relationship is greater than a preset loudness threshold, determining the frequency band in the third relationship as the candidate frequency band of the preset sound source data.
[0096] Specifically, a loudness threshold is preset, loudness information corresponding to each frequency band is determined from the third relationship, and the loudness information corresponding to each frequency band is compared with the preset loudness threshold. If the value of the loudness information corresponding to a frequency band in the third relationship is greater than the preset loudness threshold, the frequency band is determined as a candidate frequency band; if the loudness information of a frequency band is less than or equal to the preset loudness threshold, the frequency band is determined not to be a candidate frequency band.
[0097] Alternatively, the loudness information corresponding to each frequency band in the third relationship may be determined first, and an average value may be calculated based on the determined loudness information, and the calculated average value may be determined as a loudness threshold, and then the loudness information corresponding to each frequency band may be compared with the loudness threshold to determine a candidate frequency band.
[0098] The beneficial effect of such a setting is that the frequency band with larger loudness is used as the candidate frequency band, which facilitates the determination of the target frequency band from the candidate frequency bands, thereby eliminating the need to adjust the loudness information of all frequency bands, reducing the amount of adjustment calculations, and improving the efficiency of generating the prompt tone.
[0099] In this embodiment, the target frequency band of the preset sound source data is determined according to the candidate frequency band and the transmission loss frequency band, including: comparing the candidate frequency band and the transmission loss frequency band to obtain the intersection frequency band of the candidate frequency band and the transmission loss frequency band; determining the intersection frequency band as the target frequency band.
[0100] Specifically, there may be repeated frequency bands in the candidate frequency bands and the transmission loss frequency bands, and the candidate frequency bands and the transmission loss frequency bands are compared to determine the repeated frequency bands in the candidate frequency bands and the transmission loss frequency bands as the intersection frequency bands. The intersection frequency bands are determined as target frequency bands, and the target frequency bands may be one or more.
[0101] For example, the transmission loss frequency band is 400 Hz to 6000 Hz, the candidate frequency band is 400 Hz to 1600 Hz, and the intersection frequency band of the transmission loss frequency band and the candidate frequency band is 400 Hz to 1600 Hz, that is, the target frequency band is 400 Hz to 1600 Hz.
[0102] The beneficial effect of this setting is that the target frequency band is determined by combining the candidate frequency band and the transmission loss frequency band, ensuring that the target frequency band has both a high energy amplitude and can effectively isolate the sound, thereby producing a prompt sound that is not perceived by the people in the car and improving the riding experience.
[0103] In this embodiment, determining the vehicle's prompt sound data according to the loudness information corresponding to the target frequency band includes: determining the standard loudness corresponding to the target frequency band according to the association between the preset frequency band and the standard loudness; wherein the standard loudness represents the numerical value that the loudness information needs to reach in different frequency bands; and adjusting the loudness information corresponding to the target frequency band according to the standard loudness corresponding to the target frequency band to obtain the vehicle's prompt sound data.
[0104] Specifically, according to relevant industry regulations, a correlation relationship between different frequency bands and standard loudness is preset, and the standard loudness refers to the numerical value of the loudness information that the frequency band should correspond to in the prompt sound data. After determining the target frequency band, the standard loudness corresponding to the target frequency band is determined according to the preset correlation relationship between the frequency band and the standard loudness, that is, the size of the loudness information that should be available under the target frequency band is determined.
[0105] According to the standard loudness corresponding to the target frequency band, the loudness information corresponding to the target frequency band is adjusted so that the adjusted loudness information of the target frequency band can reach the standard loudness, thereby obtaining the vehicle prompt sound data. For example, the loudness information of the target frequency band can be increased to reach the standard loudness.
[0106] The beneficial effect of such a setting is that the loudness of the target frequency band is raised to the standard of relevant regulations, so that the prompt sound data meets the regulations, ensuring that the prompt sound data can serve as a reminder to pedestrians and improve road safety. In addition, in this embodiment, the loudness corresponding to the target frequency band itself is larger than that of other frequency bands. When the loudness of the target frequency band is raised in a small range, it will not affect the overall timbre and there is no need to adjust too many frequency bands, thereby improving the efficiency of generating prompt sound data.
[0107] In this embodiment, determining the candidate frequency bands of the preset sound source data according to the third relationship includes: adjusting the loudness information corresponding to each frequency band in the third relationship according to a preset loudness adjustment range to obtain an adjusted third relationship; and determining the candidate frequency bands of the preset sound source data according to the adjusted third relationship.
[0108] Specifically, after obtaining the third relationship, the loudness of each frequency band in the third relationship may be adjusted. A loudness adjustment range may be preset, and the loudness adjustment range may represent an incremental range of the loudness adjustment. According to the loudness adjustment range, the loudness information corresponding to each frequency band in the third relationship is adjusted to obtain the adjusted third relationship. For example, the loudness of each frequency band may be appropriately increased by 1 to 2 dB.
[0109] After obtaining the adjusted third relationship, the candidate frequency bands are determined from the third relationship. After adjusting the third relationship, since the loudness corresponding to the frequency band has been raised, the loudness information of some frequency bands may have reached the standard loudness size. For such frequency bands, no subsequent loudness adjustment is required, that is, such frequency bands may not be used as candidate frequency bands. In other words, the standard loudness size of each frequency band is determined according to the association relationship between the preset frequency band and the standard loudness size. The current loudness information of each frequency band in the adjusted third relationship is determined, and it is judged whether the current loudness information reaches the corresponding standard loudness size. If so, it is determined that the frequency band is not a candidate frequency band; if not, the value of the current loudness information of the frequency band is compared with the preset loudness threshold to determine whether the frequency band can be used as a candidate frequency band.
[0110] The beneficial effect of such a setting is that the preset sound source data is first adjusted for loudness as a whole, and then subsequent loudness adjustments are made, so that the overall loudness is increased, which is convenient for playing a prompt role, and there is no need to adjust the frequency band that meets the standard subsequently, thereby improving the efficiency and accuracy of generating the prompt sound.
[0111] In an embodiment of the present invention, the basic sound source of the prompt sound data is obtained by acquiring the preset sound source data of the vehicle. By acquiring the full-band white noise source data outside the vehicle and the white noise source data inside the vehicle, the loudness loss when the white noise outside the vehicle is transmitted to the inside of the vehicle can be determined, thereby obtaining the transmission loss frequency band. Combining the preset sound source data and the transmission loss frequency band, the vehicle's prompt sound data is obtained. The preset sound source data conforms to the characteristics of the entire vehicle noise. By taking the preset sound source data as the basis, the perception of the prompt sound by the occupants of the vehicle is not obvious. By combining the transmission loss frequency band, the effective isolation of the external prompt sound from the occupants of the vehicle is achieved, further reducing the noise pollution perception of the occupants of the vehicle, and improving the riding experience of the occupants of the vehicle.
[0112] Figure 8 The structure block diagram of a vehicle-based prompt sound generating device provided by an embodiment of the present invention. For the convenience of explanation, only the part related to the embodiment of the present disclosure is shown. Figure 8 The vehicle-based prompt sound generating device 800 includes: a sound source acquiring module 801 , a frequency band determining module 802 and a data generating module 803 .
[0113] The sound source acquisition module 801 is used to acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker;
[0114] The frequency band determination module 802 is used to determine the transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents the frequency band where loudness loss occurs when the white noise is transmitted from outside the vehicle to inside the vehicle;
[0115] The data generating module 803 is used to generate the warning sound data of the vehicle according to the preset sound source data and the transmission loss frequency band.
[0116] Fig. 9 A structural block diagram of a vehicle-based prompt sound generating device provided in an embodiment of the present disclosure, such as Fig. 9 As shown, the vehicle-based prompt sound generating device 900 includes a sound source acquiring module 901 , a frequency band determining module 902 and a data generating module 903 , wherein the frequency band determining module 902 includes a relationship determining unit 9021 and a frequency band determining unit 9022 .
[0117] The first determining unit 9021 is used to determine the frequency response relationship of the white noise source data outside the vehicle as a first relationship, and determine the frequency response relationship of the white noise source data inside the vehicle as a second relationship; wherein the frequency response relationship represents the relationship between each frequency band and the loudness information corresponding to the frequency band;
[0118] The second determining unit 9022 is configured to determine the transmission loss frequency band according to the first relationship and the second relationship.
[0119] In one example, the second determining unit 9022 includes:
[0120] a difference determination subunit, configured to determine a loudness difference between the vehicle exterior white noise source data and the vehicle interior white noise source data in each frequency band according to the first relationship and the second relationship;
[0121] The frequency band determination subunit is used to determine the transmission loss frequency band according to the loudness difference between the external white noise source data and the internal white noise source data in each frequency band.
[0122] In one example, the frequency band determination subunit is specifically used to:
[0123] If the loudness difference between the external white noise source data and the internal white noise source data in the vehicle in a frequency band is greater than a preset loudness threshold, the frequency band is determined to be the transmission loss frequency band.
[0124] In one example, the data generation module 903 includes:
[0125] A third determining unit, used to determine that the frequency response relationship of the preset sound source data is a third relationship;
[0126] The fourth determining unit is used to generate the warning sound data of the vehicle according to the third relationship and the transmission loss frequency band.
[0127] In one example, the fourth determining unit includes:
[0128] A candidate determination subunit, configured to determine a candidate frequency band of the preset sound source data according to the third relationship; wherein the third relationship includes a plurality of frequency bands, and the candidate frequency band is a partial frequency band in the third relationship;
[0129] a target determination subunit, configured to determine a target frequency band of the preset sound source data according to the candidate frequency band and the transmission loss frequency band;
[0130] The data determination subunit is used to determine the prompt sound data of the vehicle according to the loudness information corresponding to the target frequency band.
[0131] In one example, the candidate determination subunit is specifically used for:
[0132] If the value of the loudness information corresponding to the frequency band in the third relationship is greater than a preset loudness threshold, the frequency band in the third relationship is determined as a candidate frequency band for the preset sound source data.
[0133] In one example, the target determination subunit is specifically used to:
[0134] Comparing the candidate frequency band with the transmission loss frequency band to obtain an intersection frequency band between the candidate frequency band and the transmission loss frequency band;
[0135] The intersection frequency band is determined as the target frequency band.
[0136] In one example, the data determination subunit is specifically used for:
[0137] According to the association between the preset frequency band and the standard loudness, the standard loudness corresponding to the target frequency band is determined; wherein the standard loudness represents the numerical value that the loudness information needs to reach in different frequency bands;
[0138] According to the standard loudness corresponding to the target frequency band, the loudness information corresponding to the target frequency band is adjusted to obtain the prompt sound data of the vehicle.
[0139] In one example, the candidate determination subunit is specifically used for:
[0140] According to a preset loudness adjustment range, the loudness information corresponding to each frequency band in the third relationship is adjusted to obtain an adjusted third relationship;
[0141] According to the adjusted third relationship, a candidate frequency band of the preset sound source data is determined.
[0142] In one example, the preset sound source data represents noise data collected outside the vehicle and generated by the vehicle itself.
[0143] In one example, the preset sound source data includes at least one of tire noise source data and wind noise source data, wherein the tire noise source data represents the noise generated by the rotation of the vehicle tires, and the wind noise source data represents the wind noise generated when the vehicle is driving.
[0144] Fig.10 A structural block diagram of an electronic device provided in an embodiment of the present application, such as Fig.10 As shown, the electronic device includes: a memory 11 and a processor 12; the memory 11 is a memory for storing instructions executable by the processor 12.
[0145] The processor 12 is configured to execute the method provided in the above embodiment.
[0146] The electronic device further includes a receiver 13 and a transmitter 14. The receiver 13 is used to receive instructions and data sent by other devices, and the transmitter 14 is used to send instructions and data to external devices.
[0147] Fig.11 It is a block diagram of a terminal device according to an exemplary embodiment. The device may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0148] Device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .
[0149] The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 1102 may include one or more modules to facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
[0150] Device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .
[0151] The memory 1104 is configured to store various types of data to support the operation of the device 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0152] The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.
[0153] The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0154] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the device 1100 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
[0155] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0156] The sensor assembly 1114 includes one or more sensors for providing various aspects of the status assessment of the device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the device 1100, the relative positioning of components, such as the display and keypad of the device 1100, the sensor assembly 1114 can also detect the position change of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, the orientation or acceleration / deceleration of the device 1100, and the temperature change of the device 1100. The sensor assembly 1114 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0157] The communication component 1116 is configured to facilitate wired or wireless communication between the device 1100 and other devices. The device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0158] In an exemplary embodiment, the device 1100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0159] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the instructions can be executed by the processor 1120 of the device 1100 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0160] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal device, enables the terminal device to execute the vehicle-based prompt tone generation method of the terminal device.
[0161] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0162] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A vehicle-based prompt tone generation method, characterized in that: include: Acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise collected outside the vehicle; and the white noise source data inside the vehicle represents white noise collected inside the vehicle; Determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle; The warning sound data of the vehicle is generated according to the preset sound source data and the transmission loss frequency band.
2. The method according to claim 1, characterized in that The preset sound source data represents noise data collected outside the vehicle and generated by the vehicle itself.
3. The method according to claim 2, characterized in that The preset sound source data includes at least one of tire noise source data and wind noise source data, wherein the tire noise source data represents the noise generated by the rotation of the vehicle tires, and the wind noise source data represents the wind noise generated when the vehicle is traveling.
4. The method according to claim 1, characterized in that The preset frequency band range includes multiple frequency bands; Determining a transmission loss frequency band according to the vehicle exterior white noise source data and the vehicle interior white noise source data includes: Determine the frequency response relationship of the white noise source data outside the vehicle as a first relationship, and determine the frequency response relationship of the white noise source data inside the vehicle as a second relationship; wherein the frequency response relationship represents the relationship between each frequency band and the loudness information corresponding to the frequency band; The transmission loss frequency band is determined according to the first relationship and the second relationship.
5. The method according to claim 4, characterized in that Determining the transmission loss frequency band according to the first relationship and the second relationship includes: Determine, according to the first relationship and the second relationship, a loudness difference between the vehicle exterior white noise source data and the vehicle interior white noise source data in each frequency band; The transmission loss frequency band is determined according to the loudness difference between the external white noise source data and the internal white noise source data in each frequency band.
6. The method according to claim 5, characterized in that Determining the transmission loss frequency band according to the loudness difference between the vehicle exterior white noise source data and the vehicle interior white noise source data in each frequency band includes: If the loudness difference between the external white noise source data and the internal white noise source data in the vehicle in a frequency band is greater than a preset loudness threshold, the frequency band is determined to be the transmission loss frequency band.
7. The method according to any one of claims 1 to 6, characterized in that Generating the prompt sound data of the vehicle according to the preset sound source data and the transmission loss frequency band, including: Determining the frequency response relationship of the preset sound source data to be a third relationship; The warning sound data of the vehicle is generated according to the third relationship and the transmission loss frequency band.
8. The method according to claim 7, characterized in that Generating the prompt sound data of the vehicle according to the third relationship and the transmission loss frequency band, including: According to the third relationship, determining a candidate frequency band of the preset sound source data; wherein the third relationship includes a plurality of frequency bands, and the candidate frequency band is a part of the frequency bands in the third relationship; Determining a target frequency band of the preset sound source data according to the candidate frequency band and the transmission loss frequency band; The prompt sound data of the vehicle is determined according to the loudness information corresponding to the target frequency band.
9. The method according to claim 8, characterized in that Determining the candidate frequency band of the preset sound source data according to the third relationship includes: If the value of the loudness information corresponding to the frequency band in the third relationship is greater than a preset loudness threshold, the frequency band in the third relationship is determined as a candidate frequency band for the preset sound source data.
10. The method according to claim 8, characterized in that Determining a target frequency band of the preset sound source data according to the candidate frequency band and the transmission loss frequency band includes: Comparing the candidate frequency band with the transmission loss frequency band to obtain an intersection frequency band between the candidate frequency band and the transmission loss frequency band; The intersection frequency band is determined as the target frequency band.
11. The method according to claim 8, characterized in that Determining the prompt sound data of the vehicle according to the loudness information corresponding to the target frequency band includes: According to the association between the preset frequency band and the standard loudness, the standard loudness corresponding to the target frequency band is determined; wherein the standard loudness represents the numerical value that the loudness information needs to reach in different frequency bands; According to the standard loudness corresponding to the target frequency band, the loudness information corresponding to the target frequency band is adjusted to obtain the prompt sound data of the vehicle.
12. The method according to claim 8, characterized in that Determining the candidate frequency band of the preset sound source data according to the third relationship includes: According to a preset loudness adjustment range, the loudness information corresponding to each frequency band in the third relationship is adjusted to obtain an adjusted third relationship; According to the adjusted third relationship, a candidate frequency band of the preset sound source data is determined.
13. A vehicle-based prompt sound generating device, characterized in that: include: The sound source acquisition module is used to acquire preset sound source data of the vehicle, white noise source data outside the vehicle, and white noise source data inside the vehicle; wherein the white noise source data outside the vehicle represents white noise within a preset frequency band range collected outside the vehicle and emitted by an external speaker; the white noise source data inside the vehicle represents white noise within a preset frequency band range collected inside the vehicle and emitted by an external speaker; A frequency band determination module, used to determine a transmission loss frequency band according to the white noise source data outside the vehicle and the white noise source data inside the vehicle; wherein the transmission loss frequency band represents a frequency band where loudness loss occurs when white noise is transmitted from outside the vehicle to inside the vehicle; A data generating module is used to generate the warning sound data of the vehicle according to the preset sound source data and the transmission loss frequency band.
14. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 12 when executed by a processor.
16. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 12 when being executed by a processor.
Citation Information
Cited By
Low-speed prompt tone generation method and device for electric vehicle, vehicle and storage medium
CN121397423A
Vehicle warning tone generation method and device, vehicle and storage medium
CN121397424A
