Summary of the invention
The purpose of the present invention is to provide a kind of method and apparatus for switching sound equipment equalizer mode, for solving in sound equipmentThe problem of manual setting sound equipment equalizer mode is needed when mounting means changes.
The invention proposes a kind of methods for switching sound equipment equalizer mode, which comprises
The current placement status of detection of sound equipment;
Determine the corresponding target equalizer mode of the current placement status;
According to the mode of the balanced device in stereo set described in the target equalizer mode setting.
Preferably, after the current placement status of the detection of sound equipment, further includes:
It is whether identical in the placement status of last moment as the stereo set to detect the current placement status;
The corresponding target equalizer mode of the determination current placement status, comprising:
If the current placement status is not identical in the placement status of last moment as the stereo set, it is determined that describedThe corresponding target equalizer mode of current placement status.
Preferably, the detection current placement status and the stereo set last moment placement status whetherAfter identical, further includes:
If the current placement status is identical in the placement status of last moment as the stereo set, keep described equalThe mode of weighing apparatus is constant.
Preferably, the current placement status of the detection of sound equipment, comprising:
Obtain direction sensor inside the stereo set currently collected direction inductor data;
The current placement status of the stereo set is determined according to the direction inductor data.
Preferably, the corresponding target equalizer mode of the determination current placement status, comprising:
If the current placement status is horizontal positioned state, it is determined that the corresponding target of the current placement status is balancedDevice mode is horizontal equalization device mode;
If the current placement status is to be disposed vertically state, it is determined that the corresponding target of the current placement status is balancedDevice mode is vertical equalizer mode.
To solve the above-mentioned problems, the invention also provides a kind of equipment for switching sound equipment equalizer mode, the equipmentInclude:
First detection unit, the current placement status for detection of sound equipment;
Processing unit, for determining the corresponding target equalizer mode of the current placement status;
Balanced device adjusts unit, for the balanced device in the stereo set according to the target equalizer mode settingMode.
Preferably, the equipment further include:
Second detection unit, for detecting the current placement status and the stereo set in the placement shape of last momentWhether state is identical;
Switch unit, if for the current placement status and the stereo set last moment placement status not phaseTogether, it is determined that the corresponding target equalizer mode of the current placement status.
Preferably, if the switch unit is also used to the current placement status and the stereo set in last momentPlacement status is identical, then keeps the mode of the balanced device constant.
Preferably, the first detection unit includes:
Acquiring unit, for obtaining the currently collected direction inductor number of the direction sensor inside the stereo setAccording to;
Matching unit, for determining the current placement status of the stereo set according to the direction inductor data.
Preferably, the processing unit determines that the corresponding target equalizer mode of the current placement status includes:
If the current placement status is horizontal positioned state, the processing unit determines the current placement status pairThe target equalizer mode answered is horizontal equalization device mode;
If the current placement status is to be disposed vertically state, the processing unit determines the current placement status pairThe target equalizer mode answered is vertical equalizer mode.
The present invention determines the corresponding mesh of the current placement status by the current placement status of detection detection of sound equipmentEqualizer mode, and the mode of the balanced device in the stereo set according to the target equalizer mode setting are marked, is solvedThe problem of manual setting sound equipment equalizer mode is needed when sound equipment mounting means changes.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
Fig. 1 shows the flow chart of the method for the switching sound equipment equalizer mode of first embodiment of the invention offer, in order toConvenient for explanation, only the parts related to the present invention are shown.
As an embodiment of the present invention, the method for the switching sound equipment equalizer mode includes the following steps:
In step s101, the current placement status of detection of sound equipment;
Under normal conditions, its initial equalizer mode can be directly arranged in sound equipment when leaving the factory, due to setting when sound equipment factoryThe equalizer mode set be it is unified, it is not intended that the case where user installs as needed, therefore, usual user is for the first timeWhen starting sound equipment need that the balanced device of sound equipment is adjusted.In embodiments of the present invention, it is obtained first after sound equipment startingThe current placement status of stereo set is taken, which is placement status of the stereo set when sound equipment starts.It is anotherAspect, when sound equipment restarts again after closing, the current equalizer mode of sound equipment is usually the equilibrium of last time settingDevice mode, the placement status when placement status when sound equipment restarts again after closing is used from last time are differentWhen, the equalizer mode of sound equipment at this time and current placement status and mismatch can not give the optimal experience of user, thereforeThe placement status current to sound equipment when sound equipment is restarted is needed to detect.
As a preferred embodiment of the present invention, obtaining the current placement shape of stereo set according to the first prefixed time intervalState.Specifically, first prefixed time interval needs to be configured according to user, for example, if user is for a long time to stereo setPlacement status without change when, which can be set as to one month or a week or oneIt, i.e., the unit of time interval can be the moon or week or number of days, if user passes through the stereo set as mobile terminalWhen often mobile, which can be set according to hour or minute.
In step s 102, the corresponding target equalizer mode of the current placement status is determined;
In embodiments of the present invention, stereo set is internally provided with target equalizer mould corresponding to each placement statusFormula, the target equalizer mode carry out debugging in corresponding placement status according to stereo set and reach optimum efficiency and set in advanceIt is fixed, the current placement status of stereo set has been obtained when sound equipment detects after actuation, then has been worked as according to the current placement status determinationTarget equalizer mode corresponding to preceding placement status.
In step s 103, the mode of the balanced device in the stereo set according to the target equalizer mode setting.
In embodiments of the present invention, the current placement status of stereo set corresponds to corresponding target equalizer mode, whenAfter the target equalizer mode is determined, which is sent to balanced device, then balanced device is equal according to the targetWeighing apparatus mode is configured the equalizer mode in stereo set.
Fig. 2 shows second embodiment of the invention provide a kind of switching sound equipment equalizer mode method flow chart,For ease of description, only the parts related to the present invention are shown.
As an embodiment of the present invention, the method for the switching sound equipment equalizer mode includes the following steps:
In step s 201, the current placement status of detection of sound equipment;
In embodiments of the present invention, the current placement status of stereo set is obtained first after sound equipment starting, this is currently putSetting state is placement status of the stereo set in sound equipment starting.On the other hand, when sound equipment restarts again after closing, soundThe equalizer mode that current equalizer mode is usually last time setting is rung, when sound equipment restarts again after closingPlacement status difference when using of placement status and last time when, the equalizer mode of sound equipment at this time and current placementState simultaneously mismatches, and can not give the optimal experience of user, it is therefore desirable to the placement current to sound equipment in sound equipment restartingState is detected.
In the present embodiment, stereo set is internally provided with direction inductor device, and direction inductor is set for incuding sound equipmentStandby placement status, sound equipment starting when stereo set inside direction inductor device be activated after constantly to the placement of stereo setState is detected.
In step S202, detecting placement status of the current placement status with the stereo set in last moment isIt is no identical;
In step S203, if the current placement status and the stereo set are in the placement status not phase of last momentTogether, it is determined that the corresponding target equalizer mode of the current placement status;
In step S204, according to the mode of the balanced device in stereo set described in the target equalizer mode setting.
In embodiments of the present invention, when sound equipment starts, the equalizer mode of stereo set is arranged initial when being factoryEqualizer mode equalizer mode initial equalizer mode set when perhaps last time is opened or last time are openedPlacement status when being initial placement state or last time unlatching corresponding to set equalizer mode when opening, and work asWhen sound equipment restarts, if placement status when the current placement status of stereo set is opened from last time is different, it can leadIt causes placement status and equalizer mode to mismatch and leads to the problem of sense of hearing difference.
Specifically, in embodiments of the present invention, the current placement status of detection of sound equipment first, then to stereo setPlacement status in last moment of current placement status and stereo set detected and determined, if current placement status and soundThe placement status for ringing equipment in last moment is different, then illustrates that the current placement status of stereo set is changed, need byThe equalizer mode switch of stereo set is target equalizer mode corresponding to current placement status, finally according to determined byThe mode of balanced device in target equalizer mode setting stereo set.
Further, the direction inductor device being arranged inside stereo set is upon activation according to preset first time interval pairThe direction position of stereo set is incuded, and is carried out after the direction position to stereo set incudes to current placement statusResetting, and target equalizer mode is determined according to the current placement status after resetting.
Fig. 3 shows a kind of flow chart of the method for switching sound equipment equalizer mode of third embodiment of the invention offer,For ease of description, only the parts related to the present invention are shown.
As an embodiment of the present invention, the method for the switching sound equipment equalizer mode includes the following steps:
In step S301, the current placement status of detection of sound equipment;
In step s 302, detecting placement status of the current placement status with the stereo set in last moment isIt is no identical;
In step S303, if the current placement status and the stereo set are in the placement status phase of last momentTogether, then keep the mode of the balanced device constant.
In embodiments of the present invention, in embodiments of the present invention, when sound equipment starts, the equalizer mode of stereo set isEqualizer mode set by the initial equalizer mode being arranged when factory or last moment, the last moment specifically refer to soundEquipment last time is rung at the time of detect corresponding when current placement status, when detecting that current placement status and stereo set existWhen the placement status of last moment is identical, then it is assumed that no change has taken place for the placement status of stereo set, does not change sound equipment at this timeThe mode of the balanced device of equipment.
Fig. 4 shows a kind of flow chart of the method for switching sound equipment equalizer mode of fourth embodiment of the invention offer,For ease of description, only the parts related to the present invention are shown.
As an embodiment of the present invention, the method for the switching sound equipment equalizer mode includes the following steps:
In step S401, direction sensor inside the stereo set currently collected direction inductor number is obtainedAccording to;
In step S402, the current placement status of the stereo set is determined according to the direction inductor data;
In step S403, the corresponding target equalizer mode of the current placement status is determined;
In step s 404, the mode of the balanced device in the stereo set according to the target equalizer mode setting.
In the present embodiment, the direction sensor being arranged inside stereo set sets sound equipment according to preset interval time startingStandby placement status is incuded, and direction sensor is sensing device weight when altering one's posture by the sensor sensitive to powerThe variation of the heart obtains direction inductor data by cursor change location, then determines sound according to collected direction inductor dataThe current placement status of equipment is rung, specifically, each group of direction sensed data corresponds to the specific placement status of stereo set,Likewise, the current placement status of the stereo set in the present embodiment corresponds to corresponding target equalizer mode, stereo setBalanced device the mode of balanced device be adjusted according to target equalizer mode after receiving target equalizer mode reachBest sense of hearing effect.
As a preferred embodiment of the present invention, working as current placement status determined by stereo set is horizontal positioned stateWhen, it is determined that the corresponding target equalizer mode of the current placement status of stereo set is horizontal equalization device mode, specifically, shouldHorizontal equalization device mode is the acoustic equalizer device data that pre-set suitable stereo set is horizontally arranged state, when detecting soundRinging the current placement status of equipment is when being disposed vertically state, it is determined that the corresponding target of current placement status of stereo set is equalWeighing apparatus mode is vertical equalizer mode, which is that pre-set suitable stereo set is disposed vertically stateAcoustic equalizer device data.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of stereo set can need to be designed according to user.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of the stereo set in the embodiment of the present invention is greater than 20 degree and smallIn 45 degree.In embodiments of the present invention, sound when stereo set is rotated by 90 ° vertical extension wall has been taken into account by design loudspeaker inclination angleLearn effect.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of sound equipment is 20 degree.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of stereo set is 39 degree.
Fig. 5 shows a kind of structure chart of equipment for switching sound equipment equalizer mode provided in an embodiment of the present invention, in order toConvenient for explanation, only the parts related to the present invention are shown.
As an embodiment of the present invention, the equipment of the switching sound equipment equalizer mode includes:
First detection unit 11, the current placement status for detection of sound equipment;
Processing unit 12, for determining the corresponding target equalizer mode of the current placement status;
Balanced device adjusts unit 13, for the balanced device in the stereo set according to the target equalizer mode settingMode.
Under normal conditions, its initial equalizer mode can be directly arranged in sound equipment when leaving the factory, due to setting when sound equipment factoryThe equalizer mode set be it is unified, it is not intended that the case where user installs as needed, therefore, usual user is for the first timeWhen starting sound equipment need that the balanced device of sound equipment is adjusted.In embodiments of the present invention, in stereo set use processMiddle first detection unit 11 detects the current placement status of stereo set, and first detection unit 11 includes direction inductorDevice, direction inductor are used to incude the placement status of stereo set, the direction inductor in sound equipment starting inside stereo setDevice constantly detects the placement status of stereo set after being activated, and further, which can be according between preset timeEvery progress, the current placement status is sent to place after first detection unit 11 has determined the current placement status of stereo setUnit 12 is managed, processing unit 12 is determined target equalizer mode according to the received current placement status of institute, balanced device tuneSection unit 13 receives after target equalizer mode determined by processing unit 12 according to target equalizer mode to stereo setIn the mode of balanced device be adjusted to reach and the matched best sense of hearing effect of the current placement status of stereo set.
As a preferred embodiment of the present invention, first detection unit 11 obtains stereo set according to the first prefixed time intervalCurrent placement status.Specifically, being provided with time set in first detection unit 11, which can set the first inspectionSurvey the first prefixed time interval that unit 11 detects the current placement status of stereo set, first prefixed time intervalIt needs to be configured according to user, for example, if can incite somebody to action when user is for a long time to the placement status of stereo set without changeFirst prefixed time interval is set as one month or a week or one day, i.e., the unit of time interval can for the moon orPerson's week or number of days can be by first preset times if user often moves the stereo set as mobile terminalInterval is set according to hour or minute.
Fig. 6 shows an a kind of preferable example knot of equipment for switching sound equipment equalizer mode provided in an embodiment of the present inventionComposition, for ease of description, only the parts related to the present invention are shown.
As an embodiment of the present invention, the processing unit 12 in the equipment of the switching sound equipment equalizer mode specifically includes:
Second detection unit 121, for detect the current placement status with the stereo set putting in last momentWhether identical set state;
Switch unit 122, if for the current placement status and the stereo set last moment placement statusIt is not identical, it is determined that the corresponding target equalizer mode of the current placement status.
In embodiments of the present invention, the current placement status of stereo set is obtained first after sound equipment starting, this is currently putSetting state is placement status of the stereo set in sound equipment starting.On the other hand, when sound equipment restarts again after closing, soundThe equalizer mode that current equalizer mode is usually last time setting is rung, when sound equipment restarts again after closingPlacement status and last time use when placement status difference when, alternatively, work as the position of stereo set in useState is changed, at this time the equalizer mode of sound equipment and current placement status and mismatch, can not be best to userExperience, it is therefore desirable in sound equipment restarting, the placement status current to sound equipment is detected.
In embodiments of the present invention, sound equipment starting after 11 detection of sound equipment of first detection unit current placement shapeState, placement status of the second detection unit 121 by current placement status and stereo set in last moment compare detection, ifThe current placement status of stereo set is not identical in the placement status of last moment as the stereo set, then believes first detectionNumber be transmitted in switch unit 122, switch unit 122 according to the current placement status of stereo set by equalizer mode switch extremelyTarget equalizer mode corresponding with current placement status, balanced device adjusts unit according to determined by switch unit 122 at this timeTarget equalizer mode is adjusted the mode of the balanced device in stereo set to reach the current placement shape with stereo setThe matched best sense of hearing effect of state.Specifically, when the first placement status of stereo set and the current placement status of stereo setWhen different, the switch unit 122 of sound equipment equalizer mode will be triggered, current placement of the switch unit 122 to stereo setState is reset, and the current placement status reset is sent to balanced device and adjusts unit 13, and balanced device is adjustedUnit 13 resets the equalizer mode of stereo set according to the current placement status reset.
As a preferred embodiment of the present invention, detecting sound equipment when if switch unit 122 is also used to second detection unit 121The current placement status of equipment is identical in the placement status of last moment as the stereo set, then switch unit 122 is without cuttingOperation is changed, the mode of the balanced device of stereo set is constant at this time.
Fig. 7 shows an a kind of preferable example knot of equipment for switching sound equipment equalizer mode provided in an embodiment of the present inventionComposition, for ease of description, only the parts related to the present invention are shown.
As an embodiment of the present invention, the first detection unit 11 in the equipment of the switching sound equipment equalizer mode is specifically wrappedIt includes:
Acquiring unit 111, for obtaining the currently collected direction inductor of the direction sensor inside the stereo setData;
Matching unit 112, for determining the current placement status of the stereo set according to the direction inductor data.
In the present embodiment, the direction sensor being arranged inside stereo set sets sound equipment according to preset interval time startingStandby placement status is incuded, and direction sensor is sensing device weight when altering one's posture by the sensor sensitive to powerThe variation of the heart, acquiring unit 111 obtain direction inductor data by cursor change location, and then matching unit 112 is according to acquisitionTo direction inductor data determine the current placement status of stereo set, specifically, each group of direction sensed data corresponds toThe specific placement status of stereo set, likewise, the current placement status of the stereo set in the present embodiment corresponds to accordinglyTarget equalizer mode, the balanced device of stereo set is after receiving target equalizer mode to the mode of balanced device according to targetEqualizer mode, which is adjusted, reaches best sense of hearing effect.
It is arranged as a preferred embodiment of the present invention, balanced device adjusts unit 13 according to the current placement status of stereo setWhen the equalizer mode of sound equipment, when the current placement status of stereo set is horizontal positioned state, balanced device adjusts unit 13The equalizer mode of sound equipment is set as horizontal equalization device mode;When the current placement status of stereo set is to be disposed vertically stateWhen, balanced device adjusts unit 13 and the equalizer mode of sound equipment is set as vertical equalizer mode.
As a preferred embodiment of the present invention, working as current placement status determined by stereo set is horizontal positioned stateWhen, it is determined that the corresponding target equalizer mode of the current placement status of stereo set is horizontal equalization device mode, specifically, shouldHorizontal equalization device mode is the acoustic equalizer device data that pre-set suitable stereo set is horizontally arranged state, when detecting soundRinging the current placement status of equipment is when being disposed vertically state, it is determined that the corresponding target of current placement status of stereo set is equalWeighing apparatus mode is vertical equalizer mode, which is that pre-set suitable stereo set is disposed vertically stateAcoustic equalizer device data.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of stereo set can need to be designed according to user.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of sound equipment is greater than 20 degree and less than 45 degree.Implement in the present inventionIn example, acoustic efficiency when stereo set is rotated by 90 ° vertical extension wall has been taken into account by design loudspeaker inclination angle.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of stereo set is 20 degree.
As a preferred embodiment of the present invention, the loudspeaker inclination angle of stereo set is 39 degree.
The embodiment of the present invention determines the current placement status pair by the current placement status of detection detection of sound equipmentThe target equalizer mode answered, and the mode of the balanced device in the stereo set according to the target equalizer mode setting,It solves the problems, such as to need manual setting sound equipment equalizer mode when sound equipment mounting means changes.
It is noted that a kind of method and apparatus for switching sound equipment equalizer mode provided in an embodiment of the present invention may be used alsoTo be applied on the mobile terminal with audio playing function.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention andMade any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.