Equalizer adjustment method, device, equipment and storage medium based on auricle scanning
Obtaining equalizer parameters through auricle scanning and preset auricle morphology matching solves the problem that existing headphone equalizers cannot be adapted to different users, achieving personalized listening effects and improving user experience.
Patent Information
- Application Number
- CN202210132254.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-14
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2042-02-14
AI Technical Summary
The existing headphone equalizer settings cannot adapt to the auricle shape of different users, resulting in the failure to achieve the best listening effect.
Obtain the user's auricular morphology through auricular scan, match the preset auricular morphology to obtain the corresponding equalizer parameters, and adjust the current equalizer based on these parameters.
The equalizer is adjusted according to the user's auricle morphology, adapted to the auditory characteristics of different users, and improved the listening effect and user experience.
Smart Images

Figure CN114554344B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of earphone parameter adjustment, and in particular to an equalizer adjustment method, device, equipment and storage medium based on auricle scanning. Background Art
[0002] Headphones have been widely used in people's daily life and work. The increasingly higher quality of life has prompted people to pursue better music enjoyment. In addition to the music itself, headphones and speakers with various functions and quality effects are emerging in an endless stream. Not only do they use better speakers and better cavity designs to achieve better sound quality, but they also adjust the equalizer (EQ, equalize) according to different needs to balance the timbre of each frequency band.
[0003] The human ear perceives sound frequencies from the lowest 20Hz to the highest 20KHz, while the human voice frequency range is concentrated between 80Hz and 12kHz. People feel different sounds in different frequency bands. At present, headphone manufacturers have adjusted the equalizer control parameters for each frequency band when the headphones leave the factory to produce different gain effects, so that users can hear better sound effects through the headphones. However, this design also has defects. The EQ gain of current headphones is generally set at the factory. All headphones are standardized for sound calibration to achieve a unified listening effect. This creates a problem. The EQ set for the headphones at the factory is universal and suitable for all people, but different users have different hearing effects for each sound band. For example, a user has a stronger perception of the sound in the 60Hz--250Hz frequency band, and a weaker perception of the sound in the 250Hz--4KHz frequency band. The existing EQ setting method is obviously unable to adapt to different users and cannot achieve the best listening effect. Summary of the invention
[0004] The embodiments of the present invention provide an equalizer adjustment method, device, equipment and storage medium based on auricle scanning, which aims to solve the problem that different users have different auditory perceptions of sounds in different frequency bands, while the existing EQ is standardized and cannot enable different users to achieve the best listening effect.
[0005] In a first aspect, an embodiment of the present invention provides an equalizer adjustment method based on auricle scanning, which includes: scanning the user's auricle to obtain the corresponding auricle shape; matching the auricle shape with a preset auricle shape to determine the target auricle shape; obtaining preset equalizer parameters corresponding to the target auricle shape; and adjusting the current equalizer according to the preset equalizer parameters.
[0006] In a second aspect, an embodiment of the present invention further provides an equalizer adjustment device based on auricle scanning, which includes a unit for executing the above method.
[0007] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0008] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and the program instructions can implement the above method when executed by a processor.
[0009] The embodiment of the present invention provides an equalizer adjustment method, device, equipment and storage medium based on auricle scanning. The method includes: scanning the auricle of the user to obtain the corresponding auricle shape; matching the auricle shape with the preset auricle shape to determine the target auricle shape; obtaining the preset equalizer parameters corresponding to the target auricle shape; adjusting the current equalizer according to the preset equalizer parameters. The embodiment of the present invention scans the auricle of the user to obtain the auricle shape of the user, obtains the corresponding preset equalizer parameters according to the auricle shape, and adjusts the current equalizer according to the preset equalizer parameters. It can be achieved that the equalizer is adjusted to adapt to different users according to the different auricle shapes of the users, so that the sound effects of different frequency bands are at the best hearing effect, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0011] Figure 1A A schematic diagram of an application scenario of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0012] Figure 1B A schematic diagram of an application scenario of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0013] Figure 2 A schematic flow chart of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0014] Figure 3 A schematic diagram of a sub-flow diagram of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0015] Figure 4 A scanning schematic diagram of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0016] Figure 5 A schematic diagram of an earmuff of a headset provided in an embodiment of the present invention;
[0017] Figure 6 A schematic diagram of a sub-flow diagram of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention;
[0018] Figure 7 A schematic diagram of an audio effect module of an equalizer provided in an embodiment of the present invention;
[0019] Figure 8 A schematic flow chart of an equalizer adjustment method based on auricle scanning provided by another embodiment of the present invention;
[0020] Fig. 9 A schematic diagram of a sub-flow diagram of an equalizer adjustment method based on auricle scanning provided by another embodiment of the present invention;
[0021] Fig.10 A schematic block diagram of an equalizer adjustment device based on auricle scanning provided by an embodiment of the present invention;
[0022] Fig.11 A schematic block diagram of specific units of an equalizer adjustment device based on auricle scanning provided by an embodiment of the present invention;
[0023] Fig.12 A schematic block diagram of an equalizer adjustment device based on auricle scanning provided by another embodiment of the present invention;
[0024] Fig.13 A schematic block diagram of a difference adjustment unit of an equalizer adjustment device based on auricle scanning provided by an embodiment of the present invention;
[0025] Fig.14 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0028] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0029] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0030] See also Figure 1A and Figure 1B , Figure 1A and Figure 1B Schematic diagram of application scenarios of the equalizer adjustment method based on auricle scanning provided in an embodiment of the present invention. The equalizer adjustment method based on auricle scanning is applied to earphone 20 or smart phone 10. The earphone 20 or smart phone 10 is provided with a scanner, and the scanner is configured to scan the auricle of the user. Among them, there are many types of scanners, such as infrared scanning modules and laser scanning modules, which are not limited here. There can also be many types of earphones 20, such as headphones 20, TWS headphones 20, Bluetooth headphones 20, etc., which are not limited here. When the ear-picking headset 20 is detected, a scanner can be provided on the earmuff of the headset 20 to facilitate scanning the user's ears. In other embodiments, the scanner can be an independent device specifically used to scan the user's ears, and the scanner is connected to the earphone 20 or smart phone 10 for communication, and the scanner transmits the scanned auricle morphology to the earphone 20 or smart phone 10 through a wired or wireless transmission method.
[0031] First of all, it should be explained that an equalizer (hereinafter referred to as EQ) is an electronic device that can adjust the amplification of various frequency components of electrical signals separately. It can compensate for the defects of speakers and sound fields, compensate and modify various sound sources and have other special functions by adjusting electrical signals of different frequencies. Generally, the equalizer on the mixing console can only adjust the three frequency bands of high frequency, medium frequency and low frequency electrical signals separately. In the communication system, inserting an equalizer in the baseband system can reduce the impact of inter-symbol interference.
[0032] The auricle of each individual is different. Generally speaking, normal EQ is suitable for all people. However, there are some problems. Different auricles have different sensitivities in different sound frequency bands. Some people may have abnormally high sensitivity in one frequency band and abnormally low sensitivity in another frequency band. This problem can be solved by this embodiment.
[0033] Figure 2 1 is a flow chart of an equalizer adjustment method based on auricle scanning provided by an embodiment of the present invention. As shown in the figure, the method includes the following steps S110-S140.
[0034] S110, scanning the user's auricle to obtain the corresponding auricle shape.
[0035] In one embodiment, the user refers to a user who uses headphones or smart phones. The scanning method can be infrared scanning, laser scanning, or camera scanning, which is not limited in this embodiment. Correspondingly, when the infrared scanning method is adopted, the scanner is an infrared module; when the laser scanning is adopted, the scanner is a laser module. The auricle is a part of the outer ear and is a device for collecting sound waves. Most of it is supported by elastic cartilage and covered with skin. The auricle morphology refers to the contour shape of the auricle. Among them, the laser scanning method for obtaining the auricle morphology is first to emit a laser beam to scan the entire auricle of the user, reflect the reflected beam back, and obtain an image with a different arrangement order, and use the image drop to reflect the image. Of course, it can be understood that other scanning methods can also be used, such as recording the coordinates of the laser reflection point (laser emission angle and distance), and calculating the auricle morphology based on the coordinates. Of course, the infrared scanning method can also be used to obtain the auricle morphology, such as the following embodiments.
[0036] In one embodiment, if Figure 3 As shown, the step S110 may include steps: S111-S113.
[0037] S111, measuring distances at different positions including at least in front of the ear, behind the ear, above the auricle, below the auricle, and to the side of the auricle to obtain point cloud data;
[0038] S112, performing point cloud registration and fusion based on the point cloud data to obtain the auricle shape.
[0039] In one embodiment, if Figure 4As shown, the front and back of the ear refer to the front and back of the auricle, with point A and point B in the figure; the upper and lower auricle refer to the upper part of the auricle and the lower part of the auricle, that is, point C and point D on the way, and the lateral position of the auricle is the area of the angle between the ear and the head, that is, point E in the figure. The measurement includes at least the positions of the front of the ear, the back of the ear, the upper auricle, the lower auricle and the side of the auricle. These positions can cover the entire auricle in all directions, which can improve the efficiency and accuracy of modeling. Of course, it is understandable that more positions can be measured. In reverse engineering, the point data set of the product appearance surface obtained by the measuring instrument is also called a point cloud. The point cloud data of this embodiment refers to the coordinate set of each measurement position, such as the set of coordinates of the above-mentioned points A, B, C, and D. There are many ways to measure distance, such as time of flight method, triangulation ranging method, structured light method and moiré fringe method, etc. As long as the distance of each position can be measured, this embodiment does not limit the measurement method. Exemplary, such as time of flight, an infrared sensor emits an infrared detection beam to each of the above-mentioned positions. After the infrared detection beam reaches each of the above-mentioned positions, it is reflected back, and the flight time T of the infrared detection beam is recorded. Then, the distance of each position is calculated according to the formula D=CT / 2, where D is the distance, C is the speed of light, and T is the flight time. After obtaining the distance of each position, the coordinates of each measurement point can be determined. The coordinates are expressed as (X, Y, Z). The coordinates are determined based on the coordinates (X, Y) of the infrared sensor. Z is the distance of the test point, which is equivalent to the depth value. The set of coordinates of all test points is represented as point cloud data. After obtaining the point cloud data, point cloud registration and fusion are performed to perform three-dimensional reconstruction of the auricle to restore the appearance of the auricle. Point cloud registration includes coarse registration and fine registration. Coarse registration refers to the registration of point clouds when the relative posture of the point clouds is completely unknown, which can provide a good initial value for fine registration. Specifically, registration algorithms based on exhaustive search (such as RANSAC registration algorithm, four-point consistent set registration algorithm, Super4PCS algorithm) and registration algorithms based on feature matching (SAC-IA based on point FPFH features, FGR algorithm, AO algorithm based on point SHOT features, ILC algorithm based on line features) can be used, which is not limited in this embodiment. Fine registration is to minimize the spatial position difference of the point cloud bracket on the basis of coarse registration. Specifically, ICP and various variants of ICP can be used, such as robust ICP, poin to plane ICP, poin to line ICP, MBICP, GICP, NICP, etc., which are not limited in this embodiment. The specific calculation process is well known to those skilled in the art and will not be described in detail here. After the point cloud data is registered and fused, the user's auricle shape is finally obtained.
[0040] In one embodiment, referring to Figure 5, the equalizer adjustment method based on auricle scanning of this embodiment is applied to headphones. The headphones include a bracket 21 and earmuffs 22 connected to both ends of the bracket 21, and the scanner is an array infrared sensor 23, the array infrared sensor 23 is arranged on the earmuffs 22, and is distributed in an array along the edge of the earmuffs 22 to adapt to scanning the user's auricle, wherein the earmuffs 22 can rotate relative to the bracket 21. The figure shows that four array infrared sensors 23 are provided, and the four infrared sensors 23 are evenly distributed on the edges of the contour of the earmuffs 22 to match various positions of the auricle. Of course, it can be understood that the number of infrared sensors 23 can also be other numbers, such as 8, 12, etc., which are not limited here. In other embodiments, the display arrangement of the infrared sensors 23 can also be arranged according to the general shape of the auricle to better adapt to the test point. The earmuff 22 of this embodiment can rotate relative to the bracket 21, for example, it can rotate in pitch relative to the bracket 21, and it can also rotate in yaw relative to the bracket 21. Specifically, a universal joint connection structure can be used to connect the earmuff 22 to the bracket 21 to achieve rotation at two angles of pitch and yaw. Of course, it can be understood that other connection structures can also be used, which are not limited here. The rotatable earmuff 22 is used in this embodiment to enable the array infrared sensor 23 to follow the rotation of the earmuff 22 to increase the scanning angle (similar to the scanning mirror of the laser radar). The purpose of expanding the scanning range can be achieved by rotating the earmuff 22. There is no need to build in a rotatable scanning part. The same effect can be achieved by relying on the rotatable earmuff 22, and the purpose of large-scale scanning is achieved in a low-cost manner. In addition, arranging the array infrared sensor 23 on the earmuff 22 can facilitate the user to scan the auricle through the earmuff 22. The user only needs to wear the headset on the head and then slightly rotate the earmuff 22 to complete the scanning of the auricle. The operation is simple and convenient. Moreover, compared with a single scanner which requires multiple scans to form an image, the array-type infrared sensor 23 can form an image in one scan, and the imaging efficiency is higher.
[0041] In other embodiments, the equalizer adjustment method based on auricle scanning of this embodiment is applied to a smart phone, and the scanner is a camera module on the smart phone, for example, it can be a color camera, it can also be a depth of field camera, or a combination of the two. When scanning, aim the camera of the smart phone at the ear, and scan around the entire ear to measure the distance of each position. Of course, it is understandable that the scanner can also be an infrared sensor on a smart phone, and the infrared sensor is used to realize the distance measurement of each position of the auricle.
[0042] In one embodiment, when scanning the ear to measure the distance of each position point of the auricle, it is also necessary to perform a simple scan inside the ear hole to optimize the entire ear shape, thereby obtaining a more complete auricle shape, making the auricle shape clearer, and improving the matching efficiency and accuracy.
[0043] S120, matching the auricle shape with a preset auricle shape to determine a target auricle shape.
[0044] In one embodiment, the preset auricle shape refers to a number of pre-set standard auricle shapes, which are simplified by countless auricles or are equivalent to several preset auricle shapes, and the corresponding EQ is adapted for each auricle shape. The EQ corresponding to these standard auricle shapes can be obtained through a model algorithm, or can be set by professional musicians corresponding to the standard auricle shapes, which is not limited here. Specifically, the preset auricle shape is pre-stored in a database. After the user's auricle shape is scanned, the user's auricle shape is matched one by one with the preset auricle shape in the database, and the preset auricle shape that is most similar to the user's auricle shape is used as the target auricle shape. Among them, the matching of the user's auricle shape and the preset auricle shape can be calculated using a similarity algorithm to obtain the similarity between the two. When the similarity between the two is greater than a threshold, the preset auricle shape is determined to be the target auricle shape.
[0045] S130. Obtain preset equalizer parameters corresponding to the target auricle shape.
[0046] In one embodiment, the above embodiment has described the EQ (preset equalizer parameters) corresponding to each auricle shape adaptation. The EQ corresponding to these standard auricle shapes can be obtained through a model algorithm, or can be set by a professional musician corresponding to the standard auricle shape, which is not limited here. The preset equalizer parameters have a one-to-one mapping relationship with the preset auricle shape and are stored in a database. After the target auricle shape is determined, the preset equalizer parameters corresponding to the target auricle shape are obtained from the database.
[0047] S140: Adjust the current equalizer according to the preset equalizer parameters.
[0048] In one embodiment, the equalizer generally includes a plurality of types of sound effect modules, for example, pop, dance, blues, classical, electronic music, rock, country, ACG, bass, heavy bass, treble, live, heavy metal, national style, folk song, rap, recording studio, etc. Each sound effect module corresponds to a plurality of frequency bands, for example, including 31, 63, 125, 250, 500, 1k, 2k, 4k, 8k, 16k Hz, etc., and each frequency band is represented by a gain digital db, for example, 3db, -5db. Each sound effect module is represented by a plurality of gain values of a plurality of frequency bands. The preset equalizer parameters of this embodiment can be adapted to a set of EQ corresponding to each sound effect module setting (that is, the preset equalizer parameters include a plurality of EQ sets, each set of EQ corresponds to a sound effect module), or it can be a set of personalized EQ. When the preset equalizer parameters are a set of personalized EQ, the current equalizer can be directly set to the EQ. When the preset equalizer parameters are a set of EQ corresponding to each sound effect module setting, adjustment is performed according to the following embodiment.
[0049] In one embodiment, if Figure 6 As shown, the step S140 may include steps: S141-S143.
[0050] S141. Obtain the sound effect module corresponding to the current equalizer.
[0051] S142. Obtain corresponding frequency band adjustment parameters from the preset equalizer parameters according to the sound effect module, wherein the preset equalizer parameters include frequency band adjustment parameters corresponding to each of the sound effect modules.
[0052] S143: increase and / or decrease the value of each frequency band in the sound effect module according to the frequency band adjustment parameter.
[0053] In this embodiment, the sound effect module corresponding to the current equalizer is first obtained. For example, if the current sound effect module is popular, the popular sound effect module is obtained. Since the preset equalizer parameters include multiple sets of EQ, each set of EQ corresponds to a sound effect module, then the EQ corresponding to the popular sound effect module is obtained (represented by the frequency band adjustment parameter). For example, the EQ corresponding to the current sound effect module is Figure 7As shown, its EQ includes 31hz as -2db; 63hz as -1db, 125hz as 0db, 250hz as 1db, 500hz as 4db, 1khz as 3db, 2khz as 1db, 4khz as 0db, 8khz as -1db, and 16khz as 1db. Then the gain value of each frequency band is increased or adjusted according to the frequency band adjustment parameter. For example, the frequency band adjustment parameter corresponding to the sound effect module is to increase the frequency bands of 1khz and 2khz by 1db respectively. Of course, it is understandable that the frequency band adjustment parameters corresponding to other sound effect modules can also be to decrease the gain value, or to increase the gain value of one frequency band and decrease the gain value of the other frequency band, which is not limited here.
[0054] Figure 8 FIG. 1 is a flow chart of an equalizer adjustment method based on auricle scanning provided by another embodiment of the present invention. Figure 8 As shown, the equalizer adjustment method based on auricle scanning of this embodiment includes steps S210-S280. Steps S210-S240 are similar to steps S110-S140 in the above embodiment, and will not be repeated here. The following is a detailed description of steps S250-S280 added in this embodiment.
[0055] S250: Compare the auricle shape with the preset auricle shape that matches it to determine a difference value between the two.
[0056] S260: Adjust the current equalizer according to the difference value.
[0057] In one embodiment, because the preset auricle shape is a number of standard auricle shapes determined after countless auricle shape comparisons, and the auricle shape of each person is different, the auricle shape of the user is still different even compared with the preset auricle shape that matches best, and these differences will also lead to the defect of not being able to achieve the best hearing effect, so difference compensation is required. The difference value refers to the difference in appearance between the two auricle shapes. The difference value of this embodiment is characterized by a distance value, that is, the difference in distance between the auricles at various positions. For example, the coordinates of the user's auricle shape at point A are (X1, Y1, Z1), and the coordinates of the preset auricle shape matching the user's auricle shape at point A are (X2, Y2, Z2). The difference between the two coordinates is calculated as the distance value, which is used to characterize the difference value. The distance value is represented by a vector, and the distance value of each point is calculated and converted into a vector for representation, and then all the vectors are arithmetic averaged to finally obtain a difference value, for example, 10%, 20%. Finally, the current equalizer is adjusted according to the difference value, for example, the gain value of each frequency band is increased by 10%.
[0058] In one embodiment, if Fig. 9 As shown, the step S260 may include steps: S261-S262.
[0059] S261. When the difference value is a positive value, the value of each frequency band in the current equalizer is reduced.
[0060] S261. When the difference value is a negative value, increase the value of each frequency band in the current equalizer.
[0061] In other embodiments, the distance value between the coordinates of point A of the above two auricle shapes can also be represented by a dimensionless value, and the average distance value of each point on the X-axis, Y-axis and Z-axis is calculated, and one of the average distance values is taken to represent the difference value. The maximum, minimum or middle distance value can be taken, and of course the average of the three can be used to represent the difference value. When the difference value is a positive number, the gain value of each frequency band is increased accordingly; when the difference value is a negative number, the gain value of each frequency band is decreased accordingly, thereby compensating for the difference in auricle shape, so that the adjustment of the equalizer is closer to the best hearing effect for the user.
[0062] S270: Play the test audio signal, wherein the test audio signal includes sounds of various frequency bands, and the sounds of various frequency bands are divided into several sections according to a time sequence for playback.
[0063] S280: Receive an adjustment signal provided by a user and adjust the equalizer according to the adjustment signal.
[0064] In one embodiment, after adjusting the rear equalizer, the present embodiment can also perform further audition adjustment, and the audition adjustment is mainly performed by playing a piece of audition music to the user, and the user further increases or decreases the gain value of each frequency band according to the comfort of the audition music. Specifically, the audition audio signal is also a piece of audition music. The audition audio signal includes the sound of all frequency bands, so that the user can hear the sound of each frequency band and make adjustments, and each frequency band is played according to the time sequence, for example, the 1Khz frequency band is played between the 5th and 10th seconds, and the 500hz frequency band is played between the 10th and 15th seconds. If the user feels that the sound effect is abnormally high between the frequency bands, the gain value of the frequency band can be lowered, and if the sound effect is abnormally low, the gain value of the frequency band can be increased. Among them, the adjustment signal is a control signal triggered by the user, which is used to increase or decrease the gain value of the frequency band. The adjustment signal can be triggered by a physical button or a touch screen slide, which is not limited here.
[0065] Fig.10 is a schematic block diagram of an equalizer adjustment device 300 based on auricle scanning provided by an embodiment of the present invention. Fig.10As shown, corresponding to the above equalizer adjustment method based on auricle scanning, the present invention also provides an equalizer adjustment device 300 based on auricle scanning. The equalizer adjustment device 300 based on auricle scanning includes a unit for executing the above equalizer adjustment method based on auricle scanning, and the device can be configured in a headset, a desktop computer, a tablet computer, a laptop computer, and other terminals. For details, please refer to Fig.10 The equalizer adjustment device 300 based on auricle scanning includes a scanning unit 310, a matching unit 320, an acquisition unit 330 and an adjustment unit 340.
[0066] The scanning unit 310 is used to scan the auricle of the user to obtain the corresponding auricle shape.
[0067] The matching unit 320 is used to match the auricle shape with a preset auricle shape to determine a target auricle shape.
[0068] The acquisition unit 330 is used to acquire preset equalizer parameters corresponding to the target auricle shape.
[0069] The adjustment unit 340 is used to adjust the current equalizer according to the preset equalizer parameters.
[0070] In one embodiment, if Fig.11 As shown, the scanning unit 310 includes: a collection unit S311, an imaging unit S312 and a fusion unit S313.
[0071] The collection unit S311 is used to collect thermal radiation signals at different positions including in front of the ear, behind the ear, above the auricle, below the auricle and on the side of the auricle.
[0072] The imaging unit S312 is used to generate a thermal imaging image according to the thermal radiation signal.
[0073] The fusion unit S313 is used to perform multi-layer registration and fusion on the thermal imaging image to generate a three-dimensional model of the ear appearance contour to determine the auricle shape.
[0074] In one embodiment, if Fig.11 As shown, the adjusting unit 340 includes: a first acquiring unit 341 , a second acquiring unit 342 , and an adjusting subunit 343 .
[0075] The first acquisition unit 341 is used to acquire the sound effect module corresponding to the current equalizer.
[0076] The second acquisition unit 342 is used to acquire corresponding frequency band adjustment parameters from the preset equalizer parameters according to the sound effect module, wherein the preset equalizer parameters include frequency band adjustment parameters corresponding to each of the sound effect modules.
[0077] The frequency band adjustment unit 343 is used to increase and / or decrease the value of each frequency band in the sound effect module according to the frequency band adjustment parameter.
[0078] Fig.12 FIG. 4 is a schematic block diagram of an equalizer adjustment device 400 based on auricle scanning provided by another embodiment of the present invention. Fig.12 As shown, the auricle scanning-based equalizer adjustment device 400 of this embodiment is based on the above embodiment and adds a comparison unit 450, a difference adjustment unit 460, a playback unit 470 and a signal adjustment unit 480.
[0079] The comparison unit 450 is used to compare the auricle shape with the preset auricle shape that matches it to determine the difference value between the two.
[0080] The difference adjustment unit 460 is used to adjust the current equalizer according to the difference value.
[0081] In one embodiment, if Fig.13 As shown, the difference adjustment unit 460 includes: a reduction unit 461 and an increase unit 462,
[0082] The subtraction unit 461 is used to reduce the value of each frequency band in the current equalizer when the difference value is a positive value.
[0083] The increasing unit 462 is used to increase the value of each frequency band in the current equalizer when the difference value is a negative value.
[0084] The playing unit 470 is used to play the test audio signal, wherein the test audio signal includes sounds of various frequency bands, and the sounds of various frequency bands are divided into several sections according to a time sequence for playing.
[0085] The signal adjustment unit 480 is used to receive an adjustment signal provided by a user and adjust the equalizer according to the adjustment signal.
[0086] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the above-mentioned equalizer adjustment device based on auricle scanning and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0087] The above-mentioned equalizer adjustment device based on auricle scanning can be implemented in the form of a computer program, which can be used in Fig.14 Runs on the computer device shown.
[0088] See also Fig.14 , Fig.145 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal, wherein the terminal may be an electronic device with communication function such as a headset, a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device.
[0089] See also Fig.14 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0090] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute an equalizer adjustment method based on auricle scanning.
[0091] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0092] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an equalizer adjustment method based on auricle scanning.
[0093] The network interface 505 is used to communicate with other devices over the network. Fig.14 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0094] The processor 502 is used to run a computer program 5032 stored in a memory to implement the following steps: scanning the user's auricle to obtain a corresponding auricle shape; matching the auricle shape with a preset auricle shape to determine a target auricle shape; obtaining preset equalizer parameters corresponding to the target auricle shape; and adjusting the current equalizer according to the preset equalizer parameters.
[0095] In one embodiment, when the processor 502 implements the step of adjusting the current equalizer according to the preset equalizer parameters, it specifically implements the following steps: obtaining the sound effect module corresponding to the current equalizer; obtaining the corresponding frequency band adjustment parameters from the preset equalizer parameters according to the sound effect module, wherein the preset equalizer parameters include frequency band adjustment parameters corresponding to each of the sound effect modules; and increasing and / or decreasing the value of each frequency band in the sound effect module according to the frequency band adjustment parameters.
[0096] In one embodiment, when the processor 502 implements the step of scanning the user's auricle to obtain the corresponding auricle shape, it specifically implements the following steps: measuring the distance at least including different positions in front of the ear, behind the ear, above the auricle, below the auricle and on the side of the auricle to obtain point cloud data; performing point cloud registration and fusion based on the point cloud data to obtain the auricle shape.
[0097] In one embodiment, after implementing the step of adjusting the current equalizer according to the preset equalizer parameters, the processor 502 further implements the following steps: comparing the auricle shape with the preset auricle shape that matches it to determine the difference between the two; and adjusting the current equalizer according to the difference.
[0098] In one embodiment, when the processor 502 implements the step of adjusting the current equalizer according to the difference value, it specifically implements the following steps: when the difference value is a positive value, the value of each frequency band in the current equalizer is reduced; when the difference value is a negative value, the value of each frequency band in the current equalizer is increased.
[0099] In one embodiment, after implementing the step of adjusting the current equalizer according to the preset equalizer parameters, the processor 502 further implements the following steps: playing a test audio signal, wherein the test audio signal includes sounds of each frequency band, and the sounds of each frequency band are divided into several sections according to a time sequence for playback; receiving an adjustment signal provided by a user and adjusting the equalizer according to the adjustment signal.
[0100] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0101] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0102] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps: scanning the auricle of the user to obtain a corresponding auricle shape; matching the auricle shape with a preset auricle shape to determine a target auricle shape; obtaining a preset equalizer parameter corresponding to the target auricle shape; and adjusting the current equalizer according to the preset equalizer parameter.
[0103] In one embodiment, when the processor executes the program instructions to implement the step of adjusting the current equalizer according to the preset equalizer parameters, the processor specifically implements the following steps: obtaining the sound effect module corresponding to the current equalizer; obtaining the corresponding frequency band adjustment parameters from the preset equalizer parameters according to the sound effect module, wherein the preset equalizer parameters include frequency band adjustment parameters corresponding to each of the sound effect modules; and increasing and / or decreasing the value of each frequency band in the sound effect module according to the frequency band adjustment parameters.
[0104] In one embodiment, when the processor executes the program instructions to implement the step of scanning the user's auricle to obtain the corresponding auricle shape, the processor specifically implements the following steps: measuring the distance at least including different positions in front of the ear, behind the ear, above the auricle, below the auricle and on the side of the auricle to obtain point cloud data; performing point cloud registration and fusion based on the point cloud data to obtain the auricle shape.
[0105] In one embodiment, after executing the program instructions to implement the step of adjusting the current equalizer according to the preset equalizer parameters, the processor further implements the following steps: comparing the auricle shape with the preset auricle shape that matches it to determine the difference between the two; and adjusting the current equalizer according to the difference.
[0106] In one embodiment, when the processor executes the program instructions to implement the step of adjusting the current equalizer according to the difference value, the following steps are specifically implemented: when the difference value is a positive value, the value of each frequency band in the current equalizer is reduced; when the difference value is a negative value, the value of each frequency band in the current equalizer is increased.
[0107] In one embodiment, after executing the program instructions to implement the step of adjusting the current equalizer according to the preset equalizer parameters, the processor further implements the following steps: playing a test audio signal, wherein the test audio signal includes sounds of each frequency band, and the sounds of each frequency band are divided into several sections according to a time sequence for playback; receiving an adjustment signal provided by a user and adjusting the equalizer according to the adjustment signal.
[0108] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0109] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0110] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0111] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0113] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An equalizer adjustment method based on auricle scanning, characterized in that: include: Scan the user's auricle to obtain the corresponding auricle shape; Matching the auricle shape with a preset auricle shape to determine a target auricle shape; Obtaining preset equalizer parameters corresponding to the target auricle shape; Adjusting the current equalizer according to the preset equalizer parameters; Among them, adjusting the current equalizer according to the preset equalizer parameters includes comparing the auricle shape with the preset auricle shape that matches it to determine the difference between the two; and adjusting the current equalizer according to the difference value and the preset equalizer parameters.
2. The equalizer adjustment method according to claim 1, characterized in that: The adjusting the current equalizer according to the preset equalizer parameters includes: Get the sound effect module corresponding to the current equalizer; Acquire corresponding frequency band adjustment parameters from the preset equalizer parameters according to the sound effect modules, wherein the preset equalizer parameters include frequency band adjustment parameters corresponding to each of the sound effect modules; The value of each frequency band in the sound effect module is increased and / or decreased according to the frequency band adjustment parameter.
3. The equalizer adjustment method according to claim 1, characterized in that: Scanning the user's auricle to obtain the corresponding auricle shape includes: Measuring the distances at different positions including at least in front of the ear, behind the ear, above the auricle, below the auricle and to the side of the auricle to obtain point cloud data; Point cloud registration and fusion are performed based on the point cloud data to obtain the auricle shape.
4. The equalizer adjustment method according to claim 1, characterized in that: The adjusting the current equalizer according to the difference value includes: When the difference value is a positive value, the value of each frequency band in the current equalizer is reduced; When the difference value is a negative value, the value of each frequency band in the current equalizer is increased.
5. The equalizer adjustment method according to claim 1, characterized in that: Also includes: Playing a test audio signal, wherein the test audio signal includes sounds of various frequency bands, and the sounds of various frequency bands are divided into several sections according to a time sequence for playing; An adjustment signal provided by a user is received and the equalizer is adjusted according to the adjustment signal.
6. An equalizer adjustment device based on auricle scanning, characterized in that: include: A scanning unit, used for scanning the auricle of the user to obtain the corresponding auricle shape; A matching unit, configured to match the auricle shape with a preset auricle shape to determine a target auricle shape; An acquisition unit, used for acquiring preset equalizer parameters corresponding to the target auricle shape; An adjustment unit, used for adjusting the current equalizer according to the preset equalizer parameters; The auricle shape is compared with the preset auricle shape that matches it to determine the difference between the two; and the current equalizer is adjusted according to the difference and the preset equalizer parameters.
7. A computer device, characterized in that: The computer device includes a memory, a processor and a scanner, the scanner is used to scan the user's auricle, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 5 when executing the computer program.
8. The computer device according to claim 7, characterized in that The computer device is a headset, the scanner is an array infrared sensor, the headset includes a bracket and earmuffs connected to both ends of the bracket, the array infrared sensors are arranged on the earmuffs and distributed in an array along the edge of the earmuffs to adapt to scanning the user's auricle, wherein the earmuffs can rotate relative to the bracket.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 5 can be implemented.
Citation Information
Patent Citations
Equalizer adaptive adjusting system and method and earphone
CN107071626A
Three-dimensional scanning system and method for external contour of ear
CN111803071A
Terminal equalizer parameter configuration method, electronic equipment and storage medium
CN113282265A