CN118317228A - Method and related device for regulating and controlling three-dimensional sound effect in vehicle - Google Patents
Method and related device for regulating and controlling three-dimensional sound effect in vehicle Download PDFInfo
- Publication number
- CN118317228A CN118317228A CN202310019170.3A CN202310019170A CN118317228A CN 118317228 A CN118317228 A CN 118317228A CN 202310019170 A CN202310019170 A CN 202310019170A CN 118317228 A CN118317228 A CN 118317228A
- Authority
- CN
- China
- Prior art keywords
- loudspeaker
- speaker
- voltage
- vibration
- voltage signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000000694 effects Effects 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000001276 controlling effect Effects 0.000 title abstract description 21
- 230000001105 regulatory effect Effects 0.000 title abstract description 13
- 230000005236 sound signal Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 7
- 230000011664 signaling Effects 0.000 claims description 2
- 230000008447 perception Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000033228 biological regulation Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Stereophonic System (AREA)
Abstract
The application discloses a method and a related device for regulating and controlling three-dimensional sound effects in a vehicle. Since the vibration speaker is located between the first speaker and the second speaker, the voltage amplitude difference can reflect the distance of the sound source from the vibration speaker, and thus, the target output voltage of the vibration speaker can be determined according to the voltage amplitude difference, and the operation of the vibration speaker can be controlled according to the target output voltage. The target output voltage and the voltage amplitude difference are in inverse relation, based on the inverse relation, the target output voltage of the vibration loudspeaker is higher as the sound source is closer to the vibration loudspeaker, the vibration effect is more obvious, and conversely, the vibration effect is weakened, so that the user experience is improved.
Description
Technical Field
The application relates to the technical field of vehicles, in particular to a method and a related device for regulating and controlling three-dimensional sound effects in a vehicle.
Background
With the development of vehicle technology, stereo technology is widely applied to vehicles, and can provide stereo sound effects for users in the vehicles, and surround and immersion stereo field feelings are created.
Stereo technology is a representation of a sound field in three dimensions, which may be generally referred to as 3D sound effects. The stereo sound effect is usually achieved by installing a plurality of independently played speakers. For example, the common left and right channels are provided with two independently played speakers, so that the stereo sound effect of mixing left and right channels can be realized. The addition of the vibration speaker on the basis of stereo provides stereo sound effect and simultaneously provides vibration perception for users, which can be generally called 4D sound effect.
In a vehicle, a plurality of speakers and vibration speakers are arranged, so that 4D sound effects in the vehicle can be realized. The vibration loudspeaker is regulated and controlled, so that different vibration experiences of users in the vehicle can be brought, and the experience of 4D sound effects in the vehicle is changed. Therefore, how to regulate and control the vibration loudspeaker has important significance for the stereo sound effect in the vehicle.
Disclosure of Invention
In order to solve the technical problems, the application provides an in-vehicle stereo sound effect regulation and control method and a related device, which can provide more abundant stereo sound effect perception for in-vehicle users and improve user experience.
The embodiment of the application discloses the following technical scheme:
In one aspect, an embodiment of the present application provides a method for adjusting and controlling stereo sound effects in a vehicle, where the method is applied to a vehicle, and a first speaker, a second speaker and a vibration speaker are installed in the vehicle, and the vibration speaker is located between the first speaker and the second speaker, and the method includes:
acquiring an audio analog voltage signal of the first loudspeaker as a first voltage signal, and acquiring an audio analog voltage signal of the second loudspeaker as a second voltage signal;
Determining a voltage magnitude difference between the first voltage signal and the second voltage signal;
Determining a target output voltage of the vibration speaker according to the voltage amplitude difference; the target output voltage and the voltage amplitude difference are in inverse relation;
and controlling the operation of the vibration loudspeaker according to the target output voltage.
On the other hand, the embodiment of the application provides an in-vehicle stereo sound effect regulating device, which is deployed in a vehicle, wherein a first loudspeaker, a second loudspeaker and a vibration loudspeaker are installed in the vehicle, the vibration loudspeaker is positioned between the first loudspeaker and the second loudspeaker, and the device comprises an acquisition unit, a determination unit and a control unit:
The acquisition unit is used for acquiring an audio analog voltage signal of the first loudspeaker as a first voltage signal and acquiring an audio analog voltage signal of the second loudspeaker as a second voltage signal;
The determining unit is used for determining a voltage amplitude difference between the first voltage signal and the second voltage signal;
the determining unit is further used for determining a target output voltage of the vibration loudspeaker according to the voltage amplitude difference; the target output voltage and the voltage amplitude difference are in inverse relation;
The control unit is used for controlling the operation of the vibration loudspeaker according to the target output voltage.
In yet another aspect, an embodiment of the present application provides a computer device including a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is used for executing the method for regulating and controlling the three-dimensional sound effect in the vehicle according to the instructions in the program codes.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for executing the in-vehicle stereo sound control method described in the above aspect.
In yet another aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the in-vehicle stereo sound control method of the above aspect.
As can be seen from the above technical solution, for a vehicle mounted with a first speaker, a second speaker and a vibration speaker, firstly an audio analog voltage signal of the first speaker is obtained as a first voltage signal and an audio analog voltage signal of the second speaker is obtained as a second voltage signal, and a voltage amplitude difference between the first voltage signal and the second voltage signal is determined. Since the vibration speaker is located between the first speaker and the second speaker, the voltage amplitude difference can reflect the distance of the sound source from the vibration speaker, and thus, the target output voltage of the vibration speaker can be determined according to the voltage amplitude difference, and the operation of the vibration speaker can be controlled according to the target output voltage. The target output voltage and the voltage amplitude difference are in inverse proportion, based on the inverse proportion, the target output voltage of the vibration loudspeaker is higher as the sound source is closer to the vibration loudspeaker, the vibration effect is more obvious, and conversely, the vibration effect is weakened, so that richer three-dimensional sound effect perception can be provided for in-vehicle users, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for adjusting and controlling three-dimensional sound effects in a vehicle according to an embodiment of the present application;
Fig. 2 is a schematic diagram of a stereoscopic sound effect adjusting scene during in-vehicle viewing according to an embodiment of the present application;
FIG. 3 is a block diagram of an in-vehicle stereo sound control system according to an embodiment of the present application;
fig. 4 is a schematic diagram of a three-dimensional sound effect adjusting and controlling flow in a vehicle according to an embodiment of the present application;
Fig. 5 is a block diagram of an in-vehicle stereo sound control device according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The method for regulating and controlling the stereo sound effect in the vehicle provided by the embodiment of the application can be implemented through computer equipment, wherein the computer equipment can be terminal equipment or a server, and the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service. The terminal equipment comprises, but is not limited to, mobile phones, computers, intelligent voice interaction equipment, intelligent household appliances, vehicle-mounted terminals and the like. The terminal device and the server may be directly or indirectly connected through wired or wireless communication, which is not limited in any way by the present application.
The following examples are provided to illustrate the invention:
fig. 1 is a flowchart of a method for adjusting and controlling stereo sound effects in a vehicle, which is provided by an embodiment of the present application, and is described by taking a terminal device as an example of the foregoing computer device, where the method is applied to a vehicle, and a first speaker, a second speaker and a vibration speaker are installed in the vehicle, and the vibration speaker is located between the first speaker and the second speaker, and the method includes S101-S104:
S101: acquiring an audio analog voltage signal of a first loudspeaker as a first voltage signal, and acquiring an audio analog voltage signal of a second loudspeaker as a second voltage signal;
the first loudspeaker and the second loudspeaker are loudspeakers which are installed in the vehicle and can be independently played, and in the process of the two loudspeakers being operated together, the stereo sound effect can be output for the interior of the vehicle, and the stereo sound effect output at the moment is a 3D sound effect. The vibration loudspeaker can provide vibration perception for a user on the basis of 3D sound effects, and 4D sound effects are built.
It should be noted that the present application is not limited in any way with respect to the types and numbers of the first speaker and the second speaker. For example, the first speaker may be a left speaker of the vehicle, and the second speaker may be a right speaker of the vehicle, wherein the left speaker may further include a front left speaker and a rear left speaker, and the right speaker may further include a front right speaker and a rear right speaker. As another example, the first speaker may also include a center position speaker, or the like.
In practical application, left speaker and the right speaker of vehicle can install in door department, and correspondingly, consider vibration speaker's purpose can provide vibration perception for the user on the basis of 3D audio, builds 4D audio, so can install vibration speaker in saddle department, when making vibration speaker be located between first speaker and the second speaker based on this, be favorable to improving user's vibration perception experience. It will be appreciated that vibration also produces sound waves, and thus a vibrating speaker may refer to a speaker that functions primarily as vibration, rather than a speaker that vibrates only without sound waves.
It can be seen that the tuning of the vibration speaker can change the 4D sound experience of the user. During actual regulation, the audio analog voltage signal of the first loudspeaker can be firstly obtained as a first voltage signal, and the audio analog voltage signal of the second loudspeaker can be obtained as a second voltage signal, so that subsequent regulation can be performed.
The audio signals in the vehicle are typically transmitted digitally, so that in one possible implementation the digital audio signals of the vehicle, including the digitized audio signals of the first and second speakers, may be received by a digital signal processing unit. Further, the digital audio signal is converted by the digital signal processing unit, the digital audio signal of the first speaker is converted into an analog signal, and then the audio analog voltage signal of the first speaker can be obtained, so that the first voltage signal is obtained, and similarly, the digital audio signal of the second speaker can be converted into an analog signal, and then the audio analog voltage signal of the second speaker can be obtained, so that the second voltage signal is obtained.
In practical applications, the digital audio signal of the vehicle may be an A2B signal, and the digital signal processing unit (DIGITAL SIGNAL Processor, DSP) performs conversion processing on the received A2B signal to output a first voltage signal and a second voltage signal. In specific implementation, the conversion process may include processing steps of amplitude processing, time delay processing, frequency shift processing, multichannel independent processing, audio mixing processing, basic operation, and the like, where a multichannel refers to a plurality of in-vehicle speakers (i.e., a first speaker and a second speaker) of the vehicle. After DSP processing, a multi-channel independent audio data stream, i.e. an audio analog voltage signal with independent channels, can be output.
S102: a voltage magnitude difference between the first voltage signal and the second voltage signal is determined.
After the first voltage signal and the second voltage signal are acquired, a voltage amplitude difference between the first voltage signal and the second voltage signal may be further determined. Since the vibration speaker is located between the first speaker and the second speaker, the voltage amplitude difference can reflect the distance of the sound source from the vibration speaker, and therefore, the vibration speaker can be regulated and controlled by the voltage amplitude difference.
In practical applications, the absolute value of the voltage difference between the first voltage signal and the second voltage signal may be determined as the voltage amplitude difference.
S103: a target output voltage of the vibration speaker is determined based on the voltage magnitude difference.
S104: and controlling the operation of the vibration loudspeaker according to the target output voltage.
When the voltage amplitude difference is utilized to regulate and control the vibration loudspeaker, the target output voltage of the vibration loudspeaker can be determined according to the voltage amplitude difference, and then the vibration loudspeaker is controlled to operate according to the target output voltage. During operation of the vibration speaker, vibrations may be generated to provide a user with a perception of the vibrations. Because the target output voltage and the voltage amplitude difference are in inverse proportion, based on the inverse proportion, the target output voltage of the vibration loudspeaker is higher as the sound source is closer to the vibration loudspeaker, the vibration effect is more obvious, and conversely, the vibration effect is weakened, so that richer three-dimensional sound effect perception can be provided for in-vehicle users, and the user experience is improved. For example, when the vibration speaker is installed at the seat, the user sits at the seat in the vehicle, and can experience different vibration sensations along with the distance between the sound source and the vehicle.
The vibration speaker is one of the in-vehicle speakers, and corresponds to an initial output voltage, which may be a default output voltage of the vibration speaker, for example, an output voltage allocated to the vibration speaker when an audio system of the vehicle is turned on for use. Because the initial output voltage cannot provide vibration sensing for the user, which varies with the distance of the sound source, in one possible implementation, the initial output voltage of the vibration speaker may be obtained first, and then the initial output voltage may be corrected according to the voltage amplitude difference, to obtain the target output voltage. Based on the method, the initial output voltage can be corrected by utilizing the voltage amplitude difference, so that the actual voltage output of the vibration loudspeaker can be conveniently regulated and controlled to be the target output voltage, and rich vibration perception is provided for a user.
For easy understanding, for the above embodiments, the embodiments of the present application further correspondingly provide a manner of determining the target output voltage, specifically, the target output voltage may be determined by the following formula:
Wherein U T is a target output voltage, U t is an initial output voltage, Δa is a voltage amplitude difference, a 1 is a first voltage signal, a 2 is a second voltage signal, Δa= |a 1-A2 |.
For example, when the first speaker is a left speaker and the second speaker is a right speaker, a 1 may be a voltage amplitude a L,A2 of the left channel obtained by the DSP converting the A2B signal, and a voltage amplitude a R of the right channel obtained by the DSP converting the A2B signal. Based on this, as the voltage amplitude difference of the left and right side channels is larger, the target output voltage allocated to the vibration speaker is smaller, and conversely, larger.
In practical application, the first speaker can be controlled to operate according to the first voltage signal, the second speaker can be controlled to operate according to the second voltage signal, and in the operation process of the first speaker and the second speaker, the stereo sound effect can be output to the vehicle through the first speaker and the second speaker, and the stereo sound effect is a 3D sound effect. Because in this process, according to the operation of target output voltage control vibration speaker, and vibration speaker can produce the vibration in operation in-process, so can adjust 3D audio, because increased vibration perception, so the user can experience 4D audio, and the intensity of vibration perception that user experienced can change along with the sound source distance change to some extent, from this, can provide richer three-dimensional audio perception for the user, improves user experience.
In practical applications, when the first speaker, the second speaker and the vibration speaker are controlled to operate, the first voltage signal, the second voltage signal and the target output voltage can be processed through the DSP, and the processed signals are output to a microprocessor (Microcontroller Unit, MCU) of the vehicle, and then the MCU transmits the received signals to a power amplifying unit of the vehicle, and the AMP amplifies the received signals and then drives the first speaker and the second speaker to sound, and drives the vibration speaker to vibrate.
As can be seen from the above technical solution, for a vehicle mounted with a first speaker, a second speaker and a vibration speaker, firstly an audio analog voltage signal of the first speaker is obtained as a first voltage signal and an audio analog voltage signal of the second speaker is obtained as a second voltage signal, and a voltage amplitude difference between the first voltage signal and the second voltage signal is determined. Since the vibration speaker is located between the first speaker and the second speaker, the voltage amplitude difference can reflect the distance of the sound source from the vibration speaker, and thus, the target output voltage of the vibration speaker can be determined according to the voltage amplitude difference, and the operation of the vibration speaker can be controlled according to the target output voltage. The target output voltage and the voltage amplitude difference are in inverse proportion, based on the inverse proportion, the target output voltage of the vibration loudspeaker is higher as the sound source is closer to the vibration loudspeaker, the vibration effect is more obvious, and conversely, the vibration effect is weakened, so that richer three-dimensional sound effect perception can be provided for in-vehicle users, and the user experience is improved.
In order to facilitate understanding, the embodiment of the application provides a three-dimensional sound effect regulation scene schematic diagram in the in-vehicle video observation process, and particularly, the schematic diagram can be shown in fig. 2. Assuming that a user drives a car from right to left in a movie watched by the user, taking a first loudspeaker as a left loudspeaker and a second loudspeaker as a right loudspeaker as examples, and when the car is still on the right side, the right side volume is larger and the left side volume is smaller; when the automobile runs right ahead, the sound of the right and left speakers is loud; when the automobile runs to the left, the left sound volume is larger, and the right sound volume is smaller. Without the cooperation of vibration speakers, this is a typical scene of left and right stereo (3D sound effect), and through the change of the sound sizes of the left and right speakers, the user can feel the stereo 3D feeling that the car gradually passes through in the film. After the regulating and controlling method is adopted, the voltage amplitude difference of the left speaker and the right speaker can be analyzed in real time, the output voltage of the vibration speaker is controlled to be the target output voltage, the distance from a sound source to the vibration speaker (taking the vibration speaker as the position of a user as an example) is changed from small to large along with the driving of a car from right to left, and accordingly, the target output voltage can be changed from small to large and from large to small, the vibration effect of the vibration speaker is changed from weak to strong and from strong to weak, so that the user can experience continuously changing vibration perception in the film watching process, and the user experience is improved.
Since the larger the output voltage of the vibration speaker, the larger the amplitude and the stronger the vibration effect, it is considered that the right sound volume is larger, the left sound volume is smaller, and the amplitude of the vibration speaker is smaller when the vehicle is on the right side, so that the user can feel that the vehicle is on the side farther from the person (the far right side). When the vehicle is traveling right in front, the right and left speakers are loud, the vibration speaker has a large amplitude, and the user feels that the vehicle is in a position closer to the person (right in front). When the car runs to the left, the left sound volume is larger, the right sound volume is smaller, the amplitude of the vibration loudspeaker is small, and the user feels that the car is at a side far away from the person (far to the left).
It should be noted that the above application scenario is only an example, and may be applied to other scenarios. For example, taking the example that the first speaker and the second speaker include 7.1 channels, assuming that birds in a film fly around the crown in the sky, each speaker can achieve such a surround sound effect by controlling the volume level. The vibration loudspeaker still determines the intensity of the amplitude according to the voltage amplitude difference of each loudspeaker. For example, when a bird spirals directly above the crown, the voltage amplitude difference for each speaker should be minimal, the vibration speaker amplitude should be strong, and when a bird flies off the crown, there is a beginning difference in the voltage amplitude for each speaker, the vibration speaker amplitude should be weak. Thus, the auxiliary enhancement of the stereo by the vibration loudspeaker can be realized. The 7.1 sound channel is a stereo playing form formed by adding 2 speakers on the left side and the right side of a 5.1 sound channel formed by a front left speaker, a rear left speaker, a front right speaker, a rear right speaker and a central position speaker in the vehicle.
In practical application, the embodiment of the application also provides an in-vehicle stereo sound control system, the structure diagram of which can be shown in fig. 3, and the in-vehicle stereo sound control system can comprise a power module, a digital signal processing unit DSP, a microprocessor MCU, a power amplifying unit and in-vehicle speakers, in particular:
The power supply is connected to the power supply module, the power supply module can supply power for the DSP, the MCU and the power amplifying unit, and the power supply module can perform actions such as voltage reduction operation, voltage stabilization power supply and the like through internal chip processing. Generally, after receiving the A2B signal, the DSP may perform conversion processing (such as amplitude processing, time delay processing, frequency shift processing, multi-channel independent processing, audio mixing processing, basic operation, etc.) on the A2B signal, so as to output audio analog voltage signals of other speakers (i.e., the first speaker and the second speaker) in the vehicle, and analyze and output a target output voltage of the vibration speaker based on the voltage amplitude difference. In practical application, the DSP may send the processed signal to the MCU through data transmission, and then the MCU may send the processed signal to the power amplifying unit through data transmission, and after amplifying the signal by a power amplifying chip (AMP) in the power amplifying unit, the vehicle speaker (including the first speaker, the second speaker and the vibration speaker) is driven to operate. The first speaker and the second speaker may include a front left speaker, a rear left speaker, a front right speaker, a rear right speaker, and a center speaker, i.e., fig. 3 is exemplified as 5.1 channels.
The MCU is a core processor chip of the in-vehicle stereo sound control system, and CAN load signal interaction of the whole vehicle CAN network, quality interaction of all chips in the in-vehicle stereo sound control system, logic operation, event processing and the like. The MCU CAN receive external instructions according to the CAN network of the vehicle, and the actions required by the external instructions are realized through the interaction of the instructions and information of chips in the system. The power amplifying unit may include a plurality of power amplifying chips, which may amplify the received audio signal and then output the amplified signal to drive the speakers in the respective vehicles to operate. The in-car speakers may include a plurality of speakers that are independently played, and fig. 3 illustrates 5.1 channels, and these in-car speakers may be distributed at appropriate positions in the car for playing the amplified signals output by the power amplification chip.
Correspondingly, the embodiment of the application also provides an in-vehicle stereo sound effect regulation and control flow, and the flow can be specifically shown in fig. 4. Fig. 4 shows a schematic flow chart of three-dimensional sound effect regulation in a vehicle, taking a first speaker and a second speaker as a left speaker and a right speaker respectively as examples, the DSP receives an A2B signal, and further the DSP analyzes the difference of the amplitudes of the left channel signal and the right channel signal in the A2B signal (i.e. the aforementioned voltage amplitude difference) through an operation module. The larger the amplitude difference, the larger the output signal (i.e., the larger the target output voltage) that the DSP calculates to be distributed to the channels of the vibration speaker, and vice versa. The DSP transmits the calculated output values of all channels to the microprocessor, the microprocessor transmits the received DSP signals to the power amplifying unit, and the power amplifying unit amplifies the signals and drives all the loudspeakers to operate, specifically, the power amplifying unit drives the left and right loudspeakers to sound and drives the vibration loudspeakers to vibrate.
It is to be understood that this corresponds substantially to the method embodiments, so that reference is made to the partial description of the method embodiments for relevant reasons.
Fig. 5 is a block diagram of an in-vehicle stereo sound control device according to an embodiment of the present application, where the device is disposed in a vehicle, a first speaker, a second speaker, and a vibration speaker are installed in the vehicle, the vibration speaker is located between the first speaker and the second speaker, and the device includes an acquisition unit 501, a determination unit 502, and a control unit 503:
the acquiring unit 501 is configured to acquire an audio analog voltage signal of the first speaker as a first voltage signal, and acquire an audio analog voltage signal of the second speaker as a second voltage signal;
The determining unit 502 is configured to determine a voltage amplitude difference between the first voltage signal and the second voltage signal;
the determining unit 502 is further configured to determine a target output voltage of the vibration speaker according to the voltage amplitude difference; the target output voltage and the voltage amplitude difference are in inverse relation;
the control unit 503 is configured to control the operation of the vibration speaker according to the target output voltage.
In a possible implementation, the determining unit is further configured to:
acquiring an initial output voltage of the vibration loudspeaker;
and correcting the initial output voltage according to the voltage amplitude difference to obtain the target output voltage.
In one possible implementation, the target output voltage is determined by the following formula:
Wherein U T is the target output voltage, U t is the initial output voltage, Δa is the voltage amplitude difference, a 1 is the first voltage signal, a 2 is the second voltage signal, Δa= |a 1-A2 |.
In a possible implementation, the control unit is further configured to:
controlling the first loudspeaker to operate according to the first voltage signal, and controlling the second loudspeaker to operate according to the second voltage signal;
and during the operation of the first loudspeaker and the second loudspeaker, outputting stereo sound effects to the vehicle through the first loudspeaker and the second loudspeaker.
In a possible implementation manner, the obtaining unit is further configured to:
Receiving a digital audio signal of the vehicle through a digital signal processing unit; the digital audio signals comprise digitized audio signals of the first loudspeaker and the second loudspeaker;
and converting the digital audio signal through the digital signal processing unit, converting the digital audio signal of the first loudspeaker into the first voltage signal, and converting the digital audio signal of the second loudspeaker into the second voltage signal.
As can be seen from the above technical solution, for a vehicle mounted with a first speaker, a second speaker and a vibration speaker, firstly an audio analog voltage signal of the first speaker is obtained as a first voltage signal and an audio analog voltage signal of the second speaker is obtained as a second voltage signal, and a voltage amplitude difference between the first voltage signal and the second voltage signal is determined. Since the vibration speaker is located between the first speaker and the second speaker, the voltage amplitude difference can reflect the distance of the sound source from the vibration speaker, and thus, the target output voltage of the vibration speaker can be determined according to the voltage amplitude difference, and the operation of the vibration speaker can be controlled according to the target output voltage. The target output voltage and the voltage amplitude difference are in inverse proportion, based on the inverse proportion, the target output voltage of the vibration loudspeaker is higher as the sound source is closer to the vibration loudspeaker, the vibration effect is more obvious, and conversely, the vibration effect is weakened, so that richer three-dimensional sound effect perception can be provided for in-vehicle users, and the user experience is improved.
In yet another aspect, an embodiment of the present application provides a computer device including a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is used for executing the method for regulating and controlling the three-dimensional sound effect in the vehicle provided by the embodiment according to the instructions in the program codes.
The computer device may include a terminal device or a server, and the aforementioned in-vehicle stereo sound control apparatus may be configured in the computer device.
In still another aspect, an embodiment of the present application further provides a storage medium, where the storage medium is used to store a computer program, where the computer program is used to execute the method for adjusting and controlling stereo sound effects in a vehicle provided in the foregoing embodiment.
In addition, the embodiment of the application also provides a computer program product comprising instructions, which when run on a computer, cause the computer to execute the method for regulating and controlling the three-dimensional sound effect in the vehicle.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, where the above program may be stored in a computer readable storage medium, and when the program is executed, the program performs steps including the above method embodiments; and the aforementioned storage medium may be at least one of the following media: read-only Memory (ROM), RAM, magnetic disk or optical disk, etc.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing describes in detail a method for adjusting and controlling stereo sound effects in a vehicle and related devices, and specific examples are applied to illustrate principles and embodiments of the present application, and the description of the foregoing examples is only for aiding in understanding the method of the present application. Also, as will be apparent to one of ordinary skill in the art, there are variations in the embodiments and the scope of the application of the method according to the present application.
In view of the foregoing, the disclosure should not be construed as limiting the application, and any changes or substitutions that would be easily recognized by those skilled in the art within the scope of the present disclosure are intended to be included in the scope of the present disclosure. Further combinations of the present application may be made to provide further implementations based on the implementations provided in the above aspects.
Claims (10)
1. An in-vehicle stereo sound control method, wherein the method is applied to a vehicle, a first speaker, a second speaker and a vibration speaker are installed in the vehicle, the vibration speaker is located between the first speaker and the second speaker, and the method comprises:
acquiring an audio analog voltage signal of the first loudspeaker as a first voltage signal, and acquiring an audio analog voltage signal of the second loudspeaker as a second voltage signal;
Determining a voltage magnitude difference between the first voltage signal and the second voltage signal;
Determining a target output voltage of the vibration speaker according to the voltage amplitude difference; the target output voltage and the voltage amplitude difference are in inverse relation;
and controlling the operation of the vibration loudspeaker according to the target output voltage.
2. The method of claim 1, wherein the determining the target output voltage of the vibration speaker from the voltage magnitude difference comprises:
acquiring an initial output voltage of the vibration loudspeaker;
and correcting the initial output voltage according to the voltage amplitude difference to obtain the target output voltage.
3. The method of claim 2, wherein the target output voltage is determined by the formula:
Wherein U T is the target output voltage, U t is the initial output voltage, Δa is the voltage amplitude difference, a 1 is the first voltage signal, a 2 is the second voltage signal, Δa= |a 1-A2 |.
4. The method according to claim 1, wherein the method further comprises:
controlling the first loudspeaker to operate according to the first voltage signal, and controlling the second loudspeaker to operate according to the second voltage signal;
and during the operation of the first loudspeaker and the second loudspeaker, outputting stereo sound effects to the vehicle through the first loudspeaker and the second loudspeaker.
5. The method of any of claims 1-4, wherein the acquiring the audio analog voltage signal of the first speaker as the first voltage signal and the audio analog voltage signal of the second speaker as the second voltage signal comprises:
Receiving a digital audio signal of the vehicle through a digital signal processing unit; the digital audio signals comprise digitized audio signals of the first loudspeaker and the second loudspeaker;
and converting the digital audio signal through the digital signal processing unit, converting the digital audio signal of the first loudspeaker into the first voltage signal, and converting the digital audio signal of the second loudspeaker into the second voltage signal.
6. The device is deployed in a vehicle, a first loudspeaker, a second loudspeaker and a vibration loudspeaker are installed in the vehicle, the vibration loudspeaker is located between the first loudspeaker and the second loudspeaker, and the device comprises an acquisition unit, a determination unit and a control unit:
The acquisition unit is used for acquiring an audio analog voltage signal of the first loudspeaker as a first voltage signal and acquiring an audio analog voltage signal of the second loudspeaker as a second voltage signal;
The determining unit is used for determining a voltage amplitude difference between the first voltage signal and the second voltage signal;
the determining unit is further used for determining a target output voltage of the vibration loudspeaker according to the voltage amplitude difference; the target output voltage and the voltage amplitude difference are in inverse relation;
The control unit is used for controlling the operation of the vibration loudspeaker according to the target output voltage.
7. The apparatus of claim 6, wherein the determining unit is further configured to:
acquiring an initial output voltage of the vibration loudspeaker;
and correcting the initial output voltage according to the voltage amplitude difference to obtain the target output voltage.
8. A computer device, the computer device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the method of any of claims 1-5 according to instructions in the program code.
9. A computer readable storage medium, characterized in that the computer readable storage medium is for storing a computer program for executing the method of any one of claims 1-5.
10. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310019170.3A CN118317228A (en) | 2023-01-06 | 2023-01-06 | Method and related device for regulating and controlling three-dimensional sound effect in vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310019170.3A CN118317228A (en) | 2023-01-06 | 2023-01-06 | Method and related device for regulating and controlling three-dimensional sound effect in vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118317228A true CN118317228A (en) | 2024-07-09 |
Family
ID=91728157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310019170.3A Pending CN118317228A (en) | 2023-01-06 | 2023-01-06 | Method and related device for regulating and controlling three-dimensional sound effect in vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118317228A (en) |
-
2023
- 2023-01-06 CN CN202310019170.3A patent/CN118317228A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9949053B2 (en) | Method and mobile device for processing an audio signal | |
US20170033755A1 (en) | System and method for digital signal processing | |
WO2017101067A1 (en) | Ambient sound processing method and device | |
US20050213786A1 (en) | Acoustic system for vehicle and corresponding device | |
WO2010033384A1 (en) | Upstream quality enhancement signal processing for resource constrained client devices | |
US9930469B2 (en) | System and method for enhancing virtual audio height perception | |
CN112954581B (en) | Audio playing method, system and device | |
US9928025B2 (en) | Dynamically equalizing receiver | |
US20070104331A1 (en) | Multi-channel audio system and method for generating virtual speaker sound | |
CN108737936A (en) | The volume control of personal sound area | |
CN108737930B (en) | Audible prompts in a vehicle navigation system | |
CN113631427B (en) | Signal processing device, acoustic reproduction system, and acoustic reproduction method | |
KR101500177B1 (en) | Audio system of vehicle | |
CN118317228A (en) | Method and related device for regulating and controlling three-dimensional sound effect in vehicle | |
CN113179467B (en) | Vehicle environment audio processing method, device, equipment and storage medium | |
KR101736992B1 (en) | Apparatus and method for improving the sound quality during driving. | |
JP2019186764A (en) | Electric device and acoustic system | |
CN111510847B (en) | Micro loudspeaker array, in-vehicle sound field control method and device and storage device | |
JP7447808B2 (en) | Audio output device, audio output method | |
CN111405420A (en) | Vehicle sound system, control method and vehicle | |
AU2020210302B2 (en) | Audio system with sound-field-type nature sound effect | |
CN110758283B (en) | Vehicle-mounted sound control method and system and vehicle | |
US11832079B2 (en) | System and method for providing stereo image enhancement of a multi-channel loudspeaker setup | |
CN117922456A (en) | Vehicle control method and device, vehicle and storage medium | |
WO2023215405A2 (en) | Customized binaural rendering of audio content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination |