CN108319413B - Music playing method, device and storage medium - Google Patents

Music playing method, device and storage medium Download PDF

Info

Publication number
CN108319413B
CN108319413B CN201810085701.8A CN201810085701A CN108319413B CN 108319413 B CN108319413 B CN 108319413B CN 201810085701 A CN201810085701 A CN 201810085701A CN 108319413 B CN108319413 B CN 108319413B
Authority
CN
China
Prior art keywords
virtual key
instruction
music
audio
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.)
Active
Application number
CN201810085701.8A
Other languages
Chinese (zh)
Other versions
CN108319413A (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.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music 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 China Mobile Communications Group Co Ltd, MIGU Music Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810085701.8A priority Critical patent/CN108319413B/en
Publication of CN108319413A publication Critical patent/CN108319413A/en
Application granted granted Critical
Publication of CN108319413B publication Critical patent/CN108319413B/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a music playing method, which comprises the following steps: responding to a received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment; receiving a second instruction generated by operation triggering aiming at the virtual key; and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction. The invention also discloses a music playing device and a storage medium.

Description

Music playing method, device and storage medium
Technical Field
The present invention relates to audio processing technologies in the field of mobile terminals, and in particular, to a music playing method, device and storage medium.
Background
With the rapid development of the internet, especially the mobile internet, Applications (APPs) that can be installed and used in terminals, especially mobile terminals, have a diversified trend, covering many aspects such as work, study, consumption and entertainment, so that the APPs are widely used.
Along with the continuous improvement of the living standard of people, the entertainment modes that can be selected by people are more and more, wherein, because of the characteristics of wide popularization and portability of mobile terminals such as mobile phones, people can utilize the music APP installed on the mobile terminals to entertain. In order to meet the entertainment requirements of users, the functions provided by the current music APP become more and more abundant, and the functions are changed from the traditional functions of only providing music playing to the functions in various fields such as social contact, consumption, karaoke and the like.
However, the social and consumption functions provided by the music APP, such as song community, song listening friend making, music sharing, color ring customization, electronic album purchasing and the like, are mainly functions for the music APP, which are not music playing, and are not associated with the entertainment of the music APP during playing, and for the music playing function, the entertainment is mainly embodied in the change of the style of the song. For example, for a song, the user may select a favorite song style from a plurality of song styles such as "pop", "jazz", "rock" and the like provided by the music APP according to the favorite song, so that the song can be played according to the song style selected by the user. Therefore, the above adjustment method for songs is only to adjust the style of songs, and the adjustment method is single.
Therefore, the current music APP provides functions which are still slightly insufficient in entertainment, and particularly, the functions provided in music playing are more insufficient in entertainment as a whole. Therefore, as the requirement of the user on the entertainment function is higher and higher, the function provided by the current music APP is far from meeting the increasing use requirement of the user.
Disclosure of Invention
In view of the above, embodiments of the present invention are to provide a music playing method, a device and a storage medium, which are used to at least solve the problem that it is difficult to flexibly adjust the playing mode of music in the related art to improve the entertainment of music APP.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a music playing method, where the method includes:
responding to a received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment;
receiving a second instruction generated by operation triggering aiming at the virtual key;
and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction.
In a second aspect, an embodiment of the present invention provides a music playing apparatus, where the apparatus includes: the device comprises a display module, a receiving module and an adjusting module; wherein the content of the first and second substances,
the display module is used for responding to the received first instruction and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment;
the receiving module is used for receiving a second instruction generated by operation triggering aiming at the virtual key;
and the adjusting module is used for responding to the second instruction and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction.
In a third aspect, an embodiment of the present invention provides a storage medium, on which an executable program is stored, and the executable program, when executed by a processor, implements the steps of the music playing method provided by the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a music playing apparatus, including a memory, a processor, and an executable program stored on the memory and capable of being executed by the processor, where the processor executes the steps of the music playing method provided in the embodiment of the present invention when executing the executable program.
In the music playing method, the device and the storage medium provided by the embodiment of the invention, the control interface is displayed in response to the received first instruction, the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment included in the currently played audio segment; receiving a second instruction generated by operation triggering aiming at the virtual key; and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction. In this way, in the music playing process, the playing mode of the audio clip corresponding to the triggered virtual key can be adjusted by executing the control operation on the virtual key on the control interface, so that a user can flexibly adjust the playing mode of the music played on the music APP according to own preference and requirements; and because the adjusting mode is similar to rhythm games, the technical scheme of the embodiment of the invention not only has simple and convenient operation, but also can greatly improve the entertainment of the music APP, thereby meeting the increasing use requirements of users to a certain extent and greatly improving the use experience of the users.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a music playing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a display effect of a control interface according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a trigger display control interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another exemplary triggered display control interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an effect of a control interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating the effect of performing pitch-up adjustment and pitch-down adjustment on the pitch of an audio segment simultaneously according to an embodiment of the present invention;
fig. 7 is a functional structure diagram of a music playing device according to an embodiment of the present invention;
fig. 8 is a functional structure diagram of another music playing device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a music playing device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a schematic flow chart illustrating an implementation process of a music playing method according to an embodiment of the present invention, where the music playing method is applied in a terminal device; as shown in fig. 1, an implementation process of the music playing method in the embodiment of the present invention may include the following steps:
step 101: and responding to the received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment.
The terminal device applied to the music playing method of the embodiment may include, but is not limited to, an electronic device such as a smart phone, a tablet computer, and a palm computer. Fig. 2 is a schematic diagram illustrating the display effect of a control interface according to an embodiment of the present invention, as shown in fig. 2, the control interface includes a plurality of virtual keys, since a piece of music generally includes a plurality of audio segments, each audio segment may be understood as each lyric of a piece of music, and each audio segment may be divided into a plurality of audio sub-segments according to a word segmentation form, for example, assuming that the currently playing audio segment is "waiting for sand in front of the eye", the audio segment may be divided into a plurality of audio sub-segments: "in front of the eye", "sand waste", "diffuse", "filled" and "waiting", each virtual key in the control interface may correspond to the plurality of audio sub-segments "in front of the eye", "sand waste", "diffuse", "filled" and "waiting", respectively. Of course, each virtual key in the control interface may also correspond to each word in the audio segment, so as to control the playing mode of each word, which is not limited herein.
Here, it should be noted that the display effect schematic diagram of the control interface shown in fig. 2 is only an exemplary illustration of the control interface provided by the embodiment of the present invention, and the control interface may be displayed in various different styles according to actual use requirements, and the embodiment of the present invention is not limited herein.
In this embodiment, the control interface is displayed independently of the music playing interface. In the process that a user plays music by using a music APP, if the user wants to adjust the music playing mode, the adjustment of the music playing mode can be realized through a control interface displayed on the music APP of the terminal equipment.
It should be noted that the response described in this embodiment should be understood in a broad sense, for example, to indicate a condition or a state on which one or more executed operations depend, and when the condition or the state on which the one or more executed operations depend is satisfied, the one or more executed operations may be in real time or may have a set delay; there is no restriction on the order of execution of the operations performed unless otherwise specified.
In this embodiment, before responding to the received first instruction in this step 101, the music playing method may further include: and triggering to generate a first instruction in response to a specific operation of a user.
Here, the specific operation includes at least one of:
the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; alternatively, the first and second electrodes may be,
and when the music APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is carried out.
Specifically, in the process that a user listens to a song by using a music APP on a terminal device, a first instruction can be generated by being triggered in two different ways as follows for indicating the music APP to display a control interface, and the specific ways are as follows:
mode 1) when responding to the operation of a user for a preset key on a music playing interface of the terminal equipment, triggering and generating a first instruction.
For the mode, the user mainly triggers and generates the first instruction through clicking operation of a preset key arranged on a music playing interface of the terminal equipment. For example, a "music control" virtual key for triggering the display control interface is arranged on a music playing interface of the terminal device, and the virtual key may also be referred to as a hot key. Fig. 3 is a schematic diagram of a trigger display control interface according to an embodiment of the present invention, where a user may trigger generation of a first instruction by clicking a "music control" virtual key shown in a left diagram in fig. 3, and then the music APP may switch a currently displayed music playing interface of the music APP into the control interface in response to the first instruction, as shown in a right diagram in fig. 3, where the control interface is used to control a playing mode of music.
Mode 2) when the user calls up the operation of the terminal equipment, triggering and generating a first instruction.
For this way, the call-up operation may be a call-up operation received when the music APP of the terminal device is in the background playing mode and the display screen of the terminal device is in the locked state. That is to say, when the display screen of the terminal device enters the locked state during the process of listening to music by the user using the music APP, the music APP can display the control interface on the screen locking interface of the terminal device.
In practical applications, the user often uses music to listen to the music to make time diversion, however, the user usually uses the music APP to listen to the music while doing some other activities. For example, when a user listens to music by using a music APP, the music APP is often switched to a background playing mode, and then the user is not influenced to use the terminal device to perform other operations while listening to the music, and when the user does not continue to use the terminal device in the process of listening to the music, the terminal device often enters a locked state and closes a display screen of the terminal device. Fig. 4 is a schematic diagram of another trigger display control interface provided in an embodiment of the present invention, according to the manner provided by manner 2), when the terminal device is in a locked state, after a user invokes the terminal device, a first instruction is generated by triggering, and then the music APP responds to the first instruction, and then the music APP displays the control interface on the screen locking interface of the terminal device, as shown in fig. 4, the control interface is used for controlling a playing manner of music.
It should be noted that, when the user generates the first instruction by triggering in the above mode 2), and instructs the music APP to display the control interface based on the first instruction, the user may directly adjust the music playing mode through the control interface displayed in the screen locking state, without unlocking the terminal device.
Step 102: and receiving a second instruction generated by operation triggering aiming at the virtual key.
Here, the operation on the virtual key may include, but is not limited to, an operation of performing a press or click on the virtual key.
In this embodiment, before executing the step 102, the music playing method may further include: detecting the playing progress information of the audio clip; determining an audio sub-clip corresponding to the playing progress information in the audio clip according to the playing progress information; and giving corresponding prompts to the virtual keys corresponding to the determined audio sub-segments according to a preset virtual key prompting mode.
Here, if the audio clip includes a plurality of audio sub-clips, then, according to a preset virtual key prompting manner, giving a corresponding prompt to a virtual key corresponding to the determined audio sub-clip may specifically include: and sequentially giving corresponding prompts to the virtual keys corresponding to the audio sub-segments based on the playing progress information.
In this embodiment, the preset virtual key prompting manner at least includes one of the following: lighting up or flashing;
this step 102 specifically includes: and when the touch operation aiming at the virtual key in the lighting state or the flickering state is detected, triggering to generate a second instruction corresponding to the touch operation.
The control interface of this embodiment includes a plurality of virtual keys, and in the process of playing music, by clicking or pressing the virtual keys displayed on the control interface, the adjustment of the playing mode of the music currently being played can be realized. Fig. 5 is a schematic diagram illustrating an effect of a control interface according to an embodiment of the present invention, as shown in fig. 5, the lyrics 'sand ahead and waiting' in the figure represent the currently playing audio segment of the music APP, the progress of the currently playing audio segment is represented by a marking mode of thickening and inclining the audio segment, i.e. to which audio sub-segment the music APP has been played at present, and for currently unplayed audio sub-segments, it is not indicated by a bold tilt, it can be seen from fig. 5 that the current audio piece has been played to a "diffuse" character, the playing progress information of the audio clip can be determined, accordingly, the second virtual key in the control interface is lighted or flickered to distinguish from other virtual keys, then, if the user clicks the lighted or flashing virtual key, the playing mode of the lyric "romantic" corresponding to the current playing progress can be adjusted.
It should be noted that, when the music APP is switched to the music control function and the control interface is displayed, each lyric in each song currently played by the music APP may randomly correspond to one virtual key on the control interface, and in the process of playing the music, the virtual key corresponding to the lyric currently being played is lighted. For example, as shown in fig. 5, it is determined that the lyric corresponding to the current playing progress is "diffuse", and at this time, the lighted virtual key in the control interface is used to represent the virtual key corresponding to the lyric "diffuse".
In this embodiment, the background server of the music APP may provide a correspondence between the lyrics and the virtual keys, that is, the background server of the music APP sets a corresponding virtual key for each lyric in the music. Specifically, the background server of the music APP can process all songs in the music library, corresponding virtual key corresponding modes are set for audio segments of each song in the music library, and the corresponding modes are stored in the background server of the music APP, so that when a user selects to perform music control through a control interface of the music APP, the music APP can send a virtual key corresponding mode acquisition request carrying a current music identifier to the background server, and the background server determines corresponding music and virtual key corresponding modes corresponding to the audio segments in the music according to the received acquisition request.
In this embodiment, the control interface is displayed independently of the music playing interface. In the process that a user plays music by using the music APP, if the user wants to adjust the music playing mode, after the control interface is displayed, the music playing mode can be adjusted through the control interface; and the operation executed by the user on the virtual key on the control interface will not affect the content currently being played on the music playing interface, for example, when the user adjusts the playing mode of music by clicking the virtual key, the clicking operation will not affect the content currently being played on the music playing interface.
Step 103: and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction.
In this embodiment, the step 103 specifically includes: according to the selected music adjusting mode, executing one of the following operations to the playing mode of the audio clip corresponding to the virtual key triggering the second instruction:
performing tone rising adjustment on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction in a tone reducing way;
performing tone up-regulation and tone down-regulation on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
and performing sound mixing adjustment on the audio clip corresponding to the virtual key triggering the second instruction.
In this embodiment, the performing pitch-up adjustment and pitch-down adjustment on the tone of the audio segment corresponding to the virtual key triggering the second instruction may include:
dividing each virtual key on the control interface into two parts;
and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
Here, with the technical solution provided by the embodiment of the present invention, the user can adjust the tone of the audio segment corresponding to the virtual key by clicking or pressing the virtual key, for example, in the process of playing music, when the user clicks or presses the virtual key, the tone of the lyric portion corresponding to the virtual key can be enhanced (raised) or lowered, and the like.
It should be noted that, the user can implement pitch-up adjustment or pitch-down adjustment on the pitch of the music through the control interface of the music APP, or can implement pitch-up adjustment and pitch-down adjustment simultaneously through the control interface.
Here, the music APP provides a music adjustment mode to be selected for the user, and the user can select a suitable music adjustment mode according to the actual needs of the user, where the music adjustment mode may include a rising-tone adjustment, a falling-tone adjustment, a rising-tone adjustment, and a falling-tone adjustment simultaneously. For example, when the music adjustment mode selected by the user is the pitch-up adjustment, when the user clicks or presses a virtual key on the control interface, the pitch of the audio sub-segment corresponding to the virtual key is adjusted in the pitch-up manner, and assuming that the pitch corresponding to the audio sub-segment before adjustment is the F pitch, the pitch corresponding to the audio sub-segment after the pitch-up adjustment can be changed into the G pitch, so as to achieve the effect of enhancing the pitch of the music. Otherwise, when the music adjustment mode selected by the user is tone-down adjustment, when the user clicks or presses a virtual key on the control interface, the tone of the audio sub-segment corresponding to the virtual key is tone-down adjusted.
Here, when the music adjustment mode selected by the user is up-down adjustment and simultaneous adjustment, the control interface of the music APP is shown as fig. 6, and fig. 6 is a schematic diagram illustrating a display effect of performing up-down adjustment and down-down adjustment on the pitch of an audio segment simultaneously according to an embodiment of the present invention, where each virtual key on the control interface may be divided into an upper portion and a lower portion or a left portion and a right portion, which is not limited herein. Assuming that each virtual key in the control interface of the music APP is divided into an upper part and a lower part, when a user clicks or presses the upper half part of the virtual key, the tone rising adjustment function of the corresponding audio sub-segment can be triggered; when the user clicks or presses the lower half of the virtual key, the pitch-down adjustment function of the tone of the corresponding audio sub-segment may be triggered.
In addition, it should be further noted that, by the control interface provided by the embodiment of the present invention, besides adjusting the tones of music, a music mixing function can be realized, for example, each virtual key in the control interface represents the tones of various different musical instruments, for example, key 1 represents a piano, key 2 represents a harmonica, key 3 represents a guitar, and key 4 represents a drum, so that when a user clicks or presses the corresponding virtual key, the audio of the audio sub-segment corresponding to the virtual key and the audio of the musical instrument corresponding to the virtual key can be mixed.
By adopting the technical scheme of the embodiment of the invention, when a user listens to music by using the music APP, the music APP can provide a control interface for the user, a plurality of virtual keys are displayed on the control interface, each lyric in the music played by the music APP corresponds to the virtual key respectively, the virtual key corresponding to the lyric currently being played lights up in the music playing process, and the user can realize the adjustment of the singing mode of the lyric of the sentence by clicking or pressing the virtual key, so that the user can flexibly adjust the music playing mode according to the preference and the requirement of the user; and because the adjusting mode is similar to rhythm games, the technical scheme of the embodiment of the invention not only has simple and convenient operation, but also can greatly improve the entertainment of the music APP, thereby meeting the increasing use requirements of users to a certain extent and greatly improving the use experience of the users.
In order to implement the music playing method, an embodiment of the present invention further provides a music playing device, where the music playing device is applicable to a terminal device, and fig. 7 is a schematic functional structure diagram of the music playing device according to the embodiment of the present invention; as shown in fig. 7, the music playing apparatus includes a display module 71, a receiving module 72, and an adjusting module 73. The program modules are described in detail below.
A display module 71, configured to respond to a received first instruction, and display a control interface, where the control interface includes at least two virtual keys, and each virtual key corresponds to each audio sub-segment included in an audio segment currently being played;
a receiving module 72, configured to receive a second instruction generated by triggering an operation on the virtual key;
and the adjusting module 73 is configured to adjust, in response to the second instruction, a playing mode of the audio clip corresponding to the virtual key that triggers the second instruction.
In this embodiment, for adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction in the adjusting module 73, the following method may be adopted:
according to the selected music adjusting mode, executing one of the following operations to the playing mode of the audio clip corresponding to the virtual key triggering the second instruction:
performing tone rising adjustment on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction in a tone reducing way;
performing tone up-regulation and tone down-regulation on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
and performing sound mixing adjustment on the audio clip corresponding to the virtual key triggering the second instruction.
The adjusting of the tone of the audio segment corresponding to the virtual key triggering the second instruction may include:
dividing each virtual key on the control interface into two parts;
and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
In an alternative embodiment of the present invention, fig. 8 is a schematic functional structure diagram of another music playing device provided in the embodiment of the present invention, and as shown in fig. 8, the music playing device further includes: an instruction generating module 74, configured to trigger generation of the first instruction in response to a specific operation of a user before the display module 71 responds to the received first instruction.
Here, the specific operation includes at least one of:
the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; or when the music APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is performed.
In this embodiment, the music playing apparatus may further include:
a detecting module 75, configured to detect playing progress information of the audio clip before the receiving module 72 receives a second instruction generated by triggering an operation on the virtual key;
a determining module 76, configured to determine, according to the playing progress information, an audio sub-segment corresponding to the playing progress information in the audio segment;
and the prompt module 77 is configured to give a corresponding prompt to the virtual key corresponding to the determined audio sub-segment according to a preset virtual key prompt manner.
Here, if the audio segment includes a plurality of audio sub-segments, for the prompt module 77 to give a corresponding prompt to the virtual key corresponding to the determined audio sub-segment according to the preset virtual key prompt manner, the following manner may be adopted: and sequentially giving corresponding prompts to the virtual keys corresponding to the audio sub-segments based on the playing progress information.
Here, the preset virtual key prompting manner at least includes one of the following: lighting up or flashing;
for the receiving module 72 to receive the second instruction generated by the operation trigger for the virtual key, the following steps may be implemented: and when the touch operation aiming at the virtual key in the lighting state or the flickering state is detected, triggering to generate a second instruction corresponding to the touch operation.
It should be noted that: in the music playing device provided in the above embodiment, only the division of the program modules is exemplified when playing music, and in practical applications, the above processing may be distributed to different program modules according to needs, that is, the internal structure of the music playing device is divided into different program modules to complete all or part of the above-described processing. In addition, the music playing device and the music playing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In practical applications, the display module 71, the adjustment module 73, the instruction generation module 74, the detection module 75, the determination module 76, and the prompt module 77 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like on a terminal device; the receiving module 72 can be realized by a communication module (the communication module generally includes a basic communication suite, an operating system, a communication module, a standardized interface and protocol, etc.) and a transceiver antenna in practical applications.
In order to implement the music playing method, an embodiment of the present invention further provides a hardware structure of a music playing device. A music playback apparatus that implements an embodiment of the present invention, which can be implemented in various forms of terminal devices, such as a desktop computer, a notebook computer, a smartphone, and other computer devices, will now be described with reference to the drawings. Further explanation is provided below on the hardware structure of the music playing device according to the embodiment of the present invention, and it is understood that fig. 9 only shows an exemplary structure of the music playing device and not a whole structure, and a part of or the whole structure shown in fig. 9 may be implemented as necessary.
Referring to fig. 9, fig. 9 is a schematic diagram of a hardware structure of a music playing apparatus according to an embodiment of the present invention, which can be applied to various terminal devices running application programs in practical applications, where the music playing apparatus 900 shown in fig. 9 includes: at least one processor 901, memory 902, a user interface 903, and at least one network interface 904. The various components of the music player 900 are coupled together by a bus system 905. It will be appreciated that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905.
The user interface 903 may include a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, a touch screen, or the like, among others.
It will be appreciated that the memory 902 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory.
The memory 902 in the embodiment of the present invention is used to store various types of data to support the operation of the music playing device 900. Examples of such data include: any computer program for operating on the music playback apparatus 900, such as an executable program 9021 and an operating system 9022, may be included in the executable program 9021, the program that implements the music playback method of the embodiment of the present invention.
The music playing method disclosed by the embodiment of the invention can be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the music playing method may be implemented by an integrated logic circuit of hardware in the processor 901 or by instructions in the form of software. The processor 901 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 901 may implement or execute the music playing methods, steps and logic blocks provided in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the music playing method provided by the embodiment of the invention can be directly embodied as the execution of a hardware decoding processor, or the combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the music playing method provided by the embodiment of the present invention in combination with the hardware thereof.
In this embodiment, the music playing apparatus 900 includes a memory 902, a processor 901, and an executable program 9021 that is stored in the memory 902 and can be executed by the processor 901, and when the processor 901 executes the executable program 9021, the following are implemented: responding to a received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment; receiving a second instruction generated by operation triggering aiming at the virtual key; and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: triggering to generate the first instruction in response to a specific operation of a user before the responding to the received first instruction; wherein the specific operation includes at least one of: the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; or when the music APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is performed.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: before receiving a second instruction generated by operation triggering aiming at the virtual key, detecting the playing progress information of the audio clip; determining an audio sub-clip corresponding to the playing progress information in the audio clip according to the playing progress information; and giving corresponding prompts to the virtual keys corresponding to the determined audio sub-segments according to a preset virtual key prompting mode.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: the audio segment comprises a plurality of audio sub-segments; and sequentially giving corresponding prompts to the virtual keys corresponding to the audio sub-segments based on the playing progress information.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: the preset virtual key prompting mode at least comprises one of the following modes: lighting up or flashing; and when the touch operation aiming at the virtual key in the lighting state or the flickering state is detected, triggering to generate a second instruction corresponding to the touch operation.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: according to the selected music adjusting mode, executing one of the following operations to the playing mode of the audio clip corresponding to the virtual key triggering the second instruction: performing tone rising adjustment on the tone of the audio clip corresponding to the virtual key triggering the second instruction; adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction in a tone reducing way; performing tone up-regulation and tone down-regulation on the tone of the audio clip corresponding to the virtual key triggering the second instruction; and performing sound mixing adjustment on the audio clip corresponding to the virtual key triggering the second instruction.
As an embodiment, when the processor 901 runs the executable program 9021, the following is implemented: dividing each virtual key on the control interface into two parts; and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, which may be a storage medium such as an optical disc, a flash memory, or a magnetic disc, and may be selected as a non-transitory storage medium. Wherein the storage medium stores executable program 9021, and when executed by processor 901, the executable program 9021 implements: responding to a received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment; receiving a second instruction generated by operation triggering aiming at the virtual key; and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: triggering to generate the first instruction in response to a specific operation of a user before the responding to the received first instruction; wherein the specific operation includes at least one of: the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; or when the music APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is performed.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: before receiving a second instruction generated by operation triggering aiming at the virtual key, detecting the playing progress information of the audio clip; determining an audio sub-clip corresponding to the playing progress information in the audio clip according to the playing progress information; and giving corresponding prompts to the virtual keys corresponding to the determined audio sub-segments according to a preset virtual key prompting mode.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: the audio segment comprises a plurality of audio sub-segments; and sequentially giving corresponding prompts to the virtual keys corresponding to the audio sub-segments based on the playing progress information.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: the preset virtual key prompting mode at least comprises one of the following modes: lighting up or flashing; and when the touch operation aiming at the virtual key in the lighting state or the flickering state is detected, triggering to generate a second instruction corresponding to the touch operation.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: according to the selected music adjusting mode, executing one of the following operations to the playing mode of the audio clip corresponding to the virtual key triggering the second instruction: performing tone rising adjustment on the tone of the audio clip corresponding to the virtual key triggering the second instruction; adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction in a tone reducing way; performing tone up-regulation and tone down-regulation on the tone of the audio clip corresponding to the virtual key triggering the second instruction; and performing sound mixing adjustment on the audio clip corresponding to the virtual key triggering the second instruction.
As an embodiment, the executable program 9021 when executed by the processor 901 realizes: dividing each virtual key on the control interface into two parts; and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
The embodiment of the invention responds to the received first instruction and displays a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment; receiving a second instruction generated by operation triggering aiming at the virtual key; and responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction. In this way, in the music playing process, the playing mode of the audio clip corresponding to the triggered virtual key can be adjusted by executing the control operation on the virtual key on the control interface, so that a user can flexibly adjust the playing mode of the music played on the music APP according to own preference and requirements; and because the adjusting mode is similar to rhythm games, the technical scheme of the embodiment of the invention not only has simple and convenient operation, but also can greatly improve the entertainment of the music APP, thereby meeting the increasing use requirements of users to a certain extent and greatly improving the use experience of the users.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or executable program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of an executable program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and executable program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by executable program instructions. These executable program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor with reference to a programmable data processing apparatus to produce a machine, such that the instructions, which execute via the computer or processor with reference to the programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be loaded onto a computer or reference programmable data processing apparatus to cause a series of operational steps to be performed on the computer or reference programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or reference programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (11)

1. A music playing method, the method comprising:
responding to a received first instruction, and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment;
receiving a second instruction generated by operation triggering aiming at the virtual key;
responding to the second instruction, and adjusting the playing mode of the audio clip corresponding to the virtual key triggering the second instruction;
wherein, the adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction by rising tone and falling tone includes:
dividing each virtual key on the control interface into two parts; and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
2. The music playing method according to claim 1, wherein prior to the responding to the received first instruction, the method further comprises: triggering and generating the first instruction in response to a specific operation of a user;
wherein the specific operation includes at least one of:
the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; alternatively, the first and second electrodes may be,
and when the music application APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is performed.
3. The music playing method according to claim 1 or 2, wherein before the receiving of the second instruction generated by the operation trigger for the virtual key, the method further comprises:
detecting the playing progress information of the audio clip;
determining an audio sub-clip corresponding to the playing progress information in the audio clip according to the playing progress information;
and giving corresponding prompts to the virtual keys corresponding to the determined audio sub-segments according to a preset virtual key prompting mode.
4. The music playback method of claim 3, wherein the audio segment comprises a plurality of audio sub-segments;
the giving a corresponding prompt to the virtual key corresponding to the determined audio sub-segment according to the preset virtual key prompt mode includes:
and sequentially giving corresponding prompts to the virtual keys corresponding to the audio sub-segments based on the playing progress information.
5. The music playing method according to claim 3, wherein the predetermined virtual key prompting manner at least comprises one of the following: lighting up or flashing;
the receiving of the second instruction generated by the operation trigger aiming at the virtual key comprises:
and when the touch operation aiming at the virtual key in the lighting state or the flickering state is detected, triggering to generate a second instruction corresponding to the touch operation.
6. The music playing method according to claim 1, wherein the adjusting the playing mode of the audio segment corresponding to the virtual key that triggers the second instruction comprises:
according to the selected music adjusting mode, executing one of the following operations to the playing mode of the audio clip corresponding to the virtual key triggering the second instruction:
performing tone rising adjustment on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
adjusting the tone of the audio clip corresponding to the virtual key triggering the second instruction in a tone reducing way;
performing tone up-regulation and tone down-regulation on the tone of the audio clip corresponding to the virtual key triggering the second instruction;
and performing sound mixing adjustment on the audio clip corresponding to the virtual key triggering the second instruction.
7. A music playing apparatus, characterized in that the apparatus comprises: the device comprises a display module, a receiving module and an adjusting module; wherein the content of the first and second substances,
the display module is used for responding to the received first instruction and displaying a control interface, wherein the control interface comprises at least two virtual keys, and each virtual key corresponds to each audio sub-segment in the currently played audio segment;
the receiving module is used for receiving a second instruction generated by operation triggering aiming at the virtual key;
the adjusting module is used for responding to the second instruction and dividing each virtual key on the control interface into two parts; and when the touch operation is carried out on each part of the virtual key, the tone of the audio clip corresponding to the virtual key is respectively controlled to be subjected to rising tone adjustment and falling tone adjustment.
8. The music playback device of claim 7, wherein the device further comprises: the instruction generation module is used for responding to a specific operation of a user before the display module responds to the received first instruction, and triggering and generating the first instruction;
wherein the specific operation includes at least one of:
the method comprises the steps of operating a preset key on a music playing interface of the terminal equipment; alternatively, the first and second electrodes may be,
and when the music APP of the terminal equipment is in a background playing mode and the display screen of the terminal equipment is in a locked state, the received call-up operation is carried out.
9. The music playback apparatus according to claim 7 or 8, wherein the apparatus further comprises: the detection module is used for detecting the playing progress information of the audio clip before the receiving module receives a second instruction generated by the operation trigger aiming at the virtual key;
the determining module is used for determining an audio sub-segment corresponding to the playing progress information in the audio segment according to the playing progress information;
and the prompt module is used for giving corresponding prompts to the virtual keys corresponding to the determined audio sub-segments according to a preset virtual key prompt mode.
10. A storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the steps of the music playing method according to any one of claims 1 to 6.
11. A music playing apparatus comprising a memory, a processor and an executable program stored on the memory and executable by the processor, wherein the steps of the music playing method according to any one of claims 1 to 6 are performed when the executable program is executed by the processor.
CN201810085701.8A 2018-01-29 2018-01-29 Music playing method, device and storage medium Active CN108319413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810085701.8A CN108319413B (en) 2018-01-29 2018-01-29 Music playing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810085701.8A CN108319413B (en) 2018-01-29 2018-01-29 Music playing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108319413A CN108319413A (en) 2018-07-24
CN108319413B true CN108319413B (en) 2020-09-11

Family

ID=62888844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810085701.8A Active CN108319413B (en) 2018-01-29 2018-01-29 Music playing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108319413B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189957B (en) * 2018-08-30 2022-05-31 维沃移动通信有限公司 Media data processing method and equipment
CN109343770B (en) * 2018-09-27 2021-07-20 腾讯科技(深圳)有限公司 Interactive feedback method, apparatus and recording medium
CN109637268A (en) * 2018-12-29 2019-04-16 无锡吾成互联科技有限公司 A kind of music teaching APP operating method and its realize system
CN112691371A (en) * 2020-12-28 2021-04-23 完美世界(重庆)互动科技有限公司 Game audio output method and device, storage medium and electronic device
CN113157369B (en) * 2021-04-07 2023-04-18 杭州网易云音乐科技有限公司 Music playing interaction method and device, storage medium and electronic equipment
CN114599139A (en) * 2022-01-20 2022-06-07 广州奕至家居科技有限公司 Desk lamp control method and device, terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
CN102377914A (en) * 2011-09-22 2012-03-14 宇龙计算机通信科技(深圳)有限公司 Terminal and multimedia file management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4297010B2 (en) * 2004-08-13 2009-07-15 ソニー株式会社 Information processing apparatus, information processing method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
CN102377914A (en) * 2011-09-22 2012-03-14 宇龙计算机通信科技(深圳)有限公司 Terminal and multimedia file management method

Also Published As

Publication number Publication date
CN108319413A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN108319413B (en) Music playing method, device and storage medium
JP5318095B2 (en) System and method for automatically beat-mixing a plurality of songs using an electronic device
JP4413144B2 (en) System and method for portable speech synthesis
EP2760014B1 (en) Interactive score curve for adjusting audio parameters of a user's recording.
US10062367B1 (en) Vocal effects control system
CN110430326B (en) Ring editing method and device, mobile terminal and storage medium
CN107680571A (en) A kind of accompanying song method, apparatus, equipment and medium
US20170060520A1 (en) Systems and methods for dynamically editable social media
US20140006948A1 (en) Method and mobile phone for capturing audio file or video file
WO2017028686A1 (en) Information processing method, terminal device and computer storage medium
US10529312B1 (en) System and method for delivering dynamic user-controlled musical accompaniments
CN111785238A (en) Audio calibration method, device and storage medium
JP2014520352A (en) Enhanced media recording and playback
JP4326669B2 (en) Beat information distribution system
CN113821189A (en) Audio playing method and device, terminal equipment and storage medium
CN111831250B (en) Audio processing method and device, storage medium and electronic equipment
CN108073106A (en) A kind of intelligent sound
US7612279B1 (en) Methods and apparatus for structuring audio data
US9202447B2 (en) Persistent instrument
US9508329B2 (en) Method for producing audio file and terminal device
CN113127678A (en) Audio processing method, device, terminal and storage medium
CN108076232B (en) Music playing method and device based on mobile terminal
US20200326905A1 (en) Computer implemented method and computer system for customized execution of a media file
CN105280208B (en) A kind of method and device for the display format for adjusting the lyrics
KR100462826B1 (en) A portable multimedia playing device of synchronizing independently produced at least two multimedia data, a method for controlling the device, and a system of providing the multimedia data with the 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