CN111026305A - Audio processing method and electronic equipment - Google Patents
Audio processing method and electronic equipment Download PDFInfo
- Publication number
- CN111026305A CN111026305A CN201911249851.9A CN201911249851A CN111026305A CN 111026305 A CN111026305 A CN 111026305A CN 201911249851 A CN201911249851 A CN 201911249851A CN 111026305 A CN111026305 A CN 111026305A
- Authority
- CN
- China
- Prior art keywords
- control
- audio
- input
- audio content
- playing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an audio processing method and electronic equipment, wherein the method comprises the following steps: receiving a first input under the condition that an audio playing interface is displayed, wherein the audio playing interface comprises an audio content area and/or a progress bar area; in response to a first input, displaying a first control in an audio content area or a second control in a progress bar area; receiving a second input to the first control or the second control; selecting a target audio segment in response to a second input; and circularly playing the target audio segment. In the embodiment of the invention, the first control is displayed in the audio content area in the audio playing interface or the second control is displayed in the progress bar area, and the target audio is selected by operating the first control or the second control and is segmented and played circularly, so that a user can play part of content in a single audio file circularly only by a simple operation mode.
Description
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to an audio processing method and electronic equipment.
Background
Currently, the audio loop playing function of the electronic device includes two types: a single audio file playback loop and multiple audio file playback loops, for example: the song playing application of the electronic equipment only comprises two circular playing modes: single-song loops and list loops. However, in practical applications, a user sometimes needs to cyclically play a certain piece of audio in a single audio file, such as song audio, and the user needs to cyclically listen to a certain segment to practice singing. Aiming at the requirement of the circular playing of the part of paragraphs, at present, a user can only intercept the paragraph in an audio editing mode, and for the user who cannot edit the paragraph, the playing progress can only be continuously adjusted manually, so that the operation is complicated and inconvenient.
Disclosure of Invention
The embodiment of the invention provides an audio processing method and electronic equipment, and solves the problems that in the prior art, part of contents in a single audio file are circularly played and the operation is complex.
In a first aspect, an embodiment of the present invention provides an audio processing method applied to an electronic device, where the method includes:
receiving a first input under the condition that an audio playing interface is displayed, wherein the audio playing interface comprises an audio content area and/or a progress bar area;
in response to the first input, displaying a first control in the audio content region or a second control in the progress bar region;
receiving a second input to the first control or the second control;
selecting a target audio segment in response to the second input;
and circularly playing the target audio segment.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first input under the condition that an audio playing interface is displayed, and the audio playing interface comprises an audio content area and/or a progress bar area;
a display module, configured to display a first control in the audio content area or a second control in the progress bar area in response to the first input;
a second receiving module for receiving a second input to the first control or the second control;
a selection module for selecting a target audio segment in response to the second input;
and the playing module is used for circularly playing the target audio segments.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a program stored on the memory and being executable on the processor, where the program, when executed by the processor, implements the steps of the audio processing method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the audio processing method according to the first aspect.
In the embodiment of the invention, the first control is displayed in the audio content area in the audio playing interface or the second control is displayed in the progress bar area, and the target audio is selected by operating the first control or the second control and is segmented and played circularly, so that a user can play part of content in a single audio file circularly only by a simple operation mode.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of an audio processing method according to an embodiment of the present invention;
fig. 2a is a schematic view of an application scenario provided in the embodiment of the present invention;
fig. 2b is a second schematic view of an application scenario provided by the embodiment of the present invention;
FIG. 3 is a second flowchart illustrating an audio processing method according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of an 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 embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Herein, relational terms such as "first" and "second", and the like, are used solely to distinguish one from another of like names, and do not imply a relationship or order between the names.
The electronic device of the embodiment of the present invention may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
Referring to fig. 1, an embodiment of the present invention provides an audio processing method, where an execution subject of the method is an electronic device, and the method includes the following specific steps:
step 101: receiving a first input under the condition that an audio playing interface is displayed;
in the embodiment of the present invention, the audio playing interface includes an audio content area and/or a progress bar area, where the audio content area refers to an area for displaying audio content, for example: a region for displaying lyrics, a progress bar region refers to a region for displaying the progress of playing audio contents, for example: the time the audio has been played;
it should be noted that, for different audio playing scenarios, the audio playing interface may take different forms, for example: aiming at the audio playing interface of the recording, only a progress bar area can be included in the interface, and an audio content area is not included; the audio playing interface for the song may include both the progress bar region and the audio content region on the interface, or may include only the audio content region, but not the progress bar region.
The first input is used for instructing the electronic device to adopt the audio processing method of the embodiment of the invention to select the target audio segment.
The first input may be an input that acts to display a control in the audio playback interface, such as: in the embodiment of the present invention, an option of a "selection cycle" may be added to the switching control, and a user may instruct the electronic device to perform a subsequent process of selecting a target audio segment by using a first input.
The first input may also be a specific gesture action acting in displaying the audio playback interface, such as: the first input is three fingers, and any position in the audio playing interface is displayed in a double-click mode, so that after the electronic equipment receives the first input, the process of selecting the target audio segment can be executed according to the audio processing method provided by the embodiment of the invention. It can be understood that the gesture action of the first input may be preset by the electronic device or may be set by the user, which is not specifically limited in this embodiment of the present invention.
The first input may also be an input acting on a physical key on the electronic device, such as: the simultaneous pressing of the volume up-down key is set as the input for entering the "section selection cycle" mode, or an entity key for entering the "section selection cycle" mode is separately set on the electronic device, which is not specifically limited in the embodiment of the present invention.
Step 102: in response to a first input, displaying a first control in an audio content area or a second control in a progress bar area;
in the implementation of the present invention, after the electronic device receives a first input from a user, a first control is displayed in an audio playing interface or a second control is displayed in a progress bar area, where the first control and the second control may have multiple forms, for example: an input box, a draggable buoy, and the like, and the specific display forms of the first control and the second control are not limited in the embodiment of the present invention.
It should be noted that, according to the specific form of the audio playing interface, it is determined whether to display the first control or the second control, for example:
(1) if the audio playing interface comprises an audio content area and a progress bar area, displaying a first control in the audio content area, or displaying a second control in the progress bar area;
(2) if the audio playing interface comprises an audio content area and does not comprise a progress bar area, displaying a first control in the audio content area;
(3) if the audio playing interface comprises a progress bar area and does not comprise an audio content area, displaying a second control in the progress bar area;
referring to fig. 2a and 2b, the audio playing interface includes an audio content area 201 and a progress bar area 202, and the first control 21 and the second control 22 are in the form of draggable buoys. Specifically, fig. 2a shows a scene in which the first control 21 is displayed in the audio content area 201, and fig. 2b shows a scene in which the second control 22 is displayed in the progress bar area 202.
Step 103: receiving a second input to the first control or the second control;
in the embodiment of the present invention, the second input is used to operate the first control or the second control, and the target audio segment is selected by operating the first control or the second control through the second input.
In some implementations, when the first control or the second control takes the form of an input box, the second input may be to input a parameter related to the target audio segment in the first control or the second control, such as: inputting the number of the beginning paragraphs and the number of the ending paragraphs of the audio content in the audio content area at the first control; another example is: in the progress bar area, a start play time point and an end play time point are input at the second control.
In some implementations, when the first control or the second control is in the form of a draggable float, the second input may be a drag on the first control or the second control, such as: dragging a first control to an audio content start paragraph and an audio content end paragraph in an audio content region; another example is: and dragging the second control to the starting playing time point and the ending playing time point in the progress bar area.
It should be noted that, in an actual application scenario, only one control may be displayed, and the control is subjected to second input twice to determine a start point and an end point; as shown in fig. 2a and 2b, two controls may be displayed, and touch inputs are performed on the two controls respectively to determine a start point and an end point.
Step 104: selecting a target audio segment in response to a second input;
in an embodiment of the invention, the target audio segment is selected by the second input.
Further, an embodiment of the present invention provides a process for selecting a target audio segment, including the following sub-steps:
(1) determining a starting point and an end point according to a second input to the first control, or determining a starting point and an end point according to a second input to the second control;
in the embodiment of the invention, the starting point and the ending point of the target audio segment are determined by operating the first control or the second control.
Specifically, referring to fig. 2a, in the case where the first control 21 is displayed in the audio content area 201, the audio content start paragraph and the audio content end paragraph are determined according to the second input to the first control 21;
referring to fig. 2b, in the case where the second control 22 is displayed in the progress bar region 202, a start play time point and an end play time point are determined according to a second input to the second control 22.
Further, with continued reference to fig. 2a, in the case that the first control 21 is displayed in the audio content area 201, time point identifiers 210 corresponding to the audio content start paragraph and the audio content end paragraph are displayed in the progress bar area 202, that is, the time point identifiers 210 corresponding to the start playing time point and the end playing time point are displayed in the progress bar area 202;
in the embodiment of the present invention, for the case that the first control 21 is used to determine the beginning paragraph and the ending paragraph of the audio content, the corresponding time point may be marked in the progress bar region 202, that is, the time point identifier 210 is displayed in the progress bar region 202, so that the user may determine whether the target audio segment selected by the user meets the requirement of the user according to the audio content and the audio playing time.
The time point identifier 210 may be displayed in a special color or a special shape, and the display mode of the time point identifier 210 is not particularly limited in the embodiment of the present invention.
With continued reference to fig. 2b, with the second control 22 displayed in the progress bar region 202, paragraph identifications 220 corresponding to the start play time point and the end play time point are displayed in the audio content region 201.
In the embodiment of the present invention, for the case that the second control 22 is used to determine the starting playing time point and the ending playing time point, the corresponding audio content paragraph may be marked in the audio content area 201, that is, the paragraph identifier 220 is displayed in the audio content area 201, so that the user may determine whether the target audio segment selected by the user meets the requirement of the user according to the audio content and the audio playing time.
The paragraph mark 220 may be displayed by using a special color for the audio content of the target audio segment, or may be framed in the audio content area 201 by using a frame, and the display manner of the paragraph mark 220 is not specifically limited in the embodiment of the present invention.
(2) Based on the starting point and the end point, a target audio segment is selected.
Step 105: circularly playing the target audio segment, and then returning to the step 101, or ending the process;
in the embodiment of the invention, after the target audio segment is selected by the user, the target audio segment is played circularly.
Optionally, the user may repeat the above steps 101 to 105 to re-select a new target audio segment and play the new target audio segment in a loop.
In the embodiment of the invention, the first control and the second control are displayed in the audio playing interface, and the target audio is segmented and played circularly by operating the first control and the second control, so that a user can play part of contents in a single audio file circularly by a simple operation mode.
Referring to fig. 3, an embodiment of the present invention provides another audio processing method, where a main body of the method is an electronic device, and the method includes the following specific steps:
step 301: receiving a first input under the condition that an audio playing interface is displayed;
step 302: in response to a first input, displaying a first control in an audio content area or a second control in a progress bar area;
step 303: receiving a second input to the first control or the second control;
step 304: selecting a target audio segment in response to a second input;
the descriptions of step 301 to step 304 can refer to the descriptions of step 101 to step 104 in fig. 1, and are not described herein again.
Step 305: the target audio segment is stored and then returns to step 301 or ends the flow.
In the embodiment of the invention, after the target audio segment is selected by the user, the target audio segment is stored, namely the selected target audio segment is stored as an independent audio file, so that the user can play the target audio segment at any time without repeating the step of selecting the target audio segment.
Optionally, the user may repeat the above steps 301 to 305 to select a new target audio segment and store the new target audio segment, so that the user may repeat the steps 301 to 305 multiple times to store different target audio segments, and when the user needs to cyclically play one of the audio segments, the user may directly call the target audio segment and cyclically play the target audio segment through the existing single audio file cyclic playing function.
In the embodiment of the invention, the selected target audio is stored in segments, so that a user can play the selected target audio segments at any time, and the flexibility of audio processing is improved.
Referring to fig. 4, an embodiment of the present invention provides an electronic device 400, including:
a first receiving module 401, configured to receive a first input when an audio playing interface is displayed, where the audio playing interface includes an audio content area and/or a progress bar area;
a display module 402, configured to display a first control in the audio content area or a second control in the progress bar area in response to the first input;
a second receiving module 403, configured to receive a second input to the first control or the second control;
a selection module 404 for selecting a target audio segment in response to the second input;
a playing module 405, configured to play the target audio segment cyclically.
Optionally, the selecting module 404 includes:
a determining unit, configured to determine a starting point and an end point according to the second input to the first control, and determine a starting point and an end point according to the second input to the second control;
a selecting unit, configured to select the target audio segment based on the starting point and the ending point.
Optionally, the determining unit is further configured to determine an audio content start paragraph and an audio content end paragraph according to the second input to the first control;
the determining unit is further configured to determine a start playing time point and an end playing time point according to the second input to the second control.
Optionally, the audio playing interface includes an audio content area and a progress bar area;
the selecting module 404 further includes:
a first display unit, configured to display, in the audio content area, a paragraph identifier corresponding to the start playing time point and the end playing time point;
and the second display unit is used for displaying the time point marks corresponding to the audio content starting paragraph and the audio content ending paragraph in the progress bar area.
Optionally, the electronic device 400 further includes:
a storage module to store the target audio segment.
In the embodiment of the invention, the first control is displayed in the audio content area in the audio playing interface or the second control is displayed in the progress bar area, and the target audio is selected by operating the first control or the second control and is segmented and played circularly, so that a user can play part of content in a single audio file circularly only by a simple operation mode.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in the figure, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device 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.
Preferably, a computer program stored on the memory 509 and executable on said processor 510, which computer program, when executed by the processor 510, performs the steps of: receiving a first input under the condition that an audio playing interface is displayed, wherein the audio playing interface comprises an audio content area and/or a progress bar area; in response to a first input, displaying a first control in an audio content area or a second control in a progress bar area; receiving a second input to the first control or the second control; selecting a target audio segment in response to a second input; and circularly playing the target audio segment.
In the embodiment of the invention, the first control is displayed in the audio content area in the audio playing interface or the second control is displayed in the progress bar area, and the target audio is selected by operating the first control or the second control and is segmented and played circularly, so that a user can play part of content in a single audio file circularly only by a simple operation mode.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can 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 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture 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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds 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 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 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 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts 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, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 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 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 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 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
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.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (12)
1. An audio processing method applied to an electronic device, the method comprising:
receiving a first input under the condition that an audio playing interface is displayed, wherein the audio playing interface comprises an audio content area and/or a progress bar area;
in response to the first input, displaying a first control in the audio content region or a second control in the progress bar region;
receiving a second input to the first control or the second control;
selecting a target audio segment in response to the second input;
and circularly playing the target audio segment.
2. The method of claim 1, wherein selecting a target audio segment in response to the second input comprises:
determining a starting point and an ending point from the second input to the first control, or
Determining a starting point and an ending point according to the second input to the second control;
and selecting the target audio segment based on the starting point and the ending point.
3. The method of claim 2,
determining a starting point and an ending point according to the second input to the first control, comprising:
determining an audio content start paragraph and an audio content end paragraph according to the second input to the first control;
determining a starting point and an ending point according to the second input to the second control comprises:
and determining a starting playing time point and an ending playing time point according to the second input to the second control.
4. The method of claim 3, wherein the audio playback interface comprises an audio content region and a progress bar region;
determining a starting point and an ending point according to the second input to the first control, further comprising:
displaying paragraph marks corresponding to the starting playing time point and the ending playing time point in the audio content area;
determining a starting point and an ending point according to the second input to the second control, further comprising:
displaying time point identifications corresponding to the audio content start paragraph and the audio content end paragraph in the progress bar area.
5. The method of claim 1, wherein after the selecting the target audio segment, the method further comprises:
storing the target audio segment.
6. An electronic device, comprising:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first input under the condition that an audio playing interface is displayed, and the audio playing interface comprises an audio content area and/or a progress bar area;
a display module, configured to display a first control in the audio content area or a second control in the progress bar area in response to the first input;
a second receiving module for receiving a second input to the first control or the second control;
a selection module for selecting a target audio segment in response to the second input;
and the playing module is used for circularly playing the target audio segments.
7. The electronic device of claim 6, wherein the selection module comprises:
a determining unit, configured to determine a starting point and an end point according to the second input to the first control, and determine a starting point and an end point according to the second input to the second control;
a selecting unit, configured to select the target audio segment based on the starting point and the ending point.
8. The electronic device of claim 7,
the determining unit is further configured to determine an audio content start paragraph and an audio content end paragraph according to the second input to the first control;
the determining unit is further configured to determine a start playing time point and an end playing time point according to the second input to the second control.
9. The electronic device of claim 8, wherein the audio playback interface comprises an audio content region and a progress bar region;
the selecting module further comprises:
a first display unit, configured to display, in the audio content area, a paragraph identifier corresponding to the start playing time point and the end playing time point;
and the second display unit is used for displaying the time point marks corresponding to the audio content starting paragraph and the audio content ending paragraph in the progress bar area.
10. The electronic device of claim 6, further comprising:
a storage module to store the target audio segment.
11. An electronic device comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the audio processing method of any of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the audio processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911249851.9A CN111026305A (en) | 2019-12-09 | 2019-12-09 | Audio processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911249851.9A CN111026305A (en) | 2019-12-09 | 2019-12-09 | Audio processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111026305A true CN111026305A (en) | 2020-04-17 |
Family
ID=70208145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911249851.9A Pending CN111026305A (en) | 2019-12-09 | 2019-12-09 | Audio processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111026305A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399238A (en) * | 2020-10-28 | 2021-02-23 | 维沃移动通信有限公司 | Video playing method and device and electronic equipment |
CN113110770A (en) * | 2021-03-31 | 2021-07-13 | 联想(北京)有限公司 | Control method and device |
CN113556602A (en) * | 2021-07-21 | 2021-10-26 | 广州博冠信息科技有限公司 | Video playing method and device, storage medium and electronic equipment |
CN114900737A (en) * | 2022-03-31 | 2022-08-12 | 荣耀终端有限公司 | Video progress adjusting method and electronic equipment |
WO2022194070A1 (en) * | 2021-03-17 | 2022-09-22 | 北京字跳网络技术有限公司 | Video processing method for application, and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740084A (en) * | 2009-11-25 | 2010-06-16 | 中兴通讯股份有限公司 | Clipping method and mobile terminal of multi-media segment |
CN102710860A (en) * | 2012-06-05 | 2012-10-03 | 青岛海信传媒网络技术有限公司 | Mobile phone terminal and method for playing ring tone thereof |
CN105657546A (en) * | 2015-12-29 | 2016-06-08 | 小米科技有限责任公司 | Multimedia file playing method and device and terminal |
CN106448713A (en) * | 2015-08-11 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Audio frequency playing method and audio frequency playing device |
CN106993097A (en) * | 2017-03-31 | 2017-07-28 | 维沃移动通信有限公司 | A kind of method for playing music and mobile terminal |
CN108924610A (en) * | 2018-07-20 | 2018-11-30 | 网易(杭州)网络有限公司 | Multimedia file processing method, device, medium and calculating equipment |
-
2019
- 2019-12-09 CN CN201911249851.9A patent/CN111026305A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740084A (en) * | 2009-11-25 | 2010-06-16 | 中兴通讯股份有限公司 | Clipping method and mobile terminal of multi-media segment |
CN102710860A (en) * | 2012-06-05 | 2012-10-03 | 青岛海信传媒网络技术有限公司 | Mobile phone terminal and method for playing ring tone thereof |
CN106448713A (en) * | 2015-08-11 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Audio frequency playing method and audio frequency playing device |
CN105657546A (en) * | 2015-12-29 | 2016-06-08 | 小米科技有限责任公司 | Multimedia file playing method and device and terminal |
CN106993097A (en) * | 2017-03-31 | 2017-07-28 | 维沃移动通信有限公司 | A kind of method for playing music and mobile terminal |
CN108924610A (en) * | 2018-07-20 | 2018-11-30 | 网易(杭州)网络有限公司 | Multimedia file processing method, device, medium and calculating equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399238A (en) * | 2020-10-28 | 2021-02-23 | 维沃移动通信有限公司 | Video playing method and device and electronic equipment |
CN112399238B (en) * | 2020-10-28 | 2023-01-31 | 维沃移动通信有限公司 | Video playing method and device and electronic equipment |
WO2022194070A1 (en) * | 2021-03-17 | 2022-09-22 | 北京字跳网络技术有限公司 | Video processing method for application, and electronic device |
CN113110770A (en) * | 2021-03-31 | 2021-07-13 | 联想(北京)有限公司 | Control method and device |
CN113556602A (en) * | 2021-07-21 | 2021-10-26 | 广州博冠信息科技有限公司 | Video playing method and device, storage medium and electronic equipment |
CN113556602B (en) * | 2021-07-21 | 2023-11-17 | 广州博冠信息科技有限公司 | Video playing method and device, storage medium and electronic equipment |
CN114900737A (en) * | 2022-03-31 | 2022-08-12 | 荣耀终端有限公司 | Video progress adjusting method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111049979B (en) | Application sharing method, electronic equipment and computer readable storage medium | |
CN109343759B (en) | Screen-turning display control method and terminal | |
CN108763316B (en) | Audio list management method and mobile terminal | |
CN110109593B (en) | Screen capturing method and terminal equipment | |
CN108279948B (en) | Application program starting method and mobile terminal | |
CN111026305A (en) | Audio processing method and electronic equipment | |
CN111163224B (en) | Voice message playing method and electronic equipment | |
CN111142723B (en) | Icon moving method and electronic equipment | |
CN109189303B (en) | Text editing method and mobile terminal | |
CN110209452B (en) | Page display method of mobile terminal and mobile terminal | |
CN108132749B (en) | Image editing method and mobile terminal | |
CN111130989A (en) | Information display and sending method and electronic equipment | |
CN110703972B (en) | File control method and electronic equipment | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN111124345A (en) | Audio source processing method and mobile terminal | |
CN110806832A (en) | Parameter adjusting method and electronic equipment | |
CN111061446A (en) | Display method and electronic equipment | |
CN108093137B (en) | Dialing method and mobile terminal | |
CN111475066B (en) | Background switching method of application program and electronic equipment | |
CN111522613A (en) | Screen capturing method and electronic equipment | |
CN109284146B (en) | Light application starting method and mobile terminal | |
CN110929273A (en) | Permission setting method and electronic equipment | |
CN110851219A (en) | Information processing method and electronic equipment | |
CN111061407B (en) | Video program operation control method, electronic device, and storage medium | |
CN111142759B (en) | Information sending method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |
|
RJ01 | Rejection of invention patent application after publication |