Directional sound production method and apparatus, device
By using a processor and speaker array in a directional sound-emitting device, the sound parameters are dynamically adjusted according to the location information of the target object, and the acoustic bright and dark areas are divided. This solves the problems of high cost and poor applicability of existing directional sound technology, and achieves a low-cost, high-frequency directional sound effect.
Patent Information
- Application Number
- CN202211724519.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Existing directional sound technologies have limitations in terms of cost and applicability. In particular, ultrasonic directional sound solutions are expensive and have poor system compatibility. Sound focusing loudspeakers are not effective at low frequencies and take up a lot of space, making it difficult to meet the needs of individual users.
The location information of the target object is obtained by the processor in the directional sound device, the sound parameters of the speaker array are configured, and low-cost directional sound technology is realized by using a digital signal processor and speaker array. The sound parameters are dynamically adjusted according to the location of the target object, the acoustic bright area and dark area are divided, and the filter coefficients are optimized by acoustic algorithm to achieve the directional sound effect.
It achieves low-cost, user-friendly directional sound technology, improves low-frequency performance, reduces hardware and software complexity, and adapts to directional sound needs in different locations and environments.
Smart Images

Figure CN115988381B_ABST
Abstract
Description
Technical Field
[0001] This application relates to electronic technology, and to, but is not limited to, a method, apparatus, and device for directional sound generation. Background Technology
[0002] Currently, online meetings and calls are becoming increasingly common in daily life. In public spaces or workplaces, to minimize the impact on others, it's often necessary to wear headphones during calls, which can cause irreversible ear damage over time. Directional sound technology for open spaces solves this user pain point, allowing users to avoid wearing headphones in shared spaces, reducing ear strain while ensuring privacy and minimizing disruption to others. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method, apparatus, and device for directional sound generation.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] In a first aspect, embodiments of this application provide a method for directional sound generation, the method comprising:
[0006] Obtain the location information of the target object, which is the object receiving the target sound output by the directional sound-emitting device;
[0007] Configure the sound generation parameters of the sound generation component of the directional sound generation device based on the location information, so as to deliver the target sound to the target object in a directional manner based on the sound generation parameters;
[0008] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0009] Secondly, embodiments of this application provide a directional sound-emitting device, the device comprising:
[0010] The acquisition unit is used to obtain the location information of the target object, which is the object that receives the target sound output by the directional sound-emitting device.
[0011] A configuration unit is configured to configure the sound generation parameters of the sound generation component of the directional sound generation device based on the location information, so as to directionally deliver the target sound to the target object based on the sound generation parameters;
[0012] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0013] Thirdly, embodiments of this application provide a directional sound-emitting device, the device comprising:
[0014] Speaker array;
[0015] A processor is configured to obtain the location information of a target object, which is an object that receives the target sound output by a directional sound-emitting device; configure the sound-emitting parameters of the sound-emitting component of the directional sound-emitting device based on the location information, so as to directionally deliver the target sound to the target object based on the sound-emitting parameters; wherein the sound-emitting parameters are different when the target object is at different positions relative to the directional sound-emitting device.
[0016] This application provides a method, apparatus, and device for directional sound generation. By obtaining the location information of a target object, which is the object receiving the target sound output by the directional sound generation device, the device configures the sound generation parameters of the sound generation component based on the location information, thereby directionally delivering the target sound to the target object based on the sound generation parameters. The sound generation parameters differ depending on the target object's location relative to the directional sound generation device. This enables a low-cost directional sound technology more suitable for individual user scenarios. Attached Figure Description
[0017] Figure 1 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 1 ;
[0018] Figure 2 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 2 ;
[0019] Figure 3 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 3 ;
[0020] Figure 4 This is a schematic diagram of the composition of the directional sound-emitting device according to an embodiment of this application;
[0021] Figure 5A This is a schematic diagram of the directional sound effect of the speaker array in an embodiment of this application;
[0022] Figure 5B This is a schematic diagram of an implementation scheme for the intelligent directional sound effect in this application. Figure 1 ;
[0023] Figure 5C This is a schematic diagram of an implementation scheme for the intelligent directional sound effect in this application. Figure 2 ;
[0024] Figure 5D This is a schematic diagram illustrating the implementation process of the intelligent directional sound effect embodiment of this application;
[0025] Figure 6 This is a schematic diagram of the composition of the directional sound-emitting device according to an embodiment of this application;
[0026] Figure 7 This is a schematic diagram of a hardware entity of a directional sound-emitting device according to an embodiment of this application. Detailed Implementation
[0027] The technical solutions of this application will be further described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0028] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0029] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustration and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0030] It should be noted that the terms "first, second, and third" used in the embodiments of this application are merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, and third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0031] Currently, the directional loudspeaker technologies available on the market basically include the following:
[0032] First, the sound-focusing loudspeaker; this is achieved through a sound-focusing enclosure. A speaker in the center of the enclosure plays sound, and the reflection from the enclosure creates a directional sound effect, concentrating the sound beneath it. This solution is a directional sound technology entirely based on physical structure. The advantage of this sound-focusing loudspeaker is its relatively simple structure. The disadvantage is that it has limitations in isolating sound from adjacent areas, especially in low-frequency focusing. Furthermore, the sound-focusing enclosure is bulky, occupies a lot of space, and comes in various diameters, requiring customization based on the size of the venue and the number of people underneath. Additionally, the enclosure's application is quite limited; it can only be used directly beneath it.
[0033] Secondly, there is the ultrasound-based directional sound scheme. This scheme modulates audible sound onto inaudible ultrasound waves. The self-demodulation characteristic of ultrasound in air allows the audible sound to be demodulated, utilizing the strong directivity of ultrasound to achieve a directional sound effect. This ultrasound-based directional sound scheme requires an ultrasonic transducer. The audible sound modulated onto the ultrasound waves self-demodulates in air. Outside the Rayleigh distance, the audible sound is demodulated, achieving the directional sound effect. Because ultrasound needs to demodulate into audible sound in air, there is a minimum demodulation distance, called the Rayleigh distance, which is approximately 0.5 meters. Therefore, the ultrasound-based directional sound scheme needs to be used beyond 0.5 meters, limiting its application in near-field directional sound scenarios. Furthermore, the hardware and software of the ultrasound-based directional sound scheme need to be redesigned, resulting in poor system compatibility. Additionally, the ultrasound-based directional sound scheme is expensive and large in size, making it unsuitable for personal use.
[0034] Based on this, this application provides a directional sound generation method. The function implemented by this method can be achieved by the processor in the directional sound generation device calling program code. Of course, the program code can be stored in the storage medium of the directional sound generation device. Figure 1 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 1 ,like Figure 1 As shown, the method includes:
[0035] Step S101: Obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0036] In this embodiment, it is necessary to obtain the location information of the target object (e.g., a user) in the environment where the directional sound-emitting device is located. That is, the location information of the target object relative to the directional sound-emitting device. For example, the location information of the target object can be obtained based on sensors (such as distance sensors, infrared sensors, etc.), or it can be determined based on cameras, radar, or sound source localization methods. The sensors, cameras, and other devices are located on the directional sound-emitting device.
[0037] In some embodiments, the location information of the target object can also be determined by the signal strength and communication parameters between the directional sound-emitting device and the wearable device worn by the target object. Alternatively, a third-party device can be used to determine the location information of the target object relative to the directional sound-emitting device.
[0038] It should be noted that the embodiments of this application do not limit the specific implementation method for obtaining the location information of the target object. Of course, it is also possible to track the target object in real time to obtain its real-time location.
[0039] Here, the directional sound-generating device has the function of providing directional sound to the target object. In this embodiment of the application, the directional sound-generating device can be any electronic device with a speaker array.
[0040] Step S102: Configure the sound generation parameters of the sound generation component of the directional sound generation device based on the location information, so as to deliver the target sound to the target object in a directional manner based on the sound generation parameters;
[0041] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0042] Here, the sound-generating components of the directional sound-generating device may include a DSP (Digital Signal Processing) controller, or a speaker array and a DSP controller. The DSP controller is mainly used for data storage, data processing, filtering, and sampling, essentially functioning as a simplified CPU (Central Processing Unit). The speaker array consists of multiple speakers.
[0043] Furthermore, based on the location information of the target object, corresponding sound emission parameters can be configured in the DSP controller, and the target sound can be directionally transmitted to the target object through a speaker array based on the sound emission parameters. Alternatively, it can be understood as configuring the sound emission parameters of the DSP controller and speaker array of the directional sound emission device based on the location information of the target object.
[0044] In this embodiment, the sound-generating parameters of the sound-generating component include, but are not limited to, the following: sound direction, amplitude, frequency, period, phase, loudness, and wavelength. Of course, the sound-generating parameters may also include a transfer function for directional sound generation or filter coefficients for achieving directional sound generation.
[0045] Thus, through the methods in steps S101 to S102 above, a low-cost directional sound technology that is more suitable for personal user scenarios can be achieved.
[0046] In some embodiments, the method further includes at least one of the following:
[0047] Step S11: Monitor the motion information of the target object, and adjust the sound parameters of the sound-generating component of the directional sound-generating device based on the motion information;
[0048] Here, the motion information of the target object mainly includes its speed and movement trend. For example, if the target object is in motion rather than stationary, its upcoming new target area can be predicted based on its movement trend. This allows for timely adjustments to the sound parameters of the directional sound-emitting device's components, achieving advance adjustment. Furthermore, the time it takes for the target object to reach the new target area can be predicted based on its speed during movement, accurately determining the trigger time for parameter adjustments and achieving precise adjustment.
[0049] Of course, the motion information may also include other content, and this application embodiment does not limit this.
[0050] Step S12: Obtain environmental information of the location of the directional sound-emitting device, and adjust the sound-emitting parameters of the sound-emitting components of the directional sound-emitting device based on the environmental information;
[0051] Here, the environmental information may include environmental noise, and may also include environmental change information, etc.
[0052] For example, if the environment where the directional sound-emitting device is located is noisy, the sound-emitting parameters of the sound-emitting component can be adjusted to reduce the loudness of the target sound output by the directional sound-emitting device. If the environment where the directional sound-emitting device is located is quiet, the sound-emitting parameters of the sound-emitting component can be adjusted to increase the loudness of the target sound output by the directional sound-emitting device.
[0053] Step S13: Obtain the attribute information of the target sound, and adjust the sound parameters of the sound-generating component of the directional sound-generating device based on the attribute information.
[0054] Here, the attribute information of the target sound may include mono, stereo, audio frame rate, style type, etc. For example, if the style type of the target sound is passionate and energetic, the sound parameters of the sound-generating component can be adjusted to reduce the loudness of the target sound output by the directional sound-generating device.
[0055] In some embodiments, the directional sound-emitting device includes a speaker array. The region where the target object is located is determined and designated as a target acoustic bright area. When the region is designated as the target acoustic bright area, the filter coefficients corresponding to each speaker in the speaker array are determined and designated as target filter coefficients. Furthermore, the sound to be played can be processed based on the target filter coefficients corresponding to each speaker to obtain the processed sound for each speaker, and each speaker can be controlled to simultaneously play the corresponding processed sound.
[0056] Based on the foregoing embodiments, this application further provides a directional sound generation method, which is applied to a directional sound generation device. Figure 2 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 2 ,like Figure 2 As shown, the method includes:
[0057] Step S201: Obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0058] Step S202: Based on the location information, determine the target acoustic region where the target object is currently located; based on the mapping relationship between the acoustic region and the sound emission parameters, determine the target sound emission parameters corresponding to the target acoustic region; control the sound emission component of the directional sound emission device to work with the target sound emission parameters so as to directionally deliver the target sound to the target acoustic region.
[0059] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0060] In this embodiment, the environment in which the directional sound-emitting device is located can be divided into multiple acoustic regions. Each acoustic region has a corresponding sound emission parameter that makes the acoustic region an acoustically bright area and other areas acoustically dark areas. Then, based on the location information of the target object, it is determined which of the multiple acoustic regions the target object is currently in, and that acoustic region is identified as the target acoustic region. Furthermore, the target sound emission parameter corresponding to the target acoustic region can be determined based on the mapping relationship between acoustic regions and sound emission parameters. Then, the sound-emitting component of the directional sound-emitting device is controlled to operate with the target sound emission parameter to directionally deliver the target sound to the target acoustic region.
[0061] For example, the 180-degree area in front of a directional sound-emitting device can be divided into 10 smaller areas, each with an angle of approximately 18 degrees. Each area has a preset filter coefficient, making that area an acoustically bright area while the other areas are acoustically dark areas. When the directional sound-emitting device acquires the position information of the target object, it can automatically switch the directional sound area. If the target object is currently in area 4, the sound-emitting component operates with the filter coefficient corresponding to area 4, making area 4 an acoustically bright area while the other areas are acoustically dark areas. When the target object moves to area 1, the DSP controller automatically switches the filter coefficient corresponding to the directional sound in area 1, making area 1 an acoustically bright area while the other areas are acoustically dark areas, thus achieving the effect of directional sound emission.
[0062] Thus, by using the methods in steps S201 to S202 above, the sound parameters of the area where the target object is located can be switched directly according to the location of the target object, thereby achieving directional sound emission.
[0063] Based on the foregoing embodiments, this application further provides a directional sound generation method, which is applied to a directional sound generation device, and the method includes:
[0064] Step S211: Obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0065] Step S212: Based on the location information, determine the target acoustic region where the target object is currently located, divide the sound emission region of the directional sound emission device into multiple acoustic regions, determine the filter coefficients corresponding to each acoustic region as an acoustic bright area and an acoustic dark area, and obtain the mapping relationship between the acoustic region and the sound emission parameters.
[0066] Here, the environment in which the directional sound-emitting device is located can be divided into multiple acoustic regions. Each acoustic region has a corresponding filter coefficient that makes the acoustic region a bright area and other areas dark areas. Then, based on the location information of the target object, it is determined which of the multiple acoustic regions the target object is currently in, and this acoustic region is identified as the target acoustic region. Furthermore, the target filter coefficient corresponding to the target acoustic region can be determined based on the mapping relationship between acoustic regions and filter coefficients. Based on the target filter coefficient, the target sound emission parameters are obtained. Then, the sound-emitting components of the directional sound-emitting device are controlled to operate with the target sound emission parameters to directionally deliver the target sound to the target acoustic region.
[0067] Step S213: Take the target acoustic region where the target object is currently located as the acoustic bright region, and take the target filter coefficient corresponding to the acoustic bright region as the target sound emission parameter based on the mapping relationship. Control the sound emission component of the directional sound emission device to work with the target sound emission parameter so as to deliver the target sound to the target acoustic region in a directional manner.
[0068] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0069] Here, the target acoustic region where the target object is currently located can be considered an acoustic bright region, and other acoustic regions besides the target acoustic region can be considered acoustic dark regions. The corresponding filter coefficients are then used as sound generation parameters. Furthermore, the DSP controller and speaker array of the directional sound generation device can be controlled to operate according to these sound generation parameters, thereby directionally delivering the target sound to the target acoustic region to achieve a directional sound effect. For example, the speaker array in the directional sound generation device consists of four speakers, and the environment in which the directional sound generation device is located includes five regions, namely regions 1, 2, to 5. If the target object is currently in region 3, then the filter coefficients corresponding to the four speakers are determined when region 3 is an acoustic bright region and the other regions are acoustic dark regions. The DSP controller uses the filter coefficients corresponding to the four speakers to process the sound to be played, obtaining four target sounds to be played, so that the four speakers play the corresponding target sounds. These four target sounds are superimposed in each region, making region 3 an acoustic bright region and the other regions acoustic dark regions. In the acoustic dark zone, the four target sounds to be played cancel each other out (i.e., they have the same amplitude but opposite phase).
[0070] Thus, through the methods in steps S211 to S213 above, a directional sound technology based on acoustic algorithms can be provided, which is lower in cost, has better low-frequency performance, and is more suitable for personal user scenarios compared to existing ultrasonic directional sound technology.
[0071] Based on the foregoing embodiments, this application further provides a directional sound generation method, which is applied to a directional sound generation device. Figure 3 This is a schematic diagram illustrating the implementation process of the directional sound generation method in the embodiments of this application. Figure 3 ,like Figure 3 As shown, the method includes:
[0072] Step S301: Obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0073] Step S302: Based on the location information, determine the first positional relationship between the current target location of the target object and the initial acoustic bright area; based on the first positional relationship and the initial sound emission parameters corresponding to the initial acoustic bright area, determine the target sound emission parameters corresponding to the target location; control the sound emission component of the directional sound emission device to operate with the target sound emission parameters to directionally deliver the target sound to the target location.
[0074] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0075] In this embodiment, a portion of the environment containing the directional sound-emitting device can be selected as the initial acoustic bright zone, and the initial sound emission parameters corresponding to this initial acoustic bright zone can be determined. If the target object is currently located within the initial acoustic bright zone, the sound-emitting component of the directional sound-emitting device can be controlled to operate with these initial sound emission parameters. If the target object is not currently located within the initial acoustic bright zone, a first positional relationship between the target position and the initial acoustic bright zone is determined (e.g., the angle between the straight line formed by the directional sound-emitting device and the target position and the centerline of the initial acoustic bright zone). Then, the target sound emission parameters (e.g., the target sound emission parameters are equal to the initial sound emission parameters multiplied by the aforementioned angle) can be determined based on this first positional relationship and the initial sound emission parameters. Finally, the sound-emitting component of the directional sound-emitting device can be controlled to operate with these target sound emission parameters.
[0076] Of course, the first positional relationship may include distance or other types of parameters in addition to angle, and this application embodiment does not limit this.
[0077] Thus, by using the methods in steps S301 to S302 above, the target acoustic parameters can be determined based on the positional relationship between the target object and the initial acoustic bright area, as well as the initial acoustic parameters, thereby achieving directional sound generation.
[0078] Based on the foregoing embodiments, this application further provides a directional sound generation method, which is applied to a directional sound generation device, and the method includes:
[0079] Step S311: Obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0080] Step S312: Based on the location information, determine the first positional relationship between the current target position of the target object and the initial acoustic bright area, and determine the position of the initial acoustic bright area and its corresponding initial filter coefficients;
[0081] Here, the initial filter coefficients corresponding to the initial acoustic bright zone can realize the initial acoustic parameters of the initial acoustic bright zone. That is, if the target object is located in the initial acoustic bright zone, the sound-generating component of the directional sound-generating device operates with the initial acoustic parameters (such as processing the sound to be played using the initial filter coefficients), and can directionally transmit the target sound to the target object. For example, the range of ±10° of the central axis of the directional sound-generating device can be defined as the initial acoustic bright zone, and then filter coefficients within this angle range can be preset in the DSP controller as the initial filter coefficients.
[0082] Step S313: Determine the angle transformation matrix based on the first positional relationship, process the initial filter coefficients using the angle transformation matrix to obtain the target filter coefficients, use the target filter coefficients as the target sound parameters corresponding to the target position, and control the sound generation component of the directional sound generation device to work with the target sound parameters to directionally deliver the target sound to the target position.
[0083] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0084] Here, an angle transformation matrix can be determined based on the initial positional relationship between the target object and the initial acoustic bright area. The initial filter coefficients are then multiplied by this angle transformation matrix to obtain the target filter coefficients. Furthermore, these target filter coefficients can be used to process the sound to be played, obtaining the target sound and thus achieving a directional sound effect. For example, defining an initial acoustic bright area and pre-setting filter coefficients within the angle range of this area in the DSP controller is called the initial filter coefficients. After obtaining the position information of the target object, the angle of the target object's position is obtained. If this angle is 120 degrees, the initial filter coefficients in the DSP controller are multiplied by a 120-degree angle transformation matrix to rotate the acoustic bright area, thereby achieving a directional sound effect that tracks the object's position.
[0085] Thus, through the methods in steps S311 to S313 above, a directional sound technology based on acoustic algorithms can be provided, which is lower in cost, has better low-frequency performance, and is more suitable for personal user scenarios compared to existing ultrasonic directional sound technology.
[0086] In some embodiments, the sound-generating component of the directional sound-generating device includes at least one speaker array, and the method further includes:
[0087] Step S31a: Using the speaker components of the speaker array to sequentially emit white noise, test the first transfer function of the white noise from the speaker array to the target point in the acoustic bright area, and the second transfer function from the speaker array to the target point in the acoustic dark area;
[0088] Here, if the loudspeaker array includes multiple loudspeakers, white noise can be emitted sequentially by the multiple loudspeakers to test the first transfer function of the white noise from the corresponding loudspeaker to the target point position in the acoustic bright area, and the second transfer function from the corresponding loudspeaker to the target point position in the acoustic dark area.
[0089] Step S32a: Based on the first transfer function and the second transfer function, the optimal weight vector is solved with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, and the filter coefficients corresponding to each acoustic region are obtained.
[0090] In this embodiment of the application, to implement the methods in steps S211 to S213 above, it is necessary to pre-determine the filter coefficients when each region is an acoustic bright region. To implement the methods in steps S311 to S313 above, it is necessary to pre-determine the filter coefficients of the initial acoustic bright region. Therefore, the filter coefficients can be determined by the methods in steps S31a to S32a above. Here, by solving the loudspeaker weight vector when the acoustic energy contrast between the acoustic bright region and the acoustic dark region reaches its maximum value, the filter coefficients corresponding to each acoustic region as an acoustic bright region and other regions as acoustic dark regions are obtained. For the methods in steps S211 to S213 above, the following needs to be tested in the laboratory: region 1 is an acoustic bright region, and other regions are acoustic dark regions; region 2 is an acoustic bright region, and other regions are acoustic dark regions; similarly, several sets of transfer functions need to be tested for each region. For the methods in steps S311 to S313 above, it is only necessary to test the transfer function in the laboratory when the initial region is an acoustic bright region and other regions are acoustic dark regions. Here, the filter coefficient refers to a variable, meaning that multiplying by this filter coefficient will also change the overall transfer function.
[0091] Thus, by using the above method, the transfer function can be matched according to the user's position based on the speaker array, thereby achieving intelligent dynamic adjustment of the directional sound angle and the range of the acoustic bright area, realizing a directional sound effect that tracks the user's position. This achieves an effect similar to "virtual headphones" in the area where the user is located.
[0092] In some embodiments, step S32, based on the first transfer function and the second transfer function, performs optimal weight vector solving with the objective of maximizing the acoustic energy contrast between the acoustic bright region and the acoustic dark region to obtain the filter coefficients corresponding to each acoustic region, including:
[0093] Step S321: Determine the first cross-correlation matrix between the first transfer functions corresponding to different speakers in the loudspeaker array, and the second cross-correlation matrix between the second transfer functions corresponding to different speakers;
[0094] Step S322: Based on the first cross-correlation matrix and the second cross-correlation matrix, the optimal weight vector is solved with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, so as to obtain the filter coefficients corresponding to each acoustic region.
[0095] For example, through formula and formula To determine the filter coefficients corresponding to each acoustic region. Where R... b Transfer function G between multiple speakers and recording devices b The cross-correlation matrix, R d Transfer function G between multiple loudspeakers and the dark area of sound d The cross-correlation matrix is given by λ, where w is the weight vector to be solved, and λ is the regularization parameter.
[0096] In some embodiments, the method further includes at least one of the following:
[0097] Step S31b: Determine a second positional relationship between the target object and the acoustic area target point of the directional sound-emitting device based on the position information, and adjust the sound-emitting parameters based on the second positional relationship;
[0098] Generally, in the process of obtaining the transfer function through the above tests, the test distance is 0.5 meters from the speaker array. That is, a target point (such as a professional artificial head device or binaural recording device) is set at a distance of 0.5 meters from the speaker array. This target point is the acoustic target point position (reference position) of the directional sound device, and the sound parameters when the area is an acoustically bright zone are also obtained based on this position. If the target object is 0.7 meters from the speaker array, the difference between the actual position of the target object and this reference position (i.e., the second positional relationship) needs to be considered. The sound parameters when the area is an acoustically bright zone are then adjusted according to this difference to obtain a more accurate directional sound effect.
[0099] Step S32b: Obtain the sensitivity information of the target object to sound, and adjust the vocal parameters based on the sensitivity information;
[0100] Here, user profile information of the target audience can also be obtained, such as user habits and preferences, which can then be used to infer the target audience's sensitivity to sound, and thus adjust the vocal parameters based on this sensitivity information. For example, if the target audience is relatively sensitive to sound, the vocal parameters can be adjusted to reduce the loudness of the sound.
[0101] Step S33b: Obtain the third positional relationship between the directional sound-emitting device and other audio output devices, and adjust the sound-emitting parameters based on the third positional relationship.
[0102] Here, interference from other audio output devices can be considered, and the sound parameters can be adjusted based on the positional relationship between other audio output devices and the directional sound-emitting device.
[0103] Based on the foregoing embodiments, this application provides a directional sound-emitting device. Figure 4This is a schematic diagram of the composition of the directional sound-emitting device according to an embodiment of this application, as shown below. Figure 4 As shown, the directional sound-emitting device 400 includes:
[0104] Speaker array 401;
[0105] The processor 402 is configured to obtain the location information of a target object, which is an object that receives the target sound output by a directional sound-emitting device; configure the sound-emitting parameters of the sound-emitting component of the directional sound-emitting device based on the location information, so as to directionally deliver the target sound to the target object based on the sound-emitting parameters; wherein the sound-emitting parameters are different when the target object is at different positions relative to the directional sound-emitting device.
[0106] In some embodiments, the directional sound-emitting device may include, in addition to a speaker array and a processor, a microphone, Bluetooth, a USB interface, and function buttons. The microphone can be used to capture the user's location, the Bluetooth and USB interfaces can be used for audio input, and the function buttons may include power on / off, volume control, etc.
[0107] The directional sound-emitting device in this embodiment includes multiple loudspeakers, as the gain coordination among these loudspeakers is necessary and requires calculation during experimental testing. The weighting of each loudspeaker's vector is different. For example, one loudspeaker focuses on the 200-500 Hz range, while another focuses on the 1000-2000 Hz range; this frequency band design is one form of compensation. Another compensation method is phase compensation, where one loudspeaker emits only in the acoustically bright region, and the other only in the acoustically dark region (i.e., two signals cancel each other out, resulting in two sounds with the same amplitude but opposite phase). Furthermore, when the target object is located in a specific acoustically bright region, each loudspeaker corresponds to a different filter coefficient.
[0108] Based on the foregoing embodiments, this application further provides a directional sound generation method and a directional sound generation device. This directional sound generation device uses a loudspeaker array composed of ordinary omnidirectional loudspeaker units, and uses a spatial audio control algorithm to realize acoustic bright and dark areas in space, using the contrast between the bright and dark areas to demonstrate the effect of directional sound.
[0109] The directional sound-generating device uses a standard omnidirectional speaker array. For example, four speaker units can be configured to form a speaker array structure. In addition to the speaker array, the directional sound-generating device also includes: a microphone, a DSP controller, a digital-to-analog converter (DAC) module (e.g., a 4-channel DAC), an analog-to-digital converter (ADC) module (e.g., a 1-channel ADC), function buttons, a power button, a battery, Bluetooth input, and a USB-C (a standard interface) input. For example, the signal calculated and output by the DSP controller is sent to four speakers via the 4-channel DAC module. These four speakers can then reproduce audio using Wiener filtering algorithms. Furthermore, directional sound from the speakers can be achieved through a preset acoustic algorithm.
[0110] Figure 5A This is a schematic diagram of the directional sound effect of the speaker array in an embodiment of this application, as shown below. Figure 5A As shown, a preset acoustic algorithm is used to make the audio emitted by each speaker in the speaker array 51 have specific differences, so that the superposition of the audio emitted by different speakers achieves the directional sound effect of the area where the user 52 is located.
[0111] This solution can intelligently track the user's location while achieving directional sound effects. This application proposes two solutions for intelligent directional sound effects that dynamically track the user's location, thereby achieving the effect of a virtual headset based on the user's location.
[0112] (1) Implementation scheme for the first intelligent directional sound effect;
[0113] Figure 5B This is a schematic diagram of an implementation scheme for the intelligent directional sound effect in this application. Figure 1 ,like Figure 5B As shown, the speaker array divides a 90° area in front of the speakers into five smaller zones, each approximately 18° in angle. Each zone has a preset transfer function, ensuring that the zone is acoustically bright while the other zones are acoustically dark. Therefore, the speaker array's DSP has five preset sets of filter coefficients, each corresponding to the directional sound effect of each zone. When the speaker array acquires the user's position information, it can automatically switch the directional sound zone. For example, if the user is currently in zone 4, when the user moves to zone 1, the DSP will automatically switch the filter coefficients corresponding to the directional sound of zone 1.
[0114] The user's location information can be obtained in any way, such as through infrared detection or voice distance recognition. The area within a 180° radius directly in front of the speaker is divided into several zones. From left to right, the 0° to 45° and 135° to 180° zones are acoustically dark areas; directional sound cannot be achieved if the user is in these zones. Directional sound can be achieved when the user is within the 45° to 135° range. This 90° range is further subdivided into five zones, each with a range of 18°. When the user's location information is input and they are within the 45° to 135° range (e.g., from 45° to 63°), the filter bank switches to the coefficients of the preset zone 1 in the laboratory. Similarly, if a change in the user's position is detected, the DSP automatically switches the filter coefficients for the corresponding location, thus achieving a directional sound effect in that direction.
[0115] It should be noted that the regions and angles defined in the embodiments of this application are only for illustrative purposes. In actual applications, regions can be divided and the angles of acoustic bright areas can be defined as needed. Any modifications to the angle range are within the protection scope of this application.
[0116] (2) Implementation plan for the second type of intelligent directional sound effect;
[0117] Figure 5C This is a schematic diagram of an implementation scheme for the intelligent directional sound effect in this application. Figure 2 ,like Figure 5C As shown, angle α is defined as the included angle of the speaker array, within a 180° range directly in front of the speaker array. The range of ±10° from the central axis (α = 90°) is defined as the acoustic bright zone at the initial position (i.e., the angle of the acoustic bright zone at the initial position is 20°). Within this range, the acoustic bright zone is defined, and filter coefficients within this angle range are preset in the DSP, referred to as the filter coefficients for the initial position. After acquiring the user's position information, the α1 angle of the user's position is obtained. If α1 = 120° at this point, the filter coefficients for the initial position in the DSP are multiplied by an angle transformation matrix of α1 = 120° to rotate the acoustic bright zone, thus achieving a directional sound effect that tracks the user's position.
[0118] Here, the purpose of defining the included angle of the speaker array is to determine the initial acoustic bright zone. Figure 5C The 45° in the figure refers to the range of each acoustic bright zone being 45 degrees.
[0119] Similarly, the definition of angle in the embodiments of this application is for ease of explanation, and any change in angle is within the protection scope of this application.
[0120] (3) Determine the vocal parameters;
[0121] For the first implementation scheme of intelligent directional sound effect, the following needs to be tested: Region 1 is an acoustically bright area, and the other four regions are acoustically dark areas; Region 2 is an acoustically bright area, and the other four regions are acoustically dark areas; similarly, a total of 5 sets of transfer functions need to be tested. For the first implementation scheme of intelligent directional sound effect, the transfer function needs to be tested in the acoustically bright area defined above, at a distance of 0.5m from the speaker array, at an angle as shown... Figure 5B As shown.
[0122] For the second implementation of the intelligent directional sound effect, it is only necessary to test the transfer function of the area where the initial position is an acoustically bright region and the other positions are acoustically dark regions. For the second implementation of the intelligent directional sound effect, the transfer function needs to be tested in the aforementioned acoustically bright region, at a distance of 0.5m from the speaker array, at an angle as shown... Figure 5C As shown.
[0123] The testing process for the transfer functions mentioned above is consistent, as follows:
[0124] ① L loudspeaker units sequentially emit white noise. The transfer function from the L loudspeaker units to the target point in the acoustic bright area is measured through a microphone. Let this transfer function be G. b .
[0125] ② L loudspeaker units sequentially emit white noise. The transfer function from the L loudspeaker units to the target point in the acoustic dark area is measured through a microphone. Let this transfer function be G. d .
[0126] ③ Solve the weight vector of L loudspeakers using the sound energy contrast control algorithm, defining 10log 10 C is the acoustic energy ratio between the acoustic bright region and the acoustic dark region, where C can be expressed by the following formula (1):
[0127]
[0128] In the formula, R b Let G be the transfer function between L loudspeakers and both ears. b The cross-correlation matrix, R d Let G be the transfer function between L loudspeakers and the dark area. d The cross-correlation matrix is given by , where w is the weight vector to be solved, and λ is the regularization parameter.
[0129] ④ The required sound energy ratio can be obtained by solving for the optimal weight vector based on the following formula (2):
[0130]
[0131] Figure 5DThis is a schematic diagram illustrating the implementation process of the intelligent directional sound effect embodiment of this application, as shown below. Figure 5D As shown, both implementation schemes for intelligent directional sound effects require the use of position-tracking directional sound speaker arrays; among them,
[0132] The first implementation scheme for intelligent directional sound effects (i.e., Scheme 1) involves the following directional sound generation methods:
[0133] Step S501: Test the transfer functions of regions 1 to 5;
[0134] Step S502: Obtain the user's location information;
[0135] Step S503: Based on the location information and the transfer function, match the filter coefficients of the corresponding region;
[0136] Step S504: Process the audio based on the filter coefficients to achieve directional sound for the user's dynamic position.
[0137] The second implementation scheme for intelligent directional sound effects (i.e., Scheme 2) involves the following directional sound generation methods:
[0138] Step S511: Test the directional sound transfer function at the initial position;
[0139] Step S512: Obtain user location information, i.e., angle α1;
[0140] Step S513: Based on the transfer function and the α1 angle, obtain the filter coefficients for the corresponding region;
[0141] Step S514: Process the audio based on the filter coefficients to achieve directional sound for the user's dynamic position.
[0142] The advantages of adopting this solution are:
[0143] 1) This solution is based on acoustic algorithms, which is lower in cost and has better low-frequency performance than ultrasonic directional sound technology, and is more suitable for personal user scenarios.
[0144] 2) For this speaker array system, the corresponding transfer function can be matched according to the user's position, thereby achieving intelligent dynamic adjustment of the directional sound angle. The two solutions proposed in this application embodiment can effectively achieve the effect of intelligent dynamic adjustment of the acoustic bright area. This achieves a directional sound effect that tracks the user's position, creating an effect similar to "virtual headphones" in the user's area.
[0145] Based on the foregoing embodiments, this application provides a directional sound-emitting device. The device includes various units, modules included in each unit, and components included in each module. It can be implemented by a processor in the directional sound-emitting device; of course, it can also be implemented by specific logic circuits. In the implementation process, the processor can be a CPU (Central Processing Unit), MPU (Microprocessor Unit), DSP (Digital Signal Processor), or FPGA (Field Programmable Gate Array), etc.
[0146] Figure 6 This is a schematic diagram of the composition and structure of the directional sound-emitting device according to an embodiment of this application, as shown below. Figure 6 As shown, the device 600 includes:
[0147] The acquisition unit 601 is used to obtain the location information of the target object, wherein the target object is the object that receives the target sound output by the directional sound-emitting device;
[0148] Configuration unit 602 is used to configure the sound generation parameters of the sound generation component of the directional sound generation device based on the location information, so as to directionally deliver the target sound to the target object based on the sound generation parameters;
[0149] The sound parameters differ depending on the position of the target object relative to the directional sound-emitting device.
[0150] In some embodiments, the configuration unit 602 includes at least one of the following:
[0151] The first configuration module is used to determine the target acoustic region where the target object is currently located based on the location information, determine the target sound parameters corresponding to the target acoustic region based on the mapping relationship between the acoustic region and the sound parameters, and control the sound generation component of the directional sound generation device to work with the target sound parameters so as to directionally deliver the target sound to the target acoustic region.
[0152] The second configuration module is used to determine the first positional relationship between the target location where the target object is currently located and the initial acoustic bright area based on the positional information, determine the target acoustic parameters corresponding to the target location based on the first positional relationship and the initial acoustic bright area, and control the sound-generating component of the directional sound-generating device to operate with the target acoustic parameters so as to directionally deliver the target sound to the target location.
[0153] In some embodiments, the first configuration module includes:
[0154] The first configuration submodule is used to divide the sound-emitting area of the directional sound-emitting device into multiple acoustic areas, determine the filter coefficients corresponding to each acoustic area as an acoustic bright area and an acoustic dark area, and obtain the mapping relationship between the acoustic area and the sound-emitting parameters.
[0155] The first configuration submodule is further configured to use the target acoustic region where the target object is currently located as the acoustic bright region, and use the target filter coefficients corresponding to the acoustic bright region as the target sound emission parameters based on the mapping relationship.
[0156] In some embodiments, the second configuration module includes:
[0157] The second configuration submodule is used to determine the location of the initial acoustic bright area and its corresponding initial filter coefficients;
[0158] The second configuration submodule is further configured to determine an angle transformation matrix based on the first positional relationship, process the initial filter coefficients using the angle transformation matrix to obtain target filter coefficients, and use the target filter coefficients as the target vocal parameters corresponding to the target position.
[0159] In some embodiments, the sound-generating component of the directional sound-emitting device includes at least one speaker array, and the device further includes:
[0160] The test unit is used to sequentially emit white noise using the speaker components of the speaker array, and to test the first transfer function of the white noise from the speaker array to the target point location in the acoustic bright area, and the second transfer function from the speaker array to the target point location in the acoustic dark area.
[0161] The solving unit is used to solve for the optimal weight vector based on the first transfer function and the second transfer function, with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, to obtain the filter coefficients corresponding to each acoustic region.
[0162] In some embodiments, the solving unit includes:
[0163] The solution sub-unit is used to determine the first cross-correlation matrix between the first transfer functions corresponding to different speakers in the loudspeaker array, and the second cross-correlation matrix between the second transfer functions corresponding to different speakers;
[0164] The solution subunit is further configured to solve for the optimal weight vector based on the first cross-correlation matrix and the second cross-correlation matrix, with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, to obtain the filter coefficients corresponding to each acoustic region.
[0165] In some embodiments, the device further includes at least one of the following:
[0166] The first adjustment unit is used to monitor the motion information of the target object and adjust the sound parameters of the sound-generating component of the directional sound-generating device based on the motion information.
[0167] The first adjustment unit is further configured to obtain environmental information about the location of the directional sound-emitting device, and adjust the sound-emitting parameters of the sound-emitting components of the directional sound-emitting device based on the environmental information;
[0168] The first adjustment unit is further configured to obtain attribute information of the target sound and adjust the sound generation parameters of the sound generation component of the directional sound generation device based on the attribute information.
[0169] In some embodiments, the device further includes at least one of the following:
[0170] The second adjustment unit is used to determine a second positional relationship between the target object and the acoustic region target point of the directional sound-emitting device based on the position information, and to adjust the sound-emitting parameters based on the second positional relationship.
[0171] The second adjustment unit is further configured to obtain information on the sensitivity of the target object to sound, and adjust the vocal parameters based on the sensitivity information;
[0172] The second adjustment unit is further configured to obtain a third positional relationship between the directional sound-emitting device and other audio output devices, and adjust the sound-emitting parameters based on the third positional relationship.
[0173] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0174] It should be noted that, in the embodiments of this application, if the above-described directional sound generation method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM (Read Only Memory), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0175] Correspondingly, this application provides a directional sound-generating device, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the steps in the directional sound-generating method provided in the above embodiments.
[0176] Correspondingly, embodiments of this application provide a readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the above-described directional sound generation method.
[0177] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0178] It should be noted that, Figure 7 This is a schematic diagram of a hardware entity of a directional sound-emitting device according to an embodiment of this application, such as... Figure 7 As shown, the hardware entity of the directional sound-emitting device 700 includes: a processor 701, a communication interface 702, and a memory 703, wherein...
[0179] The processor 701 typically controls the overall operation of the directional sound-emitting device 700.
[0180] The communication interface 702 enables the directional sound-emitting device 700 to communicate with other electronic devices, servers, or platforms via a network.
[0181] The memory 703 is configured to store instructions and applications executable by the processor 701, and can also cache data to be processed or already processed (e.g., image data, audio data, voice communication data, and video communication data) in the processor 701 and the various modules in the directional sound-emitting device 700. It can be implemented using FLASH (flash memory) or RAM (Random Access Memory).
[0182] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0183] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0184] Furthermore, in the various embodiments of this application, all functional units can be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0185] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0186] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0187] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0188] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for directional sound generation, characterized in that, The method includes: Obtain the location information of the target object, which is the object receiving the target sound output by the directional sound-emitting device; Based on the location information, configure the sound generation parameters of the sound generation component of the directional sound generation device to directionally deliver the target sound to the target object based on the sound generation parameters; wherein, the sound generation parameters include at least: a transfer function for directional sound generation or filter coefficients for realizing directional sound generation; The sound generation parameters are used to configure the environment in which the target object and the directional sound generation device are located to include multiple acoustic regions, and to configure the region where the target object is located as an acoustic bright region and other regions as acoustic dark regions, so as to realize the directional delivery of target sound to the target object; The corresponding sound emission parameters differ depending on the position of the target object relative to the directional sound-emitting device. Wherein, when the target object is at different positions relative to the directional sound-emitting device, the corresponding sound-emitting parameters are different, including: The multiple acoustic regions correspond to different preset filter coefficients that configure the region as an acoustic bright area and the remaining regions as acoustic dark areas. The target acoustic region where the target object is currently located is determined based on the target object's location information, and the target acoustic region is switched to the preset filter coefficient corresponding to that target acoustic region.
2. The method according to claim 1, characterized in that, The step of configuring the sound-generating parameters of the sound-generating component of the directional sound-generating device based on the location information, so as to directionally deliver the target sound to the target object based on the sound-generating parameters, includes at least one of the following: Based on the location information, the target acoustic region where the target object is currently located is determined. Based on the mapping relationship between the acoustic region and the sound emission parameters, the target sound emission parameters corresponding to the target acoustic region are determined. The sound emission components of the directional sound emission device are controlled to operate with the target sound emission parameters so as to directionally deliver the target sound to the target acoustic region. Based on the location information, a first positional relationship is determined between the current target location of the target object and the initial acoustic bright area. Based on the first positional relationship and the initial sound emission parameters corresponding to the initial acoustic bright area, target sound emission parameters corresponding to the target location are determined. The sound emission components of the directional sound emission device are controlled to operate with the target sound emission parameters to directionally deliver the target sound to the target location.
3. The method according to claim 2, characterized in that, The determination of the target acoustic parameters corresponding to the target acoustic region based on the mapping relationship between acoustic regions and acoustic parameters includes: The sound-emitting area of the directional sound-emitting device is divided into multiple acoustic regions. The filter coefficients corresponding to each acoustic region as an acoustic bright area and an acoustic dark area are determined, and the mapping relationship between the acoustic region and the sound-emitting parameters is obtained. The target acoustic region where the target object is currently located is taken as the acoustic bright region, and the target filter coefficients corresponding to the acoustic bright region are taken as the target sound emission parameters based on the mapping relationship.
4. The method according to claim 2, characterized in that, Determining the target acoustic parameters corresponding to the target position based on the first positional relationship and the initial acoustic parameters corresponding to the initial acoustic bright area includes: Determine the location of the initial acoustic bright region and its corresponding initial filter coefficients; An angle transformation matrix is determined based on the first positional relationship. The initial filter coefficients are processed using the angle transformation matrix to obtain the target filter coefficients. The target filter coefficients are then used as the target vocal parameters corresponding to the target position.
5. The method according to claim 3 or 4, characterized in that, The sound-generating component of the directional sound-generating device includes at least one loudspeaker array, and the method further includes: White noise is emitted sequentially by the speaker components of the speaker array, and the first transfer function of the white noise from the speaker array to the target point in the acoustic bright area and the second transfer function from the speaker array to the target point in the acoustic dark area are tested. Based on the first transfer function and the second transfer function, the optimal weight vector is solved with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, and the filter coefficients corresponding to each acoustic region are obtained.
6. The method according to claim 5, characterized in that, The optimal weight vector is solved based on the first transfer function and the second transfer function, with the objective of maximizing the acoustic energy contrast between the acoustic bright region and the acoustic dark region, to obtain the filter coefficients corresponding to each acoustic region, including: Determine the first cross-correlation matrix between the first transfer functions corresponding to different speakers in the loudspeaker array, and the second cross-correlation matrix between the second transfer functions corresponding to different speakers; Based on the first cross-correlation matrix and the second cross-correlation matrix, the optimal weight vector is solved with the goal of maximizing the acoustic energy contrast between the acoustic bright area and the acoustic dark area, and the filter coefficients corresponding to each acoustic region are obtained.
7. The method according to any one of claims 1 to 4, characterized in that, The method further includes at least one of the following: Monitor the motion information of the target object, and adjust the sound parameters of the sound-generating components of the directional sound-generating device based on the motion information; Obtain environmental information about the location of the directional sound-emitting device, and adjust the sound-emitting parameters of the sound-emitting components of the directional sound-emitting device based on the environmental information; Obtain the attribute information of the target sound, and adjust the sound output parameters of the sound output component of the directional sound output device based on the attribute information.
8. The method according to claim 5, characterized in that, The method further includes at least one of the following: Based on the location information, a second positional relationship is determined between the target object and the acoustic region target point of the directional sound-emitting device, and the sound-emitting parameters are adjusted based on the second positional relationship. Obtain information on the target object's sensitivity to sound, and adjust the vocal parameters based on the sensitivity information; Obtain the third positional relationship between the directional sound-emitting device and other audio output devices, and adjust the sound-emitting parameters based on the third positional relationship.
9. A directional sound-emitting device, characterized in that, The device includes: The acquisition unit is used to obtain the location information of the target object, which is the object that receives the target sound output by the directional sound-emitting device. A configuration unit is configured to configure the sound generation parameters of the sound generation component of the directional sound generation device based on the location information, so as to directionally deliver the target sound to the target object based on the sound generation parameters; wherein, the sound generation parameters include at least: a transfer function for directional sound generation or filter coefficients for realizing directional sound generation; The sound generation parameters are used to configure the environment in which the target object and the directional sound generation device are located to include multiple acoustic regions, and to configure the region where the target object is located as an acoustic bright region and other regions as acoustic dark regions, so as to realize the directional delivery of target sound to the target object; Wherein, the corresponding sound parameters are different when the target object is in different positions relative to the directional sound-emitting device; Wherein, when the target object is at different positions relative to the directional sound-emitting device, the corresponding sound-emitting parameters are different, including: The multiple acoustic regions correspond to different preset filter coefficients that configure the region as an acoustic bright area and the remaining regions as acoustic dark areas. The target acoustic region where the target object is currently located is determined based on the target object's location information, and the target acoustic region is switched to the preset filter coefficient corresponding to that target acoustic region.
10. A directional sound-emitting device, characterized in that, The device includes: Speaker array; A processor is configured to obtain the location information of a target object, which is an object receiving target sound output from a directional sound-emitting device; configure the sound-emitting parameters of the sound-emitting component of the directional sound-emitting device based on the location information, so as to directionally deliver the target sound to the target object based on the sound-emitting parameters; wherein, the sound-emitting parameters include at least: a transfer function for directional sound emission or filter coefficients for realizing directional sound emission; wherein, the sound-emitting parameters are used to configure the environment in which the target object and the directional sound-emitting device are located to include multiple acoustic regions, and configure the region where the target object is located as an acoustic bright region and other regions as acoustic dark regions, so as to realize the directional delivery of the target sound to the target object; wherein, the corresponding sound-emitting parameters are different when the target object is in different positions relative to the directional sound-emitting device; wherein, the different sound-emitting parameters when the target object is in different positions relative to the directional sound-emitting device include: the multiple acoustic regions are respectively configured with different preset filter coefficients for configuring the region as an acoustic bright region and the other regions as acoustic dark regions, the target acoustic region in which the target object is currently located is determined according to the location information of the target object, and the preset filter coefficients corresponding to the target acoustic region are switched.
Citation Information
Patent Citations
Signal processing method and device and electronic equipment
CN111629300A
Determination of an acoustic filter for incorporating local effects of room modes
CN113812171A
Sound field partition control method for maximizing sound energy contrast ratio under reconstruction error constraint
CN114827837A
