CN106448713A - Audio frequency playing method and audio frequency playing device - Google Patents

Audio frequency playing method and audio frequency playing device Download PDF

Info

Publication number
CN106448713A
CN106448713A CN201510489411.6A CN201510489411A CN106448713A CN 106448713 A CN106448713 A CN 106448713A CN 201510489411 A CN201510489411 A CN 201510489411A CN 106448713 A CN106448713 A CN 106448713A
Authority
CN
China
Prior art keywords
refrain
fragment
audio frequency
playing
positional information
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
CN201510489411.6A
Other languages
Chinese (zh)
Other versions
CN106448713B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510489411.6A priority Critical patent/CN106448713B/en
Publication of CN106448713A publication Critical patent/CN106448713A/en
Application granted granted Critical
Publication of CN106448713B publication Critical patent/CN106448713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an audio frequency playing method. The audio frequency playing method comprises steps that position information of a refrain fragment of a currently-played audio frequency is acquired; the position information is displayed in a currently-played interface in a preset way; when a playing operation triggered by the position information is received, the refrain fragment is played. The invention also discloses an audio frequency playing device. By prompting the position information of the refrain fragment, a user can locate the refrain fragment quickly for audition, and therefore audition efficiency is improved.

Description

Audio frequency playing method and device
Technical field
The present invention relates to field of computer technology, it is related specifically to a kind of audio frequency playing method and device.
Background technology
During conventional player audio file in the play list, generally there is order, circulation, random etc. many The mode of kind, to realize order or the shuffle of playlist middle pitch frequency file, and a certain audio file Loop play, but the broadcasting for any one audio file is all from first to last complete, and user cannot The a certain paragraph of audition as needed.
And when user plays a brand-new special edition or comes from the strange audio file on Internet resources, User will determine that this audio file, if appropriate for oneself, often needs only to audition in the short period of time Refrain fragment.Generally require to drag progress bar manually when user is in this refrain fragment of audition it is impossible to It is accurately positioned the refrain fragment needing audition, lead to audio frequency audition efficiency low.
Content of the invention
The embodiment of the present invention provides a kind of audio frequency playing method and device it is intended to solution audio frequency audition efficiency is low Problem.
For achieving the above object, the embodiment of the present invention proposes a kind of audio frequency playing method, and described audio frequency is play Method includes step:
Obtain the positional information of refrain fragment in currently playing audio frequency;
Show described positional information at currently playing interface by default mode;
When receiving the play operation based on the triggering of described positional information, play described refrain fragment.
To achieve these goals, the embodiment of the present invention is it is further proposed that a kind of audio playing apparatus, institute State audio playing apparatus to include:
Acquisition module, for obtaining the positional information of refrain fragment in currently playing audio frequency;
Display module, for showing described positional information at currently playing interface by default mode;
Playing module, for when receiving the play operation based on the triggering of described positional information, playing institute State refrain fragment.
Audio frequency playing method proposed by the present invention and device, obtain the position of refrain fragment in currently playing audio frequency Confidence ceases, and shows described positional information at currently playing interface by default mode, is based on receiving During the play operation of described positional information triggering, play described refrain fragment, by pointing out refrain fragment Positional information carries out audition so that user can quickly navigate to refrain fragment, improves audition efficiency.
Brief description
Fig. 1 is the hardware structure schematic diagram involved by embodiment of the present invention audio playing apparatus;
Fig. 2 is the schematic flow sheet of the first embodiment of audio frequency playing method of the present invention;
Fig. 3 is the interface schematic diagram of labelling refrain positional information in playing progress bar;
Fig. 4 plays the refinement schematic flow sheet of refrain fragment for the present invention;
Fig. 5 is the schematic flow sheet of the 3rd embodiment of audio frequency playing method of the present invention;
The high-level schematic functional block diagram of the first embodiment of Fig. 6 audio playing apparatus of the present invention;
Fig. 7 is the refinement high-level schematic functional block diagram of playing module of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 3rd embodiment of invention audio playing apparatus.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The primary solutions of the embodiment of the present invention are:Obtain the position of refrain fragment in currently playing audio frequency Information;Show described positional information at currently playing interface by default mode;Receiving based on described During the play operation of positional information triggering, play described refrain fragment.By pointing out the position of refrain fragment Information, so that user quickly positions to refrain fragment, with audition refrain fragment, improves the examination of audio frequency Listen efficiency.
During existing audition for the songs, user does not know refrain fragment in audition refrain fragment Position, then need the position repeatedly dragging progress bar to find refrain fragment to carry out audition operation, audition is imitated Rate is low.
Embodiment of the present invention framework one audio playing apparatus, this device passes through to point out the position letter of refrain fragment Breath, so that user quickly positions to refrain fragment, with audition refrain fragment, improves the audition of audio frequency Efficiency.
Wherein, the present embodiment audio playing apparatus can be carried on terminal.Involved by this audio playing apparatus Hardware structure can be as shown in Figure 1.
Fig. 1 shows the hardware structure involved by embodiment of the present invention audio playing apparatus.As shown in figure 1, Hardware involved by described audio playing apparatus includes:Processor 1001, such as CPU, network interface 1004, User interface 1003, memorizer 1005, communication bus 1002.Wherein, communication bus 1002 is used for realizing Connection communication between each building block in this terminal.User interface 1003 can include display screen (Display), the assembly such as keyboard (Keyboard), mouse, for the information of receiving user's input, and The information of reception is sent and is processed to processor 1005.Display screen can be LCD display, LED Display screen or touch screen are used for showing the data that audio playing apparatus needs show, for example, show Audio frequency broadcast interface.Optional user interface 1003 can also include the wireline interface of standard, wave point. Network interface 1004 optionally can include the wireline interface of standard, wave point (as WI-FI interface). Memorizer 1005 can be high-speed RAM memorizer or stable memorizer (non-volatile Memory), such as disk memory.Memorizer 1005 optionally can also be independent of aforementioned processor 1001 storage device.As shown in figure 1, as permissible in a kind of memorizer 1005 of computer-readable storage medium Including operating system, network communication module, Subscriber Interface Module SIM and audio playing program
In hardware involved by audio playing apparatus shown in Fig. 1, network interface 1004 is mainly used in even Connect application platform, enter row data communication with application platform;User interface 1003 is mainly used in connecting client, Enter row data communication with client, receive information and the instruction of client input;And processor 1001 is permissible For calling the audio playing program of storage in memorizer 1005, and execute following operation:
Obtain the positional information of refrain fragment in currently playing audio frequency;
Show described positional information at currently playing interface by default mode;
When receiving the play operation based on the triggering of described positional information, play described refrain fragment.
Further, in one embodiment, processor 1001 calls the sound of storage in memorizer 1005 Frequency playing program can execute following operation:
Positional information described in labelling in the playing progress bar at described currently playing interface.
Further, in one embodiment, processor 1001 calls the sound of storage in memorizer 1005 Frequency playing program can execute following operation:
Receive the play operation based on the triggering of described positional information, obtain the quantity of described refrain fragment;
When the quantity of described refrain fragment is multiple, according to refrain segment position information each described successively Play each described refrain fragment, or, the described refrain fragment of shuffle one.
Further, in one embodiment, processor 1001 calls the sound of storage in memorizer 1005 Frequency playing program can execute following operation:
In the playing process of described refrain fragment, when receiving store instruction, by currently playing audio frequency Title is preserved with described refrain fragment association.
Further, in one embodiment, processor 1001 calls the sound of storage in memorizer 1005 Frequency playing program can execute following operation:
When receiving audio frequency play instruction, obtain the voice data of audio frequency to be played, and play described The voice data of audio frequency to be played;
When the broadcasting time of described audio frequency to be played is less than predetermined threshold value, or current play mode is pre- If during pattern, the described step obtaining the positional information of refrain fragment in currently playing audio frequency of execution.
The present embodiment, according to such scheme, obtains the positional information of refrain fragment in currently playing audio frequency, and Show described positional information at currently playing interface by default mode, receiving based on described position letter During the play operation of breath triggering, play described refrain fragment, by pointing out the positional information of refrain fragment, Make user can quickly navigate to refrain fragment and carry out audition, improve audition efficiency.
Based on above-mentioned hardware structure, audio frequency playing method embodiment of the present invention is proposed.
As shown in Fig. 2 proposing a kind of first embodiment of audio frequency playing method of the present invention, described audio frequency is broadcast The method of putting includes:
Step S10, obtains the positional information of refrain fragment in currently playing audio frequency;
In the present embodiment, can automatically trigger the operation of this step S10, that is, receive audio frequency play refer to When making, play this corresponding audio frequency of audio frequency play instruction, obtain the position of refrain fragment in currently playing audio frequency Confidence ceases;Also the operation of this step S10 can be triggered manually, that is, receive user be based on broadcast interface on Control (as audition control) trigger mark instructions when, obtain refrain fragment in currently playing audio frequency Positional information, when playing the positional information of the refrain fragment that midway obtains audio frequency, if the refrain of this audio frequency Fragment has multiple, then need the positional information of labelling can determine according to the playing progress rate of audio frequency, that is, labelling is worked as The corresponding positional information of refrain fragment after front play time.
This positional information can be start position information and the end position information of refrain fragment, preferably rise Beginning positional information, this positional information can be the play time in progress bar.
In the present embodiment, the refrain fragment in audio frequency can be determined by application server, and server is determining After the positional information of refrain fragment in audio frequency, by positional information and audio frequency names associate, in user's audition sound During frequency, corresponding for audio frequency to be played voice data and positional information are issued to terminal simultaneously, terminal exists When playing audio frequency, obtain the positional information as refrain fragment for the positional information of association.Or, playing During audio frequency, terminal can obtain the positional information of refrain fragment in local terminal.Obtain pair below by way of illustrating The mode of the positional information of song fragment, specifically includes:
A, currently playing audio frequency is split as multiple melody sections, each melody section is compared successively two-by-two, To determine the repetition note number in each melody section, repeating when note number is more than pre-set threshold value it is believed that two Individual melody section repeats, and really records the number of repetition of each melody section, determines the most melody of number of repetition Section, and the most paragraph of melody number of repetition is determined based on the maximum melody section of this number of repetition, for example will The most melody section of this number of repetition is directly as the refrain fragment in currently playing audio frequency or this is heavy Again the melody section of adjacent predetermined number before and after several most melody sections is as the pair in currently playing audio frequency Song fragment, and obtain this positional information in currently playing audio frequency for refrain fragment.
B, the acquisition corresponding frequency spectrum of currently playing audio frequency, obtain the maximum melody of melody fluctuating based on this frequency spectrum Section, for example, rise and fall maximum melody section directly as the refrain fragment in currently playing audio frequency by this melody, Or the melody section of adjacent predetermined number before and after maximum melody section that this melody rises and falls is as currently playing The refrain fragment of audio frequency, and obtain this positional information in currently playing audio frequency for refrain fragment.
The lyrics corresponding to c, the currently playing audio frequency of acquisition, determine that in the lyrics getting, number of repetition is most Part, and determine most with number of repetition in the described lyrics in currently playing audio frequency partly corresponding sections Fall, by described audio file to be played, most with number of repetition in the described lyrics partly corresponding sections The refrain fragment falling as currently playing audio frequency, and obtain this position in currently playing audio frequency for refrain fragment Confidence ceases.
In the three kinds of described currently playing audio frequency of determination enumerated listed above, the mode of refrain fragment is only shown Example property, those skilled in the art utilize the technological thought of the present invention, are proposed according to its real needs Other determine that the mode of refrain fragment in described currently playing audio frequency is all within the scope of the present invention, This does not carry out exhaustive one by one.
Step S20, shows described positional information at currently playing interface by default mode;
In the present embodiment, the start time point equipotential of refrain fragment directly can be shown in current display interface Confidence ceases, and the such as start time point of refrain fragment is 2min10S, then show 2.10 in broadcast interface, This display can be shown with control or alternate manner.Preferred version is the broadcasting at described currently playing interface Positional information described in labelling in progress bar, as shown in figure 3, be marked when mouse pointer (cursor) is placed on Refrain starting point when, display reminding, inform that user is refrain starting position herein.
Step S30, when receiving the play operation based on the triggering of described positional information, plays described refrain Fragment.
In the present embodiment, when by the progress block in playing progress bar be directly dragged to refrain piece fragment position letter At the mark of breath, play operation can be triggered, directly play refrain fragment;Or, also can click on progress bar The mark of middle refrain segment position information, directly to play refrain fragment;Or, also can be broadcast by click Put the positional information information of the refrain fragment directly displaying in interface, trigger play operation, directly play secondary Song fragment.
The audio frequency playing method that the present embodiment proposes, obtains the position letter of refrain fragment in currently playing audio frequency Breath, and show described positional information at currently playing interface by default mode, receiving based on described During the play operation of positional information triggering, play described refrain fragment, by pointing out the position of refrain fragment Information carries out audition so that user can quickly navigate to refrain fragment, improves audition efficiency.
Further, for improving the motility that audio frequency is play, with reference to Fig. 4, this is proposed based on first embodiment Invention audio frequency playing method second embodiment, in the present embodiment, described step S30 includes step:
Step S31, is receiving the play operation based on the triggering of described positional information, is obtaining described refrain piece The quantity of section;
Step S32, when the quantity of described refrain fragment is multiple, according to refrain piece fragment position each described Information plays each described refrain fragment successively, or, the described refrain fragment of shuffle one.
In the present embodiment, when currently playing audio frequency has multiple refrain fragment, can be on currently playing boundary Each corresponding start position information of refrain fragment and end position information is shown, user can basis in face Need the refrain fragment selecting to need to play.When mouse pointer (cursor) is placed on the refrain being marked to start During point, the initial lyrics of this refrain fragment and the information of refrain fragment can be shown.
When refrain fragment is multiple, each refrain fragment can be play successively, that is, skip in this audio frequency each Non- refrain fragment between refrain fragment;Or, also can directly by positional information near audio frequency starting point Refrain fragment commences play out audio frequency, will not skip the non-pair between each refrain fragment in playing process Song fragment.It is understood that due to may be repeated fragment between each refrain fragment in audio frequency, Then can only labelling one of refrain fragment positional information, be based on the triggering of this positional information in user and play During operation, can the described refrain fragment of shuffle one.
The program can randomly choose a refrain fragment and broadcast when there is multiple refrain fragment as needed Put, or play all of refrain fragment successively, play more flexible.
Further, with reference to Fig. 5, based on first or second embodiments, audio frequency playing method of the present invention the is proposed Three embodiments, in the present embodiment, after described step S30, also include step:
Step S40, in the playing process of described refrain fragment, when receiving store instruction, is currently broadcast The title of playback frequency is preserved with described refrain fragment association.
In this scenario, user can set out store instruction as needed, intercepts in currently playing audio frequency Refrain fragment, and the names associate of the refrain fragment and the currently playing audio frequency that intercept is preserved, user can be During follow-up audition, this refrain fragment of direct audition.Preferred version is, can be by currently playing audio frequency Title preserve with described refrain fragment association after, display reminding interface, so that user is based on this prompting circle Face is confirmed whether for refrain fragment to be set to the tinkle of bells, is based on the triggering confirmation of this prompting interface receiving user During information, this refrain fragment is set to terminal the tinkle of bells.
Further, audio frequency playing method the 4th of the present invention is proposed based on the first to the 3rd any embodiment real Apply example, in the present embodiment, before described step S10, also include step:
When receiving audio frequency play instruction, obtain the voice data of audio frequency to be played, and treat described in playing Play the voice data of audio frequency;
When the broadcasting time of described audio frequency to be played is less than predetermined threshold value, or current play mode is pre- If during pattern, execute described step S10.
In the present embodiment, can currently playing audio frequency be first play or be currently audition pattern when, The positional information of refrain fragment can be shown, in order to user's only audition refrain fragment, improve intelligent.Should The number of times that broadcasting time integrally plays for audio frequency, then predetermined threshold value be preferably 1,.
It is understood that in other variant embodiment, when receiving audio frequency play instruction, obtaining Current play mode;When current play mode is default play mode, judge whether to be stored with to be played The refrain fragment of the audio frequency names associate of audio frequency;When there is described refrain fragment, play described refrain piece Section;When there is not described refrain fragment, obtain the voice data of audio frequency to be played, and treat described in playing Play the voice data of audio frequency, and execution step S10.
Accordingly, the preferred embodiment of audio playing apparatus of the present invention is proposed.With reference to Fig. 6, described audio frequency is broadcast Put device and include acquisition module 10, display module 20 and playing module 30, wherein:
Described acquisition module 10, for obtaining the positional information of refrain fragment in currently playing audio frequency;
In the present embodiment, can automatically trigger this acquisition module 10 and obtain refrain fragment in currently playing audio frequency Positional information operation, that is, when receiving audio frequency play instruction, playing module 30 play this audio frequency broadcast Put the corresponding audio frequency of instruction, acquisition module 10 obtains the positional information of refrain fragment in currently playing audio frequency; Also the behaviour that this acquisition module 10 obtains the positional information of refrain fragment in currently playing audio frequency can be triggered manually Make, that is, receiving the mark instructions that user is triggered based on the control (as audition control) on broadcast interface When, acquisition module 10 obtains the positional information of refrain fragment in currently playing audio frequency, obtains playing midway During the positional information of refrain fragment of audio frequency, if the refrain fragment of this audio frequency has multiple, need labelling Positional information can determine according to the playing progress rate of audio frequency, that is, acquisition module 10 obtain current play time point it The corresponding positional information of refrain fragment afterwards.
This positional information can be start position information and the end position information of refrain fragment, preferably rise Beginning positional information, this positional information can be the play time in progress bar.
In the present embodiment, the refrain fragment in audio frequency can be determined by application server, and server is determining After the positional information of refrain fragment in audio frequency, by positional information and audio frequency names associate, in user's audition sound During frequency, corresponding for audio frequency to be played voice data and positional information are issued to terminal simultaneously, terminal exists When playing audio frequency, obtain the positional information as refrain fragment for the positional information of association.Or, playing During audio frequency, terminal can obtain the positional information of refrain fragment in local terminal.Obtain pair below by way of illustrating The mode of the positional information of song fragment, specifically includes:
A, currently playing audio frequency is split as multiple melody sections, each melody section is compared successively two-by-two, To determine the repetition note number in each melody section, repeating when note number is more than pre-set threshold value it is believed that two Individual melody section repeats, and really records the number of repetition of each melody section, determines the most melody of number of repetition Section, and the most paragraph of melody number of repetition is determined based on the maximum melody section of this number of repetition, for example will The most melody section of this number of repetition is directly as the refrain fragment in currently playing audio frequency or this is heavy Again the melody section of adjacent predetermined number before and after several most melody sections is as the pair in currently playing audio frequency Song fragment, and obtain this positional information in currently playing audio frequency for refrain fragment.
B, the acquisition corresponding frequency spectrum of currently playing audio frequency, obtain the maximum melody of melody fluctuating based on this frequency spectrum Section, for example, rise and fall maximum melody section directly as the refrain fragment in currently playing audio frequency by this melody, Or the melody section of adjacent predetermined number before and after maximum melody section that this melody rises and falls is as currently playing The refrain fragment of audio frequency, and obtain this positional information in currently playing audio frequency for refrain fragment.
The lyrics corresponding to c, the currently playing audio frequency of acquisition, determine that in the lyrics getting, number of repetition is most Part, and determine most with number of repetition in the described lyrics in currently playing audio frequency partly corresponding sections Fall, by described audio file to be played, most with number of repetition in the described lyrics partly corresponding sections The refrain fragment falling as currently playing audio frequency, and obtain this position in currently playing audio frequency for refrain fragment Confidence ceases.
In the three kinds of described currently playing audio frequency of determination enumerated listed above, the mode of refrain fragment is only shown Example property, those skilled in the art utilize the technological thought of the present invention, are proposed according to its real needs Other determine that the mode of refrain fragment in described currently playing audio frequency is all within the scope of the present invention, This does not carry out exhaustive one by one.
Described display module 20, for showing described positional information at currently playing interface by default mode;
In the present embodiment, the start time point equipotential of refrain fragment directly can be shown in current display interface Confidence ceases, and the such as start time point of refrain fragment is 2min10S, then show 2.10 in broadcast interface, This display can be shown with control or alternate manner.Preferred version is display module 20 described currently playing Positional information described in labelling in the playing progress bar at interface, as shown in figure 3, work as mouse pointer (cursor) When being placed on the refrain starting point being marked, display reminding, inform that user is refrain starting position herein.
Described playing module 30, for receive based on described positional information triggering play operation when, Play described refrain fragment.
In the present embodiment, when by the progress block in playing progress bar be directly dragged to refrain piece fragment position letter At the mark of breath, play operation can be triggered, playing module 30 directly plays refrain fragment;Or, also may be used Click on the mark of refrain segment position information in progress bar, playing module 30 directly plays refrain fragment;Or Person, also can be by clicking on the positional information information of the refrain fragment directly displaying in broadcast interface, and triggering is broadcast Put operation, playing module 30 directly plays refrain fragment.
The audio playing apparatus that the present embodiment proposes, obtain the position letter of refrain fragment in currently playing audio frequency Breath, and show described positional information at currently playing interface by default mode, receiving based on described During the play operation of positional information triggering, play described refrain fragment, by pointing out the position of refrain fragment Information carries out audition so that user can quickly navigate to refrain fragment, improves audition efficiency.
Further, for improving the motility that audio frequency is play, with reference to Fig. 7, this is proposed based on first embodiment Invention audio playing apparatus second embodiment, in the present embodiment, described playing module 30 includes:
First acquisition unit 31, for receiving the play operation based on the triggering of described positional information, obtains Take the quantity of described refrain fragment;
Broadcast unit 32, for when the quantity of described refrain fragment is multiple, according to refrain each described Segment position information plays each described refrain fragment successively, or, the described refrain piece of shuffle one Section.
In the present embodiment, when currently playing audio frequency has multiple refrain fragment, display module 20 can be Each corresponding start position information of refrain fragment and end position information is shown in currently playing interface, User can select the refrain fragment needing to play as needed.It is marked when mouse pointer (cursor) is placed on Refrain starting point when, display module 20 can show the initial lyrics of this refrain fragment and refrain fragment Information.
When refrain fragment is multiple, playing module 30 can play each refrain fragment successively, that is, skip this Non- refrain fragment between each refrain fragment in audio frequency;Or, playing module 30 also can be directly by position Information commences play out audio frequency near the refrain fragment of audio frequency starting point, and that is, playing module 30 is in playing process The non-refrain fragment between each refrain fragment will not be skipped.It is understood that due to each in audio frequency May be repeated fragment between individual refrain fragment, then can only labelling one of refrain fragment positional information, When user is based on this positional information triggering play operation, playing module 30 can one described pair of shuffle Song fragment.
Can be when there is multiple refrain fragment in the program, playing module 30 can randomly choose one as needed Refrain fragment is play, or plays all of refrain fragment successively, plays more flexible.
Further, with reference to Fig. 8, based on first or second embodiments, audio playing apparatus of the present invention the are proposed Three embodiments, in the present embodiment, described audio playing apparatus also include:
Memory module 40, in the playing process of described refrain fragment, when receiving store instruction, The title of currently playing audio frequency is preserved with described refrain fragment association.
In this scenario, user can set out store instruction as needed, and that is, memory module 40 is currently playing Intercept refrain fragment in audio frequency, and the names associate of the refrain fragment intercepting and currently playing audio frequency preserved, User can be during follow-up audition, this refrain fragment of direct audition.Preferred version is to incite somebody to action currently After playing title and the preservation of described refrain fragment association of audio frequency, display module 20 display reminding interface, with It is confirmed whether for refrain fragment to be set to the tinkle of bells based on this prompting interface for user, be based on receiving user During this prompting interface triggering confirmation, this refrain fragment is set to terminal the tinkle of bells.
Further, audio frequency playing method the 4th of the present invention is proposed based on the first to the 3rd any embodiment real Apply example, in the present embodiment, described acquisition module 10, it is additionally operable to when receiving audio frequency play instruction, Obtain the voice data of audio frequency to be played;Described playing module 30, is additionally operable to play described audio frequency to be played Voice data;Described acquisition module 10, is additionally operable to the broadcasting time in described audio frequency to be played and is less than in advance If during threshold value, or when current play mode is preset mode, obtain refrain fragment in currently playing audio frequency Positional information.
In the present embodiment, can currently playing audio frequency be first play or be currently audition pattern when, Display module 20 can show the positional information of refrain fragment, in order to user's only audition refrain fragment, improves Intelligent.The number of times that this broadcasting time integrally plays for audio frequency, then predetermined threshold value be preferably 1,.
It is understood that in other variant embodiment, acquisition module, it is additionally operable to receiving audio frequency During play instruction, obtain current play mode;Described audio playing apparatus also include judge module, are used for When current play mode is default play mode, judge whether the audio frequency title of audio frequency to be played that is stored with The refrain fragment of association;Described playing module 30, is additionally operable to, when there is described refrain fragment, play institute State refrain fragment;Described acquisition module, is additionally operable to, when there is not described refrain fragment, obtain to be played The voice data of audio frequency;Described playing module is additionally operable to play the voice data of described audio frequency to be played;Institute State acquisition module 10, be additionally operable to, after described playing module playing audio data, obtain and currently broadcast The positional information of refrain fragment in playback frequency.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant Be intended to comprising of nonexcludability so that include a series of process of key elements, method, article or Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also Including for this process, method, article or the intrinsic key element of device.In the feelings not having more restrictions Under condition, the key element that limited by sentence "including a ..." it is not excluded that include this key element process, Also there is other identical element in method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to lead to Cross hardware, but the former is more preferably embodiment in many cases.Based on such understanding, the present invention's Technical scheme substantially in other words prior art is contributed partly can in the form of software product body Reveal to come, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, light Disk) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, or the network equipment etc.) method described in execution each embodiment of the present invention.

Claims (10)

1. a kind of audio frequency playing method is it is characterised in that described audio frequency playing method includes step:
Obtain the positional information of refrain fragment in currently playing audio frequency;
Show described positional information at currently playing interface by default mode;
When receiving the play operation based on the triggering of described positional information, play described refrain fragment.
2. audio frequency playing method as claimed in claim 1 it is characterised in that described on currently playing boundary Face is included by the step that default mode shows described positional information:
Positional information described in labelling in the playing progress bar at described currently playing interface.
3. audio frequency playing method as claimed in claim 1 is it is characterised in that described be based on receiving During the play operation of described positional information triggering, the step playing described refrain fragment includes:
Receive the play operation based on the triggering of described positional information, obtain the quantity of described refrain fragment;
When the quantity of described refrain fragment is multiple, according to refrain segment position information each described successively Play each described refrain fragment, or, the described refrain fragment of shuffle one.
4. the audio frequency playing method as described in any one of claim 1-3 is it is characterised in that described connecing When receiving the play operation based on the triggering of described positional information, the step playing described refrain fragment includes:
In the playing process of described refrain fragment, when receiving store instruction, by currently playing audio frequency Title is preserved with described refrain fragment association.
5. the audio frequency playing method as described in any one of claim 1-3 is it is characterised in that described acquisition Step is included before the step of the positional information of refrain fragment in currently playing audio frequency:
When receiving audio frequency play instruction, obtain the voice data of audio frequency to be played, and treat described in playing Play the voice data of audio frequency;
When the broadcasting time of described audio frequency to be played is less than predetermined threshold value, or current play mode is pre- If during pattern, the described step obtaining the positional information of refrain fragment in currently playing audio frequency of execution.
6. a kind of audio playing apparatus are it is characterised in that described audio playing apparatus include:
Acquisition module, for obtaining the positional information of refrain fragment in currently playing audio frequency;
Display module, for showing described positional information at currently playing interface by default mode;
Playing module, for when receiving the play operation based on the triggering of described positional information, playing institute State refrain fragment.
7. audio playing apparatus as claimed in claim 6, it is characterised in that described display module, are gone back For positional information described in labelling in the playing progress bar at described currently playing interface.
8. audio playing apparatus as claimed in claim 6 are it is characterised in that described playing module includes:
First acquisition unit, for receiving the play operation based on the triggering of described positional information, obtains The quantity of described refrain fragment;
Broadcast unit, for when the quantity of described refrain fragment is multiple, according to refrain piece each described Location information plays each described refrain fragment successively, or, the described refrain fragment of shuffle one.
9. the audio playing apparatus as described in any one of claim 6-8 are it is characterised in that described audio frequency Playing device also includes:
Memory module, for, in the playing process of described refrain fragment, when receiving store instruction, inciting somebody to action The title of currently playing audio frequency is preserved with described refrain fragment association.
10. the audio playing apparatus as described in any one of claim 6-8 are it is characterised in that described obtain Delivery block, is additionally operable to obtain the voice data of audio frequency to be played when receiving audio frequency play instruction;Institute State playing module, be additionally operable to play the voice data of described audio frequency to be played;Described acquisition module, also uses In when the broadcasting time of described audio frequency to be played is less than predetermined threshold value, or current play mode is default During pattern, obtain the positional information of refrain fragment in currently playing audio frequency.
CN201510489411.6A 2015-08-11 2015-08-11 Audio playing method and device Active CN106448713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510489411.6A CN106448713B (en) 2015-08-11 2015-08-11 Audio playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510489411.6A CN106448713B (en) 2015-08-11 2015-08-11 Audio playing method and device

Publications (2)

Publication Number Publication Date
CN106448713A true CN106448713A (en) 2017-02-22
CN106448713B CN106448713B (en) 2021-05-14

Family

ID=58093374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510489411.6A Active CN106448713B (en) 2015-08-11 2015-08-11 Audio playing method and device

Country Status (1)

Country Link
CN (1) CN106448713B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090140A (en) * 2017-12-04 2018-05-29 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN109101648A (en) * 2018-08-22 2018-12-28 歌尔科技有限公司 A kind of news playing method and device
CN111026305A (en) * 2019-12-09 2020-04-17 维沃移动通信有限公司 Audio processing method and electronic equipment
CN111028867A (en) * 2019-11-26 2020-04-17 维沃移动通信有限公司 Audio playing method and electronic equipment
CN111414147A (en) * 2020-03-26 2020-07-14 广州酷狗计算机科技有限公司 Song playing method, device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520808A (en) * 2008-02-29 2009-09-02 索尼株式会社 Method for visualizing audio data
CN101616496A (en) * 2008-06-24 2009-12-30 乐金电子(中国)研究开发中心有限公司 A kind of method for broadcasting multimedia file of mobile communication terminal and mobile communication terminal
CN102290082A (en) * 2011-07-05 2011-12-21 央视国际网络有限公司 Method and device for processing brilliant video replay clip
CN102467939A (en) * 2010-11-04 2012-05-23 北京彩云在线技术开发有限公司 Song audio frequency cutting apparatus and method thereof
CN103400593A (en) * 2013-07-03 2013-11-20 网易(杭州)网络有限公司 Audio-auditioning method and device
CN104270680A (en) * 2014-09-30 2015-01-07 百度在线网络技术(北京)有限公司 Resource playing control method and device
CN104735545A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Audio/video file playing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520808A (en) * 2008-02-29 2009-09-02 索尼株式会社 Method for visualizing audio data
CN101616496A (en) * 2008-06-24 2009-12-30 乐金电子(中国)研究开发中心有限公司 A kind of method for broadcasting multimedia file of mobile communication terminal and mobile communication terminal
CN102467939A (en) * 2010-11-04 2012-05-23 北京彩云在线技术开发有限公司 Song audio frequency cutting apparatus and method thereof
CN102290082A (en) * 2011-07-05 2011-12-21 央视国际网络有限公司 Method and device for processing brilliant video replay clip
CN103400593A (en) * 2013-07-03 2013-11-20 网易(杭州)网络有限公司 Audio-auditioning method and device
CN104270680A (en) * 2014-09-30 2015-01-07 百度在线网络技术(北京)有限公司 Resource playing control method and device
CN104735545A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Audio/video file playing method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090140A (en) * 2017-12-04 2018-05-29 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN109101648A (en) * 2018-08-22 2018-12-28 歌尔科技有限公司 A kind of news playing method and device
CN109101648B (en) * 2018-08-22 2022-04-05 歌尔科技有限公司 News playing method and device
CN111028867A (en) * 2019-11-26 2020-04-17 维沃移动通信有限公司 Audio playing method and electronic equipment
CN111028867B (en) * 2019-11-26 2022-03-11 维沃移动通信有限公司 Audio playing method and electronic equipment
CN111026305A (en) * 2019-12-09 2020-04-17 维沃移动通信有限公司 Audio processing method and electronic equipment
CN111414147A (en) * 2020-03-26 2020-07-14 广州酷狗计算机科技有限公司 Song playing method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN106448713B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN106448713A (en) Audio frequency playing method and audio frequency playing device
CN108259936B (en) Question-answering method based on live broadcast technology, server and storage medium
US9329830B2 (en) Music playback method, third-party application and device
CN105812941A (en) Video playing method and device and electronic equipment
CN106844404A (en) Message display method and terminal device
CN104754415B (en) A kind of video broadcasting method and device
CN103634199A (en) Notification message display method and notification message display device
CN106791958A (en) Position marker information generation method and device
CN109474562B (en) Display method and device of identifier, and response method and device of request
US11159856B2 (en) Non-linear content presentation and experience
CN104038473A (en) Method of audio ad insertion, device, equipment and system
CN103546774A (en) Method and system for realizing seamless access to media file
WO2017107831A1 (en) Application based broadcasting method, device and electronic device
CN110545475B (en) Video playing method and device and electronic equipment
CN110597720A (en) Application program testing method and device, electronic equipment and storage medium
CN106612469A (en) Video sharing method and device
CN109981721A (en) Information-pushing method, device and computer readable storage medium
CN105260393A (en) Information pushing method and device and electronic equipment
CN109343778A (en) Display method and device and electronic equipment
CN106126023A (en) Quick sharing method, quick sharing apparatus and terminal
CN108260019A (en) Barrage display methods, device and readable storage medium storing program for executing
CN110377191A (en) Voice remark exchange method, system, medium and electronic equipment
KR102186455B1 (en) A method of recommending adjusted function to user and a mobile device for performing the same
CN109214895A (en) A kind of game resource promotion method, apparatus and system
CN106162324A (en) The processing method and processing device of video file

Legal Events

Date Code Title Description
C06 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