CN117998273A - Sound field control method and device, electronic equipment and storage medium - Google Patents

Sound field control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117998273A
CN117998273A CN202410217908.1A CN202410217908A CN117998273A CN 117998273 A CN117998273 A CN 117998273A CN 202410217908 A CN202410217908 A CN 202410217908A CN 117998273 A CN117998273 A CN 117998273A
Authority
CN
China
Prior art keywords
loudspeaker
user
target
current vehicle
position information
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
Application number
CN202410217908.1A
Other languages
Chinese (zh)
Inventor
钟洁
唐如意
包楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd filed Critical Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority to CN202410217908.1A priority Critical patent/CN117998273A/en
Publication of CN117998273A publication Critical patent/CN117998273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stereophonic System (AREA)

Abstract

The application relates to the technical field of automobile control, and provides a sound field control method, a sound field control device, electronic equipment and a storage medium. According to the method, the target object is arranged in the current vehicle, so that the current vehicle can output audio through the target object and the loudspeaker on the current vehicle, the effect of adding the loudspeaker in the current vehicle and/or improving the sound quality in the current vehicle is achieved, the problem that the loudspeaker can be added and/or the sound quality in the current vehicle can be improved only by modifying the current vehicle is avoided, modifying resources are saved, user experience is improved, in addition, the method combines the positions of a user, the target object and the target loudspeaker in the current vehicle, the sound field of the current vehicle is automatically adjusted, the sound field of the current vehicle can bring good audio effect to the user, and the problem that in the related art, the vehicle cannot automatically adjust the sound field in the vehicle, and the sound effect experience effect of the user is poor is avoided.

Description

Sound field control method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of automobile control technologies, and in particular, to a sound field control method, a sound field control device, an electronic device, and a storage medium.
Background
With the rapid development of intelligent vehicles and vehicle-mounted terminal technologies, people do not simply use the vehicle as a vehicle when driving, and gradually enjoy the life in the vehicle. Car audio enables drivers and passengers to enjoy music while riding, relieves fatigue, and is increasingly used in vehicles.
At present, for sound field adjustment of an intelligent cabin, only a sound setting interface of a user at a vehicle machine end is basically supported to manually drag a sound field focus, so that sound field positions are switched among central positions of a main driving line, a secondary driving line, a left rear line, a right rear line and a rear line, and sound field control is not intelligent enough.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a sound field control method, apparatus, electronic device, and storage medium, so as to solve the problems in the prior art that a vehicle cannot automatically adjust a sound field in the vehicle and the sound effect experience effect of a user is poor.
In a first aspect of an embodiment of the present application, there is provided a sound field control method including: acquiring first position information of a user in a current vehicle, and determining second position information of a target object in the current vehicle, wherein the target object is a mobile loudspeaker connected with the current vehicle; determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle; and generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, and performing sound field control on the current vehicle based on the sound field control strategy.
In a second aspect of the embodiments of the present application, there is provided a sound field control apparatus including: the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first position information of a user in a current vehicle, determining second position information of a target object in the current vehicle, and the target object is a mobile loudspeaker connected with the current vehicle; the determining module is used for determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle; and the control module is used for generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, and performing sound field control on the current vehicle based on the sound field control strategy.
In a third aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect of the embodiments of the present application, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the embodiment of the application, the second position information of the target object in the current vehicle is determined by acquiring the first position information of the user in the current vehicle, and the target object is a mobile loudspeaker connected with the current vehicle; determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle; according to the method, a sound field control strategy is generated according to the first position information of a user, the second position information of a target object and the position information of each target loudspeaker, and sound field control is carried out on a current vehicle based on the sound field control strategy, wherein the current vehicle can carry out audio output through the target object and the loudspeakers on the current vehicle through the setting of the target object in the current vehicle, the effect of adding the loudspeakers in the current vehicle and/or improving the sound quality in the current vehicle is achieved, the problem that the loudspeakers can be added and/or the sound quality in the current vehicle is improved after the current vehicle is modified is avoided, modification resources are saved, user experience is improved, in addition, the sound field of the current vehicle is automatically adjusted by combining the positions of the user, the target object and the target loudspeakers in the current vehicle, so that the sound field of the current vehicle can bring good audio effect to the user, and the problem that in the related technology, the vehicle cannot automatically adjust the sound field in the vehicle and the sound effect of the user is poor in sound effect experience is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a sound field control method provided in an application embodiment;
Fig. 2 is a schematic flow chart of a sound field control method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another sound field control method according to an embodiment of the present application;
fig. 4 is a flow chart of still another sound field control method according to an embodiment of the present application;
FIG. 5 is a flow chart of yet another sound field control method according to an embodiment of the present application;
FIG. 6 is a flow chart of yet another alternative sound field control method provided by an embodiment of the present application;
FIG. 7 is a flow chart of another alternative sound field control method provided by an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a sound field control apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
A sound field control method and apparatus according to embodiments of the present application will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a sound field control method according to an embodiment of the present application, as shown in fig. 1, where the sound field control method includes:
S101, acquiring first position information of a user in a current vehicle, and determining second position information of a target object in the current vehicle, wherein the target object is a mobile loudspeaker connected with the current vehicle;
S102, determining a target loudspeaker according to the first position information and the position of each loudspeaker on the current vehicle;
s103, generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, and performing sound field control on the current vehicle based on the sound field control strategy.
Specifically, the sound field control method provided in this embodiment is applied to vehicles including vehicles with automatic driving or intelligent driving (including passenger vehicles (such as cars, buses, wagons, etc.), cargo vehicles (such as ordinary trucks, vans, dump trucks, closed trucks, tank trucks, flat trucks, container trucks, dump trucks, special structure trucks), special vehicles (such as logistics distribution vehicles, automatic guided transport vehicles AGVs, patrol vehicles, cranes, excavators, bulldozers, forklift trucks, road rollers, loaders, off-road engineering vehicles, armored vehicles, sewage treatment vehicles, sanitation vehicles, dust trucks, floor washing vehicles, watering vehicles, sweeping robots, meal delivery robots, shopping guide robots, mowers, golf carts, etc.), vehicles with entertainment functions (such as recreational vehicles, amusement park automatic driving devices, balance cars, etc.), rescue vehicles (such as fire fighting vehicles, ambulances, electric power repair vehicles, engineering emergency vehicles, etc.), and the like).
It can be understood that when the speaker is present in the current vehicle, and the subsequent user wants to improve the sound quality in the current vehicle or increase the number of speakers in the current vehicle, the user can connect the target object with the current vehicle, and the subsequent current vehicle can output audio through the target object and the speakers on the current vehicle, so that the effect of increasing the speakers in the current vehicle and/or improving the sound quality in the current vehicle is achieved, the problem that the speakers can be increased and/or the sound quality in the current vehicle can be improved only by modifying the current vehicle is avoided, modification resources are saved, and user experience is improved.
With the above example, the target object includes, but is not limited to, one of Bluetooth sound, wire sound, at least one target object exists on the current vehicle, and the target object can establish a connection with the current vehicle through a wired connection and/or a wireless connection, wherein the wired connection includes, but is not limited to, a coaxial cable, a twisted pair wire, and a fiber optic wired network, and the wireless connection may be a wireless network that can implement interconnection of various Communication devices without wiring, for example, bluetooth (Bluetooth), near Field Communication (NFC), infrared (Infrared), wiFi, and the like.
The current vehicle obtains first position information of a user in the current vehicle through sensors such as a pressure sensor arranged on a seat, a camera arranged in the vehicle, an infrared device and the like, for example, the pressure sensors are respectively arranged in a seat cushion of each seat in the current vehicle (taking the pressure sensor as a group of film type contact sensors as an example, 12 film type contact sensors are a group of film type contact sensors), the contacts of each film type contact sensor are uniformly distributed on the stress surface of the seat, when the user enters a cabin of the current vehicle to enter the seat, the seat receives external pressure, the seat cushion is deformed at the moment, the film stress of the film type contact sensor is deformed, the resistance of the carbon paste in the film type contact sensor is changed, the current vehicle confirms that the seat is occupied by the user if the current vehicle measures the pressure signal generated by the change condition of the resistance of any film type contact sensor, and the current vehicle takes the position information of the seat as first position information of the user; if the seat is not occupied, the seat cushion will not deform, the thin film type contact sensor thin film remains unchanged, and the resistance is stable and unchanged, so that the vehicle confirms that the seat is not occupied.
For another example, a camera is arranged in the current vehicle, and the current vehicle executes a target recognition technology by using the camera to accurately acquire the first position information of each user; in some examples, to ensure that the user has a better hearing experience, the present vehicle in this example may further perform a target recognition technique using a camera to accurately acquire ear position information of each user, and take the ear position as the first position information, specifically, by analyzing characteristics of the user, such as positions of eyes, nose and mouth, the system can accurately determine the position information of the ear, and this method not only can acquire the position information of the passenger in real time, but also can adapt to head motion changes of the passenger.
Likewise, the current vehicle can determine the second position information of the target object in the current vehicle through the camera, which is not described herein.
In some examples, the present example may determine a target speaker according to the first location information corresponding to the user and the location of each speaker on the current vehicle; in some examples, the number of target speakers is lower than the number of speakers on the current vehicle, e.g., if there are N speakers on the current vehicle (N is a positive integer), then the number of target speakers is M (N is a positive integer), where M < N, thereby avoiding the effect of using all speakers on the current vehicle and saving system resources.
Specifically, for example, 7 speakers exist on the current vehicle, the target speakers are determined from the seven speakers in this step provided in this example, and the number of the target speakers is less than 7, that is, the number of the target speakers ranges from 1 to 6, so that all the speakers on the current vehicle are avoided being used, and system resources are saved.
In some examples, after determining the target speakers, the present example generates a sound field control strategy according to the first location information of the user, the second location information of the target object, and the location information of each target speaker, and performs sound field control on the current vehicle based on the sound field control strategy, so that the sound field of the current vehicle can bring good audio effects to the user.
According to the technical scheme provided by the embodiment of the application, the first position information of the user in the current vehicle is acquired, the second position information of the target object in the current vehicle is determined, and the target object is a mobile loudspeaker connected with the current vehicle; determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle; according to the method, a sound field control strategy is generated according to the first position information of a user, the second position information of a target object and the position information of each target loudspeaker, and sound field control is carried out on a current vehicle based on the sound field control strategy, wherein the current vehicle can carry out audio output through the target object and the loudspeakers on the current vehicle through the setting of the target object in the current vehicle, the effect of adding the loudspeakers in the current vehicle and/or improving the sound quality in the current vehicle is achieved, the problem that the loudspeakers can be added and/or the sound quality in the current vehicle is improved after the current vehicle is modified is avoided, modification resources are saved, user experience is improved, in addition, the sound field of the current vehicle is automatically adjusted by combining the positions of the user, the target object and the target loudspeakers in the current vehicle, so that the sound field of the current vehicle can bring good audio effect to the user, and the problem that in the related technology, the vehicle cannot automatically adjust the sound field in the vehicle and the sound effect of the user is poor in sound effect experience is avoided.
In some embodiments, as shown in fig. 2, determining the target speaker based on the first location information and the location information of each speaker on the current vehicle includes:
S201, determining a first distance between each loudspeaker and a user according to the first position information and the position information corresponding to each loudspeaker, and determining a second distance between the user and a target object according to the first position information and the second position information;
s202, determining a target loudspeaker according to the first distance corresponding to each loudspeaker and the second distance between the user and the target object.
Specifically, after the first position information of the user and the position information corresponding to each speaker on the current vehicle are obtained, the present example can determine a first distance between the user and each speaker; for example, there are A, B, C and D four speakers on the vehicle, and after the current vehicle determines the positions of the user and A, B, C and D four speakers, the first distances of the a speaker and the user are determined according to the position information of the a and the first position information of the user, respectively, and based on the same principle as described above, the first distances of the B speaker and the user, the first distances of the C speaker and the user, and the first distances of the D speaker and the user are obtained.
In the above example, the second distance between the user and the target object is obtained based on the same principle, which is not described herein.
In some examples, after determining the first distance between each speaker and the user and the second distance between the user and the target object, the present example further determines the target speaker according to the first distance corresponding to each speaker and the second distance between the user and the target object, so that the distance between the target speaker and the user accords with the expectation, and the distance between the target speaker and the user refers to the distance between the user and the target object, so that a certain rule exists in the distribution of the target speaker, thereby achieving the beneficial effect of improving the audio output quality, and avoiding the problem that the distribution of the target speaker is too disordered and the audio output quality is affected due to random determination of the target speaker.
According to the technical scheme provided by the embodiment of the application, the first distance between each loudspeaker and the user is determined according to the first position information and the position information corresponding to each loudspeaker, and the second distance between the user and the target object is determined according to the first position information and the second position information; according to the first distance corresponding to each loudspeaker and the second distance between the user and the target object, the target loudspeakers are determined, so that the distances between the target loudspeakers and the user are referred to the distances between the user and the target object, and certain rules exist in the distribution of the target loudspeakers, and further the beneficial effects of improving the audio output quality are achieved, and the problems that the target loudspeakers are randomly determined, the distribution of the target loudspeakers is too disordered, and the audio output quality is affected are avoided.
In some embodiments, as shown in fig. 3, determining the target speaker according to the first distance corresponding to each speaker and the second distance between the user and the target object includes:
s301, comparing the first distance corresponding to each loudspeaker with the second distance to determine a distance difference value corresponding to each loudspeaker;
s302, determining a target loudspeaker according to the distance difference value corresponding to each loudspeaker.
Specifically, the first distance corresponding to each speaker is compared with the second distance, and a distance difference value corresponding to each speaker is determined, for example, A, B, C and D four speakers exist, the first distance corresponding to the a speaker is denoted as X, the second distance is denoted as Y, the distance difference value corresponding to the a speaker is denoted as X-Y, and based on the same principle, the distance difference values corresponding to A, B, C and D four speakers are obtained.
After the distance difference value corresponding to each speaker is obtained, the example further determines a target speaker according to the distance difference value corresponding to each speaker; in some examples, by sorting the distance differences corresponding to each speaker, then taking the N speakers with the top distance differences (the smaller the distance differences, the top ranking) as target speakers, for example, there are A, B, C and D four speakers, and the distance differences corresponding to A, B, C and D four speakers are A1, B1, C1, and D1, respectively, and A1 > B1 > C1 > D1, and when N is taken to be 2, the C speaker corresponding to C1 and the D speaker corresponding to D1 are taken as target speakers. In some examples, the distance difference value corresponding to each speaker may be compared with a preset difference threshold, if the distance difference value corresponding to the speaker is lower than the preset difference threshold, the speaker is used as a target speaker, for example, A, B, C and D four speakers exist, and the distance difference values corresponding to A, B, C and D four speakers are A1, B1, C1 and D1, A1 > M, M > B1, M > C1 and M > D1, respectively, and the B speaker corresponding to B1, the C speaker corresponding to C1 and the D speaker corresponding to D1 are used as target speakers.
It can be understood that, in the step of determining the target speaker according to the distance difference value corresponding to each speaker, the present example may further perform audio output direction screening on the target speaker, specifically, after determining the target speaker by the above ranking screening or threshold screening method, the present example further determines the audio output direction of each target speaker, and adjusts the target speaker according to the audio output direction of each target speaker.
In the above example, the present example first obtains the relative direction between each target speaker and the user, then obtains the audio output direction of each target speaker, and when the difference between the audio output direction of the target speaker and the relative direction between the target speaker and the user is too large, removes the target speaker, otherwise retains the target speaker, so that the adjusted audio output direction of the target speaker is the same as the relative direction between the target speaker and the user, and further the user has better audio experience.
According to the technical scheme provided by the embodiment of the application, the first distance and the second distance corresponding to each loudspeaker are compared, and the distance difference value corresponding to each loudspeaker is determined; and determining a target speaker according to the distance difference value corresponding to each speaker, so that the determined distance between the target speaker and the user and the distance between the target object and the user tend to be the same or similar, the time when the target object outputs the audio frequency and the time when the target speaker outputs the audio frequency tend to be the same, and the consistency and the stability of the sound field are improved.
In some embodiments, as shown in fig. 4, determining the target speaker according to the distance difference value corresponding to each speaker includes:
s401, carrying out audio classification on each loudspeaker, and carrying out audio classification on a plurality of loudspeakers according to an audio classification result to obtain at least two audio classification sets;
S402, determining at least one target loudspeaker from each audio classification set according to the distance difference value corresponding to each loudspeaker.
Specifically, in this example, by performing audio classification on each speaker and performing audio classification on a plurality of speakers according to the audio classification result, at least two audio classification sets are obtained, for example, the above audio classification is a high-low sound classification, and in this example, high-low sound classification is performed on each speaker, so that all speakers are classified into a high-sound speaker and a low-sound speaker, and the high-sound speaker is in the high-sound speaker classification set, and the low-sound speaker is in the low-sound speaker classification set.
It can be understood that how to perform audio classification on each speaker can be flexibly set by the relevant personnel according to actual requirements, and the above-mentioned high-low-pitch classification is only exemplary, and is not intended to limit that the relevant personnel can perform audio classification on each speaker only through the high-low-pitch classification.
In some examples, after determining the audio classification set, the present example determines at least one target speaker from each audio classification set according to a distance difference value corresponding to each speaker, so that the determined target speaker includes at least two audio classifications. Specifically, taking two audio classification sets as a tweeter classification set and a woofer classification set as an example, through the step S301 and the step S302, corresponding target speakers are determined from the tweeter classification set and the woofer classification set, so that the determined target speakers at least comprise the tweeter and the woofer, and further the effect of improving the audio experience of the user is achieved.
According to the technical scheme provided by the embodiment of the application, each loudspeaker is subjected to audio classification, and a plurality of loudspeakers are subjected to audio classification according to the audio classification result, so that at least two audio classification sets are obtained; and determining at least one target speaker from each audio classification set according to the distance difference value corresponding to each speaker, so that the determined target speaker at least comprises two audio classifications, and the effect of improving the audio experience of the user is achieved.
In some embodiments, as shown in fig. 5, the sound field control strategy includes: a delay output strategy; generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, wherein the sound field control strategy comprises the following steps:
s501, obtaining the distance between each target loudspeaker and the user, and determining a second distance between the user and the target object according to the first position information and the second position information;
S502, determining the farthest loudspeaker according to the distance between each target loudspeaker and the user and the second distance;
S503, determining a delay output strategy corresponding to each target speaker and each target object according to the distance between the farthest speaker and the user.
Specifically, after determining a plurality of target speakers, in order to keep the time of reaching the user of the audio output by each target speaker and the target object synchronous all the time, the audio effect perceived by the user is improved, so that delay setting needs to be performed on the target speakers and the target objects respectively. For example, when two target speakers a and B and target objects C, A, B and C are different from each other, the distances between A, B and C and the user should be determined, and the distances between A, B and C and the user should be X, Y and Z, respectively, where X > Y, and where X is greater than Z, the target speaker a is the farthest speaker, and then the target objects B and C are set with time delay according to the distances between the target speaker a and the user, respectively, so as to adjust the sound field in the vehicle.
The above example is accepted, and according to the distance between the farthest speaker and the user, the delay output strategy corresponding to each target speaker and each target object is determined, specifically: the method comprises the steps of respectively obtaining the linear distances between the farthest loudspeaker and other target loudspeakers and a user, then determining the sound propagation speed, respectively bringing the linear distances between the farthest loudspeaker and the user, the linear distances between other loudspeakers (including other target loudspeakers and target objects) and the user and the sound propagation speed into a target formula, further determining the delay time of the other loudspeakers, further realizing the determination of the delay output strategy corresponding to each target loudspeaker and each target object, wherein the target formula is as follows:
Wherein Tn is the delay time length (in ms) of the other speakers, X max is the linear distance between the farthest speaker and the user, X n is the linear distance between the nth other speaker and the user, and z is the sound propagation speed, wherein the units of X max and X n are as follows: millimeter (millimeter, mm), Z is in meters (metre/meter, m).
According to the technical scheme provided by the embodiment of the application, the distance between each target loudspeaker and the user is obtained, and the second distance between the user and the target object is determined according to the first position information and the second position information; determining the farthest loudspeaker according to the distance between each target loudspeaker and the user and the second distance; according to the distance between the farthest loudspeaker and the user, a delay output strategy corresponding to each target loudspeaker and each target object is determined, and other loudspeakers are set in a delay mode through the distance between the farthest loudspeaker and the user, so that the effect of accurately adjusting the sound field in the current vehicle is achieved, the time from the audio output by each target loudspeaker and each target object in the current vehicle to the user tends to be the same, and the sound effect experience of the user is improved.
In some examples, as shown in fig. 6, before determining the delay output policy corresponding to each target speaker and target object according to the distance between the farthest speaker and the user, the method further includes:
S601, determining the audio-visual requirement corresponding to the user, and determining the type of the sound field corresponding to the user according to the audio-visual requirement;
s602, determining the interval output time of each target loudspeaker and each target object according to the sound field type, and adjusting the delay output strategy corresponding to each target loudspeaker and each target object according to the interval output time.
Specifically, the audiovisual demand includes, but is not limited to, at least one of a video demand and a music demand, and the video demand includes, but is not limited to: at least one of lyrics movie requirement, action movie requirement, comedy movie requirement, music requirement including but not limited to: at least one of popular music demand, rock music demand, ballad music demand.
The above sound field categories include, but are not limited to: at least one of a two-channel sound field, a four-channel sound field, a multi-channel sound field, stereo sound, surround sound and panoramic sound, each audio-visual requirement corresponds to a sound field type, and the corresponding relation between specific audio-visual requirements and sound field types can be flexibly set by related personnel according to actual requirements.
It can be understood that the current vehicle can acquire the video and music content currently played by the user through the video and audio entertainment system, and further determine the corresponding audio-visual requirement of the user according to the played video or music content, for example, the user is watching the action movie (or is about to play the action movie), and the corresponding audio-visual requirement of the user is the action video requirement; as another example, if the user is currently listening to popular music, the user's corresponding audiovisual demand is a popular music demand; after the audio-visual requirements of the users are determined, the current vehicle determines the sound field types corresponding to the users based on the corresponding relation between the audio-visual requirements and the sound field types.
In some examples, determining an interval output time of each target speaker and target object according to the sound field type, and adjusting a delay output strategy corresponding to each target speaker and target object according to the interval output time; it can be understood that the time for the speaker output audio to reach the user is different in different sound field types, so that the delay output strategy can be adjusted according to the sound field types specifically required by the user in this example, so that the output audio time of each target speaker and each target object more accords with the sound field type requirements of the user.
According to the technical scheme provided by the embodiment of the application, the audio-visual demand corresponding to the user is determined, and the sound field type corresponding to the user is determined according to the audio-visual demand; the interval output time of each target loudspeaker and each target object is determined according to the sound field type, the delay output strategy corresponding to each target loudspeaker and each target object is adjusted according to the interval output time, and the delay output strategy is adjusted by combining the sound field type specifically required by a user, so that the output audio time of each target loudspeaker and each target object accords with the sound field type requirement of the user, and the effect of improving the tone quality is achieved.
In some examples, as shown in fig. 7, after adjusting the sound field of the vehicle interior according to the position of the target object in the vehicle interior, the method further includes:
s701, periodically redefining the positions of the user and the target object in the current vehicle;
s702, if the position of the target object and/or the user in the current vehicle is changed, readjusting the sound field in the vehicle according to the updated position.
Specifically, periodically redefining the position of the user and the target object in the current vehicle includes the steps of: the seat position of the user in the current vehicle is determined through a pressure sensor arranged on the seat in the current vehicle, so that the position of the target object in the vehicle is determined again, and the position of the target object is acquired through a camera periodically. For example, the seat pressure recognition cycle is 0.5s, and each 0.5s vehicle can redetermine the seating conditions of the main driving seat, the auxiliary driving seat, the left rear seat, the right rear seat and the like in the vehicle, so as to redetermine the position of the user in the current vehicle.
If the target object and/or the user changes the position of the current vehicle, the sound field in the vehicle is readjusted according to the updated position, and then the sound field control strategy is redetermined based on the same method, and the current vehicle is subjected to sound field control based on the sound field control strategy, which is not described herein.
According to the technical scheme provided by the embodiment of the application, the positions of the user and the target object in the current vehicle are periodically redetermined; if the target object and/or the position of the user in the current vehicle is changed, the sound field in the vehicle is readjusted according to the updated position, so that the effect of automatically updating and adjusting the sound field of the current vehicle according to the positions of the user and the target object is realized, and the audio experience of the user in the vehicle is improved.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
The present embodiment also provides a sound field control apparatus, as shown in fig. 8, which is applied to a vehicle, the apparatus including:
An obtaining module 801, configured to obtain first position information of a user in a current vehicle, determine second position information of a target object in the current vehicle, where the target object is a mobile speaker connected to the current vehicle;
A determining module 802, configured to determine a target speaker according to the first location information and the location information of each speaker on the current vehicle;
A control module 803, configured to generate a sound field control strategy according to the first location information of the user, the second location information of the target object, and the location information of each target speaker, and perform sound field control on the current vehicle based on the sound field control strategy.
Determining a first distance between each loudspeaker and the user according to the first position information and the position information corresponding to each loudspeaker, and determining a second distance between the user and the target object according to the first position information and the second position information;
And determining the target loudspeaker according to the first distance corresponding to each loudspeaker and the second distance between the user and the target object.
In some examples, the determining module 802 is further configured to compare the first distance corresponding to each speaker to the second distance, and determine a distance difference value corresponding to each speaker; and determining a target loudspeaker according to the distance difference value corresponding to each loudspeaker.
In some examples, the determining module 802 is further configured to perform audio classification on each speaker, and perform audio classification on the plurality of speakers according to the audio classification result, to obtain at least two audio classification sets; and determining at least one target loudspeaker from each audio classification set according to the distance difference value corresponding to each loudspeaker.
In some examples, the sound field control strategy includes: a delay output strategy; the control module 803 is further configured to obtain a distance between each target speaker and the user, and determine a second distance between the user and the target object according to the first location information and the second location information; determining the farthest loudspeaker according to the distance between each target loudspeaker and the user and the second distance; and determining a delay output strategy corresponding to each target loudspeaker and each target object according to the distance between the farthest loudspeaker and the user.
In some examples, the control module 803 is further configured to determine an audio-visual requirement corresponding to the user, and determine a sound field type corresponding to the user according to the audio-visual requirement; and determining the interval output time of each target loudspeaker and each target object according to the sound field type, and adjusting the delay output strategy corresponding to each target loudspeaker and each target object according to the interval output time.
In some examples, the control module 803 is also used to periodically re-determine the location of the user and the target object at the current vehicle; and if the position of the target object and/or the user in the current vehicle is changed, readjusting the sound field in the vehicle according to the updated position.
According to the technical scheme provided by the embodiment of the application, the device determines the second position information of the target object in the current vehicle by acquiring the first position information of the user in the current vehicle, wherein the target object is a mobile loudspeaker connected with the current vehicle; determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle; according to the method, a sound field control strategy is generated according to the first position information of a user, the second position information of a target object and the position information of each target loudspeaker, and sound field control is carried out on a current vehicle based on the sound field control strategy, wherein the current vehicle can carry out audio output through the target object and the loudspeakers on the current vehicle through the setting of the target object in the current vehicle, the effect of adding the loudspeakers in the current vehicle and/or improving the sound quality in the current vehicle is achieved, the problem that the loudspeakers can be added and/or the sound quality in the current vehicle is improved after the current vehicle is modified is avoided, modification resources are saved, user experience is improved, in addition, the sound field of the current vehicle is automatically adjusted by combining the positions of the user, the target object and the target loudspeakers in the current vehicle, so that the sound field of the current vehicle can bring good audio effect to the user, and the problem that in the related technology, the vehicle cannot automatically adjust the sound field in the vehicle and the sound effect of the user is poor in sound effect experience is avoided.
Fig. 9 is a schematic diagram of an electronic device 9 according to an embodiment of the present application. As shown in fig. 9, the electronic apparatus 9 of this embodiment includes: a processor 901, a memory 902 and a computer program 903 stored in the memory 902 and executable on the processor 901. The steps of the various method embodiments described above are implemented when the processor 901 executes the computer program 903. Or the processor 901 when executing the computer program 903 implements the functions of the modules/units in the above-described device embodiments.
The electronic device 9 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 9 may include, but is not limited to, a processor 901 and a memory 902. It will be appreciated by those skilled in the art that fig. 9 is merely an example of the electronic device 9 and is not limiting of the electronic device 9 and may include more or fewer components than shown, or different components.
The Processor 901 may be a central processing unit (Central Processing Unit, CPU) or other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The memory 902 may be an internal storage unit of the electronic device 9, for example, a hard disk or a memory of the electronic device 9. The memory 902 may also be an external storage device of the electronic device 9, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 9. The memory 902 may also include both internal and external memory units of the electronic device 9. The memory 902 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A sound field control method, the method comprising:
acquiring first position information of a user in a current vehicle, and determining second position information of a target object in the current vehicle, wherein the target object is a mobile loudspeaker connected with the current vehicle;
Determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle;
And generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, and performing sound field control on the current vehicle based on the sound field control strategy.
2. The method of claim 1, wherein determining a target speaker based on the first location information and the location information for each speaker on the current vehicle comprises:
Determining a first distance between each loudspeaker and the user according to the first position information and the position information corresponding to each loudspeaker, and determining a second distance between the user and the target object according to the first position information and the second position information;
and determining the target loudspeaker according to the first distance corresponding to each loudspeaker and the second distance between the user and the target object.
3. The method of claim 2, wherein determining the target speaker based on the first distance corresponding to each speaker and the second distance between the user and target object comprises:
comparing the first distance corresponding to each loudspeaker with the second distance to determine a distance difference value corresponding to each loudspeaker;
and determining the target loudspeaker according to the distance difference value corresponding to each loudspeaker.
4. A method according to claim 3, wherein determining the target speaker from the distance difference value for each speaker comprises:
performing audio classification on each loudspeaker, and performing audio classification on a plurality of loudspeakers according to an audio classification result to obtain at least two audio classification sets;
and determining at least one target loudspeaker from each audio classification set according to the distance difference value corresponding to each loudspeaker.
5. The method of claim 1, wherein the sound field control strategy comprises: a delay output strategy; generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, wherein the sound field control strategy comprises the following steps:
acquiring the distance between each target loudspeaker and the user, and determining a second distance between the user and the target object according to the first position information and the second position information;
Determining the farthest loudspeaker according to the distance between each target loudspeaker and the user and the second distance;
And determining the delay output strategy corresponding to each target loudspeaker and the target object according to the distance between the farthest loudspeaker and the user.
6. The method of claim 5, wherein after determining the delayed output strategy for each of the target speaker and the target object based on the distance of the farthest speaker from the user, the method further comprises:
Determining the audio-visual requirement corresponding to the user, and determining the sound field type corresponding to the user according to the audio-visual requirement;
And determining the interval output time of each target loudspeaker and each target object according to the sound field type, and adjusting the delay output strategy corresponding to each target loudspeaker and each target object according to the interval output time.
7. The method of claim 1, wherein after adjusting the sound field of the vehicle interior based on the position of the target object in the vehicle interior, the method further comprises:
Periodically re-determining the positions of the user and the target object in the current vehicle;
And if the position of the target object and/or the user in the current vehicle is changed, readjusting the sound field in the vehicle according to the updated position.
8. A sound field control apparatus, characterized in that the apparatus comprises:
The system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first position information of a user in a current vehicle and determining second position information of a target object in the current vehicle, and the target object is a mobile loudspeaker connected with the current vehicle;
the determining module is used for determining a target loudspeaker according to the first position information and the position information of each loudspeaker on the current vehicle;
And the control module is used for generating a sound field control strategy according to the first position information of the user, the second position information of the target object and the position information of each target loudspeaker, and performing sound field control on the current vehicle based on the sound field control strategy.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202410217908.1A 2024-02-28 2024-02-28 Sound field control method and device, electronic equipment and storage medium Pending CN117998273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410217908.1A CN117998273A (en) 2024-02-28 2024-02-28 Sound field control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410217908.1A CN117998273A (en) 2024-02-28 2024-02-28 Sound field control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117998273A true CN117998273A (en) 2024-05-07

Family

ID=90890961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410217908.1A Pending CN117998273A (en) 2024-02-28 2024-02-28 Sound field control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117998273A (en)

Similar Documents

Publication Publication Date Title
US11950067B2 (en) Communication system for multiple acoustic zones
US20160323671A1 (en) Managing Telephony and Entertainment Audio in a Vehicle Audio Platform
KR20170122717A (en) Loudspeaker arrangement for three-dimensional sound reproduction in cars
CN114194128A (en) Vehicle volume control method, vehicle, and storage medium
WO2023056764A1 (en) In-vehicle call method and apparatus, system, and vehicle
WO2020120754A1 (en) Audio processing device, audio processing method and computer program thereof
CN114390427A (en) Sound field optimization method, device and equipment and readable storage medium
CN114125655A (en) Loudspeaker control method and device, electronic equipment and storage medium
CN113895385A (en) Main driving sound field automatic control method, system and equipment
US11503401B2 (en) Dual-zone automotive multimedia system
CN117998273A (en) Sound field control method and device, electronic equipment and storage medium
CN112312280B (en) In-vehicle sound playing method and device
CN116661727A (en) Channel positioning method, device, equipment and computer readable storage medium
US20210237660A1 (en) Rear seat display device
CN114697855A (en) Multichannel vehicle-mounted sound system
CN210042179U (en) Vehicle-mounted audio system
CN116828384A (en) Sound field control method and device, electronic equipment and storage medium
CN116996812B (en) Steering-based volume adjusting method and device, electronic equipment and storage medium
US12003947B2 (en) Sound field optimization method and device performing same
WO2023114862A1 (en) Signal processing approximating a standardized studio experience in a vehicle audio system having non-standard speaker locations
CN220053676U (en) Vehicle-mounted playing system and vehicle
WO2023114863A1 (en) Directional vehicle notifications using pre-rendered multidimensional sounds
CN115009200A (en) Cabin entertainment system and method for automobile
CN117395570A (en) Sound playing method and device and computer readable storage medium
CN114882721A (en) Vehicle navigation information playing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination