CN109168108B - Amplitude adjusting method and device for electroacoustic device and mobile terminal - Google Patents
Amplitude adjusting method and device for electroacoustic device and mobile terminal Download PDFInfo
- Publication number
- CN109168108B CN109168108B CN201811246782.1A CN201811246782A CN109168108B CN 109168108 B CN109168108 B CN 109168108B CN 201811246782 A CN201811246782 A CN 201811246782A CN 109168108 B CN109168108 B CN 109168108B
- Authority
- CN
- China
- Prior art keywords
- pressure value
- electroacoustic device
- air pressure
- amplitude
- electroacoustic
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an amplitude adjusting method and device for an electroacoustic device and a mobile terminal, and solves the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure. The method comprises the following steps: acquiring the geographical position information of the electroacoustic device; determining an air pressure value based on the geographic location information; based on the air pressure value, adjusting a parameter value of an input signal of the electroacoustic device such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
Description
Technical Field
The invention relates to the field of terminals, in particular to an amplitude adjustment method and device for an electroacoustic device and a mobile terminal.
Background
With the popularization of mobile terminals, the use regions and environments of the mobile terminals are more and more extensive, and different regions or different environments have obvious air pressure differences, for example, the air pressure in plateau regions is obviously lower than that in coastal regions, and sometimes the air pressure difference can reach 0.6 standard atmospheric pressure.
At present, electroacoustic devices, such as a moving coil receiver and a moving coil speaker, are generally installed in a mobile terminal. In order to ensure the normal operation of the electroacoustic device, the electroacoustic device generally has certain amplitude limitation, and the amplitude is not allowed to exceed the limit when the electroacoustic device operates.
However, when entering a low-pressure environment, the amplitude of the electroacoustic device can be increased significantly or even exceeded, and the amplitude exceeding easily generates noise or even damages the electroacoustic device. Therefore, it is necessary to provide a method capable of protecting the electroacoustic device under different air pressures for such a case.
Disclosure of Invention
The embodiment of the invention provides an amplitude adjusting method and device for an electroacoustic device and a mobile terminal, and solves the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, there is provided an amplitude adjustment method for an electroacoustic device, the method comprising: acquiring the geographical position information of the electroacoustic device; determining an air pressure value based on the geographic location information; based on the air pressure value, adjusting a parameter value of an input signal of the electroacoustic device such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
In a second aspect, there is provided an amplitude adjustment apparatus for an electroacoustic device, the apparatus comprising: the position acquisition module is used for acquiring the geographical position information of the electroacoustic device; the air pressure value determining module is used for determining an air pressure value based on the geographical position information; and the adjusting module is used for adjusting the parameter value of the input signal of the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not greater than the limit amplitude.
In a third aspect, a mobile terminal is provided, comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the invention, the air pressure value is determined based on the geographic position information of the electroacoustic device, and the parameter value of the input signal of the electroacoustic device is adjusted based on the air pressure value, so that the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude overrun of the electroacoustic device can be avoided, and the problem of the amplitude overrun of the electroacoustic device caused by air pressure is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of an amplitude adjustment method for an electroacoustic device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a loudspeaker to which the amplitude adjustment method of the electroacoustic device provided by the embodiment of the present invention is applied;
fig. 3 is a schematic structural diagram of an amplitude adjustment apparatus for an electroacoustic device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an amplitude adjustment method 100 for an electroacoustic device, comprising the following steps:
s102: and acquiring the geographical position information of the electroacoustic device.
The electroacoustic device mentioned in the embodiments of the present specification may specifically be a moving-coil electroacoustic device, and includes not only a receiver (also referred to as a handset) for converting an audio electrical signal into an acoustic signal, but also a speaker (also referred to as a loudspeaker) for emitting sound.
Generally speaking, the electroacoustic device is located in the mobile terminal, so that the embodiment can acquire the geographical location information of the mobile terminal, and take the geographical location information of the mobile terminal as the geographical location information of the electroacoustic device.
In the step, when the geographical position information of the electroacoustic device is acquired, at least one of GPS acquisition, Wi-Fi hotspot and base station acquisition can be adopted.
Specifically, when the geographical position information of the electroacoustic device is acquired by adopting a GPS, the acquired GPS data comprises longitude and latitude information of the electroacoustic device; when the Wi-Fi hotspot is adopted to acquire the geographical position information of the electroacoustic device, the acquired name information of the wireless local area network comprises the SSID (service set identifier) of the wireless hotspot which can be searched currently and the like; when the base station is adopted to obtain the geographic position information of the electroacoustic device, the obtained base station information comprises Cell Id, Location Id and the like.
In the embodiment of the present specification, the geographic position information of the electroacoustic device may be obtained by only one obtaining method, or may be obtained by several obtaining methods at the same time, so as to improve the accuracy of the obtained geographic position information.
S104: determining a barometric pressure value based on the geographic location information.
The air pressure value here may be an atmospheric pressure value of an environment where the electroacoustic device is located, and may be in units of Pa, such as 101.325kPa, 90kPa, and the like; it may also be in standard atmospheric units, e.g., 0.6 standard atmospheric pressure, 0.8 standard atmospheric pressure, 1 standard atmospheric pressure, and so forth.
Optionally, this step may determine an altitude based on the geographic location information; an air pressure value matching the altitude is determined (or selected), wherein the embodiment may be performed by pre-storing a plurality of altitudes and a plurality of air pressure values, which are inversely related.
Specifically, before the embodiment is executed, a corresponding relation table of the geographic location information, the altitude and the barometric pressure value may be established in advance, as shown in table 1, and the embodiment may determine the barometric pressure value based on the geographic location information by using a table lookup manner.
TABLE 1 corresponding relationship table of geographical position information, altitude and barometric pressure values
Geographical location information | Altitude height | Air pressure value |
Beijing | 30 m | 101kPa |
Shenzhen (Shenzhen medicine) | 70 m | 101kPa |
Lasa | 3600 m | 65kPa |
…… | …… | …… |
Optionally, in this step, the air pressure value of the environment where the electroacoustic device is located may be obtained from a preset port based on the geographic position information of the electroacoustic device, for example, the electroacoustic device is located in the mobile terminal, a positioning device installed on the mobile terminal may obtain the geographic position information of the mobile terminal in real time, and then the air pressure value of the environment where the electroacoustic device is located is obtained from a port provided by the network weather station based on the geographic position information of the mobile terminal, which is more accurate.
S106: adjusting a parameter value of an input signal of the electroacoustic device based on the air pressure value such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
Optionally, this step may adjust the input signal power to the electroacoustic device based on the air pressure value such that the operating amplitude of the electroacoustic device is not greater than a limit amplitude. For example, when the air pressure value is relatively low, the power of the input signal is reduced; and when the air pressure value is relatively high, the power of the input signal is increased, wherein the air pressure value and the power of the input line signal can be in a negative correlation relationship.
The parameter value for adjusting the input signal power of the electroacoustic device may specifically be adjusting the output voltage, or adjusting the output current, or adjusting both the output voltage and the output current, where both the output voltage and the output current may be used to adjust the input signal power.
Alternatively, this step may select, based on the air pressure value, a filter coefficient of a filter matched to the air pressure value so that the operating amplitude of the electroacoustic device is not greater than a limit amplitude, and the filter coefficient of the filter may be specifically a cut-off frequency of the filter.
Wherein the filter is used for filtering low-frequency signals in the input signals of the electroacoustic device. For example, when the air pressure value is relatively low, a filter coefficient 1 is selected, and the attenuation of the low-frequency signal corresponding to the filter coefficient 1 is relatively high; when the air pressure value is relatively high, a filter coefficient 2 is selected, the attenuation of the low-frequency signal corresponding to the filter coefficient 2 is low, and the air pressure value is inversely related to the attenuation of the low-frequency signal.
The embodiment of the present application shows two specific implementations of the foregoing step S106. Of course, it should be understood that step S106 may also be implemented in other ways, and this is not limited by this embodiment of the application.
According to the amplitude adjusting method of the electroacoustic device, the air pressure value is determined based on the geographic position information of the electroacoustic device, the parameter value of the input signal of the electroacoustic device is adjusted based on the air pressure value, the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude of the electroacoustic device can be prevented from exceeding the limit, and the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure is solved.
Optionally, in S102 of the above embodiment, the geographic location information of the electroacoustic device is obtained, and in practical applications, there may be a plurality of obtaining manners, for example, conventional terrestrial positioning methods may be adopted, and these methods may include GPS positioning, radio positioning, and the like. GPS positioning is the positioning of a moving object by a plurality of satellites. Radio positioning mainly includes the following positioning methods: RFID card reading method, arrival angle positioning method AoA, arrival time positioning method ToA, arrival time difference positioning method TDoA and received signal strength positioning method RSS.
In order to describe the amplitude adjustment method of the electroacoustic device provided in the embodiments of the present application in detail, two specific embodiments will be described below.
The following description will be given taking an electroacoustic device as a speaker, and it is understood that the following embodiments are also applicable to other electroacoustic devices such as a receiver.
Fig. 2 is a loudspeaker provided in an embodiment of the present application, as shown in fig. 2, mainly including:
the support 201, which is mainly used for fixing the magnet 202 and the diaphragm 204, is the main structural support of the whole speaker.
The magnet 202, which may be a permanent magnet, is fixed to the lower bracket 201 and mainly functions to generate a stable magnetic field environment.
The coil 203, which may be formed by winding a thin copper wire, is fixed under the diaphragm 204 and wraps the magnet 202. When the coil 203 is energized, it generates magnetism, and generates magnetic force with the magnet 202 to push the coil 202 to drive the diaphragm 204 to move. The coil 203 is connected to an external circuit (not shown) through a spring plate below the holder 201, and an input signal is transmitted to the coil 203 through the external circuit.
And the diaphragm 204 is fixed on the bracket 201, the lower part of the diaphragm is connected with the coil 203, and the diaphragm 204 pushes air to generate sound when moving.
When the loudspeaker shown in fig. 2 works, an input signal is accessed from the outside, and passes through the coil 203 of the loudspeaker, at this time, under the interaction between the magnetic field generated by the coil 203 and the permanent magnet 202, the coil 203 generates displacement and pushes the diaphragm 204, and the diaphragm 204 pushes the air to generate sound with a specific frequency, i.e., generate sound.
Extreme cases of speaker operation: there is a maximum limit, i.e., an upper limit, of the displacement of the loudspeaker diaphragm 204. When the amplitude upper limit (namely, the limit amplitude) is not exceeded, the loudspeaker works normally, and when the amplitude upper limit is exceeded, the loudspeaker diaphragm 204 is excessively deformed, so that permanent damage or complete failure is caused; on the other hand, excessive stretching of the diaphragm 204 may cause peeling of the coil 203 or disconnection to cause damage to the speaker.
Based on the speaker shown in fig. 2, the problem of amplitude overrun when the speaker is in a low-pressure environment can be solved by intelligently reducing the power of the input signal input to the speaker, which will be described in detail below.
This embodiment may be implemented by modeling the speaker system before it is possible to identify the corresponding input signal power at which the speaker reaches a limit amplitude for different air pressure values.
In one embodiment, the corresponding relationship between the air pressure value and the input signal power can be seen in table 2, a plurality of air pressure values and a plurality of matched input signal powers are positively correlated.
TABLE 2 air pressure value and input signal power corresponding relation table
Air pressure value | Input signal power |
1 standard atmospheric pressure | 2W |
0.8 standard atmosphere | 1.7W |
0.7 standard atmosphere | 1.3W |
0.6 standard atmosphere | 1W |
…… | …… |
Through the operation, the embodiment can acquire the geographical position information of the electroacoustic device before the loudspeaker works or when the loudspeaker works; the air pressure value is determined based on the geographical position information and then matched with the air pressure value in table 2 to select the corresponding input signal power as the limit input signal power, so that the working amplitude of the loudspeaker is not larger than the limit amplitude.
According to the amplitude adjusting method of the electroacoustic device, the air pressure value is determined based on the geographic position information of the electroacoustic device, the parameter value of the input signal power of the electroacoustic device is adjusted based on the air pressure value, the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude of the electroacoustic device can be prevented from exceeding, and the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure is solved.
According to the embodiment of the application, manual configuration of a consumer is not needed, so that the consumer can normally use the loudspeaker and the receiver in a high-altitude area (low air pressure) environment without worrying about the risk of damage.
Based on the speaker shown in fig. 2, the problem of amplitude overrun when the speaker is in a low-pressure environment can be solved by intelligently changing the filter coefficient of the filter, which will be described in detail below.
This embodiment may be implemented by modeling the loudspeaker system before it is possible to identify the corresponding filter coefficients at which the loudspeaker reaches a limit amplitude for different air pressure values.
Considering that the part with large amplitude of the speaker vibration is mainly concentrated in the low frequency region and the amplitude of the middle and high frequency regions is small, if the low frequency part can be processed separately, the adjustment of the working amplitude of the speaker can be realized.
This embodiment may be implemented by modeling the loudspeaker system before identifying the corresponding filter coefficients for the loudspeaker reaching the limit amplitude for different air pressure values, the filter being used to filter low frequency signals in the input signal to the electro-acoustic device.
In one embodiment, the filter coefficients, barometric pressure values, and attenuation of the low frequency signal are in table 3, where a plurality of barometric pressure values are inversely related to the attenuation of a matching plurality of low frequency signals in table 3.
TABLE 3 Filter coefficient, air pressure value and attenuation quantity corresponding relation table of low frequency signal
Air pressure value | Filter coefficient | Attenuation of low frequency signal |
1 standard atmospheric pressure | Coefficient of 1 | 0db |
0.8 standard atmosphere | Coefficient 2 | 1db |
0.7 standard atmosphere | Coefficient 3 | 2db |
0.6 standard atmosphere | Coefficient 4 | 3db |
…… | …… | …… |
Optionally, the embodiment of the present invention may be specifically implemented by using an Equalizer (EQ) to call a corresponding filter coefficient, and the Equalizer may be configured to adjust a gain value of each frequency band signal.
Since the amplitude of the speaker is generally a low frequency portion, which is obtained from the amplitude law of the speaker, the amplitude of the speaker can be reduced by suppressing the low frequency by selecting the corresponding filter coefficient.
Through the embodiment, the implementation is directly realized through the controller of the equalizer, hardware in the mobile terminal is not required to be changed, pure software control is realized, the control is simple, and the cost is saved conveniently.
Through the operation, the embodiment can acquire the geographical position information of the electroacoustic device before the loudspeaker works or when the loudspeaker works; the air pressure value is determined based on the geographical location information and then matched with the air pressure values in table 3 to select the corresponding filter coefficient through the equalizer, i.e. the working amplitude of the loudspeaker is not greater than the limit amplitude.
According to the amplitude adjusting method of the electroacoustic device, the air pressure value is determined based on the geographic position information of the electroacoustic device, the filter coefficient of the electroacoustic device is adjusted based on the air pressure value, the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude of the electroacoustic device can be prevented from exceeding the limit, and the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure is solved.
According to the embodiment of the application, manual configuration of a consumer is not needed, so that the consumer can normally use the loudspeaker and the receiver in a high-altitude area (low air pressure) environment without worrying about the risk of damage.
The amplitude adjustment method of the electroacoustic device according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 2. The electroacoustic device amplitude adjusting apparatus according to an embodiment of the present invention will be described in detail with reference to fig. 3, and fig. 3 is a schematic structural view of an electroacoustic device amplitude adjusting apparatus 300 according to an embodiment of the present invention. As shown in fig. 3, the amplitude adjustment apparatus 300 for an electroacoustic device comprises:
a location obtaining module 302, which may be configured to obtain geographic location information of the electroacoustic device;
an air pressure value determination module 304, which may be configured to determine an air pressure value based on the geographic location information;
an adjusting module 306 may be configured to adjust a parameter value of an input signal of the electroacoustic device based on the air pressure value such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
The utility model provides an electroacoustic device amplitude adjusting device, the atmospheric pressure value is confirmed to geographical position information based on electroacoustic device to based on the parameter value of the input signal of atmospheric pressure value adjustment electroacoustic device, make the work amplitude of electroacoustic device be not more than the limit amplitude, can avoid electroacoustic device amplitude transfinite, solve the problem that the electroacoustic device amplitude transfinites because of atmospheric pressure causes.
Optionally, as an embodiment, the adjusting module 306 may be configured to adjust the input signal power of the electroacoustic device based on the air pressure value, so that the operating amplitude of the electroacoustic device is not greater than a limit amplitude.
Optionally, as an embodiment, the adjusting module 306 may be configured to select a filter coefficient matched to the air pressure value based on the air pressure value, so that the working amplitude of the electroacoustic device is not greater than a limit amplitude, wherein,
the filter of the electroacoustic device is used for filtering low-frequency signals in the input signals.
Optionally, as an embodiment, the air pressure value and the attenuation amount of the low frequency signal are inversely correlated.
Alternatively, as an embodiment, the air pressure value determination module 304 may be used for
Determining an altitude based on the geographic location information;
determining a barometric pressure value that matches the altitude, wherein,
the electroacoustic device amplitude adjustment apparatus 300 further comprises a storage module (not shown) for storing a plurality of altitudes and a plurality of barometric pressure values in advance, wherein the altitudes and the barometric pressure values are inversely related.
The electroacoustic device amplitude adjusting apparatus 300 according to the embodiment of the present invention may refer to the process of the electroacoustic device amplitude adjusting method 100 according to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the electroacoustic device amplitude adjusting apparatus 300 are respectively for implementing the corresponding process in the electroacoustic device amplitude adjusting method, and are not described herein again for brevity.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is used for acquiring the geographic position information of the electroacoustic device; determining a barometric pressure value based on the geographic location information; adjusting a parameter value of an input signal of the electroacoustic device based on the air pressure value such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
The mobile terminal provided by the embodiment of the application determines the air pressure value based on the geographic position information of the electroacoustic device, and adjusts the parameter value of the input signal of the electroacoustic device based on the air pressure value, so that the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude of the electroacoustic device can be prevented from exceeding, and the problem that the amplitude of the electroacoustic device exceeds due to air pressure is solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned electroacoustic device amplitude control method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned electroacoustic device amplitude control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. An amplitude adjustment method for an electroacoustic device, comprising:
acquiring the geographical position information of the electroacoustic device;
determining an air pressure value based on the geographic location information;
based on the air pressure value, adjusting a parameter value of an input signal of the electroacoustic device so that the working amplitude of the electroacoustic device is not larger than a limit amplitude, wherein the air pressure value is an atmospheric pressure value of the environment where the electroacoustic device is located;
wherein said adjusting a parameter value of an input signal to said electroacoustic device based on said air pressure value such that an operating amplitude of said electroacoustic device is not greater than a limit amplitude comprises:
adjusting the input signal power of the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not greater than a limit amplitude;
or selecting a filter coefficient matched with the air pressure value based on the air pressure value so that the working amplitude of the electroacoustic device is not larger than a limit amplitude, wherein the filter is used for filtering low-frequency signals in the input signals.
2. The method of claim 1,
the air pressure value is inversely correlated with the attenuation amount of the low-frequency signal.
3. The method of any of claims 1-2, wherein determining the barometric pressure value based on the geographic location information comprises:
determining an altitude based on the geographic location information;
determining a barometric pressure value that matches the altitude, wherein,
before the determining the air pressure value, the method further comprises: a plurality of altitudes and a plurality of barometric pressure values, which are inversely related, are pre-stored.
4. An amplitude adjustment apparatus for an electroacoustic device, comprising:
the position acquisition module is used for acquiring the geographical position information of the electroacoustic device;
the air pressure value determining module is used for determining an air pressure value based on the geographical position information;
the adjusting module is used for adjusting the parameter value of the input signal of the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not larger than the limit amplitude, and the air pressure value is the atmospheric pressure value of the environment where the electroacoustic device is located;
the adjusting module is specifically configured to adjust the input signal power of the electroacoustic device based on the air pressure value, so that the working amplitude of the electroacoustic device is not greater than a limit amplitude;
or, the adjusting module is specifically configured to select, based on the air pressure value, a filter coefficient matched to the air pressure value, so that an operating amplitude of the electroacoustic device is not greater than a limit amplitude, where the filter is configured to filter a low-frequency signal in the input signal.
5. The apparatus of claim 4, wherein the barometric pressure value is inversely related to an amount of attenuation of the low frequency signal.
6. The apparatus of any of claims 4 to 5, wherein the air pressure value determination module is configured to determine the air pressure value
Determining an altitude based on the geographic location information;
determining a barometric pressure value that matches the altitude, wherein,
the device also comprises a storage module used for storing a plurality of altitudes and a plurality of barometric pressure values, wherein the altitudes and the barometric pressure values are inversely related.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811246782.1A CN109168108B (en) | 2018-10-24 | 2018-10-24 | Amplitude adjusting method and device for electroacoustic device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811246782.1A CN109168108B (en) | 2018-10-24 | 2018-10-24 | Amplitude adjusting method and device for electroacoustic device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109168108A CN109168108A (en) | 2019-01-08 |
CN109168108B true CN109168108B (en) | 2021-03-02 |
Family
ID=64875204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811246782.1A Active CN109168108B (en) | 2018-10-24 | 2018-10-24 | Amplitude adjusting method and device for electroacoustic device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109168108B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769175B (en) * | 2019-02-25 | 2021-03-23 | 维沃移动通信有限公司 | Audio processing method and electronic equipment |
CN110662153B (en) * | 2019-10-31 | 2021-06-01 | Oppo广东移动通信有限公司 | Loudspeaker adjusting method and device, storage medium and electronic equipment |
CN111767000B (en) * | 2020-06-24 | 2023-09-01 | 瑞声科技(新加坡)有限公司 | Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell |
CN112235700B (en) * | 2020-10-30 | 2022-05-17 | Oppo广东移动通信有限公司 | Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium |
CN113676807B (en) * | 2021-08-05 | 2024-04-19 | 维沃移动通信有限公司 | Earphone and electronic equipment assembly |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331901A (en) * | 1998-09-24 | 2002-01-16 | 美国技术公司 | Parametric loudspeaker with electro-acoustical disphragm transducer |
CN104902400A (en) * | 2014-03-06 | 2015-09-09 | 英飞凌科技股份有限公司 | MEMS sensor structure for sensing pressure waves and a change in ambient pressure |
CN106507262A (en) * | 2016-12-27 | 2017-03-15 | 深圳精拓创新科技有限公司 | A kind of diaphragm of loudspeaker tester with controlled excitation source |
CN106982400A (en) * | 2016-01-19 | 2017-07-25 | 苹果公司 | In-Ear loudspeaker mixed audio transparent system |
CN107948822A (en) * | 2017-12-23 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of intelligent-induction sound equipment |
CN108040316A (en) * | 2017-11-24 | 2018-05-15 | 维沃移动通信有限公司 | A kind of amplitude detection method and mobile terminal |
CN108401204A (en) * | 2018-01-22 | 2018-08-14 | 广东思派康电子科技有限公司 | A kind of novel active noise reduction earphone |
-
2018
- 2018-10-24 CN CN201811246782.1A patent/CN109168108B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331901A (en) * | 1998-09-24 | 2002-01-16 | 美国技术公司 | Parametric loudspeaker with electro-acoustical disphragm transducer |
CN104902400A (en) * | 2014-03-06 | 2015-09-09 | 英飞凌科技股份有限公司 | MEMS sensor structure for sensing pressure waves and a change in ambient pressure |
CN106982400A (en) * | 2016-01-19 | 2017-07-25 | 苹果公司 | In-Ear loudspeaker mixed audio transparent system |
CN106507262A (en) * | 2016-12-27 | 2017-03-15 | 深圳精拓创新科技有限公司 | A kind of diaphragm of loudspeaker tester with controlled excitation source |
CN108040316A (en) * | 2017-11-24 | 2018-05-15 | 维沃移动通信有限公司 | A kind of amplitude detection method and mobile terminal |
CN107948822A (en) * | 2017-12-23 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of intelligent-induction sound equipment |
CN108401204A (en) * | 2018-01-22 | 2018-08-14 | 广东思派康电子科技有限公司 | A kind of novel active noise reduction earphone |
Also Published As
Publication number | Publication date |
---|---|
CN109168108A (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109168108B (en) | Amplitude adjusting method and device for electroacoustic device and mobile terminal | |
CN107562406B (en) | Volume adjusting method, mobile terminal and computer readable storage medium | |
CN107231473B (en) | Audio output regulation and control method, equipment and computer readable storage medium | |
CN107888765B (en) | Method for switching scene mode and mobile terminal | |
CN109547894B (en) | Amplitude adjustment method and device for electroacoustic device and mobile terminal | |
CN107911812B (en) | Method for adjusting preferred public land mobile network PPLMN list and mobile terminal | |
CN109905812B (en) | Input power control method and device and terminal equipment | |
CN107846516B (en) | Call scene prompting method and mobile terminal | |
CN110855313B (en) | Signal control method and electronic equipment | |
CN108495349B (en) | Switching method of operator network and mobile terminal | |
CN108282575B (en) | Volume control method, mobile terminal and computer readable storage medium | |
CN109788402B (en) | Audio signal processing method and audio signal processing device | |
CN110456395B (en) | Positioning method and terminal equipment | |
CN110099434B (en) | Power adjustment method, terminal equipment and computer readable storage medium | |
CN108848267B (en) | Audio playing method and mobile terminal | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN109873894B (en) | Volume adjusting method and mobile terminal | |
CN110636530B (en) | Method for processing adjacent channel interference and terminal equipment | |
CN110536236B (en) | Communication method, terminal equipment and network equipment | |
CN110234068B (en) | Positioning method and terminal equipment | |
CN109936817B (en) | Positioning method and terminal equipment | |
CN108879856B (en) | Charging method and terminal | |
CN109889756B (en) | Video call method and terminal equipment | |
CN109041190B (en) | Power control method and terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |