Sound effect adjustment methods, devices, equipment and storage media
By calculating the target sound pressure level of other sound source objects in the augmented reality device and setting the sound effect influence factor, the problem of not being able to generate personalized sound effects in the existing technology is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GOERTEK INC
- Filing Date
- 2023-02-22
- Publication Date
- 2026-06-30
AI Technical Summary
Existing augmented reality devices are unable to generate personalized sound effects that meet user needs, resulting in a poor user experience.
By determining the position and sound pressure parameters of the reference sound source object, the target sound pressure level of other sound source objects is calculated, and sound effect influence factors are set. Combined with the sound effect adjustment ratio, the sound effects of the target video are adjusted to generate personalized sound effects that meet the user's needs.
It enables the generation of personalized sound effects based on user needs, thus improving the user experience.
Smart Images

Figure CN116405831B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of augmented reality technology, and in particular to sound effect adjustment methods, devices, equipment, and storage media. Background Technology
[0002] In recent years, with the rapid development of Augmented Reality (AR) technology, it has been widely applied in various fields, such as medicine, film and television, and entertainment. As an important part of AR, stereo sound directly determines the user's experience when using AR devices. One of the evaluation criteria for the experience is whether the AR device can play personalized sound effects that match the user's needs. However, most AR devices on the market currently do not have adjustable sound effects, making it impossible to generate personalized sound effects that meet the user's needs, resulting in a poor user experience.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a sound effect adjustment method, device, equipment, and storage medium, aiming to solve the technical problem that the existing technology cannot generate personalized sound effects that meet user needs, resulting in a poor user experience.
[0005] To achieve the above objectives, the present invention provides a sound effect adjustment method, which includes the following steps:
[0006] The target sound pressure level of the other sound source objects is determined based on the position parameters and sound pressure parameters of the reference sound source object and the position parameters of the other sound source objects.
[0007] Set the sound effect influence factor of other sound source objects according to the target sound pressure level;
[0008] The sound effects of the target video are adjusted according to the sound effect influence factor and the sound effect adjustment ratio.
[0009] Optionally, determining the target sound pressure level of the other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object and the position parameters of the other sound source objects includes:
[0010] The reference distance and reference height are obtained based on the position parameters of the reference sound source object;
[0011] The current height is obtained based on the position parameters of other sound source objects;
[0012] The current distance of the other sound source objects is calculated based on the reference distance, the reference height, and the current height using optical imaging principles.
[0013] The target sound pressure level of other sound source objects is calculated based on the sound pressure parameters, the reference distance, and the current distance.
[0014] Optionally, calculating the target sound pressure level of other sound source objects based on the sound pressure parameters, the reference distance, and the current distance includes:
[0015] The reference sound pressure level of the reference sound source object is obtained based on the sound pressure parameters.
[0016] The target sound pressure level of other sound source objects is calculated using the target sound pressure level algorithm based on the reference distance, the current distance, and the reference sound pressure level.
[0017] Optionally, setting the sound effect influence factor of other sound source objects according to the target sound pressure level includes:
[0018] Acquire the actual sound data of other sound source objects within the target video;
[0019] Determine the corresponding actual sound pressure level based on the actual sound data;
[0020] The sound effect influence factors of other sound source objects are set according to the actual sound pressure level and the target sound pressure level.
[0021] Optionally, adjusting the sound effects of the target video based on the sound effect influence factor and the sound effect adjustment ratio includes:
[0022] Based on the aforementioned sound effect ratio, the screen proximity sound effect adjustment ratio and the user adaptive adjustment ratio are obtained;
[0023] The current volume is obtained based on the audio effects of the target video;
[0024] The volume adjustment for the screen is obtained based on the sound effect influence factor and the screen distance sound effect adjustment ratio.
[0025] The user-adaptive volume adjustment is obtained based on the sound effect impact factor and the user-adaptive adjustment ratio.
[0026] Adjusting the current volume based on the displayed image and / or the user-adaptive volume adjustment.
[0027] Optionally, adjusting the current volume based on the screen and / or the user-adaptive volume adjustment includes:
[0028] Obtain user demand information;
[0029] When the user's request information indicates a need to adjust the volume, the current volume is adjusted based on the volume adjustment shown on the screen and the user's adaptive volume adjustment.
[0030] When the user's request information indicates that they do not need to adjust the volume, the current volume is adjusted according to the screen display.
[0031] Optionally, after adjusting the current volume based on the screen and the user-adaptive volume adjustment, the method further includes:
[0032] Obtain the target volume of the target video;
[0033] Personalized sound effects are generated based on the target volume to meet the user's needs.
[0034] Furthermore, to achieve the above objectives, the present invention also proposes a sound effect adjustment device, the sound effect adjustment device comprising:
[0035] The determination module is used to determine the target sound pressure level of the other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object and the position parameters of the other sound source objects.
[0036] The setting module is used to set the sound effect influence factor of other sound source objects according to the target sound pressure level;
[0037] The adjustment module is used to adjust the sound effects of the target video according to the sound effect influence factor and the sound effect adjustment ratio.
[0038] In addition, to achieve the above objectives, the present invention also proposes a sound effect adjustment device, the sound effect adjustment device comprising: a memory, a processor, and a sound effect adjustment program stored in the memory and executable on the processor, the sound effect adjustment program being configured to implement the sound effect adjustment method as described above.
[0039] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a sound effect adjustment program, which, when executed by a processor, implements the sound effect adjustment method as described above.
[0040] The sound effect adjustment method proposed in this invention determines the target sound pressure level of other sound source objects based on the position parameters and sound pressure parameters of a reference sound source object, and the position parameters of other sound source objects; sets the sound effect influence factor of other sound source objects based on the target sound pressure level; and adjusts the sound effect of the target video based on the sound effect influence factor and the sound effect adjustment ratio. Through the above method, the target sound pressure level of other sound source objects is determined based on the position parameters and sound pressure parameters of the reference sound source object, and then the sound effect of the target video is adjusted based on the sound effect influence factor of the target sound pressure level and the sound effect adjustment ratio to generate personalized sound effects that meet user needs, thereby effectively improving the user experience. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of the structure of the sound effect adjustment device in the hardware operating environment involved in the embodiments of the present invention;
[0042] Figure 2 This is a flowchart illustrating the first embodiment of the sound effect adjustment method of the present invention;
[0043] Figure 3 This is a schematic diagram showing the position of the eye and the sound source object in an embodiment of the sound effect adjustment method of the present invention;
[0044] Figure 4 This is a flowchart illustrating the second embodiment of the sound effect adjustment method of the present invention;
[0045] Figure 5 This is a schematic diagram of the functional modules of the first embodiment of the sound effect adjustment device of the present invention.
[0046] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0047] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0048] Reference Figure 1 , Figure 1 This is a schematic diagram of the sound effect adjustment device structure of the hardware operating environment involved in the embodiment of the present invention.
[0049] like Figure 1 As shown, the audio adjustment device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0050] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the sound adjustment device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0051] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a sound effect adjustment program.
[0052] exist Figure 1 In the sound effect adjustment device shown, the network interface 1004 is mainly used for data communication with the network integrated platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the sound effect adjustment device of the present invention can be set in the sound effect adjustment device, and the sound effect adjustment device calls the sound effect adjustment program stored in the memory 1005 through the processor 1001 and executes the sound effect adjustment method provided in the embodiment of the present invention.
[0053] Based on the above hardware structure, an embodiment of the sound effect adjustment method of the present invention is proposed.
[0054] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the sound effect adjustment method of the present invention.
[0055] In the first embodiment, the sound effect adjustment method includes the following steps:
[0056] Step S10: Determine the target sound pressure level of the other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object and the position parameters of the other sound source objects.
[0057] It should be noted that the execution subject in this embodiment is a sound effect adjustment device, but it can also be other devices that can achieve the same or similar functions, such as augmented reality devices. This embodiment does not limit this, and in this embodiment, an augmented reality device is used as an example for explanation.
[0058] It should be understood that the target sound pressure level refers to the sound pressure level of other sound source objects in the target video besides the reference sound source object. The target video is played through an augmented reality device. The reference sound source object refers to the standard sound source object selected in the target video. The positional parameters include, but are not limited to, the distance and height between the reference sound source object and the eyes. The sound pressure parameters include, but are not limited to, the sound pressure level and the sound pressure magnitude.
[0059] Furthermore, in order to effectively improve the accuracy of calculating the target sound pressure level of other sound source objects, step S10 includes: obtaining a reference distance and a reference height based on the position parameters of the reference sound source object; obtaining the current height based on the position parameters of other sound source objects; calculating the current distance of the other sound source objects based on the reference distance, the reference height, and the current height using optical imaging principles; and calculating the target sound pressure level of the other sound source objects based on the sound pressure parameters, the reference distance, and the current distance.
[0060] Understandably, the reference distance refers to the distance between the reference sound source object and the eye, the reference height refers to the height at which the eye views the reference sound source object, and the current height refers to the distance between other sound source objects and the eye. Then, the current distances of other sound source objects are calculated based on the reference distance, reference height, and current height. For example, referencing... Figure 3 , Figure 3 This is a schematic diagram showing the positions of the eye and the sound source object. The objects in this schematic diagram include the eye wearing the augmented reality device, the reference sound source object, and other sound source objects. Taking one other sound source object as an example, the reference distance is L1, the reference height is H1, and the current height is H2. At this time, the current distance L2 = (L1 / H1)*H2. Then, the target sound pressure level of the other sound source object is calculated based on the sound pressure parameters, the reference distance, and the current distance.
[0061] Furthermore, in order to effectively improve the accuracy of calculating the target sound pressure level of other sound source objects, the step of calculating the target sound pressure level of other sound source objects based on the sound pressure parameters, the reference distance, and the current distance includes: obtaining the reference sound pressure level of the reference sound source object based on the sound pressure parameters; and calculating the target sound pressure level of other sound source objects based on the reference distance, the current distance, and the reference sound pressure level using a target sound pressure level algorithm.
[0062] It should be understood that the reference sound pressure level refers to the ratio of the actual sound pressure of the reference sound source object to the reference sound pressure level. After obtaining the reference sound pressure level of the reference sound source object, the target sound pressure level of other sound source objects is calculated using the target sound pressure level algorithm, specifically:
[0063]
[0064] Where SPL2 is the target sound pressure level of other sound source objects, L1 is the reference distance, L2 is the current distance, and SPL1 is the reference sound pressure level of the reference sound source object.
[0065] Step S20: Set the sound effect influence factor of other sound source objects according to the target sound pressure level.
[0066] It is understandable that the sound effect influence factor adjusts the sound effect influence factor of the video. During the sound effect adjustment process, the sound effect influence factor can be displayed in the form of an open window on the screen of the augmented reality device.
[0067] Furthermore, in order to effectively improve the accuracy of setting the sound effect influence factor, step S20 includes: acquiring the actual sound data of other sound source objects in the target video; determining the corresponding actual sound pressure level based on the actual sound data; and setting the sound effect influence factor of other sound source objects based on the actual sound pressure level and the target sound pressure level.
[0068] It should be understood that actual sound data refers to the actual sound data emitted by other sound source objects at different distances within the target video. Then, the actual sound pressure level corresponding to the actual sound data is determined, and then the sound effect influence factor of other sound source objects is set according to the actual sound pressure level and the target sound pressure level.
[0069] Step S30: Adjust the sound effects of the target video according to the sound effect influence factor and the sound effect adjustment ratio.
[0070] It should be understood that after obtaining the sound effect influence factor, the other sound source objects in the target video are affected by the sound effect influence factor according to the sound effect adjustment ratio, so as to adjust the sound effect of the target video and make the adjusted volume meet the user's needs.
[0071] This embodiment determines the target sound pressure level of other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object; sets the sound effect influence factor of other sound source objects based on the target sound pressure level; and adjusts the sound effect of the target video based on the sound effect influence factor and the sound effect adjustment ratio. Through the above method, the target sound pressure level of other sound source objects is determined based on the position parameters and sound pressure parameters of the reference sound source object. Then, based on the target sound pressure level sound effect influence factor, and further based on the sound effect influence factor and the sound effect adjustment ratio, the sound effect of the target video is adjusted to generate personalized sound effects that meet user needs, thereby effectively improving the user experience.
[0072] In one embodiment, such as Figure 4 The second embodiment of the sound effect adjustment method of the present invention, based on the first embodiment, includes step S30, which includes:
[0073] Step S301: Obtain the screen distance sound effect adjustment ratio and the user adaptive adjustment ratio based on the sound effect ratio.
[0074] It should be understood that the proportion of sound effect adjustment based on the distance of the image within the target video refers to the proportion of sound effect adjustment based on the distance of the image within the target video, while the proportion of sound effect adjustment based on user needs refers to the proportion of sound effect adjustment based on user needs. For example, the proportion of sound effect adjustment based on the distance of the image is 90%, and the proportion of sound effect adjustment based on user needs is 10%.
[0075] Step S302: Obtain the current volume based on the audio effects of the target video.
[0076] It is understandable that the current volume refers to the volume of the target video being played. After obtaining the sound effects of the target video, the current volume is determined based on the sound effects of the target video.
[0077] Step S303: Obtain the screen adjustment volume based on the sound effect influence factor and the screen distance sound effect adjustment ratio.
[0078] It should be understood that the volume adjustment of the screen refers to the volume value adjusted according to the sound effect influence factor and the proportion of sound effect adjustment for screen proximity. For example, if the actual volume of the sound emitted by the sound source object A is 50 decibels, when the screen is close, the actual volume of the sound emitted by the sound source object A needs to be 60 decibels. At this time, a volume compensation of 10 decibels is required. If the proportion of sound effect adjustment for screen proximity is 90%, then the volume adjustment of the screen is 9 decibels.
[0079] Step S304: Obtain the user-adaptive adjustment volume based on the sound effect influence factor and the user-adaptive adjustment ratio.
[0080] It is understandable that user-adaptive volume adjustment refers to the volume value adjusted according to the sound effect influence factor and the user-adaptive adjustment ratio. When the actual volume of the sound emitted by the sound source object A is 50 decibels, the actual volume of the sound emitted by the sound source object A is required to be 60 decibels, and the user-adaptive adjustment ratio is 10%, the user-adaptive volume adjustment is 1 decibel.
[0081] Step S305: Adjust the current volume according to the screen and / or the user adaptive volume adjustment.
[0082] It should be understood that the system can adjust the current volume using both on-screen volume adjustment and user-adaptive volume adjustment, and fine-tune the current volume using both on-screen volume adjustment and user-adaptive volume adjustment.
[0083] Furthermore, in order to effectively improve the accuracy of adjusting the current volume, step S305 includes: obtaining user demand information; when the user demand information is a demand to adjust the volume, adjusting the current volume according to the volume adjustment on the screen and the user adaptive volume adjustment; when the user demand information is a demand not to adjust the volume, adjusting the current volume according to the volume adjustment on the screen.
[0084] Understandably, after obtaining user request information, it is determined whether the user request is to adjust the volume. If not, it means that the user feels that the volume adjusted by the sound effect of the screen distance is sufficient to meet their needs, and there is no need to adjust the volume. If the user request is determined to be not to adjust the volume, it means that the user wants to continue to adjust the volume according to their own needs. At this time, the current volume is adjusted based on the user's adaptive volume adjustment. For example, the actual volume of the sound emitted by the sound source object A is 50 decibels, and the volume after the user's adaptive volume adjustment is fine-tuned is 51 decibels.
[0085] Furthermore, in order to effectively improve the generation of personalized sound effects that meet user needs, after step S305, the method further includes: obtaining the target volume of the target video; and generating personalized sound effects that meet user needs based on the target volume.
[0086] It should be understood that the target volume refers to the volume of the target video after adjustment, and the personalized audio refers to the audio that best matches the user's needs in order to achieve the purpose of setting personalized audio. The personalized audio is generated based on the target volume and other sound effect parameters, including but not limited to frequency response, frequency band, etc.
[0087] This embodiment obtains the image distance sound effect adjustment ratio and the user adaptive adjustment ratio based on the sound effect ratio; obtains the current volume based on the sound effects of the target video; obtains the image adjustment volume based on the sound effect influence factor and the image distance sound effect adjustment ratio; obtains the user adaptive adjustment volume based on the sound effect influence factor and the user adaptive adjustment ratio; and adjusts the current volume based on the image adjustment volume and / or the user adaptive adjustment volume. Through the above method, after obtaining the image distance sound effect adjustment ratio and the user adaptive adjustment ratio, the image adjustment volume is obtained based on the sound effect influence factor and the image distance sound effect adjustment ratio, and the user adaptive adjustment volume is obtained based on the sound effect influence factor and the user adaptive adjustment ratio. Then, the current volume of the target video is adjusted based on the image adjustment volume and / or the user adaptive adjustment volume, thereby effectively improving the accuracy of volume adjustment and generating personalized audio that meets user needs.
[0088] Furthermore, this embodiment of the invention also proposes a storage medium storing a sound effect adjustment program, which, when executed by a processor, implements the steps of the sound effect adjustment method described above.
[0089] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0090] In addition, refer to Figure 5 The present invention also proposes a sound effect adjustment device, the sound effect adjustment device comprising:
[0091] The determination module 10 is used to determine the target sound pressure level of the other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object and the position parameters of the other sound source objects.
[0092] It should be understood that the target sound pressure level refers to the sound pressure level of other sound source objects in the target video besides the reference sound source object. The target video is played through an augmented reality device. The reference sound source object refers to the standard sound source object selected in the target video. The positional parameters include, but are not limited to, the distance and height between the reference sound source object and the eyes. The sound pressure parameters include, but are not limited to, the sound pressure level and the sound pressure magnitude.
[0093] Furthermore, in order to effectively improve the accuracy of calculating the target sound pressure level of other sound source objects, the determining module 10 is also used to obtain a reference distance and a reference height based on the position parameters of the reference sound source object; obtain the current height based on the position parameters of other sound source objects; calculate the current distance of the other sound source objects based on the reference distance, the reference height, and the current height using optical imaging principles; and calculate the target sound pressure level of the other sound source objects based on the sound pressure parameters, the reference distance, and the current distance.
[0094] Understandably, the reference distance refers to the distance between the reference sound source object and the eye, the reference height refers to the height at which the eye views the reference sound source object, and the current height refers to the distance between other sound source objects and the eye. Then, the current distances of other sound source objects are calculated based on the reference distance, reference height, and current height. For example, referencing... Figure 3 , Figure 3 This is a schematic diagram showing the positions of the eye and the sound source object. The objects in this schematic diagram include the eye wearing the augmented reality device, the reference sound source object, and other sound source objects. Taking one other sound source object as an example, the reference distance is L1, the reference height is H1, and the current height is H2. At this time, the current distance L2 = (L1 / H1)*H2. Then, the target sound pressure level of the other sound source object is calculated based on the sound pressure parameters, the reference distance, and the current distance.
[0095] Furthermore, in order to effectively improve the accuracy of calculating the target sound pressure level of other sound source objects, the determining module 10 is also used to obtain the reference sound pressure level of the reference sound source object based on the sound pressure parameters; and to calculate the target sound pressure level of other sound source objects based on the reference distance, the current distance and the reference sound pressure level using the target sound pressure level algorithm.
[0096] It should be understood that the reference sound pressure level refers to the ratio of the actual sound pressure of the reference sound source object to the reference sound pressure level. After obtaining the reference sound pressure level of the reference sound source object, the target sound pressure level of other sound source objects is calculated using the target sound pressure level algorithm, specifically:
[0097]
[0098] Where SPL2 is the target sound pressure level of other sound source objects, L1 is the reference distance, L2 is the current distance, and SPL1 is the reference sound pressure level of the reference sound source object.
[0099] Setting module 20 is used to set the sound effect influence factor of other sound source objects according to the target sound pressure level.
[0100] It is understandable that the sound effect influence factor adjusts the sound effect influence factor of the video. During the sound effect adjustment process, the sound effect influence factor can be displayed in the form of an open window on the screen of the augmented reality device.
[0101] Furthermore, the setting module is also used to acquire actual sound data of other sound source objects within the target video; determine the corresponding actual sound pressure level based on the actual sound data; and set the sound effect influence factor of other sound source objects based on the actual sound pressure level and the target sound pressure level.
[0102] It should be understood that actual sound data refers to the actual sound data emitted by other sound source objects at different distances within the target video. Then, the actual sound pressure level corresponding to the actual sound data is determined, and then the sound effect influence factor of other sound source objects is set according to the actual sound pressure level and the target sound pressure level.
[0103] The adjustment module 30 is used to adjust the sound effects of the target video according to the sound effect influence factor and the sound effect adjustment ratio.
[0104] It should be understood that after obtaining the sound effect influence factor, the other sound source objects in the target video are affected by the sound effect influence factor according to the sound effect adjustment ratio, so as to adjust the sound effect of the target video and make the adjusted volume meet the user's needs.
[0105] This embodiment determines the target sound pressure level of other sound source objects based on the position parameters and sound pressure parameters of the reference sound source object; sets the sound effect influence factor of other sound source objects based on the target sound pressure level; and adjusts the sound effect of the target video based on the sound effect influence factor and the sound effect adjustment ratio. Through the above method, the target sound pressure level of other sound source objects is determined based on the position parameters and sound pressure parameters of the reference sound source object. Then, based on the target sound pressure level sound effect influence factor, and further based on the sound effect influence factor and the sound effect adjustment ratio, the sound effect of the target video is adjusted to generate personalized sound effects that meet user needs, thereby effectively improving the user experience.
[0106] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0107] In addition, for technical details not described in detail in this embodiment, please refer to the sound effect adjustment method provided in any embodiment of the present invention, which will not be repeated here.
[0108] In one embodiment, the determining module 10 is further configured to obtain a reference distance and a reference height based on the position parameters of the reference sound source object; obtain the current height based on the position parameters of other sound source objects; calculate the current distance of the other sound source objects based on the reference distance, the reference height, and the current height using optical imaging principles; and calculate the target sound pressure level of the other sound source objects based on the sound pressure parameters, the reference distance, and the current distance.
[0109] In one embodiment, the determining module 10 is further configured to obtain the reference sound pressure level of the reference sound source object based on the sound pressure parameters; and to calculate the target sound pressure level of other sound source objects based on the reference distance, the current distance, and the reference sound pressure level using a target sound pressure level algorithm.
[0110] In one embodiment, the setting module 20 is further configured to acquire actual sound data of other sound source objects within the target video; determine the corresponding actual sound pressure level based on the actual sound data; and set the sound effect influence factor of other sound source objects based on the actual sound pressure level and the target sound pressure level.
[0111] In one embodiment, the adjustment module 30 is further configured to: obtain the near-field sound effect adjustment ratio and the user adaptive adjustment ratio based on the sound effect ratio; obtain the current volume based on the sound effect of the target video; obtain the screen adjustment volume based on the sound effect influence factor and the near-field sound effect adjustment ratio; obtain the user adaptive adjustment volume based on the sound effect influence factor and the user adaptive adjustment ratio; and adjust the current volume based on the screen adjustment volume and / or the user adaptive adjustment volume.
[0112] In one embodiment, the adjustment module 30 is further configured to acquire user demand information; when the user demand information is a demand to adjust the volume, adjust the current volume according to the volume adjustment on the screen and the user adaptive volume adjustment; when the user demand information is a demand not to adjust the volume, adjust the current volume according to the volume adjustment on the screen.
[0113] In one embodiment, the adjustment module 30 is further configured to acquire the target volume of the target video and generate personalized sound effects that meet the user's needs based on the target volume.
[0114] Other embodiments or implementation methods of the sound effect adjustment device described in this invention can be found in the above-described method embodiments, and will not be repeated here.
[0115] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0116] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0117] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, 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 (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, all-in-one platform workstation, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0118] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A sound effect adjustment method, characterized in that, The sound effect adjustment method includes the following steps: A reference distance and reference height are obtained based on the position parameters of a reference sound source object, where the reference height is the height at which the eye views the reference sound source object. The current height is obtained based on the position parameters of other sound source objects, where the current height is the height of the other sound source objects relative to the eye. The current distance of the other sound source objects is calculated using optical imaging principles based on the reference distance, the reference height, and the current height. The target sound pressure level of the other sound source objects is calculated based on sound pressure parameters, the reference distance, and the current distance. Set the sound effect influence factor of other sound source objects according to the target sound pressure level; The proportion of sound effect adjustment for near and far objects and the proportion of user-adaptive adjustment are obtained based on the proportion of sound effect adjustment for near and far objects. The current volume is obtained based on the audio effects of the target video; The image adjustment volume is obtained based on the sound effect influence factor and the image distance sound effect adjustment ratio, and the image adjustment volume is used to adjust the current volume; The user-adaptive volume adjustment is obtained based on the sound effect impact factor and the user-adaptive adjustment ratio, and the user-adaptive volume adjustment is used to fine-tune the current volume. Adjust the current volume according to the screen and / or the user-adaptive volume adjustment; The step of adjusting the current volume based on the screen and / or the user-adaptive volume adjustment includes: Obtain user request information; when the user request information is a request to adjust the volume, adjust the current volume according to the volume adjustment on the screen and the user's adaptive volume adjustment; when the user request information is a request not to adjust the volume, adjust the current volume according to the volume adjustment on the screen.
2. The sound effect adjustment method as described in claim 1, characterized in that, The step of calculating the target sound pressure level of other sound source objects based on the sound pressure parameters, the reference distance, and the current distance includes: The reference sound pressure level of the reference sound source object is obtained based on the sound pressure parameters. The target sound pressure level of other sound source objects is calculated using the target sound pressure level algorithm based on the reference distance, the current distance, and the reference sound pressure level.
3. The sound effect adjustment method as described in claim 1, characterized in that, The step of setting the sound effect influence factors of other sound source objects according to the target sound pressure level includes: Acquire the actual sound data of other sound source objects within the target video; Determine the corresponding actual sound pressure level based on the actual sound data; The sound effect influence factors of other sound source objects are set according to the actual sound pressure level and the target sound pressure level.
4. The sound effect adjustment method as described in claim 1, characterized in that, After adjusting the current volume according to the screen and / or the user-adaptive volume adjustment, the method further includes: Get the target volume of the target video; Personalized sound effects are generated based on the target volume to meet the user's needs.
5. A sound effect adjustment device, characterized in that, The sound effect adjustment device includes: The determination module is used to obtain a reference distance and a reference height based on the position parameters of a reference sound source object, wherein the reference height is the height at which the eye views the reference sound source object; to obtain the current height based on the position parameters of other sound source objects, wherein the current height is the height of the other sound source objects relative to the eye; to calculate the current distance of the other sound source objects based on the reference distance, the reference height, and the current height using optical imaging principles; and to calculate the target sound pressure level of the other sound source objects based on sound pressure parameters, the reference distance, and the current distance. The setting module is used to set the sound effect influence factor of other sound source objects according to the target sound pressure level; An adjustment module is used to obtain the image proximity sound effect adjustment ratio and the user adaptive adjustment ratio based on the sound effect adjustment ratio; to obtain the current volume based on the sound effects of the target video; to obtain the image adjustment volume based on the sound effect influence factor and the image proximity sound effect adjustment ratio, the image adjustment volume being used to adjust the current volume; to obtain the user adaptive adjustment volume based on the sound effect influence factor and the user adaptive adjustment ratio, the user adaptive adjustment volume being used to fine-tune the current volume; and to adjust the current volume based on the image adjustment volume and / or the user adaptive adjustment volume. The adjustment module is further configured to acquire user demand information; when the user demand information indicates a need to adjust the volume, adjust the current volume according to the volume adjustment on the screen and the user's adaptive volume adjustment; when the user demand information indicates a need not to adjust the volume, adjust the current volume according to the volume adjustment on the screen.
6. A sound effect adjustment device, characterized in that, The sound effect adjustment device includes: a memory, a processor, and a sound effect adjustment program stored in the memory and executable on the processor, wherein the sound effect adjustment program is configured to implement the sound effect adjustment method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a sound effect adjustment program, which, when executed by a processor, implements the sound effect adjustment method as described in any one of claims 1 to 4.