CN108319413A - A kind of method for playing music, device and storage medium - Google Patents

A kind of method for playing music, device and storage medium Download PDF

Info

Publication number
CN108319413A
CN108319413A CN201810085701.8A CN201810085701A CN108319413A CN 108319413 A CN108319413 A CN 108319413A CN 201810085701 A CN201810085701 A CN 201810085701A CN 108319413 A CN108319413 A CN 108319413A
Authority
CN
China
Prior art keywords
virtual key
instruction
music
triggering
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810085701.8A
Other languages
Chinese (zh)
Other versions
CN108319413B (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

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

Abstract

The invention discloses a kind of method for playing music, the method includes:In response to the first instruction received, display control interface, the control interface includes at least two virtual keys, and each audio sub-segments that each virtual key includes respectively with the audio fragment being currently played are corresponding;Receive the second instruction generated for the operation triggering of the virtual key;In response to second instruction, the broadcast mode to triggering the audio fragment corresponding to the virtual key of second instruction is adjusted.The present invention further simultaneously discloses a kind of music player and storage medium.

Description

A kind of method for playing music, device and storage medium
Technical field
The present invention relates to the audio signal processing techniques more particularly to a kind of method for playing music, device in field of mobile terminals And storage medium.
Background technology
With the fast development of internet especially mobile Internet, make for installation in terminal especially mobile terminal Diversified trend is presented in application (APP, Application), and it is many-sided to cover work, study, consumption and amusement etc., makes APP obtains unprecedented be widely used.
With the continuous improvement of people's living standards, the entertainment way for people's selection is also more and more, wherein due to The characteristics of widely available and portability of mobile terminal such as mobile phone, people can utilize on mobile terminal the music APP that installs into Row amusement.In order to meet the recreational demand of user, the function that current music APP is provided becomes more and more abundant, from Traditional only offer music playback function turns to as that can provide the function of the multiple fields such as social, consumption, K songs.
However, the function in terms of social activity and consumption that music APP is provided, such as song community listen song to make friends, music point Enjoy, CRBT customization and electronic album purchase etc. functions, primarily directed to music APP unmusical broadcasting in terms of function, with Recreational association when music itself plays is little, and for the function in terms of music, recreational major embodiment In the style for changing song.For example, being directed to a song, user can be according to the hobby of itself, " the stream provided from music APP Select the style that oneself is liked in row ", " jazz ", a variety of song styles such as " rock and roll " so that the song can according to Song style selected by family plays out.As it can be seen that the above-mentioned this adjustment mode to song is only to be carried out to the style of song Adjustment, adjustment mode are relatively simple.
Therefore, overall, the function that current music APP is provided still shows slightly insufficient at recreational aspect, especially It is the recreational more inadequate of the provided function in terms of music.It can be seen that as user is to amusement sexual function It is required that higher and higher, the function that current music APP can be provided much cannot be satisfied the growing use of user and need It asks.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of method for playing music, device and storage mediums, at least to It solves the broadcast mode that the relevant technologies are difficult to neatly to music to be adjusted, to improve the recreational problem of music APP.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is realized in:
In a first aspect, the embodiment of the present invention provides a kind of method for playing music, the method includes:
In response to the first instruction received, display control interface, the control interface includes at least two virtually pressing Key, each audio sub-segments that each virtual key includes respectively with the audio fragment being currently played are corresponding;
Receive the second instruction generated for the operation triggering of the virtual key;
In response to second instruction, to triggering the broadcasting of the audio fragment corresponding to the virtual key of second instruction Mode is adjusted.
Second aspect, the embodiment of the present invention provide a kind of music player, and described device includes:Display module, reception Module and adjustment module;Wherein,
The display module, for the first instruction in response to receiving, display control interface is wrapped in the control interface Include at least two virtual keys, each audio sub-pieces that each virtual key includes respectively with the audio fragment being currently played Section is corresponding;
The receiving module, the second instruction that the operation triggering for receiving for the virtual key generates;
The adjustment module, in response to second instruction, the virtual key institute of the second instruction described to triggering to be right The broadcast mode for the audio fragment answered is adjusted.
The third aspect, the embodiment of the present invention provide a kind of storage medium, are stored thereon with executable program, described executable The step of method for playing music provided in an embodiment of the present invention is realized when program is executed by processor.
Fourth aspect, the embodiment of the present invention also provide a kind of music player, including memory, processor and are stored in On memory and the executable program that can be run by the processor, the processor execute when running the executable program The step of method for playing music provided in an embodiment of the present invention.
Method for playing music, device and the storage medium that the embodiment of the present invention is provided refer in response to first received Enable, display control interface, the control interface includes at least two virtual keys, each virtual key respectively with currently Each audio sub-segments that the audio fragment of broadcasting includes are corresponding;The operation received for the virtual key triggers generation Second instruction;In response to second instruction, to triggering broadcasting for the audio fragment corresponding to the virtual key of second instruction The mode of putting is adjusted.In this way, during music, by executing control behaviour to the virtual key in control interface Make, may be implemented that the broadcast mode of the corresponding audio fragment of triggering virtual key is adjusted, in this way, user can be according to certainly The hobby and demand of body, neatly the broadcast mode of the music to being played on music APP be adjusted;And due to the regulative mode It plays similar to tempo class, it is therefore, not only simple to operate using the technical solution of the embodiment of the present invention, moreover it is possible to greatly The recreational of music APP is improved, to which the growing use demand of user can be met to a certain extent, greatly promotes use The usage experience at family.
Description of the drawings
Fig. 1 is a kind of implementation process schematic diagram of method for playing music provided in an embodiment of the present invention;
Fig. 2 is a kind of display effect schematic diagram of control interface provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram at triggering display control interface provided in an embodiment of the present invention;
Fig. 4 is another schematic diagram for triggering display control interface provided in an embodiment of the present invention;
Fig. 5 is a kind of using effect schematic diagram of control interface provided in an embodiment of the present invention;
Fig. 6 is that a kind of tone to audio fragment provided in an embodiment of the present invention is carried out at the same time rising tune adjusting and falling tone is adjusted Display effect schematic diagram;
Fig. 7 is a kind of illustrative view of functional configuration of music player provided in an embodiment of the present invention;
Fig. 8 is the illustrative view of functional configuration of another music player provided in an embodiment of the present invention;
Fig. 9 is a kind of hardware architecture diagram of music player provided in an embodiment of the present invention.
Specific implementation mode
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used for limiting the present invention.
Fig. 1 is a kind of implementation process schematic diagram of method for playing music provided in an embodiment of the present invention, the music side Method is applied in terminal device;As shown in Figure 1, the implementation process of the method for playing music in the embodiment of the present invention, may include Following steps:
Step 101:In response to the first instruction received, display control interface, the control interface includes at least two A virtual key, each audio sub-segments that each virtual key includes respectively with the audio fragment being currently played are opposite It answers.
The terminal device of the method for playing music application of the present embodiment can include but is not limited to smart mobile phone, tablet electricity The electronic equipments such as brain, palm PC.Fig. 2 is a kind of display effect schematic diagram of control interface provided in an embodiment of the present invention, such as Shown in Fig. 2, here may be used due to generally including multiple audio fragments in a piece of music including multiple virtual keys in control interface Every lyrics that each audio fragment is interpreted as constituting a piece of music can be by each audio piece according to the form of word segmentation Section is divided into multiple audio sub-segments, for example, it is assumed that the audio fragment being currently played is " barren sand has diffused waiting at the moment ", So, which can be divided into multiple audio sub-segments:" at the moment ", " barren sand ", " diffusing ", " " and " waiting ", then Can by each virtual key in control interface respectively with this multiple audio sub-segments " at the moment ", " barren sand ", " diffusing ", " " and " waiting " is corresponding.It is of course also possible to by each virtual key in control interface respectively each of with this audio fragment Word is corresponding, and to control the broadcast mode of each word, the present invention does not limit herein.
Here, it should be noted that the display effect schematic diagram of the control interface given by Fig. 2 is only that the present invention is implemented Example provide control interface a kind of exemplary illustration, according to actual needs, the control interface can be shown as it is various not Same pattern, the embodiment of the present invention do not limit herein.
In the present embodiment, control interface is independently of music-playing interface and shows.It is broadcast using music APP in user During putting the music on, if user wants that the broadcast mode of music is adjusted, the music APP in terminal device can be passed through The control interface of upper display realizes the adjusting to music mode.
It should be noted that it is recorded in response to shall be understood in a broad sense in the present embodiment, such as indicating performed It is one or more operate relied on condition or state, when meeting relied on condition or state, performed one Or multiple operations can be real-time, it is possible to have the delay of setting;In case of no particular description, performed more There is no the limitations for executing sequencing for a operation.
In the present embodiment, before being instructed in response to receive first in this step 101, the method for playing music is also May include:In response to the specific operation of user, triggering generates the first instruction.
Here, the specific operation includes at least following one:
For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively,
When the terminal device music APP be backstage play mode, and the display screen of the terminal device be in lock That determines to receive when state arouses operation.
Specifically, during the music APP in user's using terminal equipment listens song, following two differences can be passed through Mode generate the first instruction to trigger, for instruction music APP display controls interface, concrete mode is as follows:
Mode 1) in response to user for terminal device music-playing interface on predetermined key operation when, triggering production Raw first instruction.
For which, mainly user by be arranged on the music-playing interface of terminal device it is predetermined by The clicking operation of key generates the first instruction to trigger.For example, being provided on the music-playing interface of terminal device for triggering " music control " virtual key at display control interface, the virtual key are referred to as hot key.Fig. 3 carries for the embodiment of the present invention A kind of schematic diagram at the triggering display control interface supplied, user are virtual by clicking " music control " as shown in left in Figure 3 Button, can trigger generation first instruction, and then music APP in response to this first instruction, can be by music APP by current presentation Music-playing interface be switched to control interface, as shown in right in Figure 3, which is used to control the broadcasting side of music Formula.
Mode 2) in response to user be directed to when arousing operation of terminal device, triggering generate first instruction.
For which, it is described arouse operation can be when the music APP of terminal device is backstage play mode, and What the display screen of terminal device received when being in the lock state arouses operation.That is, user is received using music APP During listening to music, when the display screen of terminal device enters lock-out state, music APP can be in the lock of terminal device Shield display control interface on interface.
In practical applications, user carries out time pastime often by the mode listened to music, however, user is using While music APP is listened to music, some other activities can be generally also carried out.For example, user is listened to music using music APP When, music APP is often switched to backstage play mode, and then do not influence while listening to music user's using terminal equipment into Other operations of row, and when user is during listening to music, when not being continuing with terminal device, terminal device often enters Lock-out state and the display screen for closing terminal device.Fig. 4 is another triggering display control circle provided in an embodiment of the present invention The schematic diagram in face, the mode 2) provided in the manner described above, when under terminal device is in the lock state, when user arouses the end After end equipment, triggering is generated into the first instruction, and then music APP in response to first instruction, then music APP is by control interface exhibition Show on the locking screen interface of terminal device, as shown in figure 4, the control interface is used to control the broadcast mode of music.
It should be noted that when 2) triggering generates the first instruction to user through the above way, indicated based on the first instruction When the music display control interfaces APP, user directly can carry out music by the control interface shown under screen lock state The adjustment of mode, without being unlocked to terminal device.
Step 102:Receive the second instruction generated for the operation triggering of the virtual key.
Here, the operation for executing pressing to virtual key or clicking can include but is not limited to the operation of virtual key.
In the present embodiment, before executing this step 102, which can also include:Detect the sound The playback progress information of frequency segment;According to the playback progress information, determines in the audio fragment and believe with the playing progress rate Cease corresponding audio sub-segments;It is corresponding to identified audio sub-segments virtual according to preset virtual key prompting mode Button provides corresponding prompt.
Here, if audio fragment includes multiple audio sub-segments, according to preset virtual key prompting mode, Corresponding prompt is provided to the corresponding virtual key of identified audio sub-segments, can be specifically included:Based on the playing progress rate Information, a pair virtual key corresponding to each audio sub-segments provide corresponding prompt successively.
In the present embodiment, the preset virtual key prompting mode includes at least following one:It lights or flickers;
This step 102 specifically includes:It detects for the touch-control behaviour in illuminating state or the virtual key for flickering state When making, triggering generates the second instruction corresponding with the touch control operation.
Include several virtual keys in the control interface of the present embodiment, during music, passes through click Or virtual key shown in control interface is pressed, the tune of the broadcast mode of the music to being currently played may be implemented Section.Fig. 5 is a kind of using effect schematic diagram of control interface provided in an embodiment of the present invention, as shown in figure 5, the lyrics " eye in figure Preceding barren sand has diffused waiting " indicate the audio fragment that music APP is currently played, carry out overstriking inclination using to audio fragment Marking mode indicate which sound the playing progress rate of audio fragment being currently played, i.e. music APP have been played at present Frequency sub-piece, and the audio sub-segments for not playing currently, then do not carry out it inclined mark of overstriking, can be with from Fig. 5 Find out that current audio fragment has been played to " unrestrained " word, you can determine the playback progress information of audio fragment, correspondingly, control Second virtual key in interface processed will be lighted or be flickered, to distinguish over other virtual keys, then at this time if user clicks The broadcast mode of the corresponding lyrics of currently playing progress " unrestrained " can be adjusted in the virtual key lighted or flickered.
It should be noted that when music APP is switched to music control function, and behind display control interface, music APP is current Each lyrics in each song played can correspond to a virtual key at random in control interface, then in music During broadcasting, the virtual key corresponding to the lyrics being currently played will can be lit.For example, as shown in figure 5, determining The corresponding lyrics of currently playing progress are " diffusing ", at this point, the virtual key being lit in control interface is for indicating and the song Virtual key corresponding to word " diffusing ".
In the present embodiment, can by the background server of music APP provide the lyrics and virtual key correspondence, i.e., by The background server of music APP is that corresponding virtual key is arranged in each lyrics in music.Specifically, the backstage of music APP Server can be handled all songs in music libraries, be respectively provided with pair for the audio fragment per song in music libraries The virtual key corresponded manner answered, and those corresponded manners are stored on the background server of music APP, in this way, working as user When selection carries out music control by the control interface of music APP, music APP can send to background server and carry currently The virtual key corresponded manner of music identification obtains request, so that background server is asked according to the acquisition received, determines The virtual key corresponded manner corresponding to each audio fragment in corresponding music and the music.
In the present embodiment, control interface is independently of music-playing interface and shows.It is broadcast using music APP in user During putting the music on, if user wants that the broadcast mode of music is adjusted, after display control interface, it can pass through Control interface realizes the adjusting to music mode;And the operation that user executes the virtual key in control interface, it will not The content that music-playing interface is currently played can be influenced, for example, when user is by the operation of click virtual key, to music Broadcast mode when being adjusted, which will not cause shadow to current content being played on music-playing interface It rings.
Step 103:In response to second instruction, to triggering the audio piece corresponding to the virtual key of second instruction The broadcast mode of section is adjusted.
In the present embodiment, this step 103 specifically includes:According to selected music shaping modes, to triggering described second The broadcast mode of audio fragment corresponding to the virtual key of instruction executes one of following operation:
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out falling tone adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting and falling tone It adjusts;
Audio mixing adjusting is carried out to triggering the audio fragment corresponding to the virtual key of second instruction.
In the present embodiment, described pair triggering it is described second instruction virtual key corresponding to audio fragment tone into Row rising tune is adjusted and falling tone is adjusted, and may include:
Each virtual key in the control interface is divided into two parts;
When each section to the virtual key carries out touch control operation, control pair is corresponding with the virtual key respectively The tone of audio fragment carries out rising tune and adjusts and falling tone adjusting.
Here, the technical solution provided using the embodiment of the present invention, user, can be with by clicking or pressing virtual key The tone for clicking or pressing the audio fragment corresponding to virtual key is adjusted in realization, such as in the process of music In, when the user clicks or pressing virtual key, the tone of the lyrics por-tion corresponding to the virtual key can be reinforced (rising tune) or falling tone etc..
It should be noted that user may be implemented to carry out rising tune tune to the tone of music by the control interface of music APP Either falling tone adjusts or can also realize that the rising tune of tone is adjusted and falling tone is adjusted simultaneously by control interface section.
Here, music APP, which will be provided to the user, waits for selected music shaping modes, and user can be according to the practical need of itself It asks, selects suitable music shaping modes, wherein music shaping modes may include that rising tune is adjusted, falling tone is adjusted, rising tune is adjusted It is carried out at the same time with falling tone adjusting.For example, when the music shaping modes that user selects are adjusted for rising tune, then when the user clicks or press When pressing the virtual key in control interface, rising tune adjusting will be carried out to the tone of the audio sub-segments corresponding to the virtual key, Assuming that the tone before adjusting corresponding to the audio sub-segments is F tune, then pass through after rising tune adjusting, corresponding to the audio sub-segments Tone can be changed to G tune, achieve the effect that reinforce the tone of music with this.Conversely, when the music of user's selection is adjusted Pattern be falling tone adjust when, then when the user clicks or pressing control interface on virtual key when, will to the virtual key institute it is right The tone for the audio sub-segments answered carries out falling tone adjusting.
Here, when the music shaping modes that user selects are for rising-falling tone while when adjusting, the control interface of music APP will be shown It is shown as shown in fig. 6, Fig. 6, which is a kind of tone to audio fragment provided in an embodiment of the present invention, is carried out at the same time rising tune adjusting and drop The display effect schematic diagram of tune section, wherein each virtual key in control interface can be divided into two parts up and down or left and right two Part does not limit herein.Assuming that by each virtual key in the control interface of music APP be divided into up and down two parts, when with When family is clicked or presses the top half of virtual key, the rising tune that can trigger the tone of corresponding audio sub-segments adjusts work( Energy;When the user clicks or pressing the lower half portion of virtual key, the falling tone of the tone of corresponding audio sub-segments can be triggered Regulatory function.
In addition it is also necessary to explanation, the control interface provided through the embodiment of the present invention, in addition to can be to music Except tone is adjusted, the sound mixing function of music can also be realized, for example, the generation respectively of each virtual key in control interface The tone of the various different musical instruments of table, if button 1 represents piano, button 2 represents mouth organ, and button 3 represents guitar, and button 4 represents drum Deng, in this way, when the user clicks or press corresponding virtual key when, then can be by the audio sub-segments corresponding to the virtual key Audio and the virtual key corresponding to instrumental audio carry out audio mixing.
Using the technical solution of the embodiment of the present invention, for user during being listened to music using music APP, music APP can To provide a control interface to the user, show there are several virtual keys in the control interface, the sound that music APP is played Each lyrics in pleasure are corresponding with virtual key respectively, during music, corresponding to the lyrics that are currently played Virtual key will light, and then user can realize the performance to this lyrics by clicking or pressing the virtual key The adjusting of mode, in this way, user neatly can be adjusted the broadcast mode of music according to the hobby and demand of itself; And due to the regulative mode similar to tempo class play, it is not only easy to operate using the technical solution of the embodiment of the present invention It is convenient, moreover it is possible to the recreational of music APP to be greatlyd improve, to which the growing use of user can be met to a certain extent Demand greatly enhances the user experience.
In order to realize that above-mentioned method for playing music, the embodiment of the present invention additionally provide a kind of music player, the music Playing device can be applied in terminal device, and Fig. 7 is a kind of functional structure of music player provided in an embodiment of the present invention Schematic diagram;As shown in fig. 7, the music player includes display module 71, receiving module 72 and adjustment module 73.Below to each Program module is described in detail.
Display module 71, for the first instruction in response to receiving, display control interface, the control interface includes At least two virtual keys, each audio sub-segments that each virtual key includes respectively with the audio fragment being currently played It is corresponding;
Receiving module 72, the second instruction that the operation triggering for receiving for the virtual key generates;
Adjustment module 73, for being instructed in response to described second, to triggering corresponding to the virtual key of second instruction The broadcast mode of audio fragment be adjusted.
In the present embodiment, for the sound corresponding to the virtual key to triggering second instruction in adjustment module 73 For the broadcast mode of frequency segment is adjusted, it may be used and realized such as under type:
According to selected music shaping modes, to triggering the audio fragment corresponding to the virtual key of second instruction Broadcast mode executes one of following operation:
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out falling tone adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting and falling tone It adjusts;
Audio mixing adjusting is carried out to triggering the audio fragment corresponding to the virtual key of second instruction.
Wherein, to trigger it is described second instruction virtual key corresponding to audio fragment tone carry out rising tune adjust and Falling tone is adjusted, and may include:
Each virtual key in the control interface is divided into two parts;
When each section to the virtual key carries out touch control operation, control pair is corresponding with the virtual key respectively The tone of audio fragment carries out rising tune and adjusts and falling tone adjusting.
In an alternate embodiment of the present invention, Fig. 8 is the work(of another music player provided in an embodiment of the present invention Energy structural schematic diagram, as shown in figure 8, the music player further includes:Command generation module 74, in the display module 71 in response to before the first instruction for receiving, in response to the specific operation of user, triggering generates first instruction.
Here, which includes at least following one:
For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively, as the music APP of terminal device What is received when being in the lock state for the display screen of backstage play mode, and terminal device arouses operation.
In the present embodiment, which can also include:
Detection module 75, for receiving generated for the operation triggering of the virtual key the in the receiving module 72 Before two instructions, the playback progress information of the audio fragment is detected;
Determining module 76, for according to the playback progress information, determine in the audio fragment with the playing progress rate The corresponding audio sub-segments of information;
Reminding module 77 is used for according to preset virtual key prompting mode, corresponding to identified audio sub-segments Virtual key provides corresponding prompt.
Here, if audio fragment includes multiple audio sub-segments, reminding module 77 is virtually pressed according to preset Key prompting mode may be used for the corresponding virtual key of identified audio sub-segments provides corresponding prompt such as lower section Formula is realized:Based on the playback progress information, a pair virtual key corresponding to each audio sub-segments provides corresponding prompt successively.
Here, the preset virtual key prompting mode includes at least following one:It lights or flickers;
For receiving module 72 receives the second instruction generated for the operation triggering of the virtual key, it can adopt It is realized with such as under type:When detecting the touch control operation for the virtual key in illuminating state or flicker state, triggering Generate the second instruction corresponding with the touch control operation.
It should be noted that:The music player that above-described embodiment provides while playing music, only with above-mentioned each The division progress of program module can as needed distribute above-mentioned processing by different journeys for example, in practical application Sequence module is completed, i.e., the internal structure of music player is divided into different program modules, described above complete to complete Portion or part are handled.In addition, the music player that above-described embodiment provides belongs to same with method for playing music embodiment Design, specific implementation process refer to embodiment of the method, and which is not described herein again.
In practical applications, the display module 71, adjustment module 73, command generation module 74, detection module 75, determination Module 76 and reminding module 77 can be by central processing unit (CPU, the Central Processing on terminal device Unit), microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP, Digital Signal ) or the realizations such as field programmable gate array (FPGA, Field Programmable Gate Array) Processor;Here Receiving module 72, in practical applications can by communications module (communications module generally include Base communication external member, operating system, Communication module, standard interface and agreement etc.) and dual-mode antenna realization.
In order to realize that above-mentioned method for playing music, the embodiment of the present invention additionally provide a kind of hardware knot of music player Structure.The music player of the embodiment of the present invention is realized in description with reference to the drawings, which can be with various The terminal device of form, such as desktop computer, laptop, smart mobile phone computer equipment are implemented.Below to this hair The hardware configuration of the music player of bright embodiment is described further, it will be understood that Fig. 9 illustrate only music dress The example arrangement rather than entire infrastructure set, can implement the part-structure shown in Fig. 9 or entire infrastructure as needed.
Referring to Fig. 9, Fig. 9 is a kind of hardware architecture diagram of music player provided in an embodiment of the present invention, practical It can be applied to the various terminal equipment of aforementioned operation application program in, music player 900 shown in Fig. 9 includes: At least one processor 901, memory 902, user interface 903 and at least one network interface 904.The music player Various components in 900 are coupled by bus system 905.It is appreciated that bus system 905 is for realizing these components Between connection communication.Bus system 905 further includes power bus, controlling bus and state letter in addition to including data/address bus Number bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in fig.9.
Wherein, user interface 903 may include display, keyboard, mouse, trace ball, click wheel, button, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 902 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.
Memory 902 in the embodiment of the present invention is for storing various types of data to support music player 900 Operation.The example of these data includes:Any computer program for being operated on music player 900, can such as hold It is executable to realize that the program of the method for playing music of the embodiment of the present invention may be embodied in for line program 9021 and operating system 9022 In program 9021.
The method for playing music that the embodiment of the present invention discloses can be applied in processor 901, or real by processor 901 It is existing.Processor 901 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned music is broadcast Putting each step of method can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form. Above-mentioned processor 901 can be that either other programmable logic device, discrete gate or transistor are patrolled by general processor, DSP Collect device, discrete hardware components etc..Processor 901 may be implemented or execute each music provided in the embodiment of the present invention Method, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with the present invention The step of method for playing music that embodiment is provided, can be embodied directly in hardware decoding processor and execute completion, Huo Zheyong Hardware and software module combination in decoding processor execute completion.Software module can be located in storage medium, which is situated between Matter is located at memory 902, and processor 901 reads the information in memory 902, and completing the embodiment of the present invention in conjunction with its hardware provides Method for playing music the step of.
In the present embodiment, music player 900 includes memory 902, processor 901 and is stored on memory 902 And the executable program 9021 that can be run by the processor 901, the processor 901 run the executable program 9021 Shi Shixian:In response to the first instruction received, display control interface, the control interface includes at least two virtually pressing Key, each audio sub-segments that each virtual key includes respectively with the audio fragment being currently played are corresponding;Receive needle The second instruction that the operation triggering of the virtual key is generated;In response to second instruction, to triggering second instruction Virtual key corresponding to the broadcast mode of audio fragment be adjusted.
As an implementation, it is realized when the processor 901 runs the executable program 9021:In the response Before the first instruction received, in response to the specific operation of user, triggering generates first instruction;Wherein, the spy Fixed operation includes at least following one:For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively, working as institute The music APP for stating terminal device is backstage play mode, and when display screen of the terminal device is in the lock state receives To arouse operation.
As an implementation, it is realized when the processor 901 runs the executable program 9021:In the reception Before the second instruction that operation triggering for the virtual key generates, the playback progress information of the audio fragment is detected; According to the playback progress information, audio sub-segments corresponding with the playback progress information in the audio fragment are determined;Root According to preset virtual key prompting mode, corresponding prompt is provided to the corresponding virtual key of identified audio sub-segments.
As an implementation, it is realized when the processor 901 runs the executable program 9021:The audio piece Section includes multiple audio sub-segments;Based on the playback progress information, pair virtual key corresponding with each audio sub-segments is successively Provide corresponding prompt.
As an implementation, it is realized when the processor 901 runs the executable program 9021:It is described preset Virtual key prompting mode includes at least following one:It lights or flickers;It detects in illuminating state or flicker state Virtual key touch control operation when, triggering generate it is corresponding with the touch control operation second instruct.
As an implementation, it is realized when the processor 901 runs the executable program 9021:According to selected Music shaping modes, the broadcast mode to triggering the audio fragment corresponding to the virtual key of second instruction execute following behaviour One of make:Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting;To triggering The tone of audio fragment corresponding to the virtual key of second instruction carries out falling tone adjusting;To triggering second instruction The tone of audio fragment corresponding to virtual key carries out rising tune and adjusts and falling tone adjusting;To triggering the virtual of second instruction Audio fragment corresponding to button carries out audio mixing adjusting.
As an implementation, it is realized when the processor 901 runs the executable program 9021:By the control Each virtual key on interface is divided into two parts;When each section to the virtual key carries out touch control operation, control respectively The tone of pair audio fragment corresponding with the virtual key carries out rising tune adjusting and falling tone is adjusted.
In the exemplary embodiment, the embodiment of the present invention additionally provides a kind of storage medium, the storage medium can be CD, The storage mediums such as flash memory or disk are chosen as non-moment storage medium.Wherein, it is stored with executable program on the storage medium 9021, the executable program 9021 is realized when being executed by processor 901:In response to the first instruction received, display control Interface, the control interface include at least two virtual keys, each virtual key respectively with the audio that is currently played Each audio sub-segments that segment includes are corresponding;Receive the second instruction generated for the operation triggering of the virtual key; In response to second instruction, the broadcast mode to triggering the audio fragment corresponding to the virtual key of second instruction carries out It adjusts.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:It is described in response to Before the first instruction received, in response to the specific operation of user, triggering generates first instruction;Wherein, described specific Operation includes at least following one:For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively, when described The music APP of terminal device is backstage play mode, and when display screen of the terminal device is in the lock state receives Arouse operation.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:In the reception needle Before the second instruction generated to the operation triggering of the virtual key, the playback progress information of the audio fragment is detected;Root According to the playback progress information, audio sub-segments corresponding with the playback progress information in the audio fragment are determined;According to Preset virtual key prompting mode provides corresponding prompt to the corresponding virtual key of identified audio sub-segments.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:The audio fragment Including multiple audio sub-segments;Based on the playback progress information, a pair virtual key corresponding with each audio sub-segments is given successively Go out corresponding prompt.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:The preset void Quasi- button prompting mode includes at least following one:It lights or flickers;It detects and is directed in illuminating state or flickers state When the touch control operation of virtual key, triggering generates the second instruction corresponding with the touch control operation.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:According to selected sound Happy shaping modes, the broadcast mode to triggering the audio fragment corresponding to the virtual key of second instruction execute following operation One of:Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting;To triggering institute The tone for stating the audio fragment corresponding to the virtual key of the second instruction carries out falling tone adjusting;To triggering the void of second instruction The tone of audio fragment corresponding to quasi- button carries out rising tune and adjusts and falling tone adjusting;It is pressed to triggering the virtual of the second instruction Audio fragment corresponding to key carries out audio mixing adjusting.
As an implementation, it is realized when the executable program 9021 is executed by processor 901:By control circle Each virtual key on face is divided into two parts;When each section to the virtual key carries out touch control operation, control pair respectively The tone of audio fragment corresponding with the virtual key carries out rising tune adjusting and falling tone is adjusted.
The embodiment of the present invention in response to receive first by instructing, display control interface, is wrapped in the control interface Include at least two virtual keys, each audio sub-pieces that each virtual key includes respectively with the audio fragment being currently played Section is corresponding;Receive the second instruction generated for the operation triggering of the virtual key;In response to second instruction, to touching The broadcast mode of audio fragment corresponding to virtual key for sending out the second instruction described is adjusted.In this way, in music In the process, by the virtual key executive control operation in control interface, may be implemented to the corresponding sound of triggering virtual key The broadcast mode of frequency segment is adjusted, in this way, user can be according to the hobby and demand of itself, neatly on music APP The broadcast mode of the music of broadcasting is adjusted;And due to the regulative mode similar to tempo class play, using the present invention The technical solution of embodiment, it is not only simple to operate, moreover it is possible to the recreational of music APP to be greatlyd improve, in certain journey The growing use demand of user can be met on degree, greatly enhanced the user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or executable program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the executable program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and executable program product Figure and/or block diagram describe.It should be understood that can be by every first-class in executable program instructions implementation flow chart and/or block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These executable programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or reference programmable data processing device to produce A raw machine so that the instruction executed by computer or with reference to the processor of programmable data processing device is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These executable program instructions, which may also be stored in, can guide computer or with reference to programmable data processing device with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These executable program instructions can also be loaded into computer or with reference in programmable data processing device so that count Calculation machine or with reference to executing series of operation steps on programmable device to generate computer implemented processing, in computer or It is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one with reference to the instruction executed on programmable device The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all All any modification, equivalent and improvement made by within the spirit and principles in the present invention etc. should be included in the protection of the present invention Within the scope of.

Claims (12)

1. a kind of method for playing music, which is characterized in that the method includes:
In response to the first instruction received, display control interface, the control interface includes at least two virtual keys, often Each audio sub-segments that a virtual key includes respectively with the audio fragment being currently played are corresponding;
Receive the second instruction generated for the operation triggering of the virtual key;
In response to second instruction, to triggering the broadcast mode of the audio fragment corresponding to the virtual key of second instruction It is adjusted.
2. method for playing music according to claim 1, which is characterized in that in first instruction in response to receiving Before, the method further includes:In response to the specific operation of user, triggering generates first instruction;
Wherein, the specific operation includes at least following one:
For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively,
When the terminal device music application APP be backstage play mode, and the display screen of the terminal device be in lock That determines to receive when state arouses operation.
3. method for playing music according to claim 1 or 2, which is characterized in that virtually pressed for described in described receive Before the second instruction that the operation triggering of key generates, the method further includes:
Detect the playback progress information of the audio fragment;
According to the playback progress information, audio sub-pieces corresponding with the playback progress information in the audio fragment is determined Section;
According to preset virtual key prompting mode, the corresponding virtual key of identified audio sub-segments is provided and is accordingly carried Show.
4. method for playing music according to claim 3, which is characterized in that the audio fragment includes multiple audio sub-pieces Section;
It is described according to preset virtual key prompting mode, the corresponding virtual key of identified audio sub-segments is provided accordingly Prompt, including:
Based on the playback progress information, a pair virtual key corresponding to each audio sub-segments provides corresponding prompt successively.
5. method for playing music according to claim 3, which is characterized in that the preset virtual key prompting mode is extremely Include following one less:It lights or flickers;
Second instruction for receiving the operation triggering generation for the virtual key, including:
When detecting the touch control operation for the virtual key in illuminating state or flicker state, triggering generates and the touch-control Operate corresponding second instruction.
6. method for playing music according to claim 1, which is characterized in that described pair of triggering described second instructs virtual The broadcast mode of audio fragment corresponding to button is adjusted, including:
According to selected music shaping modes, to triggering the broadcasting of the audio fragment corresponding to the virtual key of second instruction Mode executes one of following operation:
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out falling tone adjusting;
Tone to triggering the audio fragment corresponding to the virtual key of second instruction carries out rising tune adjusting and falling tone is adjusted;
Audio mixing adjusting is carried out to triggering the audio fragment corresponding to the virtual key of second instruction.
7. method for playing music according to claim 6, which is characterized in that described pair of triggering described second instructs virtual The tone of audio fragment corresponding to button carries out rising tune adjusting and falling tone is adjusted, including:
Each virtual key in the control interface is divided into two parts;
When each section to the virtual key carries out touch control operation, pair audio corresponding with the virtual key is controlled respectively The tone of segment carries out rising tune and adjusts and falling tone adjusting.
8. a kind of music player, which is characterized in that described device includes:Display module, receiving module and adjustment module;Its In,
The display module, in response to receive first instruction, display control interface, the control interface include to Few two virtual keys, each audio sub-segments phase that each virtual key includes respectively with the audio fragment being currently played It is corresponding;
The receiving module, the second instruction that the operation triggering for receiving for the virtual key generates;
The adjustment module, for being instructed in response to described second, to triggering corresponding to the virtual key of second instruction The broadcast mode of audio fragment is adjusted.
9. music player according to claim 8, which is characterized in that described device further includes:Command generation module, For before the display module is in response to the first instruction for receiving, in response to the specific operation of user, triggering to generate institute State the first instruction;
Wherein, the specific operation includes at least following one:
For the operation of the predetermined key on the music-playing interface of terminal device;Alternatively,
When the terminal device music APP be backstage play mode, and the display screen of the terminal device be in locking shape What is received when state arouses operation.
10. music player according to claim 8 or claim 9, which is characterized in that described device further includes:Detection module, For before the receiving module receives the second instruction generated for the operation triggering of the virtual key, detecting the sound The playback progress information of frequency segment;
Determining module, for according to the playback progress information, determine in the audio fragment with the playback progress information pair The audio sub-segments answered;
Reminding module is used for according to preset virtual key prompting mode, corresponding to identified audio sub-segments virtually to press Key provides corresponding prompt.
11. a kind of storage medium, is stored thereon with executable program, which is characterized in that the executable code processor is held The step of method for playing music as described in any one of claim 1 to 7 is realized when row.
12. a kind of music player, including memory, processor and storage can be transported on a memory and by the processor Capable executable program, which is characterized in that the processor executes such as claim 1 to 7 times when running the executable program The step of method for playing music described in one.
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 true CN108319413A (en) 2018-07-24
CN108319413B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189957A (en) * 2018-08-30 2019-01-11 维沃移动通信有限公司 A kind of processing method and equipment of media data
CN109343770A (en) * 2018-09-27 2019-02-15 腾讯科技(深圳)有限公司 Interaction feedback method, equipment and recording medium
CN109637268A (en) * 2018-12-29 2019-04-16 无锡吾成互联科技有限公司 A kind of music teaching APP operating method and its realize system
CN113157369A (en) * 2021-04-07 2021-07-23 杭州网易云音乐科技有限公司 Music playing interaction method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060044955A1 (en) * 2004-08-13 2006-03-02 Sony Corporation Apparatus, method, and computer program for processing information
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060044955A1 (en) * 2004-08-13 2006-03-02 Sony Corporation Apparatus, method, and computer program for processing information
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189957A (en) * 2018-08-30 2019-01-11 维沃移动通信有限公司 A kind of processing method and equipment of media data
CN109343770A (en) * 2018-09-27 2019-02-15 腾讯科技(深圳)有限公司 Interaction feedback method, equipment and recording medium
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
CN113157369A (en) * 2021-04-07 2021-07-23 杭州网易云音乐科技有限公司 Music playing interaction method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108319413B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US11881195B2 (en) Apparatus and methods for cellular compositions
CN108319413A (en) A kind of method for playing music, device and storage medium
US20100132536A1 (en) File creation process, file format and file playback apparatus enabling advanced audio interaction and collaboration capabilities
US20120014673A1 (en) Video and audio content system
CN103839559A (en) Audio file manufacturing method and terminal equipment
CN108919953A (en) A kind of music method of adjustment, device and storage medium
CN105308676A (en) Adaptive music playback system
CN103021390A (en) Displaying content in relation to music reproduction by means of information processing apparatus independent of music reproduction apparatus
CN104412320A (en) Automated performance technology using audio waveform data
CN106652655A (en) Musical instrument capable of audio track replacement
CN109410972A (en) Generate the method, apparatus and storage medium of sound effect parameters
CN113821189B (en) Audio playing method, device, terminal equipment and storage medium
CN111506765B (en) Method, device, electronic equipment and storage medium for controlling music playing rhythm
US9508329B2 (en) Method for producing audio file and terminal device
JP2009125141A (en) Musical piece selection system, musical piece selection apparatus and program
JP4447524B2 (en) Karaoke equipment characterized by medley music selection processing with uniform tempo
TWI683691B (en) Method for generating customized hit-timing list of music game automatically, non-transitory computer readable medium, computer program product and system of music game
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
CN105280208B (en) A kind of method and device for the display format for adjusting the lyrics
CN108647006A (en) Sound equipment play mode method of adjustment, stereo set and computer readable storage medium
CN106446259A (en) Audio playing device and method thereof for automatically downloading music
EP2562990B1 (en) Method and device for editing and playing music according to data download speed
JP2001232058A (en) Game device and information storage medium
JP3669301B2 (en) Automatic composition apparatus and method, and storage medium
JP2004264334A (en) Music arranging system, control method of the system, program and music arranging method

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