CN114554348A - Method, device and medium for controlling sound signal output - Google Patents

Method, device and medium for controlling sound signal output Download PDF

Info

Publication number
CN114554348A
CN114554348A CN202011345004.5A CN202011345004A CN114554348A CN 114554348 A CN114554348 A CN 114554348A CN 202011345004 A CN202011345004 A CN 202011345004A CN 114554348 A CN114554348 A CN 114554348A
Authority
CN
China
Prior art keywords
sound
mobile terminal
angle
channel
generating device
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
CN202011345004.5A
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 CN202011345004.5A priority Critical patent/CN114554348A/en
Publication of CN114554348A publication Critical patent/CN114554348A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/32Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
    • H04R1/323Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a method, apparatus, and medium for controlling sound signal output, the method including: playing sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction; when the mobile terminal meets the set conditions, switching the sound channels corresponding to the sound generating devices, or prohibiting the sound generating devices from playing sound signals, and executing the following operations for each sound generating device: determining the direction of the sounding device, determining the original sound channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original sound channel through the sounding device. According to the method and the device, when the mobile terminal meets the set conditions, the sound generating devices of the sound channels are switched or a part of the sound generating devices are forbidden, so that the sound playing effect of the mobile terminal is more consistent with the use situation of the user, and the user can obtain the hearing effect which is consistent with the use requirement at any time.

Description

Method, device and medium for controlling sound signal output
Technical Field
The present disclosure relates to the field of mobile terminal data processing technologies, and in particular, to a method, an apparatus, and a medium for controlling sound signal output.
Background
Existing mobile terminals are typically configured with two speakers, for example: the first loudspeaker is arranged at the top end of the mobile terminal, and the second loudspeaker is arranged at the bottom end of the mobile terminal. When the mobile terminal plays the stereo sound signal, one loudspeaker is used for playing the left channel sound signal fixedly, the other loudspeaker is used for playing the left channel sound signal, or a hardware switch is arranged in the mobile terminal to control different loudspeakers to play data of different channels.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and medium for controlling sound signal output.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for controlling sound signal output, applied to a mobile terminal, including:
playing sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction;
when the mobile terminal meets a set condition, switching a sound channel corresponding to a sound generating device, or executing the following operations for each sound generating device: determining the direction of the sounding device, determining the original channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original channel through the sounding device, or prohibiting a sounding device from playing the sound signal.
In one embodiment, the different sound emitting devices comprise a first sound emitting device and a second sound emitting device;
the first sound generating device is a top end loudspeaker, and the second sound generating device is a bottom end loudspeaker;
or, the first sound-generating device is a left side speaker, and the second sound-generating device is a right side speaker;
or, the first sound-generating device is a front speaker, and the second sound-generating device is a back speaker;
or, the first sound-emitting device is a first sound-emitting device used for processing sound signals of a first channel in the screen sound-emitting device, and the second sound-emitting device is a second sound-emitting device used for processing sound signals of a second channel in the screen sound-emitting device.
In one embodiment, the setting condition includes an attitude change condition;
the attitude change condition includes:
after the mobile terminal rotates, the first surface changes from facing the first direction to facing the second direction, and the second surface changes from facing the second direction to facing the first direction;
alternatively, the first and second electrodes may be,
the mobile terminal is folded, the first face is changed from facing a first direction to facing a second direction, or the second face is changed from facing the second direction to facing the first direction;
or, after the mobile terminal is rotated or folded, an included angle between the orientation of the first surface in the new state and the orientation of the second surface in the initial state is greater than a preset angle, or an included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is greater than a preset angle;
or the mobile terminal is folded, and the included angle of the folding screen is smaller than or equal to a first set angle.
In one embodiment, the setting condition further includes a posture scene condition;
the pose scene conditions include: and the attitude change range of the attitude change in the set time length is smaller than the set range.
In one embodiment, the setting condition further includes a duration condition;
the duration condition comprises the following steps: the time-consuming duration of the posture change track is longer than the set duration;
and/or;
the setting conditions further include movement conditions;
the motion conditions include: the moving speed of the mobile terminal is less than the set speed, and/or the moving acceleration of the mobile terminal is less than the set acceleration.
In one embodiment, the different sound emitting devices include N sound emitting devices, where N is an integer greater than or equal to 3.
In one embodiment, the setting condition includes:
the change in the angle of the recognized face is greater than a second set angle, the angle of the face being an angle compared to the forward reference angle.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling sound signal output, applied to a mobile terminal, including:
a detection module configured to detect whether the mobile terminal satisfies a set condition;
the playing control module is configured to play sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction;
the mobile terminal is further configured to switch the sound channel corresponding to the sound generating device when the mobile terminal meets the set condition, or prohibit a sound generating device from playing the sound signal, or perform the following operations for each sound generating device: determining the direction of the sounding device, determining the original sound channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original sound channel through the sounding device.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute executable instructions in the memory to implement the steps of the method of controlling sound signal output.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon executable instructions that, when executed by a processor, implement the steps of the method of controlling sound signal output.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the mobile terminal meets the set conditions, the sound generating devices of the sound channels are switched or a part of the sound generating devices are forbidden, so that the sound playing effect of the mobile terminal is more consistent with the changing use situation of the user, and the user can obtain the auditory effect which is consistent with the use requirement at any time.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of controlling sound signal output according to an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 3 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 4 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 5 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 6 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 7 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 8 is a diagram illustrating a rotational trajectory of a mobile terminal according to an exemplary embodiment;
FIG. 9 is a block diagram illustrating an apparatus for controlling the output of an audio signal in accordance with one exemplary embodiment;
fig. 10 is a block diagram illustrating an apparatus for controlling an output of a sound signal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a method for controlling sound signal output. The method is applied to the mobile terminal which is a mobile phone, a tablet personal computer and other equipment.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method of controlling sound signal output according to an exemplary embodiment. As shown in fig. 1, the method includes:
step S11, playing sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction;
step S12, when the mobile terminal satisfies the setting condition, either switching the sound channel corresponding to the sound generating device, or prohibiting the sound generating device from playing the sound signal, or performing the following operations for each sound generating device: determining the direction of the sounding device, determining the corresponding original sound channel of the direction in the initial state, and playing the sound signal corresponding to the original sound channel through the sounding device.
In one embodiment, between step S11 and step S12, the method further comprises: and detecting whether the mobile terminal meets a set condition.
The sound signal includes sound signals of two channels, or sound signals of more than two channels.
In one embodiment, the sound signal comprises: a sound signal of a first channel and a sound signal of a second channel. A sound signal of a first channel and a sound signal of a second channel are two parts of audio information with stereo sound effect, the first channel is a left channel, and the second channel is a right channel; alternatively, the first channel refers to a right channel and the second channel refers to a left channel. The left channel audio signal is generally a signal of a bass frequency region, and the right channel audio signal is generally a signal of a treble frequency region.
When the sound generating device in the mobile terminal is a loudspeaker and comprises two sound generating devices, the first sound generating device is a top end loudspeaker, and the second sound generating device is a bottom end loudspeaker; or the first sound generating device is a left side loudspeaker, and the second sound generating device is a right side loudspeaker; alternatively, the first sound emitting device is a front speaker and the second sound emitting device is a rear speaker.
When the sound emitting device in the mobile terminal is a screen sound emitting device and includes two sound emitting devices, the first sound emitting device is a first sound emitting device in the screen sound emitting device for processing a sound signal of a first channel, and the second sound emitting device is a second sound emitting device in the screen sound emitting device for processing a sound signal of a second channel.
In one embodiment, the sound signal comprises: a sound signal of a first channel, a sound signal of a second channel, and a sound signal of a third channel. The better stereo effect is embodied by three sound channels. The sound emitting devices in the mobile terminal are speakers and comprise three sound emitting devices, the first sound emitting device being a top speaker, the second sound emitting device being a bottom speaker, and the third sound emitting device being a first side speaker.
When the sound emission device in the mobile terminal is a screen sound emission device and includes three sound emission devices, the first sound emission device is a first sound emission device of the screen sound emission device for processing a sound signal of a first channel, the second sound emission device is a second sound emission device of the screen sound emission device for processing a sound signal of a second channel, and the third sound emission device is a third sound emission device of the screen sound emission device for processing a sound signal of a third channel.
In other embodiments, the mobile terminal includes four sound emitting devices or more than four sound emitting devices, each sound emitting device plays a sound signal of one sound channel, and different sound emitting devices play sound signals of different sound channels.
When the sound generating device in the mobile terminal is a screen sound generating device, the screen sound generating device includes: display structure, sound production base plate and a plurality of electromagnetic actuator. The display structure is attached to one side of the sounding substrate, the electromagnetic exciters are attached to the other side of the sounding substrate, when the two electromagnetic exciters are arranged, one of the electromagnetic exciters corresponds to a sound signal of a left sound channel, and the other electromagnetic exciter corresponds to a sound signal of a right sound channel. The electromagnetic exciter is used for receiving an electric signal corresponding to the sound to be played, converting the electric signal into mechanical vibration and then applying the mechanical vibration to the sound production substrate. The sounding substrate generates bending waves through modal resonance under the action of mechanical vibration of the electromagnetic exciter, and the bending waves generated on the sounding substrate are diffused towards the direction range of 360 degrees around the joint of the electromagnetic exciter and the sounding substrate as the center. The sounding substrate and the display structure attached to the sounding substrate vibrate up and down in a reciprocating manner under the action of bending waves propagated in the sounding substrate, so that sounding is realized.
In this embodiment, when the mobile terminal meets the set condition, the sound generating device of the sound channel is replaced or switched, or a part of the sound generating devices is disabled, so that the sound playing effect of the mobile terminal better conforms to the use situation of the user, and the user can obtain the auditory effect conforming to the use requirement at any time.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: further comprising the setting condition comprises an attitude change condition. For example: and detecting the posture change track of the mobile terminal through the gravity sensor.
In this embodiment, in an external stereo playing scene, by detecting a posture change trajectory of a mobile terminal, it is determined whether the posture change trajectory meets a set condition, and when the posture change trajectory meets the set condition, sound signals of sound channels played by two speakers of the mobile terminal are exchanged, or a sound generating device in a current state is used to play a sound signal of an original sound channel corresponding to an initial state, or play of a part of the sound generating device is prohibited, so that a situation that a user changes a posture of the mobile terminal is tracked in real time, an audio playing mode meeting a use posture is provided for the user, and the user can obtain an auditory experience of a stereo effect before and after changing the posture of the mobile terminal.
In one embodiment, the attitude change condition includes: after the mobile terminal rotates, the first surface changes from facing the first direction to facing the second direction, and the second surface changes from facing the second direction to facing the first direction.
The initial state refers to an initial posture of the mobile terminal before posture change.
In the front schematic view of the mobile terminal with a straight screen as shown in fig. 2, the mobile terminal has four sides, which include: a top edge, a bottom edge, a first side edge and a second side edge. The top edge refers to the short side of the top of the mobile terminal and the bottom edge refers to the short side of the bottom of the mobile terminal. The first side and the second side of the mobile terminal refer to two long sides. The first side is a left side when the front of the mobile terminal faces upward (i.e., the side where the touch screen is located faces upward), and the second side is a right side when the front of the mobile terminal faces upward.
One attitude corresponds to a range of attitudes, for example, a landscape state in which the angle of the plane of the mobile terminal with respect to the ground is within an angle range (for example, 45 degrees to 90 degrees) in a manner such that the first-side-down landscape state includes a typical attitude in which the mobile terminal is perpendicular to the ground (i.e., the angle of the plane of the mobile terminal with respect to the ground is 90 degrees), and also includes an attitude in which the angle of the mobile terminal with respect to the ground is less than 90 degrees, for example, the angle of the mobile terminal with respect to the ground is 80 degrees, 70 degrees, or the like, within the range of attitudes.
The following is a detailed description by way of a few specific examples.
Example 1:
when the mobile terminal rotates from the horizontal screen state with the first side edge facing downwards to the horizontal screen state with the second side edge facing downwards, the sound channel signals played by the two sound generating devices are switched.
The initial posture of the mobile terminal is a landscape state in which the first side faces downward, the mobile terminal is perpendicular to the ground, or the mobile terminal and the ground form a certain angle (for example, an angle of 45 degrees, 60 degrees, 80 degrees, and the like) as shown in fig. 3, the initial posture of the mobile terminal is a landscape state in which the first side faces downward and the second side faces upward, and after the mobile terminal is rotated 180 degrees in a rotation direction indicated by an arrow shown in fig. 3, the mobile terminal is rotated to a landscape state in which the second side faces downward and the first side faces upward.
When the mobile terminal is in the initial posture, the top end loudspeaker plays the sound signal of the left sound channel, and the bottom end loudspeaker plays the sound signal of the right sound channel. The top speaker is oriented in the left direction and the bottom speaker is oriented in the right direction. After the mobile terminal is rotated 180 degrees in the manner shown in fig. 3, the mobile terminal is rotated to a new posture, the orientation of the top speaker is in the right direction, the orientation of the bottom speaker is in the left direction, the top speaker plays the right channel signal corresponding to the bottom speaker originally oriented in the right direction, and the top speaker plays the left channel signal corresponding to the top speaker originally oriented in the left direction. Therefore, the user can experience stereo sound effect corresponding to the viewing angle before and after rotation. If the mobile terminal is rotated as shown in fig. 3, the playing signals of the two speakers are not switched, and after the rotation, the audio effect heard by the user does not correspond to the positions of the left ear and the right ear of the user, so that the hearing experience of the user is poor.
The angle of rotation of the mobile terminal in the initial pose shown in fig. 3 may be an angle in a range from a first angle to a second angle, where the first angle is smaller than 180 degrees, and the second angle is larger than 180 degrees, for example: the first angle is 170 degrees and the second angle is 190 degrees; the first angle is 160 degrees, the second angle is 200 degrees, and the like, and after rotating by an angle within the range, the channel switching condition is satisfied.
Example 2:
when the mobile terminal rotates from the horizontal screen state with the second side edge facing downwards to the horizontal screen state with the first side edge facing downwards, the sound channel signals played by the two sound generating devices are switched.
In this example 2, the same operation as in example 1 was performed except that the rotation direction was changed.
As shown in fig. 4, the initial posture of the mobile terminal is that the horizontal screen state with the second side facing down and the first side facing up is rotated 180 degrees, and then the mobile terminal is rotated to the horizontal screen state with the first side facing down and the second side facing up, and after the channel switching condition is met, the channel playing switching is performed.
The angle of rotation of the mobile terminal in the initial pose shown in fig. 4 may be an angle in a range from a first angle to a second angle, where the first angle is smaller than 180 degrees, and the second angle is larger than 180 degrees, for example: the first angle is 170 degrees and the second angle is 190 degrees; the first angle is 160 degrees, the second angle is 200 degrees, and the like, and the channel switching condition is satisfied after rotating by an angle within the range.
In one embodiment, the attitude change condition includes: the mobile terminal is folded such that the first face is changed from facing the first direction to facing the second direction, or the second face is changed from facing the second direction to facing the first direction.
The attitude change condition includes one of:
when the mobile terminal is folded, the first face is changed from facing the first direction to facing the second direction, and the second face is kept facing the second direction.
For example: folding screen terminal is in the expansion state at initial condition, the contained angle of first screen and second screen is 180 degrees, first sound production device is located the perpendicular side of first screen, the second sound production device is located the perpendicular side of second screen, first sound production device is towards the left side, second sound production device is towards the right side, through folding, make first screen and second screen laminating together, first sound production device changes the orientation right side from the orientation left side into, first sound production device keeps towards the right side, satisfy the switching condition this moment, carry out the switching of sound channel broadcast.
Second, the second face is changed from facing the second direction to facing the first direction after the mobile terminal is folded, and the first face is kept facing the first direction.
For example: folding screen terminal is in the expansion state at initial condition, the contained angle of first screen and second screen is 180 degrees, first sound production device is located the perpendicular side of first screen, the second sound production device is located the perpendicular side of second screen, first sound production device is towards the left side, second sound production device is towards the right side, through folding, make first screen and second screen laminating together, second sound production device changes the orientation left side from the orientation right side, first sound production device keeps towards the left side, satisfy the switching condition this moment, carry out the switching of sound channel broadcast.
In one embodiment, the attitude change condition includes: after the mobile terminal rotates, an included angle between the orientation of the first surface in the new state and the orientation of the first surface in the initial state is larger than a preset angle, or an included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is larger than a preset angle.
The attitude change condition includes one of:
in the first mode, after the mobile terminal rotates, the included angle between the orientation of the first surface in the new state and the orientation of the first surface in the initial state is larger than a preset angle.
Example 1:
the preset angle is 45 degrees. As shown in fig. 5, the initial posture of the mobile terminal is a forward vertical state with the bottom side facing downward and the top side facing upward. The first face at top speaker place is towards the top, and the second face at bottom speaker place is towards the below, and mobile terminal is to the rotatory 90 degrees horizontal screen states that the second side down of second side direction, and first face orientation right side, orientation of first face under the new condition and the contained angle of orientation before rotatory are greater than 45 degrees, satisfy the sound channel and switch the condition, carry out the sound channel and broadcast and switch.
Example 2:
the preset angle is 45 degrees. As shown in fig. 6, the initial posture of the mobile terminal is a horizontal screen state with the first side facing down and the second side facing up, the first side where the top speaker is located faces the right side, and the second side where the bottom speaker is located faces the left side. The mobile terminal rotates 90 degrees to the first side direction to the positive vertical state that the bottom side faces downwards and the top side faces upwards, the first face faces upwards, the included angle between the orientation of the first face in a new state and the orientation of the first face before rotation is larger than 45 degrees, the sound channel switching condition is met, and sound channel playing switching is carried out.
Example 3:
the preset angle is 45 degrees. The mobile terminal rotates towards the second side direction under the condition of maintaining the horizontal state, and the rotating angle is larger than 45 degrees.
Example 4:
the preset angle is 45 degrees. The mobile terminal rotates towards the first side direction under the condition of maintaining the horizontal state, and the rotating angle is larger than 45 degrees.
In the second mode, the mobile terminal rotates, and the included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is larger than a preset angle.
The second method is the same as the first method.
In a third mode, the mobile terminal is folded, and an included angle between the orientation of the first surface in the new state and the orientation of the first surface in the initial state is larger than a preset angle.
Example 1:
the preset angle is 45 degrees. As shown in fig. 7, the initial posture of the folding screen is that the included angle between the first screen and the second screen is 45 degrees, the first sound-generating device is located on the vertical side of the first screen, the orientation of the first sound-generating device is on the left side, and the second sound-generating device is located on the vertical side of the second screen. After the mobile terminal is folded, the included angle between the first screen and the second screen is still 90 degrees, but the orientation of the first sound-emitting device is changed to face towards the right side, the orientation of the first sound-emitting device is kept unchanged, the included angle between the orientation of the first surface in a new state and the orientation of the first surface before rotation is larger than 45 degrees, the sound channel switching condition is met, and sound channel playing switching is carried out.
Example 2:
the preset angle is 45 degrees. As shown in fig. 7, the initial posture of the folding screen is that the included angle between the first screen and the second screen is 45 degrees, the first sound-generating device is located on the vertical side of the first screen, the orientation of the first sound-generating device is on the left side, and the second sound-generating device is located on the vertical side of the second screen. After the mobile terminal is folded, the included angle between the first screen and the second screen is still 90 degrees, but the orientation of the first sound-emitting device is changed to face towards the right side, the orientation of the first sound-emitting device is kept unchanged, the included angle between the orientation of the first surface in a new state and the orientation of the first surface before rotation is larger than 45 degrees, and playing of the first sound-emitting device is forbidden.
And in the fourth mode, the mobile terminal is folded, and the included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is larger than a preset angle.
The fourth method is the same as the third method.
In one embodiment, the attitude change condition includes: the mobile terminal is folded, and the included angle of the folding screen is smaller than or equal to a first set angle.
For example: the first set angle is 90 degrees, and through folding, the contained angle of folding screen carries out the switching of sound channel broadcast after 190 conversion to 45 degrees.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: the sound generating device of the mobile terminal comprises N sound generating devices, wherein N is an integer greater than or equal to 3.
For example:
as shown in fig. 8, the sound generating device of the mobile terminal includes a total of 4 sound generating devices, and the 4 sound generating devices include: the first sound generating device, the second sound generating device and the third sound generating device. The first sound generating device is located on the first side edge of the terminal, the second sound generating device is located on the top end side of the terminal, the third sound generating device is located on the second side edge of the terminal, and the fourth sound generating device is located on the bottom end side of the terminal.
In an initial state, the terminal is in a forward vertical state, the first sound generating device faces to the left to play the sound signal of the first sound channel, the second sound generating device faces to the upper side to play the sound signal of the second sound channel, the third sound generating device faces to the right to play the sound signal of the third sound channel, and the fourth sound generating device faces to the lower side to play the sound signal of the fourth sound channel.
After 90 degrees rotation along the second side, the terminal is in a landscape state. The first sounding device faces upward, the second sounding device faces rightward, the third sounding device faces downward, and the third sounding device faces leftward.
The direction that the first sound production device faces is the direction that the second sound production device faces in the original state, the sound channel is switched to play, so that the first sound production device plays the sound channel corresponding to the second sound production device in the original state, even if the first sound production device plays the sound signal of the second sound channel, and so on, the second sound production device plays the sound signal of the third sound channel, the third sound production device plays the sound signal of the fourth sound channel, and the fourth sound production device plays the sound signal of the first sound channel.
Through the automatic switching of the sound channels, the user can obtain better visual effect in different watching postures.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: the setting conditions comprise attitude change conditions and attitude scene conditions.
The attitude scene conditions include: the attitude change is less than a set amplitude within a set duration.
In the embodiment, the switching of the sound channel playing can be prevented under the condition that the user frequently changes the pose of the mobile terminal, so that the switching of the sound channel playing can be ensured under the normal use condition of the user.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: the setting condition further includes a duration condition. The duration condition comprises the following steps: and the time-consuming duration of the posture change track is longer than the set duration.
In this embodiment, switching of the channel playback can be prevented when the user accidentally shakes the mobile terminal, thereby ensuring that the user switches the channel playback only in a normal use situation.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: the setting conditions further include motion conditions. The motion conditions include: the moving speed of the mobile terminal is less than the set speed, and/or the moving acceleration of the mobile terminal is less than the set acceleration. Wherein, the moving speed of the mobile terminal is detected by an acceleration sensor of the mobile terminal.
In this embodiment, the gravity sensor and the acceleration sensor are used to detect the inertial parameters, so that switching of channel playing can be prevented when the mobile terminal moves continuously, and thus it is ensured that the user switches channel playing only under normal use conditions.
In an embodiment of the present disclosure, there is provided a method of controlling sound signal output, the method including the method shown in fig. 1, and: the setting conditions include: the change of the angle of the face identified by the camera device of the mobile terminal is larger than a second set angle, and the angle of the face is compared with a forward reference angle.
For example: the mobile terminal is horizontally placed on the desktop, the first loudspeaker is located at the top end of the mobile terminal, the second loudspeaker is located at the bottom end of the mobile terminal, the forward reference angle is determined to be that the vertical center line of the face is parallel to the short side edge of the mobile terminal, a user uses the position of the first long side edge of the mobile terminal, the left face of the face is located at the top end side of the mobile terminal, and the right face of the face is located at the bottom end side of the mobile terminal. When user's current position accords with forward reference angle, the sound signal of the first sound channel of speaker broadcast through the top, the sound signal of the second sound channel of speaker broadcast through the bottom, the user moves the position of the long side of mobile terminal's second and uses, detects when the contained angle of user's current position and forward reference angle is 180 degrees through the camera, switches the sound channel broadcast promptly, makes the broadcast effect accord with user and mobile terminal's positional relation.
In the embodiment, the viewing angle of the user of the mobile terminal is tracked through the camera device, and the sound channel playing is adjusted according to the viewing angle, so that the playing effect accords with the position relation between the user and the mobile terminal, and the use experience of the user is improved.
The embodiment of the disclosure provides a device for controlling sound signal output. The device is applied to the mobile terminal which is a mobile phone, a tablet personal computer and other equipment.
Referring to fig. 9, fig. 9 is a block diagram illustrating an apparatus for controlling an output of a sound signal according to an exemplary embodiment. As shown in fig. 9, the apparatus includes:
a detecting module 901 configured to detect whether the mobile terminal satisfies a set condition;
a playing control module 902 configured to play sound signals of different channels through different sound emitting devices, the different sound emitting devices facing different sides of the mobile terminal, each side facing a direction;
the mobile terminal is further configured to switch the sound channel corresponding to the sound generating device when the mobile terminal meets the set condition, or perform the following operation for each sound generating device: determining the direction of the sounding device, determining the original channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original channel through the sounding device, or prohibiting a sounding device from playing the sound signal.
In one embodiment, the first sound generating device is a top speaker and the second sound generating device is a bottom speaker;
or, the first sound-generating device is a left side speaker, and the second sound-generating device is a right side speaker;
or, the first sound-generating device is a front speaker, and the second sound-generating device is a back speaker;
or, the first sound-emitting device is a first sound-emitting device used for processing sound signals of a first channel in the screen sound-emitting device, and the second sound-emitting device is a second sound-emitting device used for processing sound signals of a second channel in the screen sound-emitting device.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and: the setting condition comprises an attitude change condition;
the attitude change condition includes one of:
after the mobile terminal rotates, the first surface changes from facing the first direction to facing the second direction, and the second surface changes from facing the second direction to facing the first direction;
alternatively, the first and second electrodes may be,
after the mobile terminal is folded, the first face is changed from facing the first direction to facing the second direction, or the second face is changed from facing the second direction to facing the first direction;
or, the mobile terminal is rotated or folded, an included angle between the orientation of the first surface in the new state and the orientation of the first surface in the initial state is greater than a preset angle, or an included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is greater than a preset angle.
Or the mobile terminal is folded, and the included angle of the folding screen is smaller than or equal to a first set angle.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and:
the setting condition further comprises a posture scene condition;
the pose scene conditions include: and the attitude change range of the attitude change in the set time length is smaller than the set range.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and: the setting conditions further comprise duration conditions; the duration condition comprises the following steps: and the time-consuming duration of the posture change track is longer than the set duration.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and: the setting conditions further include movement conditions; the motion conditions include: the moving speed of the mobile terminal is less than the set speed, and/or the moving acceleration of the mobile terminal is less than the set acceleration.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and: the different sound emitting devices include N sound emitting devices, where N is an integer greater than or equal to 3.
In an embodiment of the present disclosure, there is provided an apparatus for controlling output of a sound signal, the apparatus including the apparatus shown in fig. 9, and: the mobile terminal comprises a face position identification module, wherein the face position identification module is configured to identify that the angle change of a face identified by a camera device of the mobile terminal is larger than a second set angle.
An embodiment of the present disclosure provides an apparatus for controlling an output of a sound signal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute executable instructions in the memory to implement the steps of the above-described method of controlling sound signal output.
A non-transitory computer readable storage medium is provided in the disclosed embodiments, having stored thereon executable instructions that, when executed by a processor, implement the steps of the method of controlling sound signal output.
Fig. 10 is a block diagram illustrating an apparatus 1000 for controlling an output of a sound signal according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power components 1006 provide power to the various components of device 1000. Power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 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 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 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 1000 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for controlling sound signal output is applied to a mobile terminal, and is characterized by comprising the following steps:
playing sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction;
when the mobile terminal meets the set conditions, switching the sound channels corresponding to the sound generating devices, or forbidding one sound generating device to play sound signals;
alternatively, the following operations are performed for each sound emitting device: determining the direction of the sounding device, determining the original sound channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original sound channel through the sounding device.
2. The method of claim 1,
the different sound generating devices comprise a first sound generating device and a second sound generating device;
the first sound generating device is a top end loudspeaker, and the second sound generating device is a bottom end loudspeaker;
or, the first sound-generating device is a left side speaker, and the second sound-generating device is a right side speaker;
or, the first sound-generating device is a front speaker, and the second sound-generating device is a back speaker;
or, the first sound-emitting device is a first sound-emitting device used for processing sound signals of a first channel in the screen sound-emitting device, and the second sound-emitting device is a second sound-emitting device used for processing sound signals of a second channel in the screen sound-emitting device.
3. The method of claim 1,
the setting condition comprises an attitude change condition;
the attitude change condition includes:
after the mobile terminal rotates, the first surface changes from facing the first direction to facing the second direction, and the second surface changes from facing the second direction to facing the first direction;
alternatively, the first and second electrodes may be,
after the mobile terminal is folded, the first face is changed from facing the first direction to facing the second direction, or the second face is changed from facing the second direction to facing the first direction;
or, after the mobile terminal is rotated or folded, an included angle between the orientation of the first surface in the new state and the orientation of the second surface in the initial state is greater than a preset angle, or an included angle between the orientation of the second surface in the new state and the orientation of the second surface in the initial state is greater than a preset angle;
or the mobile terminal is folded, and the included angle of the folding screen is smaller than or equal to a first set angle.
4. The method of claim 3,
the setting condition further comprises a posture scene condition;
the pose scene conditions include: and the attitude change range of the attitude change in the set time length is smaller than the set range.
5. The method of claim 3,
the setting conditions further comprise duration conditions;
the duration condition comprises the following steps: the time-consuming duration of the posture change track is longer than the set duration;
and/or;
the setting conditions further include movement conditions;
the motion conditions include: the moving speed of the mobile terminal is less than the set speed, and/or the moving acceleration of the mobile terminal is less than the set acceleration.
6. The method of claim 3,
the different sound emitting devices include N sound emitting devices, where N is an integer greater than or equal to 3.
7. The method of any one of claims 1 to 6,
the setting conditions include:
the change in the angle of the recognized face is greater than a second set angle, the angle of the face being an angle compared to the forward reference angle.
8. An apparatus for performing the method of controlling sound signal output according to any one of claims 1 to 7, applied to a mobile terminal, comprising:
a detection module configured to detect whether the mobile terminal satisfies a set condition;
the playing control module is configured to play sound signals of different sound channels through different sound generating devices, wherein the different sound generating devices face different surfaces of the mobile terminal, and each surface faces one direction;
the mobile terminal is further configured to switch the sound channel corresponding to the sound generating device when the mobile terminal meets the set condition, or prohibit a sound generating device from playing the sound signal, or perform the following operations for each sound generating device: determining the direction of the sounding device, determining the original sound channel corresponding to the direction in the initial state, and playing the sound signal corresponding to the original sound channel through the sounding device.
9. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute executable instructions in the memory to implement the steps of the method of controlling sound signal output of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having stored thereon executable instructions, which when executed by a processor, implement the steps of the method of controlling sound signal output of any one of claims 1 to 7.
CN202011345004.5A 2020-11-25 2020-11-25 Method, device and medium for controlling sound signal output Pending CN114554348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011345004.5A CN114554348A (en) 2020-11-25 2020-11-25 Method, device and medium for controlling sound signal output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011345004.5A CN114554348A (en) 2020-11-25 2020-11-25 Method, device and medium for controlling sound signal output

Publications (1)

Publication Number Publication Date
CN114554348A true CN114554348A (en) 2022-05-27

Family

ID=81659231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011345004.5A Pending CN114554348A (en) 2020-11-25 2020-11-25 Method, device and medium for controlling sound signal output

Country Status (1)

Country Link
CN (1) CN114554348A (en)

Similar Documents

Publication Publication Date Title
EP3163748B1 (en) Method, device and terminal for adjusting volume
EP3249509A1 (en) Method and device for playing live videos
CN107493500B (en) Multimedia resource playing method and device
CN106454644B (en) Audio playing method and device
CN110764730A (en) Method and device for playing audio data
WO2009106916A1 (en) Head tracking for enhanced 3d experience using face detection
EP3125512A1 (en) Silent ring indication while listening music over a headset
KR20160005305A (en) Image switching method and device
CN104853093A (en) Rotatable camera control method and mobile terminal
CN106101433B (en) Notification message display methods and device
CN106792937A (en) The processing method and processing device of call request
CN104994304A (en) Optical anti-vibration method and device, and terminal equipment
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
CN112492095B (en) System, terminal, method, apparatus and storage medium for controlling terminal
CN108111751B (en) Shooting angle adjusting method and device
EP3629560A1 (en) Full screen terminal, and operation control method and device based on full screen terminal
CN105119984B (en) Send the method and device of file
CN111182362A (en) Video control processing method and device
CN117221693A (en) Camera module, electronic device, shooting processing method and storage medium
CN105635489A (en) Call communication mode processing method and device
CN114554348A (en) Method, device and medium for controlling sound signal output
CN112689051B (en) Audio playing control method and device, mobile terminal and storage medium
CN111694539B (en) Method, device and medium for switching between earphone and loudspeaker
CN113660513A (en) Method, device and storage medium for synchronizing playing time
CN107172557B (en) Method and device for detecting polarity of loudspeaker and receiver

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