Audio processing method and device, medium and product

By obtaining the real-time speed of the vehicle and playing audio, and using a dynamic equalizer to adjust the audio intensity of the audio band, the problem of noise interference with sound effects when the vehicle is driving is solved, and the listening experience in the car is improved.

CN120434555APending Publication Date: 2025-08-05SHANGHAI AWINIC TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510556110.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

Road noise and wind noise during vehicle driving interfere with the sound effects of the on-board audio system, reducing the user's listening experience.

Method used

By acquiring the real-time speed of the vehicle and playing audio, using the first correspondence relationship to determine the audio band to be adjusted and its adjustment parameters, and adjusting the audio using a dynamic equalizer to reduce the audio intensity of the frequency range affected by the noise.

Benefits of technology

It improves the suppression effect of the noise in the car and improves the listening experience of the user.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434555A_ABST
    Figure CN120434555A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of audio processing, in particular to an audio processing method and device, a medium and a product. According to the method, in the driving process of a vehicle, a vehicle-mounted terminal can obtain the real-time speed of the vehicle and played audios, and to-be-adjusted audio segments corresponding to the real-time speed of the vehicle and adjustment parameters corresponding to the to-be-adjusted audio segments are determined based on a first corresponding relation. Wherein the first corresponding relation is frequency ranges, influenced by noise, of audios played by the vehicle-mounted terminal at different speeds, and adjustment parameters corresponding to the frequency ranges. Therefore, the played audio can be adjusted based on the adjustment relation corresponding to each to-be-adjusted audio. In this way, the noise suppression effect can be improved by adjusting the audio segments, affected by the noise, in the audio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing technology, and in particular to an audio processing method, device, medium and product. Background Art

[0002] The sound quality of in-car audio systems has gradually become a focus of attention for both automakers and users. During the vehicle manufacturing process, professional tuners typically perform sound adjustments while the vehicle is stationary. However, while the vehicle is in motion, noise from road and wind can interfere with the system's sound quality, thereby degrading the user's listening experience. Summary of the Invention

[0003] To address the issue of noise interfering with the sound effects of an in-vehicle audio system, embodiments of the present application provide an audio processing method, device, medium, and product, including:

[0004] In a first aspect, an embodiment of the present application provides an audio processing method, comprising: obtaining a first speed of an electronic device at a first moment and a first audio to be processed; determining N adjustment parameters corresponding to the first speed based on a first correspondence; wherein the first correspondence includes: multiple frequency ranges affected by noise in the audio played by the electronic device at different speeds, and adjustment parameters corresponding to each of the multiple frequency ranges, where N is a positive integer greater than or equal to 1; adjusting the audio intensity corresponding to the corresponding frequency range in the first audio according to the adjustment parameters corresponding to each frequency range in the first audio in the N adjustment parameters to obtain an adjusted second audio.

[0005] In some optional implementations of the first aspect, based on the first corresponding relationship, N adjustment parameters corresponding to the first speed are determined, including: based on the first corresponding relationship, N frequency ranges to be adjusted corresponding to the first speed, and adjustment parameters corresponding to each of the N frequency ranges to be adjusted, to obtain N adjustment parameters.

[0006] In some optional implementations of the first aspect, adjusting the audio intensity corresponding to the corresponding frequency range in the first audio according to N adjustment parameters to obtain the adjusted second audio includes: determining M audio segments to be adjusted from the first audio, the M audio segments to be adjusted corresponding to M frequency ranges to be adjusted, M is less than or equal to N; adjusting the audio intensity of the M audio segments to be adjusted in the first audio according to the M adjustment parameters corresponding to the M frequency ranges to be adjusted, to obtain the adjusted second audio.

[0007] In some optional implementations of the first aspect, the audio intensities of M audio segments to be adjusted in the first audio are adjusted according to M adjustment parameters corresponding to M frequency ranges to be adjusted to obtain an adjusted second audio, including: obtaining a second speed of the electronic device at a second moment; the second moment is earlier than the first moment; determining Q adjustment parameters corresponding to the second speed based on a first correspondence; determining a parameter difference corresponding to each of the M audio segments to be adjusted from the M adjustment parameters and the Q adjustment parameters; when the parameter difference is greater than a parameter difference threshold, adjusting the audio intensity of each audio segment to be adjusted based on a first step length to obtain the second audio; when the parameter difference is less than or equal to the parameter difference threshold, adjusting the audio intensity of each audio segment to be adjusted based on a second step length to obtain the second audio; wherein the first step length is greater than the second step length.

[0008] In some optional implementations of the first aspect, adjusting each audio segment to be adjusted based on the first step length includes: obtaining a first audio intensity of the audio to be adjusted; and determining a sum of the first step length and the first audio intensity as the adjusted second audio intensity of the audio to be adjusted.

[0009] In some optional implementations of the first aspect, the frequency range affected by noise is determined in the following manner: the noise of the electronic device at each speed is obtained; a target noise segment is determined from the noise based on the amplitude of change in the audio intensity of the noise within a preset time period; wherein the amplitude of change in the audio intensity of the target noise segment is greater than a change amplitude threshold; and the frequency range corresponding to the target noise segment is determined as the frequency range affected by noise.

[0010] In some optional implementations of the first aspect, the electronic device includes any one of the following: a vehicle-mounted terminal, a smart phone, a portable music player, a smart watch, and a smart headset.

[0011] In a second aspect, the present application provides an electronic device comprising: a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, for executing the audio processing method mentioned in the first aspect of the present application or any item of the first aspect.

[0012] In a third aspect, the present application provides a readable storage medium having instructions stored thereon. When the instructions are executed on an electronic device, the electronic device executes the audio processing method mentioned in the first aspect of the present application or any item of the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions. When executed by an electronic device, the electronic device executes the computer program code of the audio processing method mentioned in the first aspect of the present application or any item of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 According to some embodiments of the present application, a flowchart of an audio processing method is shown;

[0015] Figure 2 According to some embodiments of the present application, a block diagram of an audio processing method is shown;

[0016] Figure 3 According to some embodiments of the present application, a block diagram of another audio processing method is shown;

[0017] Figure 4 According to some embodiments of the present application, a block diagram of a method for updating an adjustment parameter is shown;

[0018] Figure 5 According to some embodiments of the present application, a schematic structural diagram of a vehicle is shown. DETAILED DESCRIPTION

[0019] The embodiments of the present application include but are not limited to an audio processing method, device, medium and product.

[0020] It is understood that the audio processing method mentioned in the embodiments of the present application can be applied to electronic devices. Among them, the electronic device can be called a terminal, user equipment (UE), mobile terminal (MT), etc. In some specific implementations, the electronic device can be a device with audio playback function, such as a car terminal, a smart phone, a portable music player, a smart watch, and a smart headset.

[0021] The following uses the electronic device as an in-vehicle terminal as an example to introduce the audio processing method mentioned in the embodiment of this application.

[0022] As previously mentioned, when a vehicle is in motion, road noise, wind noise, and other noise can interfere with the sound quality of the vehicle's audio system, thereby reducing the listening experience for users within the vehicle. To address this issue, in some implementations, the volume of the vehicle's audio system can be increased while the vehicle is in motion, thereby increasing the loudness of the audio output by the vehicle's audio system to be louder than the noise. However, if the volume of the vehicle's audio system is already at or near maximum, it cannot be increased further, resulting in poor noise suppression.

[0023] In order to solve the above problems, an embodiment of the present application provides an audio processing method. In this method, during the driving process of the vehicle, the on-board terminal can obtain the real-time speed of the vehicle and the audio being played, and determine the audio segment to be adjusted corresponding to the real-time speed of the vehicle and the adjustment parameters corresponding to each audio segment to be adjusted based on the first corresponding relationship. Among them, the first corresponding relationship is the frequency range of the audio played by the on-board terminal at different speeds affected by noise, and the adjustment parameters corresponding to each frequency range. Thus, the played audio can be adjusted based on the adjustment relationship corresponding to each audio to be adjusted. In this way, by adjusting the audio segment affected by noise in the audio, the noise suppression effect can be improved.

[0024] The following describes in detail the audio processing method mentioned in the embodiment of the present application, taking the scenario of playing audio while a vehicle is driving as an example.

[0025] like Figure 1 FIG. 1 shows a flow chart of an audio processing method. The method can be executed by an electronic device. Specifically, the audio processing method may include:

[0026] S101: Obtain a first speed of a vehicle at a first moment and a first audio to be processed.

[0027] It is understood that the first moment is any moment when the vehicle is in motion and playing audio. In some specific implementations, the electronic device may obtain the real-time speed of the vehicle as the first speed. Furthermore, the electronic device may obtain the audio currently being played by the vehicle as the first audio.

[0028] It is understood that the electronic device may be the vehicle-mounted terminal (also referred to as the vehicle-mounted host) mentioned above. The electronic device may be provided with a dynamic equalizer. In this way, the electronic device can obtain the real-time speed of the vehicle and the currently playing audio, and use the dynamic equalizer to perform noise reduction processing on the currently playing audio.

[0029] It is understood that the electronic device can also be a device connected to the vehicle-mounted terminal mentioned above and having audio processing capabilities. In addition, the electronic device can be provided with a dynamic equalizer. In this way, the electronic device can obtain the real-time speed and currently playing audio transmitted back by the vehicle-mounted terminal.

[0030] S102: Based on the first corresponding relationship, determine N adjustment parameters corresponding to the first speed, where N is a positive integer greater than or equal to 1.

[0031] It can be understood that the first correspondence may include: multiple frequency ranges affected by noise in the audio played by the vehicle at different speeds, and the adjustment parameters corresponding to each frequency range in the multiple frequency ranges. For example, when the vehicle speed is 80km / h, the adjustment parameter corresponding to the frequency range [100Hz, 200Hz] is 10, and the adjustment parameter corresponding to the frequency range [300Hz, 320Hz] is 5; when the vehicle speed is 75km / h, the adjustment parameter corresponding to the frequency range [100Hz, 200Hz] is 9.5; when the vehicle speed is 85km / h, the adjustment parameter corresponding to the frequency range [100Hz, 200Hz] is 10.5. It can be understood that the first correspondence understood above is only an illustration of the embodiment of the present application for the convenience of understanding the scheme listed. In actual application, it can be set according to user needs.

[0032] The following describes how to set up the first correspondence. In actual application, you can first select a vehicle model and conduct a road driving test on the selected vehicle model. During the test, professional audio acquisition equipment and software are used to collect the noise inside the vehicle when the vehicle plays audio at different speeds, and transmit it to the electronic device. Then, the electronic device can analyze how the noise changes with vehicle speed, and select from the noise the frequency range in which the audio intensity significantly increases as the vehicle speed increases. Generally, noise in the low-frequency range increases rapidly as the vehicle speed increases. In this way, the electronic device can use the frequency range corresponding to the noise segment in the low-frequency range as the frequency range affected by the noise. For example, the frequency range [100Hz, 200Hz] mentioned above.

[0033] Specifically, the electronic device can identify a target noise segment from the noise based on the amplitude of the change in audio intensity of the noise over a preset duration, where the amplitude of the change in audio intensity of the target noise segment is greater than a threshold amplitude of change. Furthermore, the electronic device can determine the frequency range corresponding to the target noise segment as the audio range affected by the noise.

[0034] The following describes a method for determining the N adjustment parameters corresponding to the first speed. First, the electronic device can determine, based on the first corresponding relationship, the N frequency ranges to be adjusted corresponding to the first speed, and the adjustment parameters corresponding to each of the N frequency ranges to be adjusted, thereby obtaining N adjustment parameters. For example, based on the first corresponding relationship listed above, when the first speed is 80 km / h, the electronic device can determine the adjustment parameter 10 corresponding to the frequency range [100 Hz, 200 Hz] and the adjustment parameter 5 corresponding to the frequency range [300 Hz, 320 Hz].

[0035] S103: Adjust the audio intensity corresponding to the corresponding frequency range in the first audio according to N adjustment parameters to obtain an adjusted second audio.

[0036] It is understood that in some optional implementations, the electronic device may determine M audio segments to be adjusted from the first audio based on the N frequency ranges to be adjusted, where the M audio segments to be adjusted correspond to the M frequency ranges to be adjusted, and the M frequency ranges to be adjusted are frequency ranges to be adjusted among the N frequency ranges to be adjusted, and M is less than or equal to N. Furthermore, the electronic device may adjust the audio intensities of the M audio segments to be adjusted corresponding to the M frequency ranges to be adjusted in the first audio based on the M adjustment parameters corresponding to the M frequency ranges to be adjusted, to obtain the adjusted second audio.

[0037] like Figure 2 As shown, the electronic device can obtain the first speed of the vehicle at the first moment, and determine the M frequency ranges to be adjusted corresponding to the first speed according to the first corresponding relationship (for example Figure 2 The frequency range to be adjusted 1 to the frequency range to be adjusted M shown in FIG. 1 , and the adjustment parameters corresponding to each of the M frequency ranges to be adjusted (eg Figure 2 Thus, the electronic device can determine M audio segments to be adjusted corresponding to the N frequency ranges to be adjusted from the first audio, and adjust the audio intensities of the corresponding audio segments to be adjusted based on the adjustment parameters corresponding to the M frequency ranges to be adjusted to obtain the second audio.

[0038] In some specific implementations, when the frequency range to be adjusted is a low frequency range, the electronic device may use a low-pass filter as a dynamic equalizer and adjust the cutoff frequency of the low-pass filter to correspond to the frequency range to be adjusted. When the frequency range to be adjusted is a mid-frequency range, the electronic device may use a band-pass filter or a peak filter as a dynamic equalizer.

[0039] For example, assuming that the audio intensity of the audio segment to be adjusted corresponding to the frequency range 1 [100 Hz, 200 Hz] to be adjusted in the first audio is 60 dB, when the electronic device determines that the adjustment parameter corresponding to the frequency range 1 [100 Hz, 200 Hz] to be adjusted in the first audio is 10, the sum of the audio intensity of the audio segment to be adjusted and the adjustment parameter can be used as the adjusted audio intensity of the audio segment to be adjusted, that is, the audio intensity of the audio segment to be adjusted corresponding to the frequency range 1 [100 Hz, 200 Hz] to be adjusted in the second audio is 70 dB.

[0040] It is understood that vehicle speed changes in real time. To reduce the impact of emergency braking or rapid acceleration on vehicle speed, which causes adjustment parameters to change significantly in a short period of time and, in turn, requires significant or continuous adjustment of the audio intensity of the audio segment to be adjusted, thereby introducing noise, the electronic device can perform gain smoothing on the first audio. That is, when the vehicle speed changes significantly, the audio segment to be adjusted in the first audio is adjusted based on the adjustment parameter with a larger change amplitude; when the vehicle speed changes slightly, the audio segment to be adjusted in the first audio is adjusted based on the adjustment parameter with a smaller change amplitude.

[0041] In some methods for gain smoothing the first audio, the electronic device may obtain a second speed of the vehicle at a second moment and, based on a first correspondence, determine Q frequency ranges to be adjusted corresponding to the second speed and an adjustment parameter corresponding to each of the Q frequency ranges to be adjusted, thereby obtaining Q adjustment parameters. Furthermore, the electronic device may determine a parameter difference corresponding to each of the M audio segments to be adjusted from the M adjustment parameters and the Q adjustment parameters, and, based on the relationship between the parameter difference and a parameter difference threshold, select different processing methods to adjust the audio intensity of the frequency segment to be adjusted.

[0042] like Figure 3 As shown, the electronic device can obtain the first speed of the vehicle at the first moment and the second speed at the second moment, and determine the M frequency ranges to be adjusted corresponding to the first speed according to the first corresponding relationship (for example Figure 2 The frequency range to be adjusted 1 to the frequency range to be adjusted M) and the adjustment parameters corresponding to each of the M frequency ranges to be adjusted (for example Figure 2 Furthermore, the electronic device may determine, based on the first corresponding relationship, Q frequency ranges to be adjusted corresponding to the second speed and adjustment parameters corresponding to each of the Q frequency ranges to be adjusted.

[0043] It can be understood that the second moment is earlier than the first moment, and the duration between the second moment and the first moment is less than the duration threshold.

[0044] Furthermore, if Figure 4 As shown, the electronic device can determine the parameter difference corresponding to each of the M audio segments to be adjusted from the M adjustment parameters and the Q adjustment parameters, and determine whether the parameter difference is greater than a parameter difference threshold. If the parameter difference is greater than the parameter difference threshold, a fast gain update can be performed on the first audio to obtain the updated M adjustment parameters. If the parameter difference is less than or equal to the parameter difference threshold, a slow gain update can be performed on the first audio to obtain the updated M adjustment parameters.

[0045] Specifically, if the parameter difference is greater than the parameter difference threshold, the electronic device may adjust the audio intensity of the audio segment to be adjusted corresponding to each frequency range to be adjusted based on the first step size to obtain the second audio. If the parameter difference is less than or equal to the parameter difference threshold, the electronic device may adjust the audio intensity of the audio segment to be adjusted corresponding to each frequency range to be adjusted based on the second step size to obtain the second audio.

[0046] For example, based on the first correspondence relationship listed above, when the first speed is 80 km / h, the electronic device can determine that the adjustment parameter corresponding to the frequency range 1 to be adjusted [100 Hz, 200 Hz] is 10. When the second speed is 75 km / h, the electronic device can determine that the adjustment parameter corresponding to the frequency range 1 to be adjusted [100 Hz, 200 Hz] is 9.5. Assume that the audio intensity of the audio segment to be adjusted corresponding to the frequency range 1 to be adjusted [100 Hz, 200 Hz] in the first audio is 60 dB, the parameter difference threshold is 1, the first step length is 0.1, and the second step length is 0.01. Since the adjustment parameters corresponding to the frequency range 1 to be adjusted are 10 and 9.5, which are smaller than the parameter difference threshold, the electronic device can first adjust the adjustment parameter 10 corresponding to the first speed based on the second step size of 0.01, and adjust the adjustment parameter 9.5 corresponding to the second speed to 9.51, and use the sum of the audio intensity of the audio segment to be adjusted and the updated adjustment parameter as the adjusted audio intensity of the audio segment to be adjusted, that is, the audio intensity of the audio segment to be adjusted corresponding to the frequency range 1 [100Hz, 200Hz] to be adjusted in the second audio is 69.51dB.

[0047] Next, combine Figure 5 Introduce the structure of the vehicle. Figure 5 A structural schematic diagram of a vehicle provided in an embodiment of the present application is shown.

[0048] Figure 5 This is a possible functional framework diagram of a vehicle provided in an embodiment of the present application. Figure 5 As shown, the functional framework of the vehicle may include various subsystems, such as the sensor system 10, the control system 20, one or more peripheral devices 30 (one is shown as an example), a power supply 40, and a computer system 50. Optionally, the vehicle may also include other functional systems, such as an engine system that provides power to the vehicle, etc., which are not limited in this application.

[0049] The sensor system 10 may include several detection devices that can sense the information being measured and convert the sensed information into electrical signals or other required forms of information output according to certain rules. Figure 5As shown, these detection devices may include a global positioning system 11 (GPS), a vehicle speed sensor 12 , an inertial measurement unit 13 (IMU), etc., which is not limited in this application.

[0050] The Global Positioning System (GPS) 11 utilizes GPS positioning satellites for real-time positioning and navigation worldwide. In the present application, the GPS 11 can be used to achieve real-time positioning of a vehicle and provide information about the vehicle's geographic location. The vehicle speed sensor 12 is used to detect the vehicle's speed. The inertial measurement unit (IMU) 13, which may include a combination of an accelerometer and a gyroscope, is a device for measuring the vehicle's angular velocity and acceleration. For example, while the vehicle is in motion, the IMU can measure changes in the vehicle's position and angle based on the vehicle's inertial acceleration, such as the vehicle's acceleration and angular velocity.

[0051] The control system 20 may include a steering unit 21 , a braking unit 22 , and the like.

[0052] The steering unit 21 may represent a system for adjusting the vehicle's direction of travel, and may include, but is not limited to, a steering wheel or any other structural device for adjusting or controlling the vehicle's direction of travel. The braking unit 22 may represent a system for slowing the vehicle's speed, also known as the vehicle's braking system. This may include, but is not limited to, a brake controller, a retarder, or any other structural device for decelerating the vehicle. In practical applications, the braking unit 22 may utilize friction to slow the vehicle's tires, thereby reducing the vehicle's speed.

[0053] Peripheral device 30 may include several components, such as the illustrated communication system 31, touch screen 32, and user interface 33. Communication system 31 is used to enable network communication between the vehicle and other devices, such as electronic device 2. In practice, communication system 31 may utilize wireless or wired communication technologies to enable network communication between the vehicle and other devices. Wired communication technologies may involve communication between the vehicle and other devices via network cables or optical fibers. The wireless communication technology includes but is not limited to global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) and infrared technology (IR), etc.

[0054] The touch screen 32 can be used to detect operating instructions on the touch screen 32. For example, the user performs touch operations on the content data displayed on the touch screen 32 according to actual needs to implement the function corresponding to the touch operation, such as playing multimedia files such as music and videos. The user interface 33 can specifically be a touch panel for detecting operating instructions on the touch panel. The user interface 33 can also be a physical button or a mouse. The user interface 33 can also be a display screen for outputting data, displaying images or data. Optionally, the user interface 33 can also be at least one device belonging to the category of peripheral devices, such as a touch screen, a microphone, and a speaker.

[0055] Several functions of the vehicle are controlled and implemented by a computer system 50. The computer system 50 may include multiple processors, such as a processor 51, a CDC 52, an MDC 53, and a T-BOX 54, as well as a memory 55 (also referred to as a storage device) and a gateway 56. In actual applications, the memory 55 is also internal to the computer system 50, or it can be external to the computer system 50, for example, as a cache in the vehicle, etc. This application is not limited to this.

[0056] The processor 51 may be, for example, a graphics processing unit (GPU). The processor 51, CDC 52, MDC 53, and T-BOX 54 may be configured to execute related programs or instructions corresponding to the programs stored in the memory 55 to implement corresponding vehicle functions, such as network switching on a service-by-service basis.

[0057] The T-BOX 54 may include a first storage unit 200 and a communication unit 210. The first storage unit 200 may be an embedded multimedia card, and the capacity of the first storage unit 200 may be a standard specification of 4GB, 8GB, 16GB or 32GB. The first storage unit 200 may store vehicle information (vehicle identification number, vehicle model, etc.), driving data (driving speed, fuel consumption, etc.), navigation data (vehicle current location data, historical driving trajectory, etc.) and other data. The communication unit 210 may include radio frequency front-end (RFFE) 211, filter 212, modem 213 and power amplifier 214 and other radio frequency components. The radio frequency front-end 211, filter 212, modem 213 and power amplifier 214 and other radio frequency components may be integrated on a radio frequency integrated circuit (RFIC). The communication unit 210 may also include a central processing unit (CPU) 220 and a second storage unit 230. The second storage unit 230 can store calibration parameters of radio frequency components such as the radio frequency front-end (RFFE) 211 , the filter 212 , the modem 213 , and the power amplifier 214 .

[0058] The memory 55 may include volatile memory, such as RAM; the memory may also include non-volatile memory, such as ROM, flash memory, HDD or solid-state drive (SSD); the memory 55 may also include a combination of the above types of memory. The memory 55 can be used to store a set of program codes or instructions corresponding to the program codes, so that the processor 51 can call the program codes or instructions stored in the memory 55 to implement the corresponding functions of the vehicle. This function includes but is not limited to Figure 5 In the present application, the memory 55 may store a set of program codes for vehicle control, and the processor 51, CDC 52, MDC 53, and T-BOX 54 may call the program codes to control the vehicle to perform the vehicle network switching in the present application.

[0059] Optionally, in addition to storing program code or instructions, memory 55 may also store information such as road maps, driving routes, and sensor data. Computer system 50 may be combined with other components in the vehicle functional framework diagram, such as sensors and GPS in the sensor system, to implement relevant vehicle functions. For example, computer system 50 may control the vehicle's driving direction or speed based on data input from sensor system 10, although this application is not limited thereto.

[0060] It should be understood that the illustrated structures of this application do not constitute a specific limitation on the vehicle. In other embodiments, the vehicle may include more or fewer components than shown, or some components may be combined, separated, or arranged differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0061] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.

[0062] While the present application has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.

[0063] In some cases, the embodiments disclosed herein may be implemented in hardware, firmware, software, or any combination thereof.

[0064] The embodiments disclosed in this application can also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, instructions can be distributed over a network or by other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to a floppy disk, an optical disk, an optical disk, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic card or an optical card, a flash memory, or a tangible machine-readable memory for transmitting information (e.g., a carrier wave, an infrared signal digital signal, etc.) using the Internet in an electrical, optical, acoustic or other form of propagation signal. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).

[0065] Embodiments of the present application may be implemented as a computer program or program code executed on a programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0066] Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit, or a microprocessor.

[0067] Program code can be implemented with a high-level programming language or an object-oriented programming language to communicate with the processing system. Where necessary, program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0068] The above describes the hardware structure that an electronic device may have. It is understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, separate certain components, or arrange the components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.

[0069] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.

[0070] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.

[0071] While the present application has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.

Claims

1. An audio processing method, characterized in that: include: Obtaining a first speed of the electronic device at a first moment and a first audio to be processed; Determining N frequency ranges to be adjusted corresponding to the first speed and adjustment parameters corresponding to each of the N frequency ranges to be adjusted, to obtain N adjustment parameters; N is a positive integer greater than or equal to 1; The audio intensity corresponding to the corresponding frequency range in the first audio is adjusted according to the N adjustment parameters to obtain an adjusted second audio.

2. The method according to claim 1, characterized in that The determining of N frequency ranges to be adjusted corresponding to the first speed and adjustment parameters corresponding to each of the N frequency ranges to be adjusted to obtain the N adjustment parameters includes: Based on the first corresponding relationship, N frequency ranges to be adjusted corresponding to the first speed and adjustment parameters corresponding to each of the N frequency ranges to be adjusted are determined to obtain the N adjustment parameters. The first corresponding relationship includes: multiple frequency ranges affected by noise in the audio played by the electronic device at different speeds, and adjustment parameters corresponding to each of the multiple frequency ranges.

3. The method according to claim 2, characterized in that The step of adjusting the audio intensity corresponding to the corresponding frequency range in the first audio according to the N adjustment parameters to obtain the adjusted second audio includes: Determining M audio segments to be adjusted from the first audio, where the M audio segments to be adjusted correspond to the M frequency ranges to be adjusted, and M is less than or equal to N; The audio intensities of the M audio segments to be adjusted in the first audio are adjusted according to the M adjustment parameters corresponding to the M frequency ranges to be adjusted to obtain the adjusted second audio.

4. The method according to claim 3, characterized in that The step of adjusting the audio intensities of the M audio segments to be adjusted in the first audio according to the M adjustment parameters corresponding to the M frequency ranges to be adjusted to obtain the adjusted second audio includes: Acquire a second speed of the electronic device at a second moment; the second moment is earlier than the first moment; Determining Q adjustment parameters corresponding to the second speed based on the first corresponding relationship; Determining, from the M adjustment parameters and the Q adjustment parameters, a parameter difference corresponding to each of the M audio segments to be adjusted; When the parameter difference is greater than the parameter difference threshold, adjusting the audio intensity of each of the to-be-adjusted audio segments based on the first step length to obtain the second audio; When the parameter difference is less than or equal to the parameter difference threshold, adjusting the audio intensity of each of the to-be-adjusted audio segments based on a second step size to obtain the second audio; Wherein, the first step length is greater than the second step length.

