Sound effect adjustment method and device, wearable device and storage medium
By using a heart rate sensor in a wearable device to obtain the user's heart rate and adjust the sound effect parameters according to the heart rate, the problem that the wearable device cannot adapt to different scenarios is solved, real-time personalized sound effect adjustment is achieved, and users are provided with a better music experience.
Patent Information
- Application Number
- CN202411916617.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-08
AI Technical Summary
Wearable devices cannot provide users with music that adapts to different scenarios, and cannot adjust the sound effects in real time according to the user's heart rate changes.
Obtain the current heart rate through the heart rate sensor, determine the corresponding adjustment strategy, and adjust the sound effect parameters based on the strategy, and play audio adapted to the current scene in real time.
It realizes real-time adjustment of sound effects according to the user's heart rate changes, so that the sound effects can be adapted to the current scene in real time, providing users with a personalized experience.
Smart Images

Figure CN119781726A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of smart terminals, and in particular, relates to a sound effect adjustment method and apparatus, a wearable device, and a computer-readable storage medium. Background Art
[0002] A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories.
[0003] A common function of wearable devices is to play music. When users are in different scenarios, their needs for music are also different. For example, when exercising, strong rhythms can inspire motivation; when relaxing, soothing music can help users relax. Therefore, how wearable devices can provide users with music that adapts to different scenarios is a problem that needs to be solved. Summary of the invention
[0004] The embodiments of the present application provide a sound effect adjustment method and apparatus, a wearable device, and a computer-readable storage medium, which can solve the problem in the related art that wearable devices cannot provide users with music adapted to different scenarios.
[0005] In a first aspect, an embodiment of the present application provides a sound effect adjustment method, which is applied to a wearable device, the wearable device includes a heart rate sensor, and the method includes: obtaining the current heart rate through the heart rate sensor; determining the current adjustment strategy corresponding to the current heart rate; adjusting the sound effect parameters based on the current adjustment strategy; and playing audio using the sound effect parameters.
[0006] In the second aspect, an embodiment of the present application provides a sound effect adjustment device, which includes: an acquisition module for acquiring the current heart rate through a heart rate sensor; a determination module for determining a current adjustment strategy corresponding to the current heart rate; an adjustment module for adjusting the sound effect parameters based on the current adjustment strategy; and a playback module for playing audio using the sound effect parameters.
[0007] In a third aspect, an embodiment of the present application provides a wearable device, including a heart rate sensor, a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the computer program, the sound effect adjustment method described in the first aspect above is implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the sound effect adjustment method described in the first aspect above.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a wearable device, the wearable device executes the sound effect adjustment method described in the first aspect above.
[0010] Compared with the prior art, the embodiments of the present application have the following beneficial effects: obtaining the current heart rate through a heart rate sensor; determining the current adjustment strategy corresponding to the current heart rate; adjusting the sound effect parameters based on the current adjustment strategy; playing audio using the sound effect parameters: adjusting the sound effect in real time according to the changes in the user's heart rate, so that the sound effect can adapt to the current scene in real time, providing users with a personalized experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 is a schematic diagram of the structure of a wearable device provided in one embodiment of the present application;
[0013] Figure 2 is a structural schematic diagram of an open-type earphone provided with a heart rate sensor according to an embodiment of the present application;
[0014] Figure 3 is a flowchart of a sound effect adjustment method provided in an embodiment of the present application;
[0015] Figure 4 is a flowchart of a sound effect adjustment method provided in a specific embodiment of the present application;
[0016] Figure 5 It is a structural schematic diagram of a sound effect adjustment device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0017] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0018] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0019] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0020] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0021] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0022] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0023] The sound effect adjustment method provided in the embodiment of the present application can be applied to wearable devices, including but not limited to wearable devices with computing and audio playback functions such as wireless headphones, smart bracelets, and smart watches. The embodiment of the present application does not impose any restrictions on the specific type of wearable devices.
[0024] Figure 1 FIG. 1 is a block diagram of a partial structure of a wearable device provided in an embodiment of the present application. Figure 1 The wearable device includes: a processor 10, a memory 20, a heart rate sensor 30, a speaker 40, a communication device 50 and an input device 60. The processor 10 is connected to the memory 20, the heart rate sensor 30, the speaker 40, the communication device 50 and the input device 60 respectively. Those skilled in the art can understand that Figure 1 The structure of the wearable device shown in the figure does not constitute a limitation on the wearable device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0025] Combine the following Figure 1 A detailed introduction to the various components of wearable devices:
[0026] The processor 10 is the control center of the wearable device, and can run the program stored in the memory 20 to perform various functions and process data. The processor 10 can be a central processing unit (CPU), and the processor 10 can 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 gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In some embodiments, the processor 10 may include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0027] The memory 20 is used to store an operating system, an application, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs. The memory 20 can also be used to temporarily store data required and generated for executing the program. The memory 20 may include a high-speed random access memory, and may also include a non-volatile memory, such as a flash memory, a hard disk, a multimedia card, a card-type memory, etc. The memory 20 may include a storage unit disposed inside the wearable device, such as a hard disk of the wearable device, and / or a removable external storage unit, such as a mobile hard disk, a USB flash drive, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, etc.
[0028] The heart rate sensor 30 monitors and records the individual's heart rate data in a non-invasive manner. The main types include optical (also known as photoelectric), electrochemical, bioimpedance, pulse waveform, etc.
[0029] The optical heart rate sensor 30 is based on photoplethysmography (PPG), and includes a light source (usually a light emitting diode) and a photosensitive element (usually a photodiode). The light source emits light of a specific wavelength to illuminate the blood vessels under the skin, and the photosensitive element receives the reflected light. Since the beating of the heart causes changes in blood flow, the intensity of the reflected light changes. Based on this principle, the heart rate can be calculated by extracting features from the waveform output by the reflective element.
[0030] The electrochemical type heart rate sensor 30 measures the heart rate by measuring the bioelectric signals of the human body. This type of sensor is usually used in patch-type wearable devices and needs to be in direct contact with the skin. The working principle of the electrochemical sensor is similar to that of the electrodes of an electrocardiogram, and the heart rate is calculated by capturing the electrical signals generated by heart activity.
[0031] The bio-impedance type heart rate sensor 30 monitors blood flow by measuring the impedance change of the biological body and converts it into a specific heart rate.
[0032] The pulse waveform type heart rate sensor 30 calculates the heart rate by measuring the pulse waveform signal and is usually placed under the wrist or finger.
[0033] The heart rate sensor 30 is generally required to be in stable contact with the user's skin, and some types are required to fit the user's skin, so it is generally set at a location that contacts the human body when worn, such as the inside of a smart bracelet / smart watch, the inside of an earmuff of an earphone, or the location where the headband contacts the ear. For example, Figure 2 As shown, when the wearable device is an open-type earphone, the heart rate sensor 30 can be set on the inner side of the ear clip (positions A and B in the figure). When the earphone is worn, the heart rate sensor 30 maintains contact with the earlobe or the skin around the ear, thereby measuring the heart rate.
[0034] The speaker 40, also called a "horn", is an electroacoustic transducer element for converting an audio electrical signal into sound.
[0035] The communication device 50 is used to establish a network connection with other electronic devices and communicate with each other. Wearable devices usually use wireless network technology to communicate with other electronic devices, such as wireless fidelity (Wi-Fi) network, Bluetooth (BT), Star Flash, ZigBee, near field communication (NFC), infrared technology (IR), etc.
[0036] The input device 60 may include at least one of a button, a touch panel, a joystick, etc., for collecting the user's input operation to generate a corresponding operation instruction.
[0037] A common function of wearable devices is to play audio. Specifically, the communication device 50 receives audio files from an external electronic device (such as a mobile phone, tablet computer, laptop computer, etc.) through a wireless network. Due to the limitation of the transmission rate, the audio file is generally compressed and encoded. The processor 10 decodes the audio file, converts the audio file into a waveform file in a digital format, and then converts the digital-to-analog conversion into an audio electrical signal and outputs it to the speaker 40 for playback. The input device 60 can collect the user's input operation to generate corresponding operation instructions, and the processor 10 controls the audio playback according to the operation instructions, such as controlling to pause / continue playback, switch tracks, etc.
[0038] The number of processors 10 may be greater than one. For example, one processor 10 is responsible for decoding the audio file, and the processor 10 may be a dedicated decoding chip (such as a DSP); another processor 10 is responsible for controlling the wearable device and performing other processing on the audio file other than decoding, such as noise reduction, sound effect management, etc. Alternatively, the number of processors 10 may be one, and one processor 10 performs all the above operations.
[0039] The sound effect adjustment method provided in the embodiment of the present application can be implemented as a computer software program. For example, the embodiment of the present application provides a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 50, and / or installed from a removable external storage unit. When the computer program is executed by the processor 10, the various functions defined in the sound effect adjustment method provided in the embodiment of the present application are implemented.
[0040] Figure 3 A schematic flowchart of a sound effect adjustment method provided in an embodiment of the present application is shown. As an example but not a limitation, the method can be applied to the above-mentioned wearable device.
[0041] S1: Get the current heart rate through the heart rate sensor.
[0042] The heart rate sensor may have computing capability to calculate and report the current heart rate by itself; or, the heart rate sensor may not have computing capability and report the collected signal (eg, collected waveform), and the processor is responsible for processing the signal to calculate the current heart rate.
[0043] S2: Determine a current adjustment strategy corresponding to the current heart rate.
[0044] Specifically, the current heart rate interval to which the current heart rate belongs can be determined, and then the adjustment strategy corresponding to the current heart rate interval is read from the mapping relationship between the heart rate interval and the adjustment strategy as the current adjustment strategy. At least one threshold can be set to divide different heart rate intervals, and the heart rate intervals can be represented by these thresholds. For example, three thresholds can be set: 60, 80, and 120 beats / minute, thereby dividing four heart rate intervals.
[0045] The pre-stored heart rate interval can be read from the memory, or the heart rate interval can be received from the communication device or the input device. For example, the wearable device is a Bluetooth headset, which can establish a Bluetooth connection with an external mobile phone through the communication device. The user can enter the heart rate interval on the mobile phone and send it to the wearable device through the Bluetooth connection; or, the wearable device is a smart bracelet, including a display and a touch panel, which can display the heart rate interval setting interface on the display, collect the operation instructions entered by the user through the touch panel, and determine the heart rate interval entered by the user. In addition to the heart rate interval, the adjustment strategy entered by the user, the mapping relationship between the heart rate interval and the adjustment strategy, etc. can also be received in a similar manner.
[0046] Since individual differences in heart rate are quite obvious, heart rate data can be collected and then divided into heart rate intervals based on the heart rate data. For example, heart rate data can include the minimum and maximum heart rate values, and on this basis, can also include the duration of different heart rates, etc. Based on the heart rate data, heart rate statistics can be calculated. These statistics can represent the user's calm heart rate, exercise heart rate, etc., and can be used as a reference to divide heart rate intervals. For example, several formulas can be set to calculate thresholds based on heart rate statistics. By substituting the calculated heart rate statistics into these formulas, the thresholds for dividing heart rate intervals can be calculated.
[0047] Alternatively, the current heart rate may be input into an adjustment strategy calculation tool to obtain the current adjustment strategy, and the strategy calculation tool may be a function with the current heart rate as an independent variable and the current adjustment strategy as a dependent variable, or the strategy calculation tool may be a trained neural network, the input of which includes the current heart rate, and the output of which includes the current adjustment strategy. A pre-stored adjustment strategy calculation tool may be read from a memory, or an adjustment strategy calculation tool may be received from a communication device or an input device. Optionally, the adjustment strategy calculation tool may be updated based on statistical historical heart rate data.
[0048] The waveform file obtained by converting the audio file is essentially a series of continuous sampling points used to represent a one-dimensional sound waveform. Each sampling point has two attributes: time (which can be represented by a timestamp, serial number, etc.) and amplitude (which can be represented by the value of the sampling point). After digital-to-analog conversion, the corresponding sound waveform is obtained and then output to the speaker to be converted into a sound wave. The sound effect parameters include at least one of the equalizer configuration, loudness and playback speed. Changes in the sound effect parameters will change the sound waveform.
[0049] Loudness refers to the overall volume of the audio file. Loudness adjustment can be understood as multiplying the value of each sampling point of the sound waveform by the same loudness coefficient, thereby changing the overall amplitude of the sound waveform, that is, scaling the sound waveform as a whole in the dimension of amplitude. The playback speed condition can be understood as adjusting the time interval between adjacent sampling points, that is, scaling the sound waveform as a whole in the dimension of time. These two audio parameters can act on audio files before decoding, and can also act on waveform files after decoding.
[0050] The equalizer can independently adjust the amount of signal amplification in different frequency bands. It needs to process the frequency domain state and cannot directly act on the time domain state (i.e. the waveform file after decoding). It can only act on the audio file before or during decoding. The equalizer configuration refers to the gain of each frequency band of the equalizer.
[0051] The human ear perceives sound frequencies from the lowest 20Hz to the highest 20KHz. Sounds of different frequency bands give people different feelings. Low frequencies generally provide a sense of rhythm, and human voices are generally concentrated in the mid-frequency. Generally speaking, a low heart rate indicates that the user is in a calm and relaxed scene, and a high heart rate indicates that the user is in a sports scene. By changing the sound effect parameters, the sound effect can be adapted to the scene in which the user is.
[0052] For example, the heart rate is divided into 4 intervals. The heart rate intervals are arranged from low to high. When the heart rate is in the lowest first interval (such as below 60 beats / minute), the intensity of the strong low-frequency part of the rhythm is reduced, and the soft mid-high frequency is highlighted to create a soothing atmosphere; when the heart rate is in the second interval (such as 60-80 beats / minute), the original sound effect is maintained without adjustment; when the heart rate is in the third interval (such as 80
[0053] -120 beats / minute), the low-frequency part with strong rhythm is enhanced, and the volume of mid-high frequency is appropriately adjusted to make the music more dynamic; when the heart rate is in the third zone (such as above 120 beats / minute), the low-frequency part is greatly enhanced to make it more impactful, and the volume of mid-high frequency is reduced to highlight the sense of rhythm, so as to provide a more dynamic music experience.
[0054] In the above example, the equalizer distinguishes between frequency bands more broadly, and the corresponding adjustment strategy is also more general. You can use an equalizer with more precise distinctions to change the timbre of the audio by adjusting the combination of gains of different frequency bands, such as adjusting the timbre towards warmer and brighter at a low heart rate.
[0055] S3: Adjust the sound effect parameters based on the current adjustment strategy.
[0056] Adjustment methods may include addition and replacement.
[0057] For the cumulative adjustment method, the current adjustment strategy includes the adjustment amount of the sound effect parameter, and the specific adjustment method can be to calculate the sum of the sound effect parameter and the adjustment amount as the adjusted sound effect parameter. In order to make the sound effect adapt to the scene in which the user is located, the adjustment amount of the sound effect parameter can meet at least one of the following: the low-frequency gain in the adjustment amount of the equalizer configuration is positively correlated with the current heart rate, the mid-frequency gain and high-frequency gain in the adjustment amount of the equalizer configuration are negatively correlated with the current heart rate, the loudness adjustment amount is positively correlated with the current heart rate, and the playback speed adjustment amount is positively correlated with the current heart rate.
[0058] For the replacement adjustment method, the current adjustment strategy includes the setting value of the sound effect parameter, and the specific adjustment method can be to update the sound effect parameter to the setting value. In order to make the sound effect adapt to the scene in which the user is located, the setting value of the sound effect parameter satisfies at least one of the following: the low-frequency gain in the setting value of the equalizer configuration is positively correlated with the current heart rate, the mid-frequency gain and the high-frequency gain in the setting value of the equalizer configuration are negatively correlated with the current heart rate, the loudness setting value is positively correlated with the current heart rate, and the playback speed setting value is positively correlated with the current heart rate.
[0059] S4: Play audio using sound effect parameters.
[0060] The sound effect adjustment method provided in this embodiment can be executed before starting to play a new track, but not during the playback process, so as to maintain the consistency of the sound effect during the playback of the same audio file. Alternatively, the sound effect adjustment method provided in this embodiment can be executed in a short cycle (e.g., less than 1s) during the audio playback process to ensure the real-time nature of the sound effect adjustment.
[0061] Through the implementation of this embodiment, the current heart rate is obtained through the heart rate sensor; the current adjustment strategy corresponding to the current heart rate is determined; the sound effect parameters are adjusted based on the current adjustment strategy; audio is played using the sound effect parameters: the sound effect is adjusted in real time according to the changes in the user's heart rate, so that the sound effect can adapt to the current scene in real time, providing users with a personalized experience.
[0062] The specific process of the sound effect adjustment method is described below with reference to the accompanying drawings.
[0063] like Figure 4As shown, in a specific embodiment of the present application, the sound effect adjustment method includes the following parts. This embodiment is a further extension of the above embodiment, and the same parts are not repeated here.
[0064] S10: Receive an audio file through a communication device.
[0065] S11: receiving a mapping relationship between heart rate intervals and adjustment strategies from a communication device.
[0066] S12: Get the current heart rate through the heart rate sensor.
[0067] The execution order of S10, S11, and S12 is only for illustration and there is no actual limitation.
[0068] S13: Determine the current heart rate zone to which the current heart rate belongs.
[0069] S14: Reading the adjustment strategy corresponding to the current heart rate interval from the mapping relationship between the heart rate intervals and the adjustment strategies as the current adjustment strategy.
[0070] S15: Adjust the sound effect parameters based on the current adjustment strategy.
[0071] S16: Play audio using sound effect parameters.
[0072] Figure 5 A schematic diagram of the structure of a sound effect adjustment device provided in an embodiment of the present application is shown, and the sound effect adjustment device includes an acquisition module 11, a determination module 12, an adjustment module 13 and a playback module 14.
[0073] The acquisition module 11 is used to acquire the current heart rate through a heart rate sensor.
[0074] The determination module 12 is used to determine the current adjustment strategy corresponding to the current heart rate.
[0075] The adjustment module 13 is used to adjust the sound effect parameters based on the current adjustment strategy.
[0076] The playing module 14 is used to play the audio using the sound effect parameters.
[0077] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0078] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0079] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0080] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0081] 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 computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / wearable device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, RandomAccess Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0082] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0083] 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, or a combination of computer software and electronic hardware. 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 this application.
[0084] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0086] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A sound effect adjustment method, characterized in that: The method is applied to a wearable device, the wearable device includes a heart rate sensor, and the method includes: Acquire the current heart rate through the heart rate sensor; Determining a current adjustment strategy corresponding to the current heart rate; Adjusting the sound effect parameters based on the current adjustment strategy; Plays audio using the specified sound effect parameters.
2. The method according to claim 1, characterized in that Determining the current adjustment strategy corresponding to the current heart rate includes: Determining a current heart rate zone to which the current heart rate belongs; The adjustment strategy corresponding to the current heart rate interval is read from the mapping relationship between the heart rate intervals and the adjustment strategies as the current adjustment strategy.
3. The method according to claim 2, characterized in that Also includes: Collect heart rate data; The heart rate intervals are divided according to the heart rate data.
4. The method according to claim 2, characterized in that Also includes: The heart rate interval is received from a communication device or an input device of the wearable device.
5. The method according to claim 1, characterized in that Determining the current adjustment strategy corresponding to the current heart rate includes: The current heart rate is input into an adjustment strategy calculation tool to obtain the current adjustment strategy.
6. The method according to any one of claims 1 to 5, characterized in that: The current adjustment strategy includes the adjustment amount of the sound effect parameter, and the adjusting the sound effect parameter based on the current adjustment strategy includes: The sum of the sound effect parameter and the adjustment amount is calculated as the adjusted sound effect parameter.
7. The method according to claim 6, characterized in that The sound effect parameters include at least one of equalizer configuration, loudness and playback speed, and the adjustment amount of the sound effect parameters satisfies at least one of the following: the low-frequency gain in the adjustment amount of the equalizer configuration is positively correlated with the current heart rate, the mid-frequency gain and the high-frequency gain in the adjustment amount of the equalizer configuration are negatively correlated with the current heart rate, the loudness adjustment amount is positively correlated with the current heart rate, and the playback speed adjustment amount is positively correlated with the current heart rate.
8. The method according to any one of claims 1 to 5, characterized in that: The current adjustment strategy includes the set value of the sound effect parameter, and the adjusting the sound effect parameter based on the current adjustment strategy includes: The sound effect parameter is updated to the set value.
9. The method according to claim 8, characterized in that The sound effect parameters include at least one of equalizer configuration, loudness and playback speed, and the set values of the sound effect parameters satisfy at least one of the following: the low-frequency gain in the set value of the equalizer configuration is positively correlated with the current heart rate, the mid-frequency gain and the high-frequency gain in the set value of the equalizer configuration are negatively correlated with the current heart rate, the loudness set value is positively correlated with the current heart rate, and the playback speed set value is positively correlated with the current heart rate.
10. A sound effect adjustment device, characterized in that: The device comprises: An acquisition module, used for acquiring the current heart rate through the heart rate sensor; A determination module, used to determine a current adjustment strategy corresponding to the current heart rate; An adjustment module, used for adjusting the sound effect parameters based on the current adjustment strategy; The playing module is used to play the audio using the sound effect parameters.
11. A wearable device comprising a heart rate sensor, a memory, a processor, and a computer program stored in the memory and executable by the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
12. The wearable device according to claim 11, wherein: The wearable device is an open-ear headset.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.