CN111258531A - Audio processing method and electronic equipment - Google Patents

Audio processing method and electronic equipment Download PDF

Info

Publication number
CN111258531A
CN111258531A CN202010075414.6A CN202010075414A CN111258531A CN 111258531 A CN111258531 A CN 111258531A CN 202010075414 A CN202010075414 A CN 202010075414A CN 111258531 A CN111258531 A CN 111258531A
Authority
CN
China
Prior art keywords
screen
audio
target
folding
target audio
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.)
Granted
Application number
CN202010075414.6A
Other languages
Chinese (zh)
Other versions
CN111258531B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010075414.6A priority Critical patent/CN111258531B/en
Publication of CN111258531A publication Critical patent/CN111258531A/en
Application granted granted Critical
Publication of CN111258531B publication Critical patent/CN111258531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an audio processing method and electronic equipment. The audio processing method is applied to an electronic device, the electronic device comprises a foldable screen, and the audio processing method comprises the following steps: detecting folding state information of a screen; wherein the folding state information includes: a target fold angle; acquiring a target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio; and playing the target audio. The embodiment of the invention can simply realize audio replacement.

Description

Audio processing method and electronic equipment
Technical Field
The embodiment of the invention relates to the field of audio processing, in particular to an audio processing method and electronic equipment.
Background
With the development of science and technology, a plurality of application programs with voice recording and playing functions appear on electronic equipment; the user has different audio requirements for the application in different scenes for privacy or interest.
However, the audio of the currently selected application program needs to be selected by the user in the application program; if the audio needs to be replaced, the user needs to enter the application program again to select the audio needing to be replaced, the operation is complex, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an audio processing method and electronic equipment, and aims to solve the problem of complex operation of replacing audio.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an audio processing method, where the audio processing method is applied to an electronic device, where the electronic device includes a foldable screen, and the audio processing method includes:
detecting folding state information of a screen; wherein the folding state information includes: a target fold angle;
acquiring a target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio;
and playing the target audio.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a foldable screen, and the electronic device further includes:
the detection module is used for detecting the folding state information of the screen; wherein the folding state information includes: a target fold angle;
the acquisition module is used for acquiring target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio;
and the playing module is used for playing the target audio.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the method according to the first aspect.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when executed by a processor, the computer program implements the method of the first aspect.
In the embodiment of the invention, the folding state information of the foldable screen is detected; wherein the folding state information includes a target folding angle; according to the corresponding relation between the folding angle and the audio, the target audio corresponding to the target folding angle is obtained, and then the target audio is played, so that the user can replace the audio without entering an application program to replace the audio, the operation is convenient, and the user experience is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a flowchart of an audio processing method according to an embodiment of the present invention;
FIGS. 2(a) -2 (c) are schematic views of the folding angle provided by the embodiment of the present invention;
FIG. 3 is a first schematic diagram of an interface for setting a target audio of an application according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an interface for setting a target audio of an application according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of an interface for setting a target audio of an application according to an embodiment of the present invention;
FIG. 6 is a flow chart of another audio processing method according to an embodiment of the present invention;
FIG. 7 is a flowchart of another audio processing method according to an embodiment of the present invention;
fig. 8 to 9 are schematic diagrams of playing target audio corresponding to different display states in the embodiment of the present invention;
fig. 10 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 11 is a schematic diagram of another electronic device according to an embodiment of the 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.
In the embodiment of the present invention, the electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Fig. 1 is a flowchart of an audio processing method according to an embodiment of the present invention. As shown in fig. 1, the audio processing method is applied to an electronic device including a foldable screen, and further includes:
step 101: detecting folding state information of a screen; wherein the folding state information includes: a target fold angle;
step 102: acquiring a target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio;
step 103: and playing the target audio.
In the embodiment of the invention, the folding state information of the screen is detected; wherein the folding state information includes a target folding angle; according to the corresponding relation between the folding angle and the audio frequency, the target audio frequency corresponding to the target folding angle is obtained, then the target audio frequency is played, the user does not need to enter an application program to replace the audio frequency, the audio frequency can be replaced, the operation is convenient, and the user experience is improved.
In some embodiments of the present invention, the foldable screen includes a first screen (e.g., a screen in fig. 2 (a)) and a second screen (e.g., B screen in fig. 2 (B)), and the full screen, i.e., both the first screen and the second screen, is in a display state, and in fig. 2(c), the full screen includes Application programs (App) 1, App 2, App 3, App 4, App 5, App 6, and App 7; wherein, the first screen and the second screen may be touch screens.
In some embodiments of the present invention, the detecting folding state information of the screen (i.e. the foldable screen) in step 101 includes:
folding state information of the screen is detected by a sensor of the electronic device.
Correspondingly, in this example, the folding state information further includes:
displaying the state; when the target folding angle is 0 degree, the screen comprises a first screen or a second screen, and the display state is a state of displaying by using the first screen or the second screen;
when the target folding angle is greater than 0 degree and less than or equal to 180 degrees, the screen includes a first screen and a second screen, and the display state is a state in which the first screen and the second screen are displayed.
In fig. 2(B), the folding state information includes a folding angle between the a screen and the B screen.
Correspondingly, in this example, before detecting the folding state information of the screen, the audio processing method further includes: and establishing a system database to store the mapping relation between the folding angle theta and the audio.
In an embodiment of the present invention, the fold angle comprises (0, θ 1), (θ 1, θ 2) … (θ n-1, θ n); where θ 1< θ 2< θ 3< … θ n-1< θ n <360, when the user is at these different fold angles or ranges of fold angles, the target audio corresponding to the fold angle or range of fold angles is taken.
In the step of establishing a mapping relation between the angle theta of the foldable screen and the audio source stored in the system database, the specific mapping relation is as follows:
Figure BDA0002378366330000041
in the table, the target audio 1 is obtained by processing the original audio according to the folding angle (0, θ 1); the target Audio Audio 2 is obtained by processing the original Audio according to the folding angles (theta 1, theta 2); the target Audio 3 is obtained by processing the original Audio according to the folding angles (theta 2, theta 3). The original audio may be the same original audio, or at least two folding angles of (0, θ 1), (θ 1, θ 2), (θ 2, θ 3), …, and (θ n-1, θ n) may correspond to the same original audio.
In one example, before the detecting the folding state information of the screen in step 101, the method further includes:
displaying a setting interface under the condition that the starting of the setting interface is detected; the setting interface is used for setting target audio of a preset application program associated with the display state by a user.
Specifically, clicking a folding screen of a set page to change sound to enter a folding screen sound changing inlet; then click on a preset application program (e.g., App1 in fig. 2 (c)) pre-installed on the electronic device in fig. 5, and enter a folding sound change setting page (shown in fig. 3) of App 1.
In one example, before the detecting of the folding state information of the screen in step 101, the audio processing method further includes:
receiving a first input of a user to the display state, wherein the first input is used for adjusting the display state;
in response to the first input, a prompt message is displayed, and a prompt message user prompts the user to set a target audio of a preset application program associated with the display state.
Specifically, when the folding angle of the foldable screen changes, prompt information is displayed on the foldable screen of the electronic device, and the prompt information is used for prompting the user to open the setting interface, for example, when the foldable screen is turned from a single screen to a full-screen fully-unfolded state, a dialog box pops up to prompt the user whether the user needs to open the setting interface, if App1 in the setting interface is clicked, a folding sound-changing setting page (shown in fig. 4) of App1 is entered, and target audio to be set, such as target audio 1 shown in fig. 5, is selected on the page.
In one example, before detecting the folding state information of the screen, the audio processing method further includes:
and receiving a third input of the foldable screen by the user, wherein the third input is used for adjusting the folding angle of the foldable screen.
Correspondingly, in an example, obtaining target audio corresponding to a target folding angle includes:
in response to the third input, a target audio corresponding to the target folding angle is acquired after a preset time period in which the third input is received.
Specifically, after the folding angle is changed, the target audio corresponding to the target folding angle is obtained by pausing for a preset time period, for example, by applying a sound changer after half a second.
In some embodiments of the present invention, the obtaining the target audio corresponding to the target folding angle according to the corresponding relationship between the folding angle and the audio in step 102 includes:
and determining the target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio through a screen sound changing manager of the electronic equipment.
Correspondingly, in this example, the target audio is an audio obtained by processing an original audio according to an audio type, where the audio type corresponds to the target folding angle, and when the folding angle is an arbitrary folding angle, an audio type corresponding to the arbitrary folding angle is determined from the multiple audio types, and then the original audio is processed based on the determined audio type to obtain the target audio, where the original audio corresponds to the target folding angle.
In some embodiments of the present invention, the obtaining the target audio corresponding to the target folding angle in step 102 includes:
acquiring an original audio and a sound effect type corresponding to a target folding angle;
and processing the original audio according to the sound effect type to obtain the target audio.
In the embodiment of the present invention, the sound effect type refers to processing the audio into a certain sound effect, for example, a lovely sister sub-sound effect type.
In the embodiment of the invention, after the target audio is obtained, the target audio can be stored, and the mapping relation between the target audio and the folding angle can be established, so that the subsequent use is facilitated.
In some embodiments of the present invention, the playing the target audio in step 103 includes:
and generating a corresponding variable sound effect according to the target audio by applying the sound changer and playing the sound.
In some embodiments of the present invention, before playing the target audio, the audio processing method further comprises:
and displaying the file name of the target audio and the image matched with the target audio on a foldable screen of the electronic equipment.
Correspondingly, in an example, playing the target audio includes:
receiving a second input of the target audio matched image by the user;
in response to the second input, the target audio is played.
Specifically, a matched image of the target audio frequency is displayed on the foldable screen, and the name of the target audio frequency is displayed in a rolling mode in a form of a horse race lamp on the folding axis; when the user clicks on the matching image of the target audio on the foldable screen, the target audio is played.
The following description will be given taking the folding angle as an example.
In fig. 6, the audio processing method includes:
step 601: setting a target audio corresponding to the folding angle (theta n-1, theta n); when a user folds and turns over the foldable screen to a certain angle, the sensor detects the size theta of the current folding angle;
step 602: calling the angle set in the step 601 and a target audio path mapped by the target audio;
step 603: determining a target audio by the sound change manager according to the path in the step 602;
step 604: after the angle of the foldable screen is changed, pausing for half a second, applying a sound changer to generate a corresponding sound changing effect according to the target audio obtained in the step 603 and calling a player to play sound; wherein, the sound changing effect generated by the sound changing device can call the sound changing algorithm of the audio system framework;
step 605: when the target audio is played in step 604, an image corresponding to the target audio is displayed on the foldable screen (for example, a rauley image is displayed when the currently played target audio is an audio file corresponding to a rauley sound), and at the same time, a file name of the target audio (for example, a naughty sound and the like) is displayed on the foldable axis in a scrolling manner in the form of a maroon lamp;
step 606: the application's sound change setting is completed when the foldable on-screen image is clicked in step 605, and the application selects the audio file of the current sound and generates the corresponding sound change effect.
The embodiment of the invention can realize the audio sound changing effect of the application program based on the folding angle of the foldable screen, and greatly simplifies the complicated setting and operation of the related technology.
The following description will be given taking the display state as an example.
The embodiment of the invention provides a method for setting different application sound changing effects based on different screens of a foldable screen, which improves the experience of complicated sound changing operation set on a single screen, and as shown in fig. 7, the method specifically comprises the following steps:
step 701: in the folding sound change setting, three scenes of an A screen, a B screen and a whole screen are provided by default, each scene provides target audio selection built in the system, the default is original sound, and a target audio selection page entering the corresponding screen by clicking the A screen, the B screen or the whole screen is shown in fig. 4.
Step 702: clicking a certain target audio and then clicking back, wherein the selected target audio is displayed on the corresponding screen, as shown in fig. 4.
Step 703: and starting the application just set with the target audio, and opening the screen A, the screen B and the screen B to trigger the output of the target audio, wherein the target audio is output on the screen A or the whole screen as shown in the figure 8 and the figure 9 respectively.
Specifically, the folded state is in a state of folding the a screen, the target audio of the application is audio a, when the current screen is folded from the a screen to the B screen, the front camera of the current screen is called to scan the face in a face recognition mode, and when the face is recognized by the B screen, the App is displayed on the B screen from the a screen and simultaneously the target audio of the current application can be changed into audio B according to the corresponding relationship between the application and the screen set in fig. 5.
When the current target audio is used in fig. 8 and 9, an identifier of the current target audio is displayed on a status bar of the screen, such as: the pattern can be a target audio, the target audio is obtained by processing the original audio according to the Rayleigh sound effect type, and the Rayleigh pattern is displayed on a status bar of the screen; processing the original audio according to the type of the great-tertiary sound effect to obtain the target audio, and displaying a great-tertiary pattern on a status bar of a screen; wherein, the Loliy sound effect type and the great tertiary sound effect type are respectively the sound effect type for processing the original audio.
According to the embodiment of the invention, the target audio corresponding to the screen can be selected according to different screen opening applications, the target audio required by the user can be flexibly selected based on different screens, and the user experience is improved.
In the embodiment of the present invention, the first input and the second input include, but are not limited to, clicking, long pressing, or other input manners, and may also be a first operation, such as a sliding operation.
In an embodiment of the present invention, the third input comprises a rotation operation.
Fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 10, the electronic device 1000 includes a foldable screen, and further includes:
a detection module 1001 for detecting folding state information of a screen; wherein the folding state information includes: a target fold angle;
an obtaining module 1002, configured to obtain a target audio corresponding to a target folding angle according to a corresponding relationship between the folding angle and the audio;
and a playing module 1003, configured to play the target audio.
In the embodiment of the invention, the folding state information of the screen is detected; wherein the folding state information includes a target folding angle; according to the corresponding relation between the folding angle and the audio, the target audio corresponding to the target folding angle is obtained, then the target audio is played, the user does not need to enter an application program to replace the audio, the audio can be replaced, the operation is convenient, and the user experience is improved.
Optionally, the obtaining module 1002 is further configured to: acquiring an original audio corresponding to a target folding angle; acquiring a sound effect type corresponding to the target folding angle; and processing the original audio according to the sound effect type to obtain the target audio.
Optionally, the folding state information further includes: displaying the state;
when the target folding angle is 0 degree, the screen comprises a first screen or a second screen, and the display state is a state of displaying by using the first screen or the second screen;
when the target folding angle is greater than 0 degree and less than or equal to 180 degrees, the screen includes a first screen and a second screen, and the display state is a state in which the first screen and the second screen are displayed.
Optionally, the electronic device further comprises:
the receiving module is used for receiving a first input of a user to the display state; the first input is used for adjusting the display state;
and the display module is used for responding to the first input and displaying prompt information, and the prompt information is used for prompting a user to set the audio frequency of the preset application program corresponding to the display state.
Alternatively,
the display module is used for displaying the file name of the target audio and the image matched with the target audio on the screen;
the playing module 1003 is further configured to:
receiving a second input of the image by the user;
in response to the second input, the target audio is played.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1, fig. 6, and fig. 7, and for avoiding repetition, details are not described here again.
In the embodiment of the invention, the folding state information of the screen is detected; wherein the folding state information includes a target folding angle; according to the corresponding relation between the folding angle and the audio frequency, the target audio frequency corresponding to the target folding angle is obtained, then the target audio frequency is played, the user does not need to enter an application program to replace the audio frequency, the audio frequency can be replaced, the operation is convenient, and the user experience is improved.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which 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 electronic device 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.
Wherein, the input unit 1104 is used for detecting folding state information of the screen; wherein the folding state information includes: a target fold angle;
the processor 1110 is configured to obtain a target audio corresponding to a target folding angle according to a corresponding relationship between the folding angle and the audio;
an output unit 1103 for playing the target audio.
In the embodiment of the invention, the folding state information of the screen is detected; wherein the folding state information includes a target folding angle; according to the corresponding relation between the folding angle and the audio frequency, the target audio frequency corresponding to the target folding angle is obtained, then the target audio frequency is played, the user does not need to enter an application program to replace the audio frequency, the audio frequency can be replaced, the operation is convenient, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 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. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1102, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the electronic device 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process 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 1101 in case of the phone call mode.
The electronic device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or the backlight when the electronic device 1100 is moved to the ear. As one type of motion sensor, an 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 an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 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 1107 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the electronic apparatus. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of 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, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the electronic device, and the embodiment is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the electronic apparatus 1100. 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. Interface unit 1108 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 electronic device 1100 or may be used to transmit data between electronic device 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, 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. In addition, the memory 1109 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 1110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the electronic device. Processor 1110 may include one or more processing units; preferably, the processor 1110 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 processor 1110.
The electronic device 1100 may further include a power supply 1111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 1100 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 an electronic device, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and is executable on the processor 1110, and when the computer program is executed by the processor 1110, the processes of the audio processing method embodiment are implemented, and the same technical effect can be achieved, and details are not repeated here 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 audio processing 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 (10)

1. An audio processing method applied to an electronic device, the electronic device comprising a foldable screen, the method comprising:
detecting folding state information of the screen; wherein the folding state information includes: a target fold angle;
acquiring a target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio;
and playing the target audio.
2. The method of claim 1, wherein the obtaining the target audio corresponding to the target folding angle comprises:
acquiring an original audio and a sound effect type corresponding to the target folding angle;
and processing the original audio according to the sound effect type to obtain the target audio.
3. The method according to claim 1 or 2, wherein the folding state information further comprises: displaying the state;
when the target folding angle is 0 degree, the screen comprises a first screen or a second screen, and the display state is a state displayed by the first screen or the second screen;
when the target folding angle is greater than 0 degree and less than or equal to 180 degrees, the screen comprises a first screen and a second screen, and the display state is a state displayed by the first screen and the second screen.
4. The method according to claim 3, wherein before the detecting of the folded state information of the screen, the method further comprises: receiving a first input of the display state by a user; the first input is used for adjusting the display state;
and responding to the first input, and displaying prompt information, wherein the prompt information is used for prompting a user to set the audio frequency of a preset application program corresponding to the display state.
5. The method of claim 1 or 2, wherein prior to said playing said target audio, said method further comprises:
displaying a file name of the target audio and an image matched with the target audio on the screen;
the playing the target audio comprises:
receiving a second input of the image by the user;
in response to the second input, playing the target audio.
6. An electronic device including a foldable screen, the electronic device comprising:
the detection module is used for detecting the folding state information of the screen; wherein the folding state information includes: a target fold angle;
the acquisition module is used for acquiring a target audio corresponding to the target folding angle according to the corresponding relation between the folding angle and the audio;
and the playing module is used for playing the target audio.
7. The electronic device of claim 6, wherein the obtaining module is further configured to:
acquiring an original audio and a sound effect type corresponding to the target folding angle;
and processing the original audio according to the sound effect type to obtain the target audio.
8. The electronic apparatus according to claim 6 or 7, wherein the folding state information further includes: displaying the state;
when the target folding angle is 0 degree, the screen comprises a first screen or a second screen, and the display state is a state displayed by the first screen or the second screen;
when the target folding angle is greater than 0 degree and less than or equal to 180 degrees, the screen comprises a first screen and a second screen, and the display state is a state displayed by the first screen and the second screen.
9. The electronic device of claim 8, further comprising:
the receiving module is used for receiving a first input of a user to the display state; the first input is used for adjusting the display state;
and the display module is used for responding to the first input and displaying prompt information, and the prompt information is used for prompting a user to set the audio frequency of a preset application program corresponding to the display state.
10. The electronic device of claim 6 or 7, further comprising:
the display module is used for displaying the file name of the target audio and the image matched with the target audio on the screen;
the playing module is further used for:
receiving a second input of the image by the user;
in response to the second input, playing the target audio.
CN202010075414.6A 2020-01-22 2020-01-22 Audio processing method and electronic equipment Active CN111258531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010075414.6A CN111258531B (en) 2020-01-22 2020-01-22 Audio processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010075414.6A CN111258531B (en) 2020-01-22 2020-01-22 Audio processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111258531A true CN111258531A (en) 2020-06-09
CN111258531B CN111258531B (en) 2022-02-15

Family

ID=70951002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010075414.6A Active CN111258531B (en) 2020-01-22 2020-01-22 Audio processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111258531B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022171056A1 (en) * 2021-02-09 2022-08-18 维沃移动通信有限公司 Method and apparatus for starting application program, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170052566A1 (en) * 2014-04-30 2017-02-23 Lg Electronics Inc. Mobile terminal and control method therefor
CN108089809A (en) * 2017-11-29 2018-05-29 努比亚技术有限公司 A kind of music control method, terminal and computer readable storage medium
CN109271128A (en) * 2018-09-04 2019-01-25 Oppo广东移动通信有限公司 Audio setting method, device, electronic equipment and storage medium
CN109274823A (en) * 2018-09-26 2019-01-25 维沃移动通信有限公司 A kind of multimedia file broadcasting control method and terminal device
CN109302525A (en) * 2017-07-25 2019-02-01 西安中兴新软件有限责任公司 A kind of method and multi-screen terminal playing sound

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170052566A1 (en) * 2014-04-30 2017-02-23 Lg Electronics Inc. Mobile terminal and control method therefor
CN109302525A (en) * 2017-07-25 2019-02-01 西安中兴新软件有限责任公司 A kind of method and multi-screen terminal playing sound
CN108089809A (en) * 2017-11-29 2018-05-29 努比亚技术有限公司 A kind of music control method, terminal and computer readable storage medium
CN109271128A (en) * 2018-09-04 2019-01-25 Oppo广东移动通信有限公司 Audio setting method, device, electronic equipment and storage medium
CN109274823A (en) * 2018-09-26 2019-01-25 维沃移动通信有限公司 A kind of multimedia file broadcasting control method and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022171056A1 (en) * 2021-02-09 2022-08-18 维沃移动通信有限公司 Method and apparatus for starting application program, and electronic device

Also Published As

Publication number Publication date
CN111258531B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN110413168B (en) Icon management method and terminal
CN109542306B (en) Screen capturing method and terminal equipment
CN110109593B (en) Screen capturing method and terminal equipment
CN109739407B (en) Information processing method and terminal equipment
CN109032486B (en) Display control method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN109213407B (en) Screenshot method and terminal equipment
CN111026316A (en) Image display method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN108646960B (en) File processing method and flexible screen terminal
CN111782115B (en) Application program control method and device and electronic equipment
CN109710130B (en) Display method and terminal
CN110855839A (en) Message display method and electronic equipment
CN108600544B (en) Single-hand control method and terminal
CN109597546B (en) Icon processing method and terminal equipment
CN110825474A (en) Interface display method and device and electronic equipment
CN110780751A (en) Information processing method and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN111522613B (en) Screen capturing method and electronic equipment
CN111258471B (en) Object display method and electronic equipment
CN110908751B (en) Information display and collection method and device, electronic equipment and medium
CN111258531B (en) Audio processing method and electronic equipment
CN111443968A (en) Screenshot method and electronic equipment
CN111447598A (en) Interaction method and display device

Legal Events

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