CN116074424A - Speaker control method, device and storage medium - Google Patents

Speaker control method, device and storage medium Download PDF

Info

Publication number
CN116074424A
CN116074424A CN202111300890.4A CN202111300890A CN116074424A CN 116074424 A CN116074424 A CN 116074424A CN 202111300890 A CN202111300890 A CN 202111300890A CN 116074424 A CN116074424 A CN 116074424A
Authority
CN
China
Prior art keywords
loudspeaker
current
speaker
signal
phase response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111300890.4A
Other languages
Chinese (zh)
Inventor
刘力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111300890.4A priority Critical patent/CN116074424A/en
Publication of CN116074424A publication Critical patent/CN116074424A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The disclosure relates to a control method, a device and a storage medium of a loudspeaker. The method comprises the following steps: during the process of outputting sound signals by the loudspeaker, determining a protection model corresponding to the type information according to the type information of the loudspeaker; determining the current actual operation parameters of the loudspeaker according to the protection model; and adjusting the input signal of the loudspeaker according to the actual operation parameter. The method and the device can reduce the possibility of damage to the loudspeaker caused by exceeding the limit of the input signal by associating the type information of the loudspeaker with the protection model, and can also reduce the research and development and production cost, and compared with the method and the device for improving hardware to realize the type identification of the loudspeaker, the method and the device are higher in safety and stability.

Description

Speaker control method, device and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a method and device for controlling a speaker, and a storage medium.
Background
In the aspect of the current mobile phone sound signal playing, the volume of a loudspeaker is small due to the restriction of the mobile phone space, so that the volume of the loudspeaker needs to be increased as much as possible. The most main means at present is to use an intelligent power amplifier, and monitor the working amplitude and temperature of a loudspeaker in real time through the power amplifier, so that the voltage is increased as much as possible while the normal working of the loudspeaker is ensured, and the volume is increased. However, by increasing the volume in the above manner, the amplitude and the temperature of the speaker may exceed the limit during the operation, and the components of the speaker may be damaged.
In the related art, since the recognition mode of the type of the speaker set by the factory is too limited, when the input signal is adjusted in the use process, the adjusted input signal does not conform to the hardware standard of the speaker, and the components of the speaker are damaged.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and storage medium for controlling a speaker.
According to a first aspect of embodiments of the present disclosure, there is provided a method for controlling a speaker, applied to an electronic device having a speaker, including:
during the process of outputting sound signals by the loudspeaker, determining a protection model corresponding to the type information according to the type information of the loudspeaker;
determining the current actual operation parameters of the loudspeaker according to the protection model;
and adjusting the input signal of the loudspeaker according to the actual operation parameter.
In some embodiments, the method further comprises:
acquiring current electrical performance parameters of the loudspeaker;
determining the type information of the loudspeaker based on the current electrical performance parameter and a preset association relation;
the association relation is used for representing the mapping relation between the electrical performance parameter and the type information.
In some embodiments, the method further comprises:
acquiring electrical performance parameters of the loudspeaker in the process of carrying out parameter configuration on the loudspeaker;
configuring type information corresponding to the electrical performance parameters;
establishing an association relationship between the electrical performance parameter and the type information;
and storing the electrical performance parameters, the type information and the association relation into a memory of the electronic equipment.
In some embodiments, the method further comprises:
in the process of parameter configuration of the loudspeaker, at least one of a winding direction of a coil in the loudspeaker, a magnetizing direction of a magnetic module and a positive and negative electrode direction of an input signal is obtained;
adjusting the electrical performance parameter according to at least one of the detour direction, the magnetizing direction and the anode and cathode directions;
configuring type information corresponding to the adjusted electrical performance parameters;
wherein, the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different.
In some embodiments, the electrical performance parameter comprises: a phase response;
The configuring type information corresponding to the electrical performance parameter includes:
determining the phase response according to the current test operation parameters of the loudspeaker in the process of outputting the test sound signals by the loudspeaker;
and configuring type information corresponding to the phase response.
In some embodiments, the determining the phase response during the outputting of the test sound signal by the speaker according to the current test operation parameter of the speaker includes:
during the process of outputting the test sound signal by the loudspeaker, identifying the frequency type of the test sound signal output by the loudspeaker;
obtaining the phase response according to the test operation parameters by using a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies.
In some embodiments, the frequency types include: fixed frequency and non-fixed frequency; the obtaining the phase response according to the test operation parameter by using a calculation strategy corresponding to the frequency type comprises:
during the process of outputting the test sound signal with the fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a first calculation strategy;
During the process of outputting the test sound signal with the non-fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a second calculation strategy;
wherein the first computing policy is different from the second computing policy.
In some embodiments, the test operating parameters include: a first voltage signal, a first current signal, and a first sampling rate;
the obtaining the phase response according to the test operation parameters by using a first calculation strategy comprises:
determining a starting time of a voltage input period of the first voltage signal and a starting time of a current input period of the first current signal;
and determining the phase response of the loudspeaker according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period and the first sampling rate.
In some embodiments, the determining the phase response of the speaker based on the fixed frequency, the starting time of the voltage input period, the starting time of the current input period, and the first sampling rate includes:
determining a time difference between a start time of the voltage input period and a start time of the current input period;
And determining a phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate.
In some embodiments, the test operating parameters include: a second voltage signal, a second current signal, and a second sampling rate;
the obtaining the phase response according to the test operation parameters by using a second calculation strategy comprises:
obtaining a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal; wherein the voltage data sequence and the current data sequence both have preset lengths;
obtaining a target phase response sequence according to the voltage data sequence and the current data sequence;
determining a target frequency according to the preset length and the second sampling rate;
from the sequence of phase responses, a phase response corresponding to the target frequency is determined.
In some embodiments, the obtaining a target phase response sequence from the voltage data sequence and the current data sequence includes:
according to the voltage data sequence, a phase angle sequence of the second voltage signal is obtained;
according to the current data sequence, a phase angle sequence of the second current signal is obtained;
And determining the target phase response sequence according to the difference value of the phase angle of the corresponding position in the phase angle sequence of the second voltage signal and the phase angle of the corresponding position in the phase angle sequence of the second current signal.
In some embodiments, the determining, according to the protection model, current actual operating parameters of the speaker includes:
inputting the current voltage signal and current signal of the loudspeaker into the protection model to obtain the current temperature of the loudspeaker and/or the amplitude of the output sound signal;
the adjusting the input signal of the loudspeaker according to the actual operation parameter comprises:
reducing a voltage signal input to the speaker when the temperature is greater than a temperature threshold; and/or
And when the amplitude is larger than an amplitude threshold value, reducing a current signal input to the loudspeaker.
According to a second aspect of the embodiments of the present disclosure, there is provided a control device of a speaker, applied to an electronic apparatus having a speaker, including:
the first determining module is configured to determine a protection model corresponding to type information of the loudspeaker according to the type information of the loudspeaker in the process of outputting the sound signal by the loudspeaker;
the second determining module is configured to determine the current actual operation parameters of the loudspeaker according to the protection model;
And the third determining module is configured to adjust the input signal of the loudspeaker according to the actual operation parameter.
In some embodiments, the apparatus further comprises:
the first acquisition module is configured to acquire current electrical performance parameters of the loudspeaker;
the association module is configured to determine the type information of the loudspeaker based on the current electrical performance parameter and a preset association relation;
the association relation is used for representing the mapping relation between the electrical performance parameter and the type information.
In some embodiments, the apparatus further comprises:
the second acquisition module is configured to acquire the electrical performance parameters of the loudspeaker in the process of parameter configuration of the loudspeaker;
the first configuration module is configured to configure type information corresponding to the electrical performance parameters;
the establishing module is configured to establish an association relationship between the electrical performance parameters and the type information;
and the storage module is configured to store the electrical performance parameters, the type information and the association relation into a memory of the electronic equipment.
In some embodiments, the apparatus further comprises:
The third acquisition module is configured to acquire at least one of a winding direction of a coil in the loudspeaker, a magnetizing direction of the magnetic module and a positive and negative electrode direction of an input signal in the process of parameter configuration of the loudspeaker;
the adjusting module is configured to adjust the electrical performance parameter according to at least one of the bypass direction, the magnetizing direction and the anode and cathode direction;
the second configuration module is configured to configure type information corresponding to the adjusted electrical performance parameters;
wherein, the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different.
In some embodiments, the electrical performance parameter comprises: a phase response;
the first configuration module is configured to:
determining the phase response according to the current test operation parameters of the loudspeaker in the process of outputting the test sound signals by the loudspeaker;
and configuring type information corresponding to the phase response.
In some embodiments, the first configuration module is configured to:
during the process of outputting the test sound signal by the loudspeaker, identifying the frequency type of the test sound signal output by the loudspeaker;
Obtaining the phase response according to the test operation parameters by using a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies.
In some embodiments, the frequency types include: fixed frequency and non-fixed frequency; the first configuration module is configured to:
during the process of outputting the test sound signal with the fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a first calculation strategy;
during the process of outputting the test sound signal with the non-fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a second calculation strategy;
wherein the first computing policy is different from the second computing policy.
In some embodiments, the test operating parameters include: a first voltage signal, a first current signal, and a first sampling rate;
the first configuration module is configured to:
determining a starting time of a voltage input period of the first voltage signal and a starting time of a current input period of the first current signal;
and determining the phase response of the loudspeaker according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period and the first sampling rate.
In some embodiments, the first configuration module is configured to:
determining a time difference between a start time of the voltage input period and a start time of the current input period;
and determining a phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate.
In some embodiments, the test operating parameters include: a second voltage signal, a second current signal, and a second sampling rate;
the first configuration module is configured to:
obtaining a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal; wherein the voltage data sequence and the current data sequence both have preset lengths;
obtaining a target phase response sequence according to the voltage data sequence and the current data sequence;
determining a target frequency according to the preset length and the second sampling rate;
from the sequence of phase responses, a phase response corresponding to the target frequency is determined.
In some embodiments, the first configuration module is configured to:
according to the voltage data sequence, a phase angle sequence of the second voltage signal is obtained;
According to the current data sequence, a phase angle sequence of the second current signal is obtained;
and determining the target phase response sequence according to the difference value of the phase angle of the corresponding position in the phase angle sequence of the second voltage signal and the phase angle of the corresponding position in the phase angle sequence of the second current signal.
In some embodiments, the second determining module is configured to:
inputting the current voltage signal and current signal of the loudspeaker into the protection model to obtain the current temperature of the loudspeaker and/or the amplitude of the output sound signal;
the third determining module is configured to:
reducing a voltage signal input to the speaker when the temperature is greater than a temperature threshold; and/or
And when the amplitude is larger than an amplitude threshold value, reducing a current signal input to the loudspeaker.
According to a third aspect of the embodiments of the present disclosure, there is provided a control device for a speaker, including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: the steps in the method for controlling a loudspeaker according to any one of the first aspects are implemented when executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a control apparatus of a loudspeaker, causes the apparatus to perform the steps of the method of controlling a loudspeaker of any one of the above-described first aspects.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the embodiment of the disclosure, in the process of outputting a sound signal by a loudspeaker, a corresponding protection model is determined through type information of the loudspeaker, so that the current actual operation parameter of the loudspeaker is determined according to the protection model, and the input signal of the loudspeaker is adjusted according to the actual operation parameter.
According to the first aspect, by associating the type information of the loudspeaker with the protection model, the actual operation parameters determined based on the protection model can be more corresponding to the performance of the loudspeaker, so that the input signal of the loudspeaker is accurately controlled, and the possibility of damage to the loudspeaker due to the fact that the input signal exceeds the limit is reduced; in the second aspect, accurate adjustment of input signals can be realized by utilizing hardware of the electronic equipment, and the circuit or structure of the electronic equipment is not required to be modified, so that the research, development and production cost can be reduced; in a third aspect, a software-based approach enables identification of the type of speaker with greater security and stability than hardware improvements to enable identification of the type of speaker.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of controlling a speaker according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method of controlling a speaker according to an exemplary embodiment of the present disclosure.
Fig. 3 is a block diagram of a control device of a speaker according to an exemplary embodiment of the present disclosure.
Fig. 4 is a block diagram of a hardware configuration of a control device of a speaker according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart of a control method of a speaker according to an exemplary embodiment, and as shown in fig. 1, the method is applied to an electronic device having a speaker, and mainly includes the steps of:
in step 101, during the process of outputting a sound signal by the speaker, determining a protection model corresponding to the type information according to the type information of the speaker;
in step 102, determining current actual operation parameters of the loudspeaker according to the protection model;
in step 103, the input signal of the loudspeaker is adjusted according to the actual operating parameter.
Here, the electronic device may include: a terminal device, e.g. a mobile terminal or a fixed terminal. Wherein, the mobile terminal may include: the mobile phone, the tablet computer, the notebook computer or the wearable device and other devices can also comprise intelligent home devices, such as an intelligent sound box and the like. The fixed terminal may include: desktop computers or smart televisions, etc.
In the embodiment of the disclosure, the speaker may refer to a transducer device that converts an electrical signal into an acoustic signal, where the performance of the speaker greatly affects the sound quality played by the electronic device. The input signal in the loudspeaker can make the cone or the diaphragm in the loudspeaker vibrate and generate resonance with surrounding air to make sound through electromagnetic, piezoelectric or electrostatic effect and other modes. The protection model may refer to a preset network model (e.g., a neural network model), and may also be referred to as an acoustic model or a speaker parameter model, etc., and in the implementation process, information such as an electrical signal at two ends of a speaker may be input into the preset network model, and actual operation parameters (e.g., current amplitude and temperature of the speaker, etc.) of the speaker may be output through the preset network model. In the prior art, an electronic device can monitor the condition of a speaker by using the speaker to output a sound signal, calculate the operating parameters such as the temperature and the amplitude of the speaker through a protection model, and control the input current of the speaker according to the operating parameters of the speaker so as to avoid the adverse phenomena such as noise or burnout of the speaker.
In some embodiments, speaker type information is used to characterize the type of speaker, and in the implementation, speakers may be categorized by manufacturers having different designs, such as: a vendor a corresponds to a first type of speaker, a vendor B corresponds to a second type of speaker, or a vendor C corresponds to a third type of speaker, etc. Or speakers may be categorized according to different principles of operation, such as: an electrodynamic (i.e., moving coil) speaker, an electrostatic (i.e., capacitive) speaker, an electromagnetic (i.e., reed) speaker, a piezoelectric (i.e., crystal) speaker, and the like. Or speakers may be categorized according to different operating frequencies, for example: a bass speaker, a midrange speaker, a treble speaker, or the like. Or the speakers may be categorized by different version models, for example: the type of the speaker corresponding to the disclosure is not particularly limited, and can be set in a user-defined manner according to the user requirements, such as a 1.0 type speaker, a 2.0 type speaker, or a 3.0 type speaker.
The operating parameters of the speaker may include: parameters or information such as the value of the electrical signal at two ends of the speaker, the volume of the speaker, the amplitude, the phase response, the current temperature of the speaker and the like of the speaker, and the input signal of the speaker may refer to signals such as input current or input voltage of the speaker, and the disclosure is not limited in particular. In the embodiment of the disclosure, the protection model is not unique, different protection models can be set for different types of speakers, parameters input and parameters output by the protection model corresponding to different speaker types can also be different, and the number types of operation parameters, input signals and the like corresponding to different types of speakers can also be different. The electronic equipment can train the model parameters of the protection model through the detected historical input signals and the historical operation parameters, and the trained protection model is directly called in the actual use process.
In some embodiments, a plurality of protection models can be obtained through training according to different types of speakers, and the protection models are stored in the electronic device, and in the use process, corresponding protection models can be determined from the protection models according to speaker type information.
In the embodiment of the disclosure, during the process of outputting the sound signal by the speaker, that is, during the process of the electronic device normally calling the speaker, the electronic device may determine, according to the type information of the speaker, a protection model corresponding to the type information. The electronic device may preset a mapping relationship between the type of speaker and the protection model, for example: the speaker of the manufacturer A corresponds to the protection model a, the speaker of the manufacturer B corresponds to the protection model B, the speaker of the manufacturer C corresponds to the protection model C, etc. The electronic device may determine the type of speaker by detecting the impedance value of the identification resistor within the cavity in which the speaker is located, for example: the impedance value corresponding to the loudspeaker of the manufacturer A is 2 ohms, the impedance value corresponding to the loudspeaker of the manufacturer B is 4 ohms, the impedance value corresponding to the loudspeaker of the manufacturer C is 6 ohms, and the like. Or the electronic device may determine different speaker types by detecting level signals corresponding to different pins according to different shorting modes of pins set on the speaker, for example: the detected a-level signal corresponds to the speaker of manufacturer a, the B-level signal corresponds to the speaker of manufacturer B, the C-level signal corresponds to the speaker of manufacturer C, etc. Or the electronic device may directly read the control chip in the speaker module to determine the type of the speaker, and the manner of determining the type information of the speaker is not particularly limited in the present disclosure.
After the electronic equipment determines the protection model corresponding to the type information, the current actual operation parameters of the loudspeaker can be determined according to the protection model. For example: the electronic device can acquire the values of the current electric signals at the two ends of the loudspeaker, and then the values of the current electric signals are input into the protection model corresponding to the type information to obtain the current actual operation parameters of the loudspeaker and the like. For example: the electronic equipment determines that the voltage at two ends of the loudspeaker is 5 volts (V), the current input to the loudspeaker is 2 amperes (A), and the current input to the protection model a is input to obtain the current temperature of the loudspeaker to be 26 degrees and the like. The electronic equipment determines the actual operation parameters through the protection model, and then adjusts the input signals of the loudspeaker through the actual operation parameters, so that the voltage is increased as much as possible while the normal operation of the loudspeaker is ensured, and the volume is increased.
After the electronic device determines the current actual operation parameters of the loudspeaker, the input signals of the loudspeaker can be adjusted according to the actual operation parameters. In some embodiments, the electronic device may preset a mapping relationship between an actual operation parameter and an input signal, and in a process of implementation, determine, according to the actual operation parameter and the mapping relationship, the input signal corresponding to the actual operation parameter. For example: the input voltage in the input signal corresponding to the actual operating parameter at the temperature of 16-20 degrees may be 6V, the input voltage in the input signal corresponding to the actual operating parameter at the temperature of 21-25 degrees may be 7V, the input voltage in the input signal corresponding to the actual operating parameter at the temperature of 26-30 degrees may be 8V, etc. Then if the electronics determine that the temperature in the current actual operating parameters is 23 degrees, the input voltage across the speaker can be adjusted to 7v, etc.
The electronic device may also be configured to pre-determine a mapping relationship between an actual operation parameter of the device and an adjustment value of an input signal, and in the implementation process, determine the adjustment value of the input signal corresponding to the actual operation parameter according to the actual operation parameter and the mapping relationship. For example: the adjustment value of the input voltage corresponding to the actual operation parameter at the temperature of 16-20 degrees may be 1V, the adjustment value of the input voltage corresponding to the actual operation parameter at the temperature of 21-25 degrees may be 2V, the adjustment value of the input voltage corresponding to the actual operation parameter at the temperature of 26-30 degrees may be-1V, etc. Then if the electronics determine that the temperature in the current actual operating parameters is 27 degrees, the input voltage across the speaker may be reduced by 1V, etc.
In the embodiment of the disclosure, in the process of outputting a sound signal by a loudspeaker, a corresponding protection model is determined through type information of the loudspeaker, so that the current actual operation parameter of the loudspeaker is determined according to the protection model, and the input signal of the loudspeaker is adjusted according to the actual operation parameter. According to the first aspect, by associating the type information of the loudspeaker with the protection model, the actual operation parameters determined based on the protection model can be more corresponding to the performance of the loudspeaker, so that the input signal of the loudspeaker is accurately controlled, and the possibility of damage to the loudspeaker due to the fact that the input signal exceeds the limit is reduced; in the second aspect, accurate adjustment of input signals can be realized by utilizing hardware of the electronic equipment, and the circuit or structure of the electronic equipment is not required to be modified, so that the research, development and production cost can be reduced; in a third aspect, a software-based approach enables identification of the type of speaker with greater security and stability than hardware improvements to enable identification of the type of speaker.
Fig. 2 is a flowchart of a control method of a speaker according to an exemplary embodiment, and as shown in fig. 2, the method is applied to an electronic device having a speaker, and mainly includes the steps of:
in step 201, current electrical performance parameters of the speaker are obtained;
in step 202, determining the type information of the speaker based on the current electrical performance parameter and a preset association relation;
in step 203, during the process of outputting a sound signal by the speaker, determining a protection model corresponding to the type information according to the type information of the speaker;
in step 204, determining current actual operation parameters of the speaker according to the protection model;
in step 205, adjusting an input signal of the speaker according to the actual operation parameter;
the association relation is used for representing the mapping relation between the electrical performance parameter and the type information.
In embodiments of the present disclosure, the electrical performance parameters may include: parameters such as the electric signal value at two ends of the loudspeaker in the working process, the volume of the loudspeaker, the power of the loudspeaker, the amplitude and the phase response of the loudspeaker and the like are not particularly limited in the disclosure. The electronic device may determine the type information of the speaker by acquiring a current electrical performance parameter of the speaker and then determining the type information of the speaker based on the current electrical performance parameter and a preset association relationship. The association relationship is used for representing the mapping relationship between the electrical performance parameter and the type information, for example: the type information of the loudspeaker corresponding to the electrical performance parameter D is D manufacturer, the type information of the loudspeaker corresponding to the electrical performance parameter E is E manufacturer, and the type information of the loudspeaker corresponding to the F electrical performance parameter is F manufacturer. For example: the electronic equipment determines that the current voltage at two ends of the loudspeaker is 7V through a preset detection voltage circuit, and determines that the type information of the loudspeaker can be B manufacturers and the like according to the current electrical performance parameters and a preset association relation.
In some embodiments, the electronic devices shipped from different manufacturers may also have different electrical performance parameters for the speakers. According to the method, the speakers of different manufacturers are designed differently, so that the electrical performance parameters of the speakers are different, and the difference is identified by measuring the current electrical performance parameters of the speakers, so that the speakers of different manufacturers are distinguished, and intelligent identification of the speakers can be realized on the basis of not changing the hardware structure.
In the embodiment of the disclosure, the type information of the speaker can be determined based on the current electrical performance parameter and the preset association relationship, so that the efficiency and accuracy of type information determination are simply and effectively improved, the input parameters of the speaker can be timely and accurately adjusted, and the operation efficiency of electronic equipment is improved.
In some embodiments, the method further comprises:
acquiring electrical performance parameters of the loudspeaker in the process of carrying out parameter configuration on the loudspeaker;
configuring type information corresponding to the electrical performance parameters;
establishing an association relationship between the electrical performance parameter and the type information;
And storing the electrical performance parameters, the type information and the association relation into a memory of the electronic equipment.
In the embodiment of the disclosure, in the process of manufacturing and designing the speaker, in order to meet different requirements, parameter configuration needs to be performed on the speaker. The parameter configuration may include: the arrangement of the windings in the speaker, the arrangement of the magnetizing direction of the magnetic module or the arrangement of the positive and negative directions of the input signal, and the arrangement of parameters such as the arrangement of the speaker electric signal, the arrangement of the speaker amplitude, the arrangement of the speaker phase response, and the like are not particularly limited in this disclosure. In the process of carrying out parameter configuration on the loudspeaker, the electronic equipment can acquire the electrical performance parameter of the loudspeaker, then configure type information corresponding to the electrical performance parameter, and establish the association relationship between the electrical performance parameter and the type information. For example: the electronic device may set the type information corresponding to the a-amplitude as the a-manufacturer, the type information corresponding to the B-amplitude as the B-manufacturer, the type information corresponding to the C-amplitude as the C-manufacturer, etc. Or the electronic device may set the type information corresponding to the electrical performance parameter a as the manufacturer a, the type information corresponding to the electrical performance parameter B as the manufacturer B, the type information corresponding to the electrical performance parameter C as the manufacturer C, and so on. The electronic device may store the electrical performance parameter, the type information, and the association relationship to a memory of the electronic device. And then in the process of actually using the loudspeaker by the electronic equipment, the current electrical performance parameter of the loudspeaker can be acquired first, and then the type information and the like of the loudspeaker corresponding to the current electrical performance parameter can be determined by directly reading the stored information from the memory.
For example, the current electrical performance parameter may be compared with the pre-stored standby electrical performance parameter in the memory, and the type information corresponding to the standby electrical performance parameter satisfying the association relationship may be determined as the type information corresponding to the current electrical performance parameter.
In the embodiment of the disclosure, in the process of performing parameter configuration on the speaker, the electrical performance parameter of the speaker is obtained, the type information corresponding to the electrical performance parameter is configured, the association relationship between the electrical performance parameter and the type information is established, and the electrical performance parameter, the type information and the association relationship are stored in the memory of the electronic device, so that when the type information corresponding to the current performance parameter needs to be determined, only the current electrical performance parameter is compared with the standby electrical performance parameter in the memory, and the efficiency and the like of determining the type information of the speaker in the actual use process of the electronic device are improved.
In some embodiments, the method further comprises:
in the process of parameter configuration of the loudspeaker, at least one of a winding direction of a coil in the loudspeaker, a magnetizing direction of a magnetic module and a positive and negative electrode direction of an input signal is obtained;
Adjusting the electrical performance parameter according to at least one of the detour direction, the magnetizing direction and the anode and cathode directions;
configuring type information corresponding to the adjusted electrical performance parameters;
wherein, the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different.
Here, in the process of performing parameter configuration on the speaker, the configuration parameters of the speaker may be obtained, and the obtained electrical performance parameters of the speaker may be adjusted according to the configuration parameters of the speaker. Wherein the configuration parameters may include at least one of: the winding direction of the coil in the loudspeaker, the magnetizing direction of the magnetic module, the positive and negative directions of the input signal, the electric signal of the loudspeaker, the amplitude of the loudspeaker, the phase response of the loudspeaker and the like.
For example, in the process of performing parameter configuration on the speaker, the electronic device may obtain at least one of a winding direction of a coil in the speaker, a magnetizing direction of a magnetic module, and a positive and negative direction of an input signal. For example: the winding direction of the coil in the loudspeaker can be a clockwise winding direction or a counterclockwise winding direction and the like; the magnetizing direction (namely the positive and negative pole directions of the speaker magnet) of the magnetic module (such as the speaker magnet) is the direction of common axial magnetizing, single-sided axial multipolar magnetizing, double-sided axial multipolar magnetizing, full-radial inward magnetizing or full-radial outward magnetizing; the positive and negative directions of the input signal may include: the positive electrode of the power supply is connected with the positive electrode of the loudspeaker connecting terminal, the negative electrode of the power supply is connected with the negative electrode of the loudspeaker connecting terminal, or the positive electrode of the power supply is connected with the negative electrode of the loudspeaker connecting terminal, the negative electrode of the power supply is connected with the positive electrode of the loudspeaker connecting terminal, and the like.
In some embodiments, the electronic device may obtain at least one of a winding direction of a coil in the speaker, a magnetizing direction of the magnetic module, and a positive and negative direction of an input signal by receiving information uploaded by a user. The electronic device may then adjust the electrical performance parameter according to at least one of the detour direction, the magnetization direction, and the positive and negative electrode direction. For example: the electrical performance parameters (e.g., without limitation, adjusting a first amplitude to a second amplitude, etc. in the electrical performance parameters) may be adjusted by adjusting the winding direction of the coil in the speaker to a clockwise winding direction, to a counterclockwise winding direction, etc. And then configuring type information corresponding to the adjusted electrical performance parameters, wherein the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different. For example: the type information corresponding to the adjusted electrical performance parameter 1 is the second type manufacturer, the type information corresponding to the adjusted electrical performance parameter 2 is the third type manufacturer, the type information corresponding to the adjusted electrical performance parameter 3 is the first type manufacturer, and the like. Meanwhile, the electronic performance parameters of the loudspeaker can be different on the basis of not changing the performance of the loudspeaker by making the adjustment.
In the embodiment of the disclosure, the type information corresponding to the initial electrical performance parameter can be directly configured, the process is simple and easy to implement, and the type information corresponding to the adjusted electrical performance parameter can also be configured, so that the association relationship between the electrical performance parameter and the type information is more accurate.
In some embodiments, the electrical performance parameter comprises: a phase response;
the configuring type information corresponding to the electrical performance parameter includes:
determining the phase response according to the current test operation parameters of the loudspeaker in the process of outputting the test sound signals by the loudspeaker;
and configuring type information corresponding to the phase response.
In embodiments of the present disclosure, the electrical performance parameter may include a phase response. Phase is understood to be the angle at which the motion is analogous to a uniform circular motion, and Phase (Phase) is the position in its cycle for a wave at a particular moment: a scale of whether it is at a peak, trough or some point in between. The phase may describe a measure of the variation of the waveform of a signal, usually in degrees (angles), also called phase angles, when the waveform of the signal varies in a periodic manner, the waveform is cycled through 360 degrees. The phase response may refer to the relationship between the relative phase and frequency of the output signal, and when designing the speaker, the phase response of the speaker of different manufacturers may be controlled to generate a difference by modifying the design. During the production of the electronic device (such as but not limited to a mobile phone, etc.), during the calibration stage of the speaker, the intelligent power amplifier may be used to measure the phase response of the speaker, and the manufacturer of the speaker corresponding to the phase response value is determined according to the preset value during design, and recorded in the electronic device, so that the type of the speaker, etc. may be determined during the process of using the speaker of the electronic device.
For the phase response, if the frequency of the acquired signal is fixed, the corresponding phase response is calculated to be a fixed value, if the frequency of the acquired signal is not fixed, the corresponding phase response is calculated to be not a fixed value, that is, it is understood that a fixed frequency may correspond to a phase response, if it is a frequency range, each frequency within the frequency range may correspond to a phase response, etc.
The test sound signal may be understood as a sound signal played by the electronic device during parameter configuration of the speaker or before adjusting the input signal to the speaker. The test operation parameters may be understood as operation parameters of the speaker detected by the electronic device during parameter configuration of the speaker or before adjusting an input signal of the speaker, and may include parameters such as an electrical signal size, a temperature, an amplitude, and the like, which are not specifically limited in this disclosure. The electronic device may determine the phase response based on current test operating parameters of the speaker. For example: the electronic equipment detects that the current test operation parameters of the speakers of the first type manufacturer comprise voltage of 5V and current of 3A, so that corresponding phase response is calculated to be 1, and then the electronic equipment can correspond to the phase response 1 of the speakers of the second type manufacturer; the current test operation parameters of the speakers of the second type manufacturer include voltage of 6V and current of 5A, so that the corresponding phase response is calculated to be 2, and then the electronic device can correspond to the phase response 2 of the speakers of the second type manufacturer.
In a possible embodiment, the electrical performance parameter may further comprise an amplitude response, which may refer to the amplitude versus frequency of the output signal, etc. In an embodiment of the disclosure, the electrical performance parameter may include a phase response, and then the electronic device may determine the phase response according to the current test operation parameter of the speaker, and configure type information corresponding to the phase response. The method and the device can simply and accurately set the corresponding relation between the phase response and the type information, can reduce the time of the electronic equipment for identifying the type information of the loudspeaker in the actual use process of the loudspeaker, and improve the operation efficiency and the like.
In some embodiments, the determining the phase response during the outputting of the test sound signal by the speaker according to the current test operation parameter of the speaker includes:
during the process of outputting the test sound signal by the loudspeaker, identifying the frequency type of the test sound signal output by the loudspeaker;
obtaining the phase response according to the test operation parameters by using a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies.
In the embodiment of the present disclosure, the frequency types may include at least: the types such as fixed frequency and non-fixed frequency, high frequency, medium frequency or low frequency, etc., and the classification mode of the corresponding frequency types in the present disclosure is not particularly limited. The electronic equipment can measure the frequency of the test sound signal by a passive frequency measurement method, an active frequency measurement method, an electronic counting method and the like, and then judge the frequency type of the test sound signal according to a preset classification mode. For example: the classification mode determined by the electronic device may be that the sound signal with the frequency in the range of 0-300 hz is of a low frequency type, the sound signal with the frequency in the range of 301-700 hz is of a medium frequency type, and the sound signal with the frequency in the range of 701-1300 hz is of a high frequency type. The electronic device determines that the frequency of the test sound signal is 350 hz through a passive frequency measurement method, and then the electronic device can determine that the frequency type of the test sound signal output by the loudspeaker is an intermediate frequency type or the like.
After the electronic equipment determines the frequency type, the phase response can be obtained according to the test operation parameters by utilizing a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies. For example: the electronic device may preset a preset relationship between different frequency types and different calculation strategies, for example: the first class of frequencies corresponds to a first calculation strategy, the second class of frequencies corresponds to a second calculation strategy, the third class of frequencies corresponds to a third calculation strategy, and so on. If the electronic device determines that the frequency type of the loudspeaker output test sound signal is the second type of frequency, the electronic device can obtain the phase response according to the test operation parameter by using a second calculation strategy.
In the embodiment of the disclosure, the phase response is obtained according to the test operation parameters by identifying the frequency type of the output test sound signal of the loudspeaker and using the calculation strategy corresponding to the frequency type, wherein different frequency types correspond to different calculation strategies, the phase response can be determined according to different frequency types of the test sound signal by using different calculation strategies, different requirements of a user in the actual use process are met, and stability, accuracy and the like of determining the phase response are improved.
In some embodiments, the frequency types include: fixed frequency and non-fixed frequency; the obtaining the phase response according to the test operation parameter by using a calculation strategy corresponding to the frequency type comprises:
during the process of outputting the test sound signal with the fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a first calculation strategy;
during the process of outputting the test sound signal with the non-fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a second calculation strategy;
Wherein the first computing policy is different from the second computing policy.
In the embodiment of the disclosure, the electronic device may calculate the phase response corresponding to the speaker in various manners, for example, determine which manner to obtain the phase response according to the frequency characteristic of the test sound signal. For example: the electronic device outputs a test sound signal (such as but not limited to a single frequency signal with frequency F) with a fixed frequency through the speaker to calculate a phase response; alternatively, the electronic device may calculate the phase response by outputting a test sound signal (such as, but not limited to, a pink noise or white noise) having a non-fixed frequency through the speaker. The calculation strategy may refer to a manner of calculating the phase response, and may be understood as a calculation formula or the like. The first calculation policy being different from the second calculation policy may mean that a formula of the first calculation policy is different from that of the second calculation policy, or that types and numbers of input test operation parameters are different, or that calculation time periods are different, etc., which is not particularly limited in this disclosure.
For example: the electronic device may set the first calculation strategy to output a single-frequency sound signal of 50Hz, then detect a current value of 5A of the speaker, and input the detected current value to equation a, to obtain a phase response of 20 Hz. The electronic device may set the second calculation strategy to output a multi-frequency sound signal in which 50Hz and 30Hz are mixed, then detect that the voltage value at both ends of the speaker is 7V, and then input the detected voltage value into formula B, to obtain a phase response of 30Hz, and the like.
In the embodiment of the disclosure, by utilizing a plurality of different calculation strategies, the phase response is obtained according to the test operation parameters, different strategies can be set according to actual use requirements, different requirements of users are met, and the diversity, the flexibility and the like of determining the phase response are improved.
In some embodiments, the test operating parameters include: a first voltage signal, a first current signal, and a first sampling rate;
the obtaining the phase response according to the test operation parameters by using a first calculation strategy comprises:
determining a starting time of a voltage input period of the first voltage signal and a starting time of a current input period of the first current signal;
and determining the phase response of the loudspeaker according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period and the first sampling rate.
In an embodiment of the disclosure, the test operation parameters may include: the first voltage signal, the first current signal, and the first sampling rate, where the first voltage signal may refer to a voltage signal at two ends of the speaker detected within a first preset period of time, for example, but not limited to, 2 minutes, etc.), and may be represented by using time as a horizontal axis and a voltage signal value as a vertical axis, where the represented voltage signal may be continuous or discrete. The first current signal may refer to a current signal of the speaker detected within a second preset period of time (for example, but not limited to, 3 minutes, etc.), and may be represented by using time as a horizontal axis and a current signal value as a vertical axis, where the represented current signal may be continuous or discrete. The first preset duration and the second preset duration may be equal or different, and the disclosure is not particularly limited.
The sampling rate, which may also be referred to as sampling rate or sampling efficiency, may refer to the number of samples extracted from a continuous signal per unit time and constituting a discrete signal, which may be expressed in hertz (Hz). The first sampling rate H may refer to a sampling rate determined during the process of outputting the test sound signal having the fixed frequency F by the speaker, and the sampling rates for the current signal and the voltage signal may be equal or unequal during the process, which is not particularly limited in the present disclosure. In the embodiment of the disclosure, the selection of the fixed frequency (which may also be referred to as a single frequency signal frequency) may select the frequency with the largest phase response difference according to the specific design of the speaker, that is, may select the frequency with which the difference between the phase responses corresponding to different types of speakers (the difference between the phase responses corresponding to different speaker types) is obvious, where the difference between the phase responses corresponding to different types of speakers is the largest, the corresponding frequency is the best.
Since the voltage signal and the current signal collected by the electronic device are signals having a periodic characteristic, the electronic device can determine the start time of the voltage input period of the first voltage signal and the start time of the current input period of the first current signal. For example: the electronic device may use the time of the start point position of the first complete positive period of the voltage signal as the first start time of the voltage input period, may use the time of the start point position of the first complete positive period of the current signal as the second start time of the current input period, and the first start time is before the second start time, etc. The electronic device may then determine a phase response corresponding to the fixed frequency F based on the first start time, the second start time, the first sampling rate H, and the fixed frequency F. For example: the electronic device determines that the first starting time is 10 seconds, the second starting time is 23 seconds, the first sampling rate H is 30Hz, the fixed frequency F is 50Hz, and the like, and then the corresponding phase response can be calculated to be 5, and the like according to a correlation formula and the like. The disclosure of the related formulas is not particularly limited, and may be set in a custom manner according to the use condition, etc.
In the embodiment of the disclosure, the starting time of the voltage input period of the first voltage signal and the starting time of the current input period of the first current signal may be determined, and the phase response of the speaker may be determined according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period, and the first sampling rate, so that the phase response corresponding to a single frequency signal may be simply and quickly calculated, and the calculated amount is small.
In some embodiments, the determining the phase response of the speaker based on the fixed frequency, the starting time of the voltage input period, the starting time of the current input period, and the first sampling rate includes:
determining a time difference between a start time of the voltage input period and a start time of the current input period;
and determining a phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate.
In the embodiment of the disclosure, the electronic device may determine the phase response corresponding to the fixed frequency by determining a time difference between the start time of the voltage input period and the start time of the current input period, and then determining the phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate. For example: the electronic device determines that the first start time is 10 seconds, the second start time is 23 seconds, the first sampling rate H is 30Hz, the fixed frequency F is 50Hz, etc., and then it can determine that the time difference is 13 seconds. The electronic device may then determine the phase response corresponding to the fixed frequency F based on the 13 seconds difference in time, the first sampling rate H being 30Hz, the fixed frequency F being 50Hz, etc. The electronic device may calculate the corresponding phase response to 5, etc., according to a correlation formula, etc. The disclosure of the related formulas is not particularly limited, and may be set in a custom manner according to the use condition, etc.
In one possible embodiment, the electronic device may use a first calculation strategy, and the calculation formula for obtaining the phase response according to the test operation parameter may be as follows:
pr=(n 2 -n 1 )*f/fs (1);
in equation (1), pr may represent the phase response, n 1 Can represent the starting time of the voltage input period, n 2 Can represent the starting time of the current input period, (n) 2 -n 1 ) The time difference between the start time of the voltage input period and the start time of the current input period may be represented, f may represent a fixed frequency, fs may represent a first sampling rate, wherein the collected voltage signal may be represented by v (n), the collected current signal may be represented by i (n), n may represent the collection time of the signal, etc.
In some embodiments, the test operating parameters include: a second voltage signal, a second current signal, and a second sampling rate;
the obtaining the phase response according to the test operation parameters by using a second calculation strategy comprises:
obtaining a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal; wherein the voltage data sequence and the current data sequence both have preset lengths;
Obtaining a target phase response sequence according to the voltage data sequence and the current data sequence;
determining a target frequency according to the preset length and the second sampling rate;
from the sequence of phase responses, a phase response corresponding to the target frequency is determined.
In an embodiment of the disclosure, the test operation parameters may include: a second voltage signal, a second current signal, and a second sampling rate. The electronic device may obtain a voltage data sequence corresponding to the second voltage signal and a current data sequence corresponding to the second current signal, where the voltage data sequence and the current data sequence have preset lengths. The data sequence may refer to a data sequence obtained by performing processing transformation (such as but not limited to fourier transformation, laplace transformation, sine-cosine transformation, etc.) on the electric signal, and the data sequence may refer to a structure of an index group, a vector, etc. The conversion modes corresponding to the second voltage signal and the second current signal may be the same or different. The data sequence includes a corresponding sequence length, and in this embodiment of the disclosure, the voltage data sequence and the current data sequence each have a preset length, that is, the preset lengths of the voltage data sequence and the current data sequence are the same, for example: the length of the voltage data sequence and the current data sequence is 100. In the embodiment of the disclosure, the data sequence with the preset length may be obtained by acquiring the second voltage signal and the second current signal with the same duration and then performing transformation processing, or the data sequence with the preset length may also be obtained by acquiring the second voltage signal and the second current signal with different durations and then performing transformation processing.
After the electronic device obtains the voltage data sequence and the current data sequence, a target phase response sequence can be obtained according to the voltage data sequence and the current data sequence. For example: the electronic equipment can perform addition, subtraction, multiplication or division and other processing on the corresponding position elements of the voltage data sequence and the current data sequence to obtain a target phase response sequence with the same length; the electronic device may also perform processing such as splicing and combining on the voltage data sequence and the current data sequence to obtain a target phase response sequence with a length that is not preset, which is not specifically limited in the disclosure. In the embodiment of the disclosure, the preset length (may also be referred to as a signal length or the like) determined by the electronic device may be selected according to the computing resource of the electronic device (e.g., a mobile phone) and the computing precision to be implemented. For example: the more computing resources of the electronic device, the higher the computing precision requirement, the longer the selected preset length, and the like.
After the electronic device obtains the target phase response sequence, the target frequency can be determined according to the preset length and the second sampling rate, and the phase response corresponding to the target frequency is determined from the phase response sequence. Since the second calculation strategy corresponds to a test sound signal with a non-fixed frequency, the electronic device is required to determine a specific phase response corresponding to a certain frequency, and then the electronic device is required to determine the correspondence between a plurality of frequencies and the target phase response sequence. The electronic device may determine a target frequency according to the preset length and the second sampling rate, for example: because the obtained target phase response sequence is a discrete sequence and the length is also a preset length, the electronic equipment can determine the position number of the corresponding element and the parameters of the two types of second sampling rate based on the preset length, and perform correlation processing to obtain the target frequency. The electronic device can obtain different target frequencies according to the position numbers of different elements in the target phase response sequence, that is, the electronic device can also obtain a target frequency sequence, and the target frequency sequence and the elements with the same position numbers in the target response sequence (that is, the target response and the target frequency) are in one-to-one correspondence.
In the embodiment of the disclosure, the electronic device determines, by using the first calculation policy, a phase response corresponding to a fixed frequency (i.e., a single frequency), for example: the frequency of the single frequency is 50 hz (i.e., the fixed frequency is 50 hz), and the resulting phase response for the fixed frequency is 20. The electronic device determines a phase response sequence corresponding to the non-fixed frequency (i.e., the plurality of frequencies) using a second calculation strategy, such as: the non-fixed frequency may be combined based on multiple frequencies (e.g., without limitation, 20 hz, 25 hz, 30 hz, etc.), resulting in a phase response sequence of 30, 31, 32, 33 …. The electronic device may determine a target frequency (e.g., 20 hz) from the plurality of frequencies according to the preset length and the second sampling rate, and after determining the target frequency, may determine a phase response corresponding to the target frequency from a corresponding position in the phase response sequence according to the target frequency. Assuming that the target frequency corresponds to the element located at the first position in the sequence of phase responses (i.e., 30), the electronic device may determine that the 20 hz corresponds to 30, in this manner, it may also determine that the 25 hz corresponds to 31, the 30 hz corresponds to 32, etc.
In this embodiment of the present disclosure, a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal may be obtained, where the voltage data sequence and the current data sequence each have a preset length, a target phase response sequence is obtained according to the voltage data sequence and the current data sequence, a target frequency is determined according to the preset length and the second sampling rate, and a phase response corresponding to the target frequency is determined from the phase response sequence. The present disclosure can accurately and effectively calculate the phase responses corresponding to the plurality of frequency signals, and can improve the calculation efficiency of calculating the phase responses of the full frequency band.
In some embodiments, the obtaining a target phase response sequence from the voltage data sequence and the current data sequence includes:
according to the voltage data sequence, a phase angle sequence of the second voltage signal is obtained;
according to the current data sequence, a phase angle sequence of the second current signal is obtained;
and determining the target phase response sequence according to the difference value of the phase angle of the corresponding position in the phase angle sequence of the second voltage signal and the phase angle of the corresponding position in the phase angle sequence of the second current signal.
In this embodiment of the present disclosure, the electronic device may obtain the phase angle sequence of the second voltage signal according to the voltage data sequence, and may obtain the phase angle sequence of the second current signal according to the current data sequence. For example: the electronic device can calculate the corresponding phase angle through a preset phase angle formula by using the value corresponding to a single point in the data sequence, and the lengths of the two sequences are equal before and after processing. The phase angle formula may be a custom angle calculation formula, which is not specifically limited in this disclosure. The processing manner of the phase angle sequence for obtaining the second voltage signal and the processing manner of the phase angle sequence for obtaining the second current signal can be the same or different. For example: the electronic device may determine the voltage data sequence as [1,2,3], and the phase angle sequence of the obtained second voltage signal may be [7,8,9]; the electronic device may determine the current data sequence as [3,6,9], the phase angle sequence of the obtained second current signal may be [2,5,6], etc.
The electronic device may determine the target phase response sequence from a difference in phase angle of a corresponding position in the phase angle sequence of the second voltage signal and the phase angle sequence of the second current signal. For example: the electronic device determines that the phase angle sequence of the second voltage signal may be [7,8,9], the phase angle sequence of the second current signal may be [2,5,6], and the difference value of the phase angles of the corresponding positions may be 5,3, respectively, so that the electronic device may determine that the target phase response sequence is [5,3,3], and the like.
In a possible embodiment, the electronic device uses the second calculation strategy, and the calculation formula for obtaining the phase response according to the test operation parameter can be as follows
V(n)=fft(v(n)),I(n)=fft(i(n)) (2);
VA(N)/IA(N)=arctan(b/a),V(N)/I(N)=a+bi (3);
pr(N)=VA(N)-IA(N) (4);
f(N)=N*fs/nfft (5);
In equations (2), (3), (4) and (5), V (N) may represent an acquired voltage signal, I (N) may represent an acquired current signal, N may represent an acquisition time of the signal, fft () may represent a fast fourier transform, V (N) may represent a voltage data sequence, I (N) may represent a current data sequence, elements at each position of V (N) and I (N) may be represented by (a+bi), VA (N) and IA (N) may be obtained again, VA (N) may represent a phase angle sequence of the second voltage signal, IA (N) may represent a phase angle sequence of the second current signal, arctan () may represent an arctan transform, pr (N) may represent a target phase response sequence, f (N) may represent a target frequency, N may represent a position number of an element in a sequence determined based on a preset length, fs may represent a second sampling rate, and nt may represent a preset length.
In some embodiments, the determining, according to the protection model, current actual operating parameters of the speaker includes:
inputting the current voltage signal and current signal of the loudspeaker into the protection model to obtain the current temperature of the loudspeaker and/or the amplitude of the output sound signal;
The adjusting the input signal of the loudspeaker according to the actual operation parameter comprises:
reducing a voltage signal input to the speaker when the temperature is greater than a temperature threshold; and/or
And when the amplitude is larger than an amplitude threshold value, reducing a current signal input to the loudspeaker.
In the embodiment of the disclosure, after the electronic device determines the protection model corresponding to the type information, the current actual operation parameters of the speaker may be determined according to the protection model. The electronic device may input the current voltage signal and the current signal of the speaker into the protection model to obtain the current temperature of the speaker and/or the amplitude of the output sound signal. In an ac circuit, current amplitude or voltage amplitude refers to the maximum value of current or voltage variation, also called voltage or current peak. In the acoustic vibration, the amplitude is the maximum value of the difference between the sound pressure and the static pressure, and the amplitude of the sound wave is in decibels, and the intensity of the sound wave can be determined. For example: the electronic equipment determines that the current voltage signal and the current signal of the loudspeaker are 5V and 2A respectively, and inputs the current voltage signal and the current signal into the protection model A to obtain the current temperature of the loudspeaker and the amplitude of the output sound signal of the loudspeaker are 20 degrees and 15 decibels respectively.
After the electronic device obtains the current temperature of the loudspeaker and the amplitude of the output sound signal, the input signal of the loudspeaker can be adjusted according to the actual operation parameters. The electronic device may reduce a voltage signal input to the speaker when the temperature is greater than a temperature threshold; or when the amplitude is greater than an amplitude threshold, reducing a current signal input to the speaker, and the like. For example: the electronic device may preset a temperature threshold of 30 degrees, an amplitude threshold of 10 db, etc., and then the electronic device determines that the current temperature of the speaker is less than the temperature threshold, and the amplitude of the output sound signal is greater than the amplitude threshold. The electronic device may decrease the voltage signal input to the speaker, or increase the current signal input to the speaker, etc. In the embodiment of the disclosure, the manner of correspondingly adjusting the input signal of the speaker is not particularly limited, and the input signal may be adjusted according to temperature, may be adjusted according to amplitude, or may be adjusted according to both temperature and amplitude; the input voltage across the speaker may be adjusted, the input current to the speaker may be adjusted, or both the input voltage across the speaker and the input current to the speaker may be adjusted, etc.
In the embodiment of the disclosure, the current voltage signal and the current signal of the speaker are input into the protection model to obtain the current temperature of the speaker and/or the amplitude of the output sound signal, when the temperature is greater than the temperature threshold, the voltage signal input into the speaker is reduced, and/or when the amplitude is greater than the amplitude threshold, the current signal input into the speaker is reduced, so that the input signal of the speaker can be simply and accurately adjusted, and the performance of the speaker and the like are improved to the greatest extent.
According to the technical scheme, the corresponding protection model can be determined through the type information of the loudspeaker in the process of outputting the sound signal by the loudspeaker, so that the current actual operation parameters of the loudspeaker are determined according to the protection model, and the input signal of the loudspeaker is adjusted according to the actual operation parameters. According to the first aspect, by associating the type information of the loudspeaker with the protection model, the actual operation parameters determined based on the protection model can be more corresponding to the performance of the loudspeaker, so that the input signal of the loudspeaker is accurately controlled, and the possibility of damage to the loudspeaker due to the fact that the input signal exceeds the limit is reduced; in the second aspect, accurate adjustment of input signals can be realized by utilizing hardware of the electronic equipment, and the circuit or structure of the electronic equipment is not required to be modified, so that the research, development and production cost can be reduced; in a third aspect, a software-based approach enables identification of the type of speaker with greater security and stability than hardware improvements to enable identification of the type of speaker.
Fig. 3 is a block diagram of a control device of a speaker according to an exemplary embodiment. As shown in fig. 3, the apparatus is applied to an electronic device having a speaker, and a control apparatus 300 of the speaker mainly includes:
a first determining module 301 configured to determine, during outputting of a sound signal by the speaker, a protection model corresponding to type information of the speaker according to the type information;
a second determining module 302 configured to determine current actual operating parameters of the speaker according to the protection model;
a third determination module 303 is configured to adjust the input signal of the loudspeaker according to the actual operating parameter.
In some embodiments, the apparatus 300 further comprises:
the first acquisition module is configured to acquire current electrical performance parameters of the loudspeaker;
the association module is configured to determine the type information of the loudspeaker based on the current electrical performance parameter and a preset association relation;
the association relation is used for representing the mapping relation between the electrical performance parameter and the type information.
In some embodiments, the apparatus 300 further comprises:
the second acquisition module is configured to acquire the electrical performance parameters of the loudspeaker in the process of parameter configuration of the loudspeaker;
The first configuration module is configured to configure type information corresponding to the electrical performance parameters;
the establishing module is configured to establish an association relationship between the electrical performance parameters and the type information;
and the storage module is configured to store the electrical performance parameters, the type information and the association relation into a memory of the electronic equipment.
In some embodiments, the apparatus 300 further comprises:
the third acquisition module is configured to acquire at least one of a winding direction of a coil in the loudspeaker, a magnetizing direction of the magnetic module and a positive and negative electrode direction of an input signal in the process of parameter configuration of the loudspeaker;
the adjusting module is configured to adjust the electrical performance parameter according to at least one of the bypass direction, the magnetizing direction and the anode and cathode direction;
the second configuration module is configured to configure type information corresponding to the adjusted electrical performance parameters;
wherein, the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different.
In some embodiments, the electrical performance parameter comprises: a phase response;
The first configuration module is configured to:
determining the phase response according to the current test operation parameters of the loudspeaker in the process of outputting the test sound signals by the loudspeaker;
and configuring type information corresponding to the phase response.
In some embodiments, the first configuration module is configured to:
during the process of outputting the test sound signal by the loudspeaker, identifying the frequency type of the test sound signal output by the loudspeaker;
obtaining the phase response according to the test operation parameters by using a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies.
In some embodiments, the frequency types include: fixed frequency and non-fixed frequency; the first configuration module is configured to:
during the process of outputting the test sound signal with the fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a first calculation strategy;
during the process of outputting the test sound signal with the non-fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a second calculation strategy;
Wherein the first computing policy is different from the second computing policy.
In some embodiments, the test operating parameters include: a first voltage signal, a first current signal, and a first sampling rate;
the first configuration module is configured to:
determining a starting time of a voltage input period of the first voltage signal and a starting time of a current input period of the first current signal;
and determining the phase response of the loudspeaker according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period and the first sampling rate.
In some embodiments, the first configuration module is configured to:
determining a time difference between a start time of the voltage input period and a start time of the current input period;
and determining a phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate.
In some embodiments, the test operating parameters include: a second voltage signal, a second current signal, and a second sampling rate;
the first configuration module is configured to:
obtaining a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal; wherein the voltage data sequence and the current data sequence both have preset lengths;
Obtaining a target phase response sequence according to the voltage data sequence and the current data sequence;
determining a target frequency according to the preset length and the second sampling rate;
from the sequence of phase responses, a phase response corresponding to the target frequency is determined.
In some embodiments, the first configuration module is configured to:
according to the voltage data sequence, a phase angle sequence of the second voltage signal is obtained;
according to the current data sequence, a phase angle sequence of the second current signal is obtained;
and determining the target phase response sequence according to the difference value of the phase angle of the corresponding position in the phase angle sequence of the second voltage signal and the phase angle of the corresponding position in the phase angle sequence of the second current signal.
In some embodiments, the second determining module 302 is configured to:
inputting the current voltage signal and current signal of the loudspeaker into the protection model to obtain the current temperature of the loudspeaker and/or the amplitude of the output sound signal;
the third determining module 303 is configured to:
reducing a voltage signal input to the speaker when the temperature is greater than a temperature threshold; and/or
And when the amplitude is larger than an amplitude threshold value, reducing a current signal input to the loudspeaker.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 4 is a block diagram showing a hardware configuration of a control device of a speaker according to an exemplary embodiment. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at apparatus 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 406 provides power to the various components of the apparatus 400. The power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may also detect the change in position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WI-FI,4G, or 5G, or a combination thereof. In one exemplary embodiment, the communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 404, including instructions executable by processor 420 of apparatus 400 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a control device of a speaker, causes the control device of the speaker to perform a method of controlling the speaker, the method being applied to an electronic device having a speaker, comprising:
during the process of outputting sound signals by the loudspeaker, determining a protection model corresponding to the type information according to the type information of the loudspeaker;
determining the current actual operation parameters of the loudspeaker according to the protection model;
and adjusting the input signal of the loudspeaker according to the actual operation parameter.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A method of controlling a speaker, applied to an electronic device having a speaker, the method comprising:
during the process of outputting sound signals by the loudspeaker, determining a protection model corresponding to the type information according to the type information of the loudspeaker;
determining the current actual operation parameters of the loudspeaker according to the protection model;
and adjusting the input signal of the loudspeaker according to the actual operation parameter.
2. The method according to claim 1, wherein the method further comprises:
acquiring current electrical performance parameters of the loudspeaker;
determining the type information of the loudspeaker based on the current electrical performance parameter and a preset association relation;
the association relation is used for representing the mapping relation between the electrical performance parameter and the type information.
3. The method according to claim 1, wherein the method further comprises:
Acquiring electrical performance parameters of the loudspeaker in the process of carrying out parameter configuration on the loudspeaker;
configuring type information corresponding to the electrical performance parameters;
establishing an association relationship between the electrical performance parameter and the type information;
and storing the electrical performance parameters, the type information and the association relation into a memory of the electronic equipment.
4. A method according to claim 3, characterized in that the method further comprises:
in the process of parameter configuration of the loudspeaker, at least one of a winding direction of a coil in the loudspeaker, a magnetizing direction of a magnetic module and a positive and negative electrode direction of an input signal is obtained;
adjusting the electrical performance parameter according to at least one of the detour direction, the magnetizing direction and the anode and cathode directions;
configuring type information corresponding to the adjusted electrical performance parameters;
wherein, the adjusted electrical performance parameters are different, and the type information corresponding to each adjusted electrical performance parameter is also different.
5. The method of claim 3 or 4, wherein the electrical performance parameter comprises: a phase response;
The configuring type information corresponding to the electrical performance parameter includes:
determining the phase response according to the current test operation parameters of the loudspeaker in the process of outputting the test sound signals by the loudspeaker;
and configuring type information corresponding to the phase response.
6. The method of claim 5, wherein determining the phase response based on the current test operating parameters of the speaker during the output of the test sound signal by the speaker comprises:
during the process of outputting the test sound signal by the loudspeaker, identifying the frequency type of the test sound signal output by the loudspeaker;
obtaining the phase response according to the test operation parameters by using a calculation strategy corresponding to the frequency type; wherein different frequency types correspond to different calculation strategies.
7. The method of claim 6, wherein the frequency type comprises: fixed frequency and non-fixed frequency; the obtaining the phase response according to the test operation parameter by using a calculation strategy corresponding to the frequency type comprises:
during the process of outputting a test sound signal with a fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a first calculation strategy;
During the process of outputting a test sound signal with a non-fixed frequency by the loudspeaker, obtaining the phase response according to the test operation parameter by utilizing a second calculation strategy;
wherein the first computing policy is different from the second computing policy.
8. The method of claim 7, wherein the test operating parameters comprise: a first voltage signal, a first current signal, and a first sampling rate;
the obtaining the phase response according to the test operation parameters by using a first calculation strategy comprises:
determining a starting time of a voltage input period of the first voltage signal and a starting time of a current input period of the first current signal;
and determining the phase response of the loudspeaker according to the fixed frequency, the starting time of the voltage input period, the starting time of the current input period and the first sampling rate.
9. The method of claim 8, wherein determining the phase response of the speaker based on the fixed frequency, the start time of the voltage input period, the start time of the current input period, and the first sample rate comprises:
Determining a time difference between a start time of the voltage input period and a start time of the current input period;
and determining a phase response corresponding to the fixed frequency according to the time difference, the fixed frequency and the first sampling rate.
10. The method of claim 7, wherein the test operating parameters comprise: a second voltage signal, a second current signal, and a second sampling rate;
the obtaining the phase response according to the test operation parameters by using a second calculation strategy comprises:
obtaining a voltage data sequence corresponding to a second voltage signal and a current data sequence corresponding to the second current signal; wherein the voltage data sequence and the current data sequence both have preset lengths;
obtaining a target phase response sequence according to the voltage data sequence and the current data sequence;
determining a target frequency according to the preset length and the second sampling rate;
from the sequence of phase responses, a phase response corresponding to the target frequency is determined.
11. The method of claim 10, wherein the deriving a target phase response sequence from the voltage data sequence and the current data sequence comprises:
According to the voltage data sequence, a phase angle sequence of the second voltage signal is obtained;
according to the current data sequence, a phase angle sequence of the second current signal is obtained;
and determining the target phase response sequence according to the difference value of the phase angle of the corresponding position in the phase angle sequence of the second voltage signal and the phase angle of the corresponding position in the phase angle sequence of the second current signal.
12. The method of claim 1, wherein determining the current actual operating parameters of the speaker based on the protection model comprises:
inputting the current voltage signal and current signal of the loudspeaker into the protection model to obtain the current temperature of the loudspeaker and/or the amplitude of the output sound signal;
the adjusting the input signal of the loudspeaker according to the actual operation parameter comprises:
reducing a voltage signal input to the speaker when the temperature is greater than a temperature threshold; and/or
And when the amplitude is larger than an amplitude threshold value, reducing a current signal input to the loudspeaker.
13. A control device of a speaker, which is applied to an electronic apparatus having a speaker, comprising:
The first determining module is configured to determine a protection model corresponding to type information of the loudspeaker according to the type information of the loudspeaker in the process of outputting the sound signal by the loudspeaker;
the second determining module is configured to determine the current actual operation parameters of the loudspeaker according to the protection model;
and the third determining module is configured to adjust the input signal of the loudspeaker according to the actual operation parameter.
14. A control device for a speaker, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: the steps of the method of controlling a loudspeaker according to any of the preceding claims 1 to 12 are carried out.
15. A non-transitory computer readable storage medium, which when executed by a processor of a control apparatus of a loudspeaker, causes the apparatus to perform the steps in the control method of any of the preceding claims 1 to 12.
CN202111300890.4A 2021-11-04 2021-11-04 Speaker control method, device and storage medium Pending CN116074424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111300890.4A CN116074424A (en) 2021-11-04 2021-11-04 Speaker control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111300890.4A CN116074424A (en) 2021-11-04 2021-11-04 Speaker control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116074424A true CN116074424A (en) 2023-05-05

Family

ID=86180841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111300890.4A Pending CN116074424A (en) 2021-11-04 2021-11-04 Speaker control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116074424A (en)

Similar Documents

Publication Publication Date Title
US10367950B2 (en) Device notification adjustment dependent on user proximity
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN109547848B (en) Loudness adjustment method and device, electronic equipment and storage medium
CN104281432A (en) Method and device for regulating sound effect
CN104021148A (en) Method and device for adjusting sound effect
CN104991754A (en) Recording method and apparatus
CN105376903A (en) Method and device for adjusting brightness
CN104038882A (en) Loudspeaker debugging model calibration method and loudspeaker debugging method and device
CN114040285B (en) Method and device for generating feedforward filter parameters of earphone, earphone and storage medium
US11272307B2 (en) Method and device for controlling recording volume, and storage medium
CN105101013A (en) Method and device for playing voice signals
CN109150242A (en) Test the method and device of line loss
CN107404753A (en) Volume adjusting method, device, terminal and storage medium
CN110033784A (en) A kind of detection method of audio quality, device, electronic equipment and storage medium
CN104469648A (en) Audio frequency calibration method and device
CN109729382A (en) Volume processing method, device and server, the electronic equipment of audio, video data
CN112616108B (en) Audio output method, device, system, storage medium and electronic equipment
CN116074424A (en) Speaker control method, device and storage medium
CN106020646A (en) Media volume adjusting method and apparatus, and terminal device
CN114413437B (en) Air conditioner compressor parameter adjusting method, device and storage medium
CN114979923A (en) Method, device and storage medium for determining hearing loss curve
CN106991989B (en) A kind of method of adjustment and device of common electric voltage of LCD panel
CN105204841A (en) Measuring range adjusting method and measuring range adjusting device
CN104112460A (en) Method and device for playing audio data
CN109271292A (en) Power consumption information acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination