Sound effect adjustment method, electronic equipment and computer readable storage medium

By communicating with sports health monitoring equipment or driving equipment, obtaining user parameters and using neural networks to adjust music sound effects, the problem that music in the prior art does not meet the needs of users' scenes is solved, and the adaptability and sensory response of listening experience are improved.

CN118900298AActive Publication Date: 2024-11-05HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411371650.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-11-05
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

Existing electronic devices cannot dynamically adjust the sound effects according to the user's physiological and psychological state when playing music, resulting in the music not meeting the user's current listening scene needs and affecting the listening experience.

Method used

By establishing a communication connection with sports and health monitoring equipment or driving equipment, we obtain the user's movement parameters, physiological parameters, driving status parameters and driving environment parameters, and use the neural network to adjust the sound effects parameters of the music in real time to adapt to the user's physiological and psychological state. .

Benefits of technology

It realizes dynamic adjustment of music sound effects, improves users' listening experience in different scenarios, and enhances the adaptability of music and the user's sensory response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900298A_ABST
    Figure CN118900298A_ABST
Patent Text Reader

Abstract

The invention provides a sound effect adjustment method, electronic equipment and a computer readable storage medium. In the method, an electronic device can obtain motion parameters and physiological parameters of a user collected by a motion health monitoring device, or driving state parameters and / or driving environment parameters collected by a driving device. Furthermore, the electronic equipment can adjust the sound effect of the audio based on the parameters, so that the adjusted sound effect is matched with the mood and the environment of the user. In this way, the user can hear music which can better meet the current physiological and psychological requirements of the user, and therefore the song listening experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals and communication technologies, and in particular to a sound effect adjustment method, an electronic device, and a computer-readable storage medium. Background Art

[0002] People usually play a variety of music through electronic devices. Music can stimulate people's emotional responses and help them express or release emotions. When the external environment is different or people are in different moods, the music they want to hear is often different. How electronic devices can provide users with music that is more suitable for listening scenarios is a problem that needs to be solved. Summary of the invention

[0003] The embodiment of the present application provides a sound effect adjustment method, an electronic device, and a computer-readable storage medium. In this method, the electronic device can obtain the physiological parameters, motion parameters, or driving state parameters and driving environment parameters of the user collected from another electronic device. Then the electronic device can adjust the sound effect parameters of the music based on the above parameters, so that the sound effect of the music is more adapted to the physiological and psychological needs of the user in the current listening scene, thereby improving the user's listening experience.

[0004] In a first aspect, an embodiment of the present application provides a sound effect adjustment method, which is applied to a first electronic device, and the first electronic device establishes a communication connection with a second electronic device, and the method includes: the first electronic device plays a first audio; the first electronic device obtains first data collected by the second electronic device, the first data includes motion parameters and physiological parameters, or the first data includes driving state parameters and / or driving environment parameters; the first electronic device adjusts the sound effect parameters of the first audio based on the first data to obtain first sound effect parameters.

[0005] The first electronic device can receive the first data collected by the second electronic device, wherein the first data may include motion parameters and physiological parameters, wherein the motion parameters and physiological parameters can reflect the physiological state and psychological state of the user. The first data may also include driving state parameters and / or driving environment parameters, which can reflect the user's own state and the surrounding environment when driving. The first electronic device can adjust the sound effect parameters based on the first data, that is, adapt the sound effect parameters of the first audio based on the user's own state or the surrounding environment state, so as to provide the user with music that can better meet the user's needs in the current listening environment, thereby improving the user's listening experience.

[0006] In combination with the first aspect, in some embodiments, the first sound effect parameter is obtained after the first electronic device processes the motion parameter and the physiological parameter through the first neural network, and the first neural network is used to determine one or more sound effect parameters based on the motion parameter and the physiological parameter.

[0007] In combination with the first aspect, in some embodiments, the second electronic device is a sports health monitoring device, and the first data includes sports parameters and physiological parameters.

[0008] That is to say, the motion parameters and physiological parameters in the first data can be measured by sports health monitoring devices such as smart watches and smart bracelets. After receiving the motion parameters and physiological parameters, the first electronic device can input the above parameters into the first neural network. The first neural network can receive the input of motion parameters and physiological parameters and output multiple sound effect parameters. Among them, the first neural network can include one or more neural network models, that is to say, the first neural network can receive the input of all motion parameters and physiological parameters through a neural network model, and then output the values ​​of multiple sound effect parameters, or the first neural network can also receive the input of one or more motion parameters and one or more physiological parameters through multiple neural network models, and then output the values ​​of sound effect parameters. For example, the first neural network can include neural network model A, neural network model B, and neural network model C, wherein neural network model A can receive the input of heart rate and output the value of audio loudness; neural network model B can receive the input of acceleration and output the value of playback speed. Neural network model C can receive the value of heart rate change rate and acceleration, and output the frequency response gain of sound at different frequencies, etc.

[0009] It is understandable that the first electronic device can change the audio sound effects based on the motion parameters and physiological parameters collected by the sports health monitoring device, so that when in motion, the first electronic device can provide the user with a variety of sound effects based on the user's motion state, so that the sound effects of the music are adapted to the user's motion state, thereby improving the user's exercise experience and the experience of listening to music during exercise. Among them, the sports health monitoring device can be directly worn on the user, so that the first electronic device obtaining the motion parameters and physiological parameters will not affect the user's exercise.

[0010] In combination with the first aspect, in some embodiments, the first sound effect parameter is obtained after the first electronic device processes the driving state parameter and / or the driving environment parameter through the second neural network, and the second neural network is used to determine one or more sound effect parameters based on the driving state parameter and / or the driving environment parameter.

[0011] In combination with the first aspect, in some embodiments, the second electronic device is a driving device, and the first data includes driving state parameters and / or driving environment parameters.

[0012] That is to say, the driving state parameters and driving environment parameters in the first data may be determined by the driving device. The driving device may report the driving state parameters and / or driving environment parameters to the first electronic device, and then the first electronic device may adjust the sound effect parameters based on the driving state parameters and / or driving environment parameters. The second neural network may also include one or more neural network models. The second neural network may receive inputs of multiple driving state parameters and / or driving environment parameters, and then output multiple sound effect parameters, which may be accomplished by the first electronic device through a neural network model in the second neural network, or may be obtained through multiple neural network models in the second neural network, and the embodiments of the present application are not limited to this.

[0013] It is understandable that the first electronic device can modify the sound effect parameters of the music based on the user's driving state and the surrounding environment state, so that the sound effect of the music changes with the user's driving state. In this way, the user can listen to music with sound effects adapted to the driving scene while driving, thereby improving the user's driving experience and the user's listening experience while driving.

[0014] In combination with the first aspect, in some embodiments, when the first data is motion parameters and physiological parameters, the first electronic device processes the first data through a first neural network to obtain first sound effect parameters; when the first data is driving state parameters and / or driving environment parameters, the first electronic device processes the first data through a second neural network to obtain first sound effect parameters; wherein the input of the first neural network is motion parameters and physiological parameters, and the output is one or more sound effect parameters, and the input of the second neural network is driving state parameters and / or driving environment parameters, and the output is one or more sound effect parameters.

[0015] That is to say, the first electronic device can distinguish different listening scenes based on the content of the first data, and then use different neural networks to process the first data. In this way, when the user is exercising, the first data is exercise parameters and physiological parameters, and the first electronic device can process the first data based on the first neural network; when the user is driving, the first data is driving state parameters and / or driving environment parameters, and the first electronic device can process the first data based on the second neural network. In this way, it can be ensured that the first electronic device can provide users with sound effects adapted to their listening scenes in different scenarios.

[0016] In combination with the first aspect, in some embodiments, when the second electronic device is a sports health monitoring device, the first electronic device receives the motion parameters and physiological parameters sent by the second electronic device at a first time length, and the first electronic device updates the sound effect parameters based on the motion parameters and physiological parameters at a second time length.

[0017] That is, the second electronic device can report parameters to the second electronic device according to a preset period (first time length), and the first electronic device can update the sound effect parameters based on the second time length. In this way, the user does not need to actively switch the sound effect, and the first electronic device can dynamically and in real time adjust the sound effect for the user based on the user's state when the user is exercising, so that the user can get music that meets his psychological needs in different exercise states, thereby improving the user's listening experience.

[0018] In combination with the first aspect, in some embodiments, when the second electronic device is a driving device, the first electronic device receives driving status parameters and / or driving environment parameters sent by the second electronic device every third time length, and the first electronic device updates the sound effect parameters based on the driving status parameters and / or driving environment parameters every fourth time length.

[0019] In other words, the user does not need to actively operate, the first electronic device can dynamically adjust the sound effects when the user is driving, so that the user can hear music that suits his needs in different driving conditions, thereby improving the user's listening experience.

[0020] In combination with the first aspect, in some embodiments, a parameter in the first data and a threshold value corresponding to the parameter satisfy a first condition.

[0021] Among them, the second electronic device can report data to the first electronic device when the parameters in the first data and their corresponding thresholds meet the first condition. For example, the first condition may include: the real-time heart rate exceeds its corresponding heart rate threshold. In this way, the second electronic device can report data only when the heart rate meets the above conditions. Among them, the second electronic device can report all parameters, or only report parameters that meet the first condition, such as the heart rate in the above situation. In this way, the communication content between the first electronic device and the second electronic device can be reduced, and the calculation amount of the first electronic device can be reduced. The first electronic device can adjust the sound effect parameters only when the change in the parameters collected by the second electronic device exceeds a certain threshold, thereby avoiding the sound effect parameter update cycle being too fixed, resulting in the first electronic device being unable to change the sound effect parameters in time according to the user's status, or the interval for updating the sound effect parameters is too short, etc., affecting the user's listening experience.

[0022] In combination with the first aspect, in some embodiments, the motion parameters include one or more of the following: speed, motion acceleration, and the physiological parameters include one or more of the following: heart rate, heart rate change rate, psychological stress index, body temperature.

[0023] In combination with the first aspect, in some embodiments, the relationship between the first sound effect parameter and the first data includes one or more of the following: the faster the heart rate, the higher the audio loudness; the faster the heart rate change rate, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the faster the heart rate change rate, the smaller the frequency response gain of the low frequency signal; the higher the psychological stress index, the longer the reverberation delay; the higher the body temperature, the longer the reverberation delay; the greater the movement acceleration, the faster the playback speed.

[0024] In combination with the first aspect, in some embodiments, the driving state parameters include one or more of the following: vehicle speed, driving acceleration, and the driving environment parameters include one or more of the following: road conditions and temperature at the location of the first driving device.

[0025] In combination with the first aspect, in some embodiments, the relationship between the first sound effect parameter and the first data includes one or more of the following: the faster the vehicle speed, the higher the audio loudness; the greater the driving acceleration, the faster the playback speed; the faster the vehicle speed, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the more congested the road conditions, the smaller the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the lower the temperature, the shorter the reverberation delay.

[0026] In combination with the first aspect, in some embodiments, after the first electronic device adjusts the sound effect parameters of the first audio based on the first data, the method also includes: the first electronic device receives a first user operation to store the first sound effect parameters, and in response to the first user operation, the first electronic device stores the first sound effect parameters.

[0027] In combination with the first aspect, in some embodiments, after the first electronic device stores the first sound effect parameter, the method also includes: the first electronic device receives a second user operation of applying the first sound effect parameter, and in response to the second user operation, the first electronic device plays audio using the first sound effect parameter.

[0028] That is to say, when a user hears a sound effect that he likes, the user can save the sound effect parameters corresponding to the sound effect. In this way, the user can directly apply the sound effect when listening to other music later, thereby improving the user's listening experience.

[0029] In a second aspect, the present application provides an electronic device, comprising a memory and a processor coupled to the memory; the memory stores a computer program, and when the processor executes the above computer program, the electronic device implements any one of the methods described in the above first aspect.

[0030] In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program or computer instructions, and the aforementioned computer program or computer instructions are executed by a processor to implement any method described in the first aspect above.

[0031] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed by a processor, the method described in any one of the above-mentioned first aspects will be implemented.

[0032] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a memory, wherein the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the chip executes any method described in the first aspect above.

[0033] The solutions provided in the second to fifth aspects are used to implement or cooperate with the corresponding methods provided in the first aspect, and therefore can achieve the same or corresponding beneficial effects as the corresponding methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of the present application; Figure 2 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application; Figure 3 is a software structure block diagram of the electronic device 100 according to an embodiment of the present application; Figure 4A-Figure 4N A series of user interaction schematic diagrams involved in the sound effect adjustment method provided in an embodiment of the present application are exemplarily shown; Figure 5 It is a flow chart of the mobile phone 101 adjusting the sound effect parameters of music provided in the embodiment of the present application; Figure 6 is a flow chart of a sound effect adjustment method provided in an embodiment of the present application; Figure 7 is a structural schematic diagram of a music playing device 700 provided in an embodiment of the present application; Figure 8 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0037] Music can stimulate people's emotional responses and help them express or release their emotions. In addition, different types of music can have different effects on people's physiology or psychology. For example, soft music can relax muscles and make people feel calm; fast and pleasant music can strengthen muscle tension and invigorate people's spirits. When listening to music, people often want to listen to music that is more in line with their current physiological or psychological needs. For example, when working, people want to hear music that can cheer themselves up and concentrate, and before an exam, people want to hear music that can relieve their tension. However, current electronic devices often play songs in the preset playlist list without considering the needs of the user's current listening scene.

[0038] In order to solve the above problems, the embodiments of the present application provide a sound effect adjustment method, an electronic device and a computer-readable storage medium. In this method, the electronic device can dynamically adjust the sound effect parameters of the song in real time according to a preset period based on the user's environment, or the user's current motion state, physiological state and other information, and then play the song based on the adjusted sound effect parameters. Among them, the sound effect parameters can affect the playback effect of the music, and then affect people's sensory experience when listening to music. By changing the sound effect parameters of the music, the electronic device can make the music present different effects when playing. In this way, the electronic device can provide users with music that better meets the physiological and psychological needs of users in different scenarios, and improve the user's listening experience.

[0039] The above-mentioned sound effect parameters may refer to various parameters of music when it is played, and the sound effect parameters may include but are not limited to the loudness, frequency response gain, playing speed, reverberation delay, etc. of the music. Among them: Loudness: Loudness can also be called volume or sound intensity. It is the subjective feeling of the human ear about the size and strength of the sound heard. Loudness is determined by the amplitude of the vibration of the sound source. The larger the amplitude of the vibration of the sound source, the louder the sound it produces.

[0040] Frequency response gain: Frequency response gain is also called frequency response gain. It reflects the ability of audio equipment (such as headphones) to amplify or attenuate sound signals of different frequencies, which can directly affect the sound quality and listening experience of music.

[0041] Playing speed: Playing speed reflects the speed of music playing. Without adjustment, electronic devices usually play music at one speed, that is, the music playing speed is 1x, which is the most original playing speed of music. When the playing speed of music becomes faster, the time interval between notes will become shorter, and the rhythm and vitality of the music will be enhanced. When the playing speed of music becomes slower, the time interval between notes will become longer, and the music will become slower and more comfortable.

[0042] Reverberation delay: When sound waves propagate indoors, they will be reflected by obstacles such as walls, ceilings, and floors. Each time the sound waves are reflected, they will be absorbed by the obstacles. When the sound source stops making sound, the sound waves will disappear after multiple reflections and absorptions in the room. This phenomenon in which multiple sound waves mix together and last for a period of time after the sound source stops making sound is called reverberation. The length of time that reverberation occurs can be called reverberation delay.

[0043] In order to provide music that better meets the user's listening needs, multiple electronic devices can collaboratively collect data to determine the user's listening needs. Here, an exemplary scenario in which multiple electronic devices collaboratively collect data to adjust the sound effect parameters of music is first introduced.

[0044] Figure 1 1 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of the present application. Figure 1 As shown, the communication system 10 may include a mobile phone 101, a sports health monitoring device (such as a smart bracelet 102) and a driving device (such as a car 103). Among them, the mobile phone 101 and the smart bracelet 102, the mobile phone 101 and the car 103 can communicate through a wireless network, and the above wireless network communication method may include, for example, wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0045] Among them, the mobile phone 101 can be used to play music. In the embodiment of the present application, the mobile phone 101 can obtain the user's motion parameters and / or physiological parameters collected by the smart bracelet 102 when playing music, and then adjust the sound effect parameters of the music based on the above parameters. Alternatively, the mobile phone 101 can also obtain the driving state parameters and / or driving environment parameters of the vehicle collected by the car 103 when playing music, and then adjust the sound effect parameters of the music based on the above parameters.

[0046] Sports and health monitoring equipment (such as Figure 1 The smart bracelet 102 in the figure can be used to collect the motion parameters and / or physiological parameters of the wearer, and send the above motion parameters and / or physiological parameters to the mobile phone 101. The above motion parameters may be one or more parameters reflecting the motion state of the wearer of the smart bracelet 102, and the motion parameters may include but are not limited to the speed, acceleration, and rising or falling height of the wearer (ie, the user). Physiological parameters may be one or more parameters reflecting the physiological state of the wearer of the smart bracelet 102, and the physiological parameters may include but are not limited to the wearer's heart rate, heart rate change rate, psychological stress index, body temperature, blood oxygen saturation, pulse, blood pressure, etc. The above psychological stress index may be determined by the smart bracelet 102 based on the wearer's heart rate, pulse, blood oxygen saturation, blood pressure, and sleep quality, reflecting the user's psychological stress level. Among them, the higher the psychological stress index, the greater the psychological stress of the user.

[0047] Driving equipment (e.g. Figure 1 The car 103 in the figure may be a means of transportation with computing capabilities. For example, the driving device may include a car computer for processing data. The connection between the driving device and the mobile phone 101 actually refers to the establishment of a communication connection between the car computer inside the driving device and the mobile phone 101. The driving device may collect the user's driving state parameters and / or driving environment parameters, and send the above driving state parameters and / or driving environment parameters to the mobile phone 101 through the car computer. The above driving state parameters may be one or more parameters reflecting the state of the user driving the car 103 (or referred to as the state of the car 103 driving), and the driving state parameters may include but are not limited to the speed, acceleration, and distance traveled of the car 103. The driving environment parameters may be one or more parameters reflecting the driving environment of the car 103, which may include the weather, temperature, rainfall, road conditions (such as congestion or smoothness) and the flatness of the road at the location of the car 103.

[0048] In some embodiments, the mobile phone 101 can adjust the sound effect parameters based on the user's listening scene. When the mobile phone 101 receives the motion parameters and / or physiological parameters collected by the smart bracelet 102, the mobile phone 101 can determine that the user is in motion, and then adjust the sound effect parameters based on the motion parameters and / or physiological parameters. At this time, the communication connection between the mobile phone 101 and the car 103 is optional. When the mobile phone 101 receives the driving state parameters and / or driving environment parameters collected by the car 103, the mobile phone 101 can determine that the user is in a driving state, and then the mobile phone 101 can adjust the sound effect parameters of the music based on the driving state parameters and / or driving environment parameters. At this time, the communication connection between the mobile phone 101 and the smart bracelet 102 is optional.

[0049] In some embodiments, when the mobile phone 101 is connected to multiple devices at the same time, the mobile phone 101 can determine which type of device parameters are used to adjust the sound effect parameters based on a preset priority. For example, when the mobile phone 101 is connected to both a sports health monitoring device (such as a smart bracelet 102) and a driving device (such as a car 103), the mobile phone 101 can give priority to adjusting the sound effect parameters of the music based on the driving state parameters and / or driving environment parameters collected by the driving device. This is because when the mobile phone 101 is connected to the driving device, the user is more likely to be in a driving scene. In this scenario, the mobile phone 101 can ignore the motion parameters and / or physiological parameters collected by the sports health monitoring device when adjusting the sound effect. It is not limited to adjusting the sound effect parameters of the music based on the parameters collected by the driving device, but it can also be based on the parameters collected by the sports health monitoring device. The embodiment of the present application does not limit this.

[0050] In other embodiments, when the mobile phone 101 is connected to multiple devices at the same time, the mobile phone 101 can adjust the sound effect parameters based on the parameters of the multiple devices. For example, when the mobile phone 101 is connected to both a sports health monitoring device (such as a smart bracelet 102) and a driving device (such as a car 103), the mobile phone 101 can adjust the sound effect parameters of the music based on the sports parameters and physiological parameters collected by the sports health monitoring device and the driving state parameters and driving environment parameters collected by the driving device.

[0051] In some embodiments, the mobile phone 101 may also receive an operation of the user selecting a dynamic sound effect mode. In response to the operation, the mobile phone 101 may adjust the sound effect parameters of the music based on the dynamic sound effect mode selected by the user. The above-mentioned dynamic sound effect mode may include a driving mode and a sports mode. In the driving mode, the mobile phone 101 may adjust the sound effect parameters of the music based on the driving state parameters and / or driving environment parameters collected by the driving device; and in the sports mode, the mobile phone 101 may adjust the sound effect parameters of the music based on the sports parameters and / or physiological parameters collected by the sports health monitoring device.

[0052] It should be noted that Figure 1 The electronic devices in the communication system 10 shown are only examples and do not constitute limitations of the embodiments of the present application. The electronic devices shown in the communication system 10 may also be other electronic devices capable of realizing the above functions. For example, it is not limited to the mobile phone 101 playing music and adjusting the sound effect parameters of the music based on the above parameters, but it may also be other electronic devices playing music and adjusting the sound effects of the music. It is not limited to the smart bracelet 102 collecting the user's motion parameters and / or physiological parameters, but it may also be other sports health monitoring devices such as smart watches collecting the user's motion parameters and / or physiological parameters. It is not limited to the automobile 103 collecting driving state parameters and / or driving environment parameters, but it may also be other driving devices such as electric vehicles, motorcycles and other driving devices collecting driving state parameters and / or driving environment parameters.

[0053] For ease of description and better understanding, the embodiment of the present application introduces the sound effect adjustment method using the communication system 10 as an example. The method for adjusting the sound effects of music by electronic devices in other communication systems can refer to the method for adjusting the sound effects of the communication system 10, which will not be repeated here.

[0054] In some embodiments, the parameters used to adjust the sound effects can also be collected by multiple electronic devices. For example, the mobile phone 101 can be connected to multiple sports health monitoring devices such as a smart bracelet 102 and a smart watch to obtain sports parameters and / or physiological parameters collected from multiple sports health monitoring devices, and then adjust the sound effects based on the parameters collected by multiple sports health monitoring devices.

[0055] In some embodiments, the electronic device that plays music, adjusts the sound effect parameters of music, and collects parameters can be the same. For example, sports health monitoring devices such as smart bracelets 102 can also be used to play music, and after collecting sports parameters and / or physiological parameters, the sound effect parameters of music can also be adjusted, and then the music is played based on the adjusted sound effect parameters. Alternatively, the car audio of driving equipment such as car 103 can be used to play music, and the sound effect parameters of music can be adjusted after collecting driving state parameters and / or driving environment parameters. Alternatively, the mobile phone 101 can also determine the driving state parameters and / or driving environment parameters of the user when driving the vehicle through the global navigation satellite system (GNSS), and then adjust the sound effect parameters of the music. The above-mentioned GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0056] The electronic device can also establish a communication connection with an external wireless headset, so that the electronic device can listen to the music with the adjusted sound effect parameters through the wireless headset. The sound effect parameters generated by the electronic device can also be saved in the wireless headset, so that the wireless headset can play audio based on the sound effect parameters. Alternatively, the sound effect parameters can also be saved in the wired headset.

[0057] An exemplary electronic device 100 provided in an embodiment of the present application is introduced below.

[0058] Figure 2 It is a schematic diagram of the structure of the electronic device 100 provided in an embodiment of the present application.

[0059] Among them, the electronic device 100 can be an intelligent terminal device, which can be of various types, and the embodiments of the present application do not limit its specific type. For example, the electronic device 100 can be, for example, a mobile phone 101 in the communication system 10, and can also be a tablet computer, a desktop computer, a laptop computer, a handheld computer, a laptop computer, a smart screen, an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a smart headset, a game console, and can also be a sports health monitoring device (or wearable device) for detecting the physiological state and motion state of the user, such as a smart watch, a smart bracelet 102 in the communication system 10, etc. Alternatively, the electronic device 100 can also be a car machine in a driving device such as a car machine in an electric car, a car machine of a car 103 in the communication system 10, and so on. Not limited to this, the electronic device 100 can also be an Internet of Things (IOT) device or a smart home device such as a smart TV, a laptop computer with a touch-sensitive surface or a touch panel, a desktop computer with a touch-sensitive surface or a touch panel, and other non-portable terminal devices, etc.

[0060] The following is a detailed description of the embodiment using the electronic device 100 as an example. It should be understood that the electronic device 100 may have more than Figure 2 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 2 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0061] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, a wireless communication module 160, an audio module 170, a speaker 170A, an earphone interface 170B, a sensor module 180, and a display screen 194, etc. The sensor module 180 may include a pressure sensor 180A, a touch sensor 180B, etc.

[0062] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0063] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0064] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0065] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the wireless communication module 160, the modem processor and the baseband processor.

[0066] The antenna 1 is used to transmit and receive electromagnetic wave signals.

[0067] The modulation and demodulation processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is transmitted to the application processor. The application processor can output a sound signal through an audio device (e.g., speaker 170A).

[0068] The wireless communication module 160 can provide a wireless communication solution applied to the electronic device 100. The wireless communication module 160 receives electromagnetic waves via the antenna 1, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 1.

[0069] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.

[0070] Display screen 194 is used to display images, videos, etc.

[0071] NPU is a neural network (NN) computing processor, which can quickly process input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn. Applications such as intelligent cognition of electronic equipment 100 can be realized through NPU. In an embodiment of the present application, NPU can also adjust the sound effect parameters of music based on driving state parameters and / or driving environment parameters through a neural network model, and / or adjust the sound effect parameters of music based on motion parameters and / or physiological parameters.

[0072] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0073] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, applications required for at least one function (such as face recognition function, fingerprint recognition function, mobile payment function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as face information template data, fingerprint information template, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0074] The electronic device 100 can implement audio functions, such as music playback, through the audio module 170, the speaker 170A, the headphone interface 170B, and the application processor.

[0075] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0076] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0077] The earphone jack 170B is used to connect a wired earphone.

[0078] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.

[0079] The touch sensor 180B is also called a "touch panel". The touch sensor 180B can be set on the display screen 194, and the touch sensor 180B and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180B is used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.

[0080] Not limited to the above components, the electronic device 100 may also include Figure 2More or fewer components as shown. For example, when the electronic device 100 is a sports health monitoring device such as a smart bracelet 102 or a smart watch, the electronic device 100 may also include a temperature sensor, an acceleration sensor, an air pressure sensor, a heart rate sensor, a blood oxygen sensor, a blood pressure sensor, a sleep monitoring sensor, and the like. Among them, the temperature sensor is used to detect the user's body temperature; the acceleration sensor is used to collect the acceleration of the electronic device's movement, and then judge the user's pace and movement distance; the air pressure sensor is used to measure the air pressure; the heart rate sensor is used to monitor the user's heart rate; the blood oxygen sensor is used to measure the oxygen saturation in the user's blood; the blood pressure sensor is used to detect the user's blood pressure, and the sleep monitoring sensor is used to monitor the user's sleep state. When the electronic device 100 is a car computer of a driving device such as a car 103 or an electric car, the electronic device 100 may also include a vehicle speed sensor, an acceleration sensor, a temperature sensor, a radar sensor, and the like. Among them, the speed sensor can be used to detect the speed of the driving device; the acceleration sensor is used to detect the acceleration of the driving device; the temperature sensor can be used to measure the temperature of the driving device's environment and / or the temperature inside the driving device's cabin; the radar sensor can be used to determine the flatness of the road, identify surrounding vehicles, pedestrians, etc. The present application embodiment does not limit the components that the electronic device 100 can include.

[0081] Figure 3 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0082] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the system is divided into four layers, from top to bottom: application layer, application framework layer, runtime and system library, and kernel layer.

[0083] The application layer can include a series of application packages.

[0084] like Figure 3 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, short message and other applications (also referred to as applications).

[0085] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0086] like Figure 3 As shown, the application framework layer may include a content provider, a view system, an audio player, a sound effect adjuster, a resource manager, and the like.

[0087] Content providers are used to store and retrieve data and make it accessible to applications. The above data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0088] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views.

[0089] The audio player is used to realize functions such as music playback and recording.

[0090] The sound effect adjuster is used to adjust the sound effect parameters based on one or more parameters among motion parameters, physiological parameters, driving state parameters and driving environment parameters.

[0091] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0092] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.

[0093] The core library consists of two parts: one part is the function that the programming language (for example, Java language) needs to call, and the other part is the core library of the system.

[0094] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the programming files (e.g., java files) of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0095] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0096] The surface manager is used to manage the display subsystem and provides the fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications.

[0097] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0098] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0099] A 2D graphics engine is a drawing engine for 2D drawings.

[0100] The kernel layer is a layer between hardware and software. The kernel layer includes at least a display driver, an audio driver, and a sound effect driver. Among them, the audio driver is used to drive an audio playback device such as a speaker 170A to play music; the sound effect driver is used to update the sound effect parameters of the music, and then the audio driver can play the music according to the updated sound effect parameters. In some embodiments, the sound effect driver and the audio driver can be integrated in the same driver.

[0101] The following describes a scenario in which the mobile phone 101 according to an embodiment of the present application adjusts the sound effect parameters of music.

[0102] Figure 4A-Figure 4N The following is an exemplary diagram of a series of user interactions (UI) involved in the sound effect adjustment method provided in the embodiment of the present application. like Figure 4A As shown, the mobile phone 101 displays a home screen interface 400, which may include desktop icons of one or more applications, including a music application icon 401. The mobile phone 101 may receive an operation performed by a user on the music application icon 401, and in response to the operation, the mobile phone 101 may start the music application and display the following information: Figure 4B The home page interface 410 of the music application is shown.

[0103] like Figure 4B As shown, the home page interface 410 of the music application may include multiple playlist recommendation cards and a music playback bar 411. The playlist recommendation cards include, for example, a hot song selection playlist, a "Good Morning Vitality" playlist, a pure music playlist, a hot song list playlist, a "Fresh and Good Songs That Suit Your Taste" playlist, a new song list playlist, and the like. When a playlist recommendation card receives a click operation from the user, the mobile phone 101 can enter the playlist corresponding to the clicked playlist recommendation card for the user to view and play the music in the playlist. The music playback bar 411 can display the song that was played most recently by the mobile phone 101. The music playback bar 411 may include the name of the song "Song AA" and the singer (or performer) of the song: singer A.

[0104] The mobile phone 101 can receive an operation of the user clicking the music playing bar 411, and in response to the operation, the mobile phone 101 can enter the following Figure 4CThe music playing interface 420 shown in the figure can display the information of the music being played, which can include the name of the music "Song AA" and the singer "Singer A". The music playing interface can also include a plurality of controls for controlling the music playing, which can include a sliding bar for displaying and controlling the progress of the music playing, a play control button 421 for controlling the music playing or pausing, a button for switching the music, and a sound effect button 422 for adjusting the sound effect.

[0105] like Figure 4C As shown, the mobile phone 101 can receive the user's operation on the sound effect button 422, and in response to the operation, the mobile phone 101 can display Figure 4D The sound effect adjustment interface 430 shown can be used to adjust the sound effect of music. Among them, the sound effect adjustment interface 430 can display the start and stop button of the dynamic sound effect function, the stored sound effect menu 433 and the return button 434.

[0106] The dynamic sound effect function may include a sports mode and a driving mode. In the sports mode, the mobile phone 101 may adjust one or more sound effect parameters of the music based on sports parameters and / or physiological parameters, wherein the sports parameters and / or physiological parameters may be collected by a sports health monitoring device such as a smart bracelet 102; in the driving mode, the mobile phone 101 may adjust one or more sound effect parameters of the music based on driving state parameters and / or driving environment parameters. The driving state parameters and / or driving environment parameters may be collected by a driving device such as a car 103.

[0107] In some embodiments, the mode of the dynamic sound effect function can be selected by the user. Figure 4D As shown, the start / stop button of the dynamic sound effect function may include a sports mode start / stop button 431 and a driving mode start / stop button 432. The sports mode start / stop button 431 is used to control the on / off of the sports mode of the dynamic sound effect function; the driving mode start / stop button 432 is used to control the on / off of the driving mode of the dynamic sound effect function.

[0108] In other embodiments, Figure 4D The embodiment shown is optional, and the mode of the dynamic sound effect function can also be determined by the mobile phone 101 based on the received parameter type. In this way, the mobile phone 101 can display a main switch ( Figure 4D (not shown) when the mobile phone 101 detects the user's operation of turning on the dynamic sound effect function, in response to the operation, the mobile phone 101 determines the mode in which the dynamic sound effect function is turned on.

[0109] The stored sound effect menu 433 can display sound effect options of one or more sound effects stored in the mobile phone 101, for example, it can include a sound effect A option and a sound effect B option, each of which can correspond to a mobile phone sound effect stored in the mobile phone 101, and is used to select a stored sound effect for editing, application, etc. It can be understood that the sound effect A and sound effect B here are actually sound effect parameters containing a series of specific values.

[0110] The return button 434 is used to return to the Figure 4C The music playing interface 420 is shown.

[0111] like Figure 4D As shown, mobile phone 101 can receive the user's operation on the start / stop button 431 of the sports mode. In response to the operation, mobile phone 101 can start the sports mode of the dynamic sound effect function and adjust the sound effect parameters based on the sports parameters and physiological parameters when the music starts playing.

[0112] like Figure 4E As shown, in the sports mode, the mobile phone 101 can display the status of the sports health monitoring device connected to the mobile phone. For example, the mobile phone 101 can display the logo of the currently connected sports health monitoring device such as "smart bracelet". The mobile phone 101 can receive an operation on the return button 434, and respond to the operation, such as Figure 4F As shown, the mobile phone 101 can return to the music playing interface 420.

[0113] The mobile phone 101 can receive the user's operation on the play control button 421. In response to the operation, the mobile phone 101 can start playing the song corresponding to the music playing interface 420, that is, song AA. The mobile phone 101 can play the music with the preset initial sound effect parameters.

[0114] Furthermore, the smart bracelet 102 can report motion parameters and physiological parameters to the mobile phone according to the preset period 1. The preset period 1 can be, for example, 10 seconds, 5 seconds or other time lengths, which is not limited in the embodiment of the present application; the mobile phone 101 can update the sound effects of the music based on the motion parameters and physiological parameters according to the preset period 2. The preset period 2 can be 10 seconds, 5 seconds, or other time lengths, which is not limited in the embodiment of the present application. The preset period 1 and the preset period 2 can be the same or different. The preset period 2 can be set by the user or preset by the mobile phone 101, which is not limited in the embodiment of the present application.

[0115] Exemplarily, if the preset period 1 and the preset period 2 are both 5 seconds, at the 05th second, the smart bracelet 102 can report the motion parameters and physiological parameters from the 00th second to the 05th second to the mobile phone 101, and then the mobile phone 101 can generate corresponding sound effect parameters based on the motion parameters and physiological parameters from the 00th second to the 05th second, and then adjust the sound effect parameters of the music; then, the smart bracelet 102 reports the motion parameters and physiological parameters from the 05th second to the 10th second at the 10th second, and the mobile phone 101 adjusts the sound effect parameters based on the received motion parameters and physiological parameters.

[0116] Exemplarily, if preset period 1 is different from preset period 2. Preset period 1 may be less than preset period 2. Taking preset period 1 as 5 seconds and preset period 2 as 10 seconds as an example, the smart bracelet 102 may report the motion parameters and physiological parameters collected from 00 seconds to 5 seconds at the 5th second, and report the motion parameters and physiological parameters collected from 05 seconds to 10 seconds to the mobile phone 101 at the 10th second. The mobile phone 101 may adjust the sound effects of the music based on the motion parameters and physiological parameters received from 00 seconds to 10 seconds. Then, the smart bracelet 102 may report the motion parameters and physiological parameters collected from 10 seconds to 15 seconds at the 15th second, and report the motion parameters and physiological parameters collected from 15 seconds to 20 seconds to the mobile phone 101 at the 20th second. The mobile phone 101 may adjust the sound effects of the music based on the motion parameters and physiological parameters received from 10 seconds to 20 seconds.

[0117] Among them, the mobile phone 101 can only report some parameters of the motion parameters and physiological parameters, for example, it can report the heart rate and motion acceleration, but not report the psychological stress index, body temperature, etc.

[0118] The way in which the driving device reports the driving state parameters and driving environment parameters to the mobile phone 101 can refer to the way in which the above-mentioned smart bracelet reports the motion parameters and physiological parameters to the mobile phone 101, which will not be repeated here.

[0119] Among them, the mobile phone 101 can adjust the sound effects of the music based on all the motion parameters and physiological parameters reported by the smart bracelet 102, or can adjust the sound effects of the music based on some of the motion parameters and physiological parameters reported by the smart bracelet 102. This embodiment of the application does not limit this.

[0120] The motion parameters and physiological parameters used by the mobile phone 101 when adjusting the sound effect multiple times may overlap or may not overlap, and the present application embodiment does not limit this. The above-mentioned overlap means that the mobile phone 101 uses the motion parameters and / or physiological parameters collected by the smart bracelet in the same time period when adjusting the sound effect parameters multiple times.

[0121] In some embodiments, when the user is not satisfied with the sound effect parameters of the music being played by the mobile phone 101, the sound effect parameters can be switched.

[0122] like Figure 4G As shown, after the mobile phone 101 turns on the dynamic sound effect function, a sound effect switching button 441 and a sound effect saving button 442 may be displayed. The sound effect switching button 441 is used to switch the currently used sound effect parameters, instructing the mobile phone 101 to readjust the sound effect parameters; the sound effect saving button 442 is used to store the currently used sound effect parameters.

[0123] like Figure 4H As shown, the mobile phone 101 can receive the user's operation on the sound effect switching button 441. In response to the operation, the mobile phone 101 can switch the sound effect parameters currently being used and regenerate new sound effect parameters. Among them, the mobile phone 101 can generate new sound effect parameters based on the motion parameters and physiological parameters in a longer time period or a shorter time period and then use the sound effect parameters to play music, or the mobile phone 101 can also increase or decrease the preset value of the switched sound effect parameters to obtain new sound effect parameters, and then generate new sound effect parameters, or the mobile phone 101 can also use the sound effect parameters used last time to play music.

[0124] Furthermore, the mobile phone 101 may also display a prompt box 443, and the prompt box 443 is used to indicate that the sound effect is switched successfully.

[0125] In some embodiments, the mobile phone 101 can also save the sound effects generated by the dynamic sound effect function. Fig. 4I As shown, the mobile phone 101 can receive the user's operation on the sound effect saving button 442. In response to the operation, the mobile phone 101 can store the sound effect parameters in use, and the mobile phone 101 can also display a prompt box 444, which is used to indicate that the sound effect is successfully stored, wherein the prompt box 444 can also include the name of the sound effect when it is stored: sound effect C, which can be preset by the mobile phone 101. In some embodiments, the name of the sound effect when it is stored can also be set by the user. It can be understood that sound effect C corresponds to a collection of a series of sound effect parameters stored.

[0126] In some embodiments, the sound effects stored in the mobile phone 101 can also be copied (or replicated) to other electronic devices, so that the user can directly use the sound effects stored when listening to audio on other electronic devices.

[0127] In some embodiments, the mobile phone 101 can also display the most recently generated or saved sound effects. Figure 4J As shown, the mobile phone 101 can receive the user's operation on the sound effect button 422, and in response to the operation, the mobile phone 101 can display Figure 4KThe sound effect adjustment interface 430 is shown.

[0128] like Figure 4K As shown, the sound effect adjustment interface 430 may display the recent sound effect menu 450 generated by the mobile phone 101. The recent sound effect menu 450 may include the sound effects recently generated by the mobile phone 101. The recent sound effect menu 450 may include one or more recently generated sound effect options. Each sound effect option may include the name of the sound effect and the time when the sound effect was generated. For example, the recent sound effect menu 450 may include sound effect 5, sound effect 6, and sound effect 7, where the generation time of sound effect 5 was 33 seconds ago, the generation time of sound effect 6 was 23 seconds ago, and the generation time of sound effect 7 was 3 seconds ago. Taking the current song progress as an example, Figure 4J Taking the 02:53 seconds shown in the figure as an example, sound effect 7 can be applied when the phone starts playing the song at 02:50, and sound effect 6 can be applied when the song is played at 02:30-02:50. Sound effect 5 can be applied when the song is played at 02:20-02:30. Among them, the duration of sound effect 5 is shorter than that of sound effect 6. This may be due to the following reasons: Figure 4H As shown, the mobile phone 101 switches the sound effect 5 in response to the user operation. Each sound effect in the recent sound effect menu 450 can be stored in the mobile phone 101 for a preset time, and the preset time can be, for example, 10 minutes, 20 minutes, or other time, which is not limited in the embodiment of the present application. The preset time can be set by the user or preset by the mobile phone 101. When the preset time of the sound effect storage exceeds the preset time, and the mobile phone 101 does not receive the operation of saving the sound effect, the mobile phone 101 can delete the sound effect.

[0129] The stored sound effect menu 433 may display a newly stored sound effect option of the mobile phone 101: sound effect C. The sound effect option may be selected in the following manner: Fig. 4I The mobile phone shown saves and displays the sound effect in response to the user clicking the sound effect save button 442 .

[0130] In some embodiments, the mobile phone 101 can save or apply the sound effects generated historically. Figure 4K As shown, the mobile phone 101 can receive the operation of the user clicking the sound effect option corresponding to the sound effect 5, and in response to the operation, the mobile phone 101 can display the following Figure 4L The dialog box 451 shown is used to edit the sound effect 5. Figure 4LAs shown, the dialog box 451 may display the name of the sound effect 5 (sound effect 5), the time when the sound effect 5 was generated (8:01:30, 1 minute ago), a save button 452 and an apply button 453. The save button 452 is used to store the sound effect 5 in the memory of the mobile phone 101 or the cloud server. The apply button 453 is used to apply the sound effect 5 to subsequent music playback.

[0131] like Figure 4L As shown, the mobile phone 101 can receive an operation of the user acting on the save button 452, and in response to the operation, the mobile phone 101 can store the sound effect 5. Figure 4M As shown, after the mobile phone 101 stores the sound effect 5, the sound effect options corresponding to the sound effect 5 can be displayed in the stored sound effect menu 433.

[0132] The mobile phone 101 can receive the user's operation on the sound effect 5 corresponding to the sound effect option, and in response to the operation, the mobile phone 101 can display the following information: Figure 4N The sound effect details interface 460 shown in the figure can edit or apply the sound effect 5. For example, the sound effect details interface 460 can include a modify sound effect name button 461, a use sound effect button 462, and a delete sound effect button 463. Among them, the modify sound effect name button 461 is used to change the sound effect of the sound effect 5, the use sound effect button 462 is used to apply the sound effect 5, and the delete sound effect button 463 is used to delete the sound effect of the sound effect 5.

[0133] like Figure 4N As shown, the mobile phone 101 can receive the user's operation of using the sound effect button 462, and in response to the operation, the mobile phone 101 can apply the sound effect 5 to continue playing the subsequent music. It can be understood that the mobile phone 101 uses the sound effect 5 to play the music, that is, it uses a series of sound effect parameters corresponding to the sound effect 5 to play the music. In some embodiments, in response to the user clicking the operation of using the sound effect button 462, the mobile phone 101 can also apply the sound effect 5 only to part of the music, and the above-mentioned part of the music can be music that meets the preset conditions. The above-mentioned preset conditions can be, for example, that the music is in a certain playlist, and the playlist can be set by the user or provided by the cloud server.

[0134] Not limited to music applications, the mobile phone 101 can also be used in other applications based on the sports parameters and / or physiological parameters collected by the sports health monitoring device, and the embodiments of the present application do not limit this.

[0135] The scenario in which the mobile phone 101 adjusts the sound effect parameters of the music in the driving mode can refer to the scenario in which the mobile phone 101 adjusts the sound effect parameters of the music in the sports mode, which will not be repeated here.

[0136] Figure 5This is a flow chart of the mobile phone 101 adjusting the sound effect parameters of music provided in an embodiment of the present application.

[0137] like Figure 5 As shown, the mobile phone 101 may adjust the sound effect parameters of the music by the following steps: S501. Connect a sports health monitoring device and / or a driving device.

[0138] S502: Acquire exercise parameters and physiological parameters from exercise health monitoring equipment.

[0139] S503: Acquire driving state parameters and driving environment parameters from the driving device.

[0140] The mobile phone 101 can establish a communication connection with a sports health monitoring device (such as a smart bracelet 102) and / or a driving device (such as a car 103), and then the mobile phone 101 can obtain the sports parameters and physiological parameters reported by the sports health monitoring device according to a preset cycle 1, and / or the driving state parameters and driving environment parameters reported by the driving device according to a preset cycle 3.

[0141] Among them, the motion parameters may include but are not limited to the user's pace and motion acceleration, and the physiological parameters may include but are not limited to the user's heart rate, psychological stress index, and body temperature. Among them, the smart bracelet 102 may store the user's initial heart rate, which may be the user's heart rate when there is no strenuous exercise, or may be the mode or average of the user's heart rate value in a certain time period. The smart bracelet 102 may divide the difference between the real-time heart rate and the initial heart rate by the time length of the preset cycle 1 (that is, the time interval between two consecutive parameter reports of the sports health monitoring device) to obtain the user's heart rate change rate, that is, the user's heart rate change rate = (real-time heart rate-initial heart rate) / the time length of the preset cycle 1. The motion acceleration may be determined based on the pace collected by the sports health monitoring device, for example, (pace 1-pace 2) / the time interval between the time point when pace 1 is collected and the time point when pace 2 is collected. The motion acceleration may include the acceleration of the user's motion in one or more time periods within the preset cycle 1. Alternatively, the motion acceleration may also be directly measured by an acceleration sensor. Assuming that the period of two consecutive data reports by the smart bracelet 102 is 10 seconds, the movement acceleration from the 0th second to the 1st second in the period = (the walking speed of the 1st second - the walking speed of the 0th second) / 1 second, the movement acceleration from the 0th second to the 2nd second = (the walking speed of the 2nd second - the walking speed of the 0th second) / 2 seconds, and the movement acceleration from the 0th second to the 10th second = (the walking speed of the 10th second - the walking speed of the 0th second) / 10 seconds. The smart bracelet 102 can report the acceleration of one or more time periods in the period for the mobile phone 101 to determine the sound effect parameters.

[0142] The driving state parameters may include but are not limited to the speed and driving acceleration of the driving device, and the driving environment parameters may include but are not limited to the road conditions, the temperature at the location of the driving device, and the like. The road conditions may be obtained by the radar sensor of the driving device after detecting the surrounding vehicles, or may be obtained by the driving device from the network; the temperature may be measured by the temperature sensor of the driving device, or may be obtained by the driving device from the network. The driving acceleration may be determined by the driving device based on the vehicle speed, wherein the driving acceleration may be calculated as (vehicle speed 1-vehicle speed 2) / the time interval between the time point when the vehicle speed 1 is collected and the time point when the vehicle speed 2 is collected. The driving acceleration may be calculated by referring to the above-mentioned motion acceleration calculation method. For example, assuming that a reporting cycle of the driving device is 10 seconds, the driving acceleration from the 0th second to the 10th second = (vehicle speed at the 10th second-vehicle speed at the 0th second) / 10 seconds. The car 103 may report the driving acceleration of one or more time periods within a cycle. Among them, the reporting period can be the time period between two consecutive sports parameters and physiological parameters of the sports health monitoring device, or the time period between two consecutive driving state parameters and driving environment parameters of the driving device.

[0143] S504: Determine a dynamic sound effect mode.

[0144] The mobile phone 101 can determine the dynamic sound effect mode, wherein the dynamic sound effect mode can include a sports mode and a driving mode. For the introduction of the sports mode and the driving mode, please refer to the above embodiments, which will not be repeated here. The mobile phone 101 can determine the dynamic sound effect mode based on the user operation, for example Figure 4D The embodiment shown. Alternatively, the mobile phone 101 can also autonomously determine the dynamic sound effect mode. For example, when the mobile phone 101 is only connected to one device, the mobile phone 101 can determine the dynamic sound effect mode based on the device type. For example, if the mobile phone is only connected to a sports health monitoring device, the dynamic sound effect mode is the mobile phone. Alternatively, the mobile phone 101 can determine the dynamic sound effect mode based on the acquired parameter source. For example, when the mobile phone 101 acquires sports parameters and / or physiological parameters, the mobile phone 101 can also determine that the dynamic sound effect mode is the sports mode. When the mobile phone 101 is connected to multiple types of devices at the same time, the mobile phone 101 can set a priority. For example, when the mobile phone is connected to both a sports health monitoring device and a driving device, the mobile phone can give priority to the driving mode.

[0145] S505: Determine sound effect parameters based on motion parameters and physiological parameters using a motion model.

[0146] When the mobile phone 101 determines that the dynamic sound effect mode is the motion mode, the mobile phone 101 can use the motion model to process the motion parameters and the physiological parameters to obtain the sound effect parameters. The motion model can also be called a first neural network, and the motion model can include one or more neural network models. The mobile phone 101 can adjust only part of the sound effect parameters each time, without having to adjust all the sound effect parameters.

[0147] Among them, the neural network model is a mathematical model composed of a large number of nodes (or neurons) connected to each other. The neural network model can include an input layer, a hidden layer, and an output layer. The input layer is used to receive data input, and the input layer is usually the first layer of the neural network model; the hidden layer is the middle processing layer, and the hidden layer can contain multiple layers, for example, the hidden layer can include a convolution layer, a pooling layer, a fully connected layer, an activation layer, etc. The layers can be locally connected, for example, any neuron in the i+1th layer is only connected to some adjacent neurons in the ith layer, or the layers can be fully connected, for example, any neuron in the i+1th layer is connected to all neurons in the ith layer; the output layer is used to output the final processing results.

[0148] In some embodiments, the mobile phone 101 can determine the audio loudness in the sound effect parameters based on the user's heart rate. Among them, the higher the user's heart rate, the higher the audio loudness. This is because when the heart rate is high, people are often in a more excited state, so the mobile phone 101 can increase the audio loudness to adapt to the excited state of the person. Optionally, when the user's heart rate exceeds a preset threshold, the mobile phone 101 can reduce the audio loudness to reduce the user's psychological excitement. Among them, the mobile phone 101 can also add the sound of rock and percussion instruments to the background music of the music, etc.

[0149] In some embodiments, the mobile phone 101 can determine the playing speed in the sound effect parameters based on the motion acceleration. When the user accelerates and sprints, the acceleration increases, and the mobile phone 101 can increase the playing speed of the song to match the user's excitement.

[0150] In some embodiments, the mobile phone 101 can determine the frequency response gain based on the heart rate change rate. When the user is in an excited state, the heart rate changes faster. At this time, the user often wants to hear the medium frequency and high frequency sounds. The mobile phone 101 can increase the gain of the medium frequency signal and the high frequency signal in the music. Correspondingly, the mobile phone 101 can also reduce the gain of the low frequency signal in the music. When the user is jogging, the heart rate changes slowly. At this time, the user wants to hear the low frequency sound more. The mobile phone 101 can increase the gain of the low frequency signal in the music. Correspondingly, the mobile phone 101 can also reduce the gain of the medium frequency signal and the high frequency signal in the music.

[0151] In some embodiments, the mobile phone 101 can determine the reverberation delay based on body temperature and psychological stress index. When the body temperature is high, the mobile phone 101 can increase the reverberation delay, because when the reverberation delay is high, it will feel like listening to music in a more spacious room, which will make the user feel cool psychologically. When the user's psychological stress is high, the psychological stress index is also high, then the mobile phone 101 can increase the reverberation delay to make the song seem more soothing.

[0152] It should be noted that when the mobile phone 101 determines the sound effect parameters based on the parameters, it can be based on the average value, weighted average value, etc. of the parameters within the above-mentioned reporting cycle, or the value of the parameters at some time points (which can be one or more) within a cycle, or the value of all parameter values ​​collected within a cycle to determine the sound effect parameters, and the embodiment of the present application will not be repeated here. For example, the mobile phone 101 can determine the audio loudness based on the average heart rate of the user within a reporting cycle of the smart bracelet, or it can determine the audio loudness based on the heart rate at some time points within a reporting cycle, or it can also determine the audio loudness based on all heart rate values ​​collected by the smart bracelet within a reporting cycle. For another example, the mobile phone 101 can determine the playback speed based on the motion acceleration of multiple time periods within a reporting cycle, and the motion acceleration of multiple time periods can include, for example, the acceleration of the first 2 seconds, the acceleration of the first 4 seconds, the acceleration of the first 6 seconds, etc. within the cycle, or the mobile phone 101 can determine the playback speed based on the motion acceleration of 1 time period within a reporting cycle, such as the motion acceleration within the time period included in the entire reporting cycle, and so on.

[0153] The adjustment method is not limited to the above, and other adjustment methods may be used. In addition to adjusting each sound effect parameter based on the above parameters, the mobile phone 101 may also adjust based on other physiological parameters or psychological parameters, or multiple parameters may be used to adjust a certain sound effect parameter. For example, when the user's heart rate is high, the mobile phone 101 may also increase the music playback speed, the frequency response gain of the middle and high frequencies to increase the dynamics of the music, adapt to the user's excitement, etc. When the user's psychological stress index is high, the mobile phone 101 may also reduce the playback speed, increase the song's gain at low frequencies, etc., to make the music more soothing and relieve the user's nervous mood.

[0154] In some embodiments, the mobile phone 101 can jointly adjust one or more sound effect parameters based on multiple parameters. The same sound effect parameter can be affected by multiple parameters among motion parameters and physiological parameters. The mobile phone 101 can input motion parameters and physiological parameters into the neural network, and the neural network can output the values ​​of multiple sound effect parameters based on the motion parameters and physiological parameters. For example, the mobile phone 101 can store a neural network model A, which can receive inputs of motion parameters (such as walking speed, motion acceleration) and physiological parameters (such as heart rate, heart rate change rate, pressure, body temperature), and output multiple sound effect parameters such as audio loudness, playback speed, frequency response gain, reverberation delay, etc., wherein the value of each sound effect parameter will be affected by one or more motion parameters and one or more physiological parameters; or, the mobile phone 10 The value of the sound effect parameter can also be calculated by a polynomial. For example, the mobile phone 101 can adjust the audio playback speed based on the heart rate and the walking speed. For example, every time the heart rate increases by 10 times, the mobile phone 101 increases the audio playback speed according to the factor A. Every time the walking speed increases by 0.5 m / s, the mobile phone 101 can increase the audio playback speed according to the factor B. Then, the increase in the audio speed = factor A*{(heart rate change) / 10}+factor B*{walking speed change / 0.5}. The above-mentioned factor A can be, for example, 0.01 or 0.02, and the factor B can be, for example, 0.01 or 0.02. The embodiment of the present application does not limit this.

[0155] Not limited to the motion parameters and physiological parameters mentioned above, the smartphone can also collect other motion parameters and physiological parameters, and the mobile phone 101 can adjust the sound effect parameters based on other motion parameters and physiological parameters, which is not limited in this embodiment of the present application.

[0156] S506: Determine sound effect parameters based on driving state parameters and driving environment parameters using a driving model.

[0157] When the mobile phone 101 determines that the dynamic sound effect mode is the driving mode, the mobile phone 101 can use the driving model to process the driving state parameters and the driving environment parameters to obtain the sound effect parameters. The driving model can also be called a second neural network, and the driving model can include one or more neural network models.

[0158] In some embodiments, the mobile phone 101 can determine the audio loudness based on the vehicle speed. When the driving device is traveling at a high speed, the noise is often louder, and the mobile phone 101 can increase the audio loudness to prevent the music from being covered by the noise. Optionally, in order to ensure driving safety, the mobile phone 101 can also reduce the playing speed of the music when the vehicle speed is too high to reduce the dynamics of the music and reduce the user's excitement.

[0159] In some embodiments, the mobile phone 101 can determine the playing speed of the music based on the driving acceleration. When the driving acceleration increases, the driving device is in an accelerated state, and the mobile phone 101 can increase the playing speed to match the user's excitement. When the driving acceleration decreases, the driving device decelerates and may enter a congested road section, the mobile phone 101 can reduce the playing speed to ease the user's mood.

[0160] In some embodiments, the mobile phone 101 can adjust the frequency response gain based on one or more of the vehicle speed and the road condition. When the road condition is congested and / or the vehicle speed is slow, the mobile phone 101 can weaken the dynamic type of the song, reduce the frequency response gain of the intermediate frequency and high frequency signals, and then increase the frequency response gain of the low frequency signal. Alternatively, when the road condition is congested and / or the vehicle speed is fast and slow, the mobile phone 101 can also reduce the frequency response gain of the intermediate frequency and high frequency signals, and then increase the frequency response gain of the low frequency signal. Among them, the mobile phone 101 can determine the number of surrounding vehicles based on the radar sensor and / or obtain the road congestion from the network, and then the mobile phone 101 can quantify the congestion into a numerical value based on the number of surrounding vehicles, the length of the congested distance obtained from the network, the congestion time and other data, and then input the quantification result into the second neural network. The above-mentioned vehicle speed fluctuates may refer to the number of times the vehicle speed is lower than the vehicle speed threshold A in a collection cycle exceeds the number of times A, and the number of times higher than the vehicle speed threshold B exceeds the number of times B. For example, the times A and B are 1, and the vehicle speed is lower than 10 kilometers per hour (vehicle speed threshold A) and higher than 40 kilometers per hour many times in one reporting data cycle of the driving device. The values ​​of the times A, times B, vehicle speed threshold A, and vehicle speed threshold B are only examples and do not constitute limitations of the embodiments of the present application.

[0161] In some embodiments, the mobile phone 101 may determine the reverberation delay based on the temperature of the location of the driving device. When the temperature is high, the mobile phone 101 may increase the reverberation delay, because when the temperature is high, the user may be hot, and a longer reverberation delay will appear spacious and make people feel cool. Correspondingly, when the temperature is low, the mobile phone 101 may also reduce the reverberation delay. Optionally, the mobile phone 101 may also determine the reverberation delay based on the temperature of the cabin inside the driving device.

[0162] The adjustment method is not limited to the above, and other adjustment methods may be used. Each of the above sound effect parameters may also be adjusted based on other driving state parameters and driving environment parameters. For example, when the road is congested, the mobile phone 101 may also reduce the playing speed of the music, so that the music is more relaxed.

[0163] The above-mentioned driving state parameters and driving environment parameters are only used as examples and do not constitute limitations of the embodiments of the present application. The driving device can obtain more or fewer driving state parameters and driving environment parameters. In this way, the mobile phone 101 can adjust the sound effect parameters based on more or fewer driving state parameters and driving environment parameters. For example, the driving device can also determine the complexity of the user's route or the degree of road congestion when driving. When the road is complex and / or the road is congested, the mobile phone 101 can also make the music more soothing. For example, lower the loudness of the audio, reduce the playback speed of the music, reduce the mid-high frequency response gain, etc., to soothe the user's impatient state.

[0164] In some embodiments, the mobile phone 101 may not distinguish between the motion model and the driving model. When the mobile phone 101 is connected to both the sports health monitoring device and the driving device, the mobile phone 101 may adjust the sound effect based on one or more parameters of the motion parameters, physiological parameters, driving state parameters, and driving environment parameters. For example, when the mobile phone 101 can monitor the sleep quality of a person through a smart bracelet, when the sleep quality is poor, the user's fatigue level is high, and when the vehicle is approximately in a uniform driving state (acceleration is close to 0), the mobile phone 101 can increase the audio loudness, increase the playback speed, increase the intermediate frequency and high frequency signal gain, etc., to improve the rhythm of the song, thereby invigorating the user's spirit and avoiding danger when the user is driving in a relatively tired state.

[0165] The sound effect parameters are not limited to those mentioned in S505 and S506, but may also include other sound effect parameters. The embodiment of the present application does not limit the sound effect parameters that can be adjusted by the mobile phone 101 based on the above parameters such as motion parameters, physiological parameters, driving state parameters, and driving environment parameters.

[0166] The above-mentioned determination or adjustment of sound effect parameters based on motion parameters and physiological parameters may refer to inputting one or more of the motion parameters and physiological parameters into the first neural network to obtain the sound effect parameters, or may refer to calculating the sound effect parameters by means of a polynomial. Similarly, determining or adjusting sound effect parameters based on driving state parameters and driving environment parameters may refer to inputting one or more of the driving state parameters and driving environment parameters into the second neural network to obtain the sound effect parameters, or may refer to calculating the sound effect parameters by means of a polynomial. For example, the mobile phone 101 determines the playing speed of music based on driving acceleration, which means that the mobile phone 101 inputs the driving acceleration into the second neural network to obtain the playing speed of music, or the mobile phone 101 may calculate by means of a polynomial, such as the playing speed of music may be = driving acceleration × factor C.

[0167] S507: Update sound effect parameters.

[0168] After the mobile phone 101 adjusts the sound effect parameters, the sound effect parameters in the mobile phone 101 can update the sound effect parameters so that they are applied to the player of the application that is playing music. The application can be a music application or other application that can play music, and this embodiment of the application does not limit this.

[0169] Figure 6 It is a flow chart of the sound effect adjustment method provided in an embodiment of the present application.

[0170] like Figure 6 As shown, the method may include but is not limited to the following steps: S601: A first electronic device plays a first audio.

[0171] The first electronic device may be, for example, a mobile phone 101 in the communication system 10. Not limited thereto, the first electronic device may also be other types of devices, which is not limited in the embodiments of the present application.

[0172] refer to Figure 4F In the embodiment shown, the first electronic device can play the first audio in response to the user clicking the play control button 421. Among them, the first electronic device can use the second sound effect parameter to play the first audio. The second sound effect parameter can be a sound effect parameter set by the user, or a sound effect parameter stored by the first electronic device, or the second sound effect parameter can also be obtained by the first electronic device based on the second data collected by the second electronic device. The second data may include motion parameters and physiological parameters, and / or the second data includes driving state parameters and / or driving environment parameters. The time period in which the second data is collected can be the same, partially the same, or completely different from the time period in which the first data is collected.

[0173] S602: The first electronic device obtains first data collected by the second electronic device, where the first data includes motion parameters and physiological parameters, and / or the first data includes driving state parameters and / or driving environment parameters.

[0174] S603: The first electronic device adjusts the sound effect parameters of the first audio based on the first data to obtain first sound effect parameters.

[0175] The first electronic device can adjust the sound effect parameters of the first audio based on the first data collected by the second electronic device, so that the sound effect parameters of the first audio during playback change based on the data collected by the second electronic device. When the first data is a motion parameter or a physiological parameter, the introduction of the method for adjusting the sound effect parameters based on the first data can refer to the aforementioned step S502, and when the first data is a driving state parameter or a driving environment parameter, the introduction of the method for adjusting the sound effect parameters based on the first data can refer to the aforementioned step S503.

[0176] The method for the first electronic device to determine the first sound effect parameter based on the first data can refer to Figure 5 The description of the illustrated embodiment will not be repeated here.

[0177] In some embodiments, the first sound effect parameter is obtained by the first electronic device processing the motion parameter and the physiological parameter through the first neural network, and the first neural network is used to determine one or more sound effect parameters based on the motion parameter and the physiological parameter. Optionally, the second electronic device is a sports health monitoring device, and the first data includes the motion parameter and the physiological parameter.

[0178] For example, the second electronic device may be Figure 1 In the smart bracelet 102 shown, the second electronic device can report the motion parameters and physiological parameters to the first electronic device. In this way, the first electronic device can process the motion parameters and physiological parameters through the first neural network to obtain the first sound effect parameters. In the embodiment of the present application, the first neural network can also be called a motion model. When the first data is the motion parameters and physiological parameters, the method for the first electronic device to determine the first sound effect parameters can refer to Figure 5 Step S505 in the illustrated embodiment will not be described in detail here.

[0179] In some embodiments, the first sound effect parameter is obtained by the first electronic device processing the driving state parameter and / or the driving environment parameter through the second neural network, and the second neural network is used to determine one or more sound effect parameters based on the driving state parameter and / or the driving environment parameter. Optionally, the second electronic device is a driving device, and the first data includes the driving state parameter and / or the driving environment parameter.

[0180] The second neural network may be referred to as a driving model. The first electronic device may input the driving state parameter and / or the driving environment parameter into the second neural network, and the second neural network may output one or more sound effect parameters. The method for the first electronic device to determine the first sound effect based on the driving state parameter and / or the driving environment parameter may refer to the aforementioned Figure 5 Step S506 in the illustrated embodiment will not be described in detail here.

[0181] When the first data are motion parameters and physiological parameters, the first electronic device processes the first data through a first neural network to obtain first sound effect parameters; when the first data are driving state parameters and / or driving environment parameters, the first electronic device processes the first data through a second neural network to obtain first sound effect parameters; wherein the input of the first neural network is motion parameters and physiological parameters, and the output is one or more sound effect parameters, and the input of the second neural network is driving state parameters and / or driving environment parameters, and the output is one or more sound effect parameters.

[0182] When the first data is a motion parameter and a physiological parameter, the first electronic device can determine that the dynamic sound effect function is a motion mode, and then the first neural network can use the first neural network to process the first data; when the first data is a driving state parameter and a driving environment parameter, the dynamic sound effect function of the first electronic device is a driving mode, and then the second neural network is used to process the first data. The way in which the first electronic device determines the mode of the dynamic sound effect function can refer to Figure 5 Step S504 in the illustrated embodiment will not be described in detail here.

[0183] In some embodiments, when the second electronic device is a sports health monitoring device, the first electronic device receives the motion parameters and physiological parameters sent by the second electronic device at a first time length, and the first electronic device updates the sound effect parameters based on the motion parameters and physiological parameters at a second time length.

[0184] Among them, the sports health monitoring device can report the sports parameters and / or physiological parameters once every first time length, and the first time length can also be called preset period 1. The first electronic device can update the sound effect parameters every second time length, and the second time length can also be called preset period 2. The relationship between preset period 1 and preset period 2 can be referred to the above introduction, and it will not be repeated here.

[0185] In some embodiments, when the second electronic device is a driving device, the first electronic device receives driving status parameters and / or driving environment parameters sent by the second electronic device every third time length, and the first electronic device updates the sound effect parameters based on the driving status parameters and / or driving environment parameters every fourth time length.

[0186] The driving device may report the driving state parameters and / or driving environment parameters once every third time length, and the third time length may also be referred to as preset period 3. The period (fourth time length) at which the first electronic device updates the sound effect parameters may be the same as or different from the time period (third time length) at which the driving device reports the parameters, and this is not limited in this embodiment of the present application. The relationship between the third time length and the fourth time length may refer to the relationship between the first time length and the second time length, and will not be repeated here.

[0187] In some embodiments, the parameter in the first data and the threshold value corresponding to the parameter satisfy the first condition.

[0188] That is to say, the second electronic device can compare the parameter in the first data with the threshold value corresponding to the parameter, and report the data only when the parameter in the first data and the threshold value corresponding to the parameter meet the first condition, so that the second electronic device can eliminate the interference caused by some subtle movements that affect the sound effect. Exemplarily, taking the first data including motion parameters and physiological parameters as an example, the second electronic device can set a pace threshold for the pace in the motion parameters, and the pace threshold can be 1m / s. The second electronic device can also set a body temperature threshold for the body temperature, and the body temperature threshold can be 37°C. The second electronic device can report data only when there is a parameter exceeding the corresponding threshold value. For example, only when the user's body temperature exceeds 37°C, the second electronic device reports the motion data and physiological parameters to the first electronic device. Alternatively, the second electronic device can also only report data that exceeds the corresponding threshold value. For example, when the user's body temperature exceeds 37°C and the pace does not exceed the pace threshold value, the second electronic device can only report the body temperature without reporting other parameters such as pace. In this way, the first electronic device can adjust the sound effect parameters based only on the body temperature, or the first electronic device can adjust the sound effect based on the body temperature and other motion parameters and physiological parameters reported by the second electronic device for the last time. In the above example, the first condition can include the pace exceeding the pace threshold and the body temperature exceeding the body temperature threshold.

[0189] In some embodiments, the motion parameters include one or more of the following: speed, motion acceleration, and the physiological parameters include one or more of the following: heart rate, heart rate change rate, psychological stress index, and body temperature. Among them, the relationship between the first sound effect parameter and the first data includes one or more of the following: the faster the heart rate, the higher the audio loudness; the faster the heart rate change rate, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the faster the heart rate change rate, the smaller the frequency response gain of the low frequency signal; the higher the psychological stress index, the longer the reverberation delay; the higher the body temperature, the longer the reverberation delay; the greater the motion acceleration, the faster the playback speed.

[0190] Among them, each first sound effect parameter can be determined by one of the motion parameters and physiological parameters, or can be determined by multiple parameters, and the embodiment of the present application is not limited to this.

[0191] In some embodiments, the driving state parameter includes one or more of the following: vehicle speed, driving acceleration, and the driving environment parameter includes one or more of the following: road conditions and temperature at the location of the first driving device. Among them, the relationship between the first sound effect parameter and the first data may include one or more of the following: the faster the vehicle speed, the higher the audio loudness; the greater the driving acceleration, the faster the playback speed; the faster the vehicle speed, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the more congested the road condition, the smaller the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the lower the temperature, the shorter the reverberation delay.

[0192] In some embodiments, after the first electronic device adjusts the sound effect parameters of the first audio based on the first data, the method also includes: the first electronic device receives a first user operation to store the first sound effect parameters, and in response to the first user operation, the first electronic device stores the first sound effect parameters.

[0193] by Fig. 4I Taking the illustrated embodiment as an example, the first user operation may be, for example, an operation of clicking the sound effect save button 442. In response to this operation, the first electronic device may store the sound effect C, where the sound effect C may be referred to as a first sound effect parameter.

[0194] In some embodiments, after the first electronic device stores the first sound effect parameter, the method further includes: the first electronic device receives a second user operation of applying the first sound effect parameter, and in response to the second user operation, the first electronic device plays audio using the first sound effect parameter.

[0195] by Figure 4N Taking the illustrated embodiment as an example, the second user operation may be, for example, an operation in which the user clicks on the use sound effect button 462. In response to this operation, the first electronic device may use the first sound effect parameters for subsequent audio playback.

[0196] The following describes an apparatus for executing the above method provided in an embodiment of the present application.

[0197] Figure 7 1 is a schematic diagram of the structure of a music playing device 700 provided in an embodiment of the present application. The music playing device 700 may be an electronic device in an embodiment of the present application, or a chip or chip system in an electronic device.

[0198] like Figure 7 As shown, the music playing device 700 may include a communication unit 701 , a playing unit 702 , and a sound effect adjustment unit 703 .

[0199] The communication unit 701 is used to establish a communication connection with the second electronic device; the playback unit 702 is used to play the first audio. The communication unit 701 is also used to obtain the first data collected by the second electronic device, the first data includes motion parameters and physiological parameters, or the first data includes driving state parameters and / or driving environment parameters; the sound effect adjustment unit 703 is used to adjust the sound effect parameters of the first audio based on the first data to obtain the first sound effect parameters.

[0200] In some embodiments, the first sound effect parameter is obtained by the sound effect adjustment unit 703 after processing the motion parameter and the physiological parameter through the first neural network, and the first neural network is used to determine one or more sound effect parameters based on the motion parameter and the physiological parameter. Optionally, the second electronic device is a sports health monitoring device, and the first data includes the motion parameter and the physiological parameter.

[0201] In some embodiments, the first sound effect parameter is obtained by the sound effect adjustment unit 703 after processing the driving state parameter and / or the driving environment parameter through the second neural network, and the second neural network is used to determine one or more sound effect parameters based on the driving state parameter and / or the driving environment parameter. Optionally, the second electronic device can be a driving device, and the first data includes the driving state parameter and / or the driving environment parameter.

[0202] In some embodiments, when the first data is motion parameters and physiological parameters, the sound effect adjustment unit 703 is used to process the first data through a first neural network to obtain first sound effect parameters; when the first data is driving state parameters and / or driving environment parameters, the sound effect adjustment unit 703 is used to process the first data through a second neural network to obtain first sound effect parameters; wherein the input of the first neural network is motion parameters and physiological parameters, and the output is one or more sound effect parameters, and the input of the second neural network is driving state parameters and / or driving environment parameters, and the output is one or more sound effect parameters.

[0203] In some embodiments, when the second electronic device is a sports health monitoring device, the communication unit 701 is used to receive motion parameters and physiological parameters sent by the second electronic device at intervals of a first time length, and the sound effect adjustment unit 703 can be used to update the sound effect parameters based on the motion parameters and physiological parameters at intervals of a second time length.

[0204] In some embodiments, when the second electronic device is a driving device, the communication unit 701 is used to receive driving state parameters and / or driving environment parameters sent by the second electronic device every third time length, and the sound effect adjustment unit 703 is used to update the sound effect parameters based on the driving state parameters and / or driving environment parameters every fourth time length.

[0205] In some embodiments, the music playback device 700 also includes an operation receiving unit and a storage unit, wherein after the sound effect adjustment unit 703 adjusts the sound effect parameters of the first audio based on the first data, the operation receiving unit is used to receive a first user operation to store the first sound effect parameters, and the storage unit is used to store the first sound effect parameters in response to the first user operation.

[0206] In some embodiments, after the storage unit stores the first sound effect parameter, the operation receiving unit is further used to receive a second user operation of applying the first sound effect parameter, and in response to the second user operation, the sound effect adjustment unit 703 is used to play audio using the first sound effect parameter.

[0207] Figure 8 Schematic diagram of the structure of a chip provided in an embodiment of the present application. Figure 8As shown, the chip 800 includes one or more (including two) processors 801 , a communication line 802 and a communication interface 803 . Optionally, the chip 800 also includes a memory 804 .

[0208] In some implementations, the memory 804 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.

[0209] The method described in the above embodiment of the present application can be applied to the processor 801, or implemented by the processor 801. The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 801. The above processor 801 can be a general processor (for example, a microprocessor or a conventional processor), a digital signal processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates, transistor logic devices or discrete hardware components. The processor 801 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0210] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a mature storage medium in the field such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read only memory (EEPROM). The storage medium is located in the memory 804, and the processor 801 reads the information in the memory 804 and completes the steps of the above method in combination with its hardware.