5. The method according to claim 4, characterized in that The adjusting each of the to-be-adjusted audio segments based on the first step length includes: Acquire a first audio intensity of the audio to be adjusted; The sum of the first step length and the first audio intensity is determined as the adjusted second audio intensity of the audio to be adjusted.

6. The method according to claim 2, characterized in that The frequency range affected by the noise is determined by: obtaining the noise of the electronic device at each speed; Determining a target noise segment from the noise based on a change in the audio intensity of the noise within a preset duration; wherein the change in the audio intensity of the target noise segment is greater than a change threshold; The frequency range corresponding to the target noise segment is determined as the frequency range affected by the noise.

7. The method according to claim 1, characterized in that The electronic device includes any one of the following: In-vehicle terminals, smart phones, portable music players, smart watches, and smart headphones.

8. An electronic device, characterized in that: include: The memory is used to store instructions executed by one or more processors of the electronic device, and the processor is one of the one or more processors of the electronic device, and is used to execute the audio processing method according to any one of claims 1 to 7.

9. A readable storage medium, characterized in that: The readable storage medium stores instructions, which, when executed on an electronic device, enable the electronic device to execute the audio processing method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The computer program product comprises computer instructions, and when executed by an electronic device, the electronic device executes the computer program code of the audio processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Audio speed-following adjusting method and device of vehicle-mounted audio system, and vehicle-mounted audio system

    CN116215420A

  • In-vehicle noise control method and system, medium, electronic equipment and vehicle

    CN119785750A

  • Sound correction system, sound correction method and sound correction apparatus

    CN1521944A

  • Power control apparatus and power control method

    JP2005136509A