[0211] The processor 801 , the memory 804 , and the communication interface 803 may communicate with each other via the communication line 802 .

[0212] In the above embodiments, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product, wherein the computer program product may be pre-written in the memory, or may be downloaded and installed in the memory in the form of software.

[0213] The embodiment of the present application also provides a computer program product, which includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, the available medium may include a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0214] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. The above method is implemented when the computer program or instruction is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0215] As a possible design, the computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disk storage; the computer-readable medium may include a magnetic disk storage or other magnetic disk storage device. Moreover, any connection line may also be appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of the medium. Disks and optical disks as used herein include compact disks (CDs), laser disks, optical disks, DVDs, floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.

[0216] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0217] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0218] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0219] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

Claims

1. A method for adjusting sound effects, It is characterized in that The method is applied to a first electronic device, the first electronic device establishes a communication connection with a second electronic device, and the method includes: The first electronic device plays a first audio; The first electronic device acquires first data collected by the second electronic device, where the first data includes motion parameters and physiological parameters, or the first data includes driving state parameters and / or driving environment parameters; The first electronic device adjusts the sound effect parameters of the first audio based on the first data to obtain first sound effect parameters.

2. The method according to claim 1, It is characterized in that The first sound effect parameter is obtained after the first electronic device processes the motion parameter and the physiological parameter through a first neural network, and the first neural network is used to determine one or more sound effect parameters based on the motion parameter and the physiological parameter.

3. The method according to claim 2, It is characterized in that The second electronic device is a sports health monitoring device, and the first data includes the sports parameters and the physiological parameters.

4. The method according to claim 1, It is characterized in that The first sound effect parameter is obtained after the first electronic device processes the driving state parameter and / or the driving environment parameter through a second neural network, and the second neural network is used to determine one or more sound effect parameters based on the driving state parameter and / or the driving environment parameter.

5. The method according to claim 4, It is characterized in that The second electronic device is a driving device, and the first data includes the driving state parameter and / or the driving environment parameter.

6. The method according to claim 1, It is characterized in that When the first data is the motion parameter and the physiological parameter, the first electronic device processes the first data through a first neural network to obtain the first sound effect parameter; when the first data is the driving state parameter and / or the driving environment parameter, the first electronic device processes the first data through a second neural network to obtain the first sound effect parameter; wherein, the input of the first neural network is the motion parameter and the physiological parameter, and the output is one or more sound effect parameters, and the input of the second neural network is the driving state parameter and / or the driving environment parameter, and the output is one or more sound effect parameters.

7. The method according to claim 6, It is characterized in that When the second electronic device is a sports health monitoring device, the first electronic device receives the motion parameters and the physiological parameters sent by the second electronic device at a first time length, and the first electronic device updates the sound effect parameters based on the motion parameters and the physiological parameters at a second time length.

8. The method according to claim 6 or 7, It is characterized in that In the case where the second electronic device is a driving device, the first electronic device receives the driving state parameters and / or driving environment parameters sent by the second electronic device at third time intervals, and the first electronic device updates the sound effect parameters based on the driving state parameters and / or driving environment parameters at fourth time intervals.

9. The method according to claim 6, It is characterized in that The parameters in the first data and the thresholds corresponding to the parameters satisfy a first condition.

10. The method according to any one of claims 1 to 3, 6 and 7, It is characterized in that The motion parameters include one or more of the following: speed, motion acceleration; the physiological parameters include one or more of the following: heart rate, heart rate change rate, psychological stress index, body temperature.

11. The method according to claim 10, It is characterized in that The first sound effect parameter includes one or more of the following: audio loudness, frequency response gain, reverberation delay and playback speed. The relationship between the first sound effect parameter and the first data includes one or more of the following: the faster the heart rate, the higher the audio loudness; the faster the heart rate change rate, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the faster the heart rate change rate, the smaller the frequency response gain of the low frequency signal; the higher the psychological stress index, the longer the reverberation delay; the higher the body temperature, the longer the reverberation delay; the greater the movement acceleration, the faster the playback speed.

12. The method according to any one of claims 1, 4-7, It is characterized in that The driving state parameters include one or more of the following: vehicle speed, driving acceleration; the driving environment parameters include one or more of the following: road conditions and temperature at the location of the first driving device.

13. The method according to claim 12, It is characterized in that The first sound effect parameter includes one or more of the following: audio loudness, frequency response gain, reverberation delay and playback speed. The relationship between the first sound effect parameter and the first data includes one or more of the following: the faster the vehicle speed, the higher the audio loudness; the greater the driving acceleration, the faster the playback speed; the faster the vehicle speed, the greater the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the more congested the road condition, the smaller the frequency response gain of the intermediate frequency signal and / or the high frequency signal; the lower the temperature, the shorter the reverberation delay.

14. The method according to any one of claims 1 to 7, It is characterized in that After the first electronic device adjusts the sound effect parameters of the first audio based on the first data, the method further includes: The first electronic device receives a first user operation of storing the first sound effect parameter, and in response to the first user operation, the first electronic device stores the first sound effect parameter.

15. The method according to claim 14, It is characterized in that After the first electronic device stores the first sound effect parameter, the method further includes: The first electronic device receives a second user operation of applying the first sound effect parameter, and in response to the second user operation, the first electronic device plays audio using the first sound effect parameter.

16. An electronic device, It is characterized in that The electronic device comprises: a display screen, a memory, and a processor coupled to the memory; the display screen is used to display a user interface, the memory stores a computer program, and when the processor executes the computer program, the electronic device implements the method as described in any one of claims 1-15.

17. A computer-readable storage medium storing computer instructions, It is characterized in that When the computer instructions are executed on a processor, the method according to any one of claims 1 to 15 is performed.

18. A computer program product comprising computer instructions, It is characterized in that When the computer instructions are executed by a processor, the method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Method for adjusting sound effect and terminal

    CN106101420A

  • Music playing object recommendation method, terminal and computer readable storage medium

    CN109582821A

  • Sound effect adjusting method, sound effect adjusting system, in-vehicle infotainment system and storage medium

    CN112776710A

  • Sound effect adjusting method and electronic equipment

    CN114666631A