CN110415669A - A kind of implementation method of metronome, device, electronic equipment and storage medium - Google Patents
A kind of implementation method of metronome, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110415669A CN110415669A CN201910656331.3A CN201910656331A CN110415669A CN 110415669 A CN110415669 A CN 110415669A CN 201910656331 A CN201910656331 A CN 201910656331A CN 110415669 A CN110415669 A CN 110415669A
- Authority
- CN
- China
- Prior art keywords
- metronome
- time
- display
- module
- logic module
- 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
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/36—Accompaniment arrangements
- G10H1/361—Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/36—Accompaniment arrangements
- G10H1/40—Rhythm
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present disclosure discloses implementation method, device, electronic equipment and the storage medium of a kind of metronome, this method comprises: the temporal logic module of the metronome obtains the input time of current music, wherein the input time includes starting play time;The temporal logic module of the metronome determines display time and the display pattern of metronome based on preset logic rules according to the starting play time;When reaching the display time, the display module of the metronome shows metronome according to the display pattern.The display logic of metronome has been implemented separately in the technical solution of the embodiment of the present disclosure, reduces the degree of coupling between metronome and other function module.
Description
Technical field
The embodiment of the present disclosure is related to field of computer technology more particularly to a kind of implementation method of metronome, device, electronics
Equipment and storage medium.
Background technique
Have K song function application program can generally provide K song interface, K sing the typical layout designs in interface are as follows: on to
Under may include K song metronome (such as counting-down reminding point above the lyrics), scrolling display the lyrics or playing controller control
Part (such as start, suspend, volume adjustment) etc..Wherein, K sings metronome and is integrated with more display logic, such as flash and prepare,
Counting-down reminding or interlude prompting etc..
Currently, K, which sings relevant time management logic, is responsible for processing by unified time management module, including pause
It records, continue recording, the lyrics roll, marking prompt and K song metronome are shown.Since above-mentioned logic is by the unified time
Management module is responsible for execution, leads to the degree of coupling with higher between the realization and other function realization of K song metronome, Jin Erzeng
The extension difficulty of metronome correlation function is added.
Summary of the invention
The embodiment of the present disclosure provides implementation method, device, electronic equipment and the storage medium of a kind of metronome, with individually real
The display logic of existing metronome, reduces the degree of coupling between metronome and other function module.
In a first aspect, the embodiment of the present disclosure provides a kind of implementation method of metronome, this method comprises:
The temporal logic module of the metronome obtains the input time of current music, wherein the input time includes
Originate play time;
The temporal logic module of the metronome is determined according to the starting play time based on preset logic rules and is saved
Play display time and the display pattern of device;
When reaching the display time, the display module of the metronome carries out metronome according to the display pattern
Display.
Second aspect, the embodiment of the present disclosure additionally provide a kind of realization device of metronome, which includes:
Temporal logic module, for obtaining the input time of current music, wherein the input time includes that starting plays
Time;And display time and the display mould of metronome are determined according to the starting play time based on preset logic rules
Formula;
Display module, for being shown to metronome according to the display pattern when reaching the display time.
The third aspect, the embodiment of the present disclosure additionally provide a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the implementation method of the metronome as described in the embodiment of the present disclosure is any.
Fourth aspect, the embodiment of the present disclosure additionally provides a kind of storage medium comprising computer executable instructions, described
Computer executable instructions by computer processor when being executed for executing the metronome as described in the embodiment of the present disclosure is any
Implementation method.
The technical solution of the embodiment of the present disclosure, when obtaining the input of current music by the temporal logic module of metronome
Between, wherein the input time includes starting play time, and is based on preset logic by the temporal logic module of metronome
Rule determines display time and the display pattern of metronome according to the starting play time;When the arrival display time
When, the technological means that the display module of the metronome shows metronome according to the display pattern realizes rhythm
The in due course display of device;By the way that individual temporal logic module and display module is arranged for metronome, metronome and its are reduced
The degree of coupling between his functional module is conducive to carry out Function Extension to metronome.
Detailed description of the invention
In conjunction with attached drawing and refer to following specific embodiments, the above and other feature, advantage of each embodiment of the disclosure and
Aspect will be apparent.In attached drawing, the same or similar appended drawing reference indicates the same or similar element.It should manage
Solution attached drawing is schematically that original part and element are not necessarily drawn to scale.
Fig. 1 is a kind of implementation method flow diagram of metronome provided by the embodiment of the present disclosure one;
Fig. 2 is a kind of implementation method flow diagram of metronome provided by the embodiment of the present disclosure two;
Fig. 3 is a kind of realization device structural schematic diagram of metronome provided by the embodiment of the present disclosure three;
Fig. 4 is a kind of electronic equipment structural schematic diagram provided by the embodiment of the present disclosure four.
Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing
Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that
It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
It should be appreciated that each step recorded in disclosed method embodiment can execute in a different order,
And/or parallel execution.In addition, method implementation may include additional step and/or omit the step of execution is shown.This public affairs
The range opened is not limited in this respect.
Terms used herein " comprising " and its deformation are that opening includes, i.e., " including but not limited to ".Term "based"
It is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " indicates
" at least one other embodiment ";Term " some embodiments " expression " at least some embodiments ".The correlation of other terms is fixed
Justice provides in will be described below.
It is noted that the concepts such as " first " that refers in the disclosure, " second " are only used for different devices, module or list
Member distinguishes, and is not intended to limit the sequence or relation of interdependence of function performed by these devices, module or unit.
It is noted that referred in the disclosure "one", the modification of " multiple " be schematically and not restrictive this field
It will be appreciated by the skilled person that being otherwise construed as " one or more " unless clearly indicate otherwise in context.
Embodiment one
Fig. 1 is a kind of implementation method flow diagram of metronome provided by the embodiment of the present disclosure one, and the present embodiment can
Suitable for carrying out the scene of K song based on K song application program, interface display metronome specifically is sung in K on appropriate opportunity, with right
User sing time alarm, such as carry out counting-down reminding etc..The method disclosed in certain the present embodiment can also be applied
It can provide and singing songs progress in the scene that other have similar demand, such as the photographed scene of K song video, the embodiment of the present disclosure
Relevant time management logic.The method is executed by the realization device of metronome, and described device can be by software and/or hard
The form of part realizes that described device is integrated in metronome.As shown in Figure 1, the method for the present embodiment includes:
Step 110, the temporal logic module of the metronome obtain the input time of current music, wherein the input
Time includes starting play time.
Wherein, the temporal logic module refers to the functional module for being responsible for the display temporal logic of processing metronome specially, institute
It states temporal logic module and is integrated in metronome.The display temporal logic that middle metronome is different from the prior art sings application program by K
The middle function of unity module for carrying out time management is responsible for processing, and the function of unity module is also responsible for the time pipe of other function
Reason, such as pause record, continue recording, lyrics rolling speed and prompt etc. of giving a mark, and more multi-functional time management task is led
Causing the time management logic of the function of unity module becomes extremely complex, while but also metronome realization and other function
The degree of coupling between realization increases, and causes to increase the extension difficulty of metronome other function.And rhythm provided in this embodiment
The realization logic of device is responsible for processing by independent temporal logic module, so that between the realization of metronome and the realization of other function
Decoupling is conducive to the other function for extending metronome.
Specifically, when the starting that the input time of the current music includes first lyrics syntagma of current music plays
Between.For example, the current music be " burro ", then first lyrics syntagma be " I have a burro I always
Do not ride ", the starting play time refers specifically to the starting play time of " I has a burro, and I does not always also ride ".It can
With understanding, every song has the rhythm of oneself, such as when song a is by program request, before how long delay starts broadcasting
Play, prelude play how long after start to play the lyrics, the broadcasting speed of the lyrics is how many, between adjacent two lyrics syntagmas between
Every the time be how long equal rhythm information.Above-mentioned cadence information is on the books in the multimedia file of song.
Illustratively, the temporal logic module of the metronome obtains the input time of current music, comprising:
The temporal logic module of the metronome monitors the numerical value of aiming field;
The temporal logic module of the metronome determines the input time of current music by the numerical value of the aiming field.
The aiming field refers specifically to the field of the input time countdown for identifying current music, such as can be
"time_delay".Assuming that 30s starts to play after current music is by user's program request, then when the program request for receiving user instructs
When, it is aiming field " time_delay " assignment 30, i.e. time_delay=30, and when passing through timer, every one second
Time makes aiming field " time_delay " subtract 1, and the temporal logic module of metronome is by monitoring aiming field " time_
The numerical value of delay " is the input time that can determine current music.Alternatively, being target word when the program request for receiving user instructs
Section " time_delay " assignment 0, i.e. time_delay=0, and when passing through timer, made target word every one second time
Section " time_delay " plus 1.
When step 120, the temporal logic module of the metronome are played based on preset logic rules according to the starting
Between determine metronome the display time and display pattern.
Wherein, the display pattern includes flash pattern and countdown mode.Flash pattern refers specifically to metronome with certain
Frequency flashed, the metronome is usually five circular points, when the display pattern of metronome be flash pattern when, institute
It states five circular points while being flashed with certain frequency, the purpose of flashing is the preparation for reminding user to carry out K song.
Five circular points that timing mode refers specifically to metronome are gradually decreased with certain speed, and usually every 1s reduces one, when
Five circular points indicate the starting play time for reaching current music, user can start to sing when K song interface disappears
.
When rhythm implement body is shown with flash pattern, and specifically when is carried out with countdown mode
It has been shown that, can be determined according to preset reminder time.Such as be set in advance in music starting play before 10s when start with
Flash pattern shows metronome, starts to show metronome with countdown mode in 5s before music starting plays
Show, then when the numerical value that the temporal logic module of metronome listens to aiming field is 10, starts with flash pattern to metronome
It is shown, when the numerical value for listening to aiming field is 5, starts to show metronome with countdown mode.
Illustratively, when the temporal logic module of the metronome is played based on preset logic rules according to the starting
Between determine metronome the display time and display pattern, comprising:
The temporal logic module of the metronome is true according to the starting play time and preset first reminder time
Determine the beginning scintillation time of metronome;Wherein, the display pattern includes flash pattern;First reminder time specifically can be with
Refer to that metronome starts the time of flashing.For example, the starting play time is since current time after timing 30s, described the
One reminder time was 10s before starting plays, then (fortune that subtracts 1 was done from 30 with aiming field when the numerical value for listening to aiming field is 10
For calculation) when as described metronome beginning scintillation time.
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to section
Device is played to be shown, comprising:
When reaching the beginning scintillation time, it is aobvious that the display module of the metronome carries out flashing to the metronome
Show.
Further, when the temporal logic module of the metronome is played based on preset logic rules according to the starting
Between determine metronome the display time and display pattern, further includes:
The temporal logic module of the metronome is true according to the starting play time and preset second reminder time
Determine the counting-down reminding time;Wherein, the display pattern includes: countdown mode.For example, the starting play time is from working as
After the preceding moment starts timing 30s, first reminder time is 10s before starting plays, and second reminder time is that starting is broadcast
Preceding 5s is put, then is described open when the numerical value for listening to aiming field is 10 (by taking aiming field does from 30 the operation that subtracts 1 as an example)
Beginning scintillation time;When the numerical value for listening to aiming field is 5 (by taking aiming field does from 30 the operation that subtracts 1 as an example) be it is described fall
The time reminding time.
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to section
Device is played to be shown, further includes:
When reaching the counting-down reminding time, the display module of the metronome is by the metronome according to countdown
Mode is shown;
Wherein, the counting-down reminding time is later than the beginning scintillation time.
Step 130, when reaching the display time, the display module of the metronome is according to the display pattern to section
Device is played to be shown.
The technical solution of the embodiment of the present disclosure, when obtaining the input of current music by the temporal logic module of metronome
Between, and metronome is determined according to the starting play time based on preset logic rules by the temporal logic module of metronome
The display time and display pattern;When reaching the display time, the display module of the metronome is according to the display
Mode shows metronome, that is, passes through a variable input (input time of current music) and two initialization inputs
(preset first reminder time and preset second reminder time) realizes the in due course display of metronome;By being set for metronome
Individual temporal logic module and display module are set, is reduced in metronome and K song application program between other function module
The degree of coupling, be conducive to metronome carry out Function Extension.
Embodiment two
Fig. 2 is a kind of implementation method flow diagram of metronome provided by the embodiment of the present disclosure two.In above-mentioned implementation
On the basis of example technical solution, embodiment adds interlude promptings, i.e., when the interval time between adjacent two lyrics syntagmas
When longer, singing time alarm is carried out to user.As shown in Figure 2, which comprises
Step 210, the temporal logic module of the metronome obtain the input time of current music, wherein the input
Time includes the starting play time of current lyrics syntagma, and of the next lyrics syntagma adjacent with current lyrics syntagma
Beginning play time.
Assuming that the current music is " burro ", if current lyrics syntagma be " I have a burro I always not yet
Ride ", then the next lyrics syntagma adjacent with current lyrics syntagma be " have one day I have a brainwave ride go to market ".It is described defeated
The angle of incidence includes the starting play time of current lyrics syntagma " I has a burro, and I does not always also ride ", and is sung with current
Next adjacent lyrics syntagma of words and phrases section " have one day I have a brainwave ride go to market " starting play time.
Step 220, the temporal logic module of the metronome according to the starting play time of current lyrics syntagma, and under
The starting play time of one lyrics syntagma determines interlude duration.
If the starting play time of current lyrics syntagma is since current time after timing 30s, with current lyrics syntagma
It is after the starting play time of next adjacent lyrics syntagma is the timing 60s since current time, then a length of when the interlude
30s。
Step 230, when the interlude duration is greater than given threshold, the temporal logic module of the metronome is based on described
Interlude duration and preset beginning reminder time determine the counting-down reminding time of metronome and/or start scintillation time.
Wherein, the given threshold is usually 5s, if the interlude duration between adjacent two lyrics syntagmas is greater than 5s,
It carries out metronome between adjacent two lyrics syntagmas to show, to carry out singing time alarm to user.Specifically, assuming pre-
If the counting-down reminding time be starting play before 5s, the interlude between current lyrics syntagma and next adjacent lyrics syntagma
Shi Changwei 10s, then at the end of current lyrics syntagma plays timing, when timing is to 5s, to metronome according to countdown
Mode is shown.
Further, if preset beginning scintillation time is 8s before starting plays, the preset counting-down reminding time is
Begin 5s before playing, when the interlude duration between current lyrics syntagma and next adjacent lyrics syntagma is greater than 8s, it is assumed that interlude
Shi Changwei 10s, then since current lyrics syntagma play at the end of timing, when timing arrive 2s when, to metronome according to flash mould
Formula shown, when timing is to 5s, is shown to metronome according to countdown mode.
Step 240, when reaching the beginning scintillation time, the display module of the metronome is according to flash pattern to section
It plays device to be shown, when reaching the counting-down reminding time, the display module of the metronome is according to countdown mode pair
Metronome is shown.
The technical solution of the embodiment of the present disclosure, by the temporal logic module of metronome according to the starting of current lyrics syntagma
The starting play time of play time and next lyrics syntagma determines interlude duration;When the interlude duration is greater than setting
When threshold value, the temporal logic module of the metronome determines rhythm based on the interlude duration and preset beginning reminder time
The counting-down reminding time of device and/or beginning scintillation time, when reaching the beginning scintillation time, the display of the metronome
Module shows metronome according to flash pattern, when reaching the counting-down reminding time, the display of the metronome
Module shows that the interlude realized between adjacent two lyrics syntagmas is reminded according to countdown mode to metronome, passes through
Individual temporal logic module and display module are set for metronome, reduce other function in metronome and K song application program
The degree of coupling between energy module is conducive to carry out Function Extension to metronome.
Embodiment three
Fig. 3 is a kind of realization device for metronome that the embodiment of the present disclosure three provides, which includes: temporal logic module
310 and display module 320;
Wherein, temporal logic module 310, for obtaining the input time of current music, wherein the input time includes
Originate play time;And based on preset logic rules according to it is described starting play time determine metronome the display time and
Display pattern;Display module 320, for being shown to metronome according to the display pattern when reaching the display time
Show.
Based on the above technical solution, temporal logic module 310 is specifically used for: according to the starting play time with
And preset first reminder time determines the beginning scintillation time of metronome;Wherein, the display pattern includes flash pattern;It is right
Answer, display module 320 is specifically used for: when reaching the beginning scintillation time, the display module of the metronome is to described
Metronome carries out flashing and shows.
On the basis of above-mentioned each technical solution, temporal logic module 310 is specifically also used to: when being played according to the starting
Between and preset second reminder time determine the counting-down reminding time;Wherein, the display pattern includes: countdown mode;
Corresponding, display module 320 is specifically used for: when reaching the counting-down reminding time, the display module of the metronome will
The metronome is shown according to countdown mode;Wherein, the counting-down reminding time is later than the beginning scintillation time.
On the basis of above-mentioned each technical solution, the input time further includes the next sentence adjacent with current lyrics syntagma
The starting play time of lyrics syntagma.
On the basis of above-mentioned each technical solution, temporal logic module 310 is specifically also used to: according to current lyrics syntagma
The starting play time of starting play time and next lyrics syntagma determines interlude duration;When the interlude duration is greater than
When given threshold, the counting-down reminding time of metronome is determined based on the interlude duration and preset beginning reminder time
And/or start scintillation time.
On the basis of above-mentioned each technical solution, temporal logic module 310 is specifically also used to: monitoring the number of aiming field
Value;The input time of current music is determined by the numerical value of the aiming field.
The technical solution of the embodiment of the present disclosure, when obtaining the input of current music by the temporal logic module of metronome
Between, and metronome is determined according to the starting play time based on preset logic rules by the temporal logic module of metronome
The display time and display pattern;When reaching the display time, the display module of the metronome is according to the display
Mode shows metronome, that is, passes through a variable input (input time of current music) and two initialization inputs
(preset first reminder time and preset second reminder time) realizes the in due course display of metronome;By being set for metronome
Individual temporal logic module and display module are set, is reduced in metronome and K song application program between other function module
The degree of coupling, be conducive to metronome carry out Function Extension.
Section provided by disclosure any embodiment can be performed in the realization device of metronome provided by the embodiment of the present disclosure
The implementation method for playing device has the corresponding functional module of execution method and beneficial effect.
It is worth noting that, each unit included by above-mentioned apparatus and module are only divided according to function logic
, but be not limited to the above division, as long as corresponding functions can be realized;In addition, the specific name of each functional unit
Title is also only for convenience of distinguishing each other, and is not limited to the protection scope of the embodiment of the present disclosure.
Example IV
Below with reference to Fig. 4, it illustrates the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure (such as ends in Fig. 4
End equipment or server) 400 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as move
Mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (portable more
Media player), the mobile terminal and such as number TV, desktop computer of car-mounted terminal (such as vehicle mounted guidance terminal) etc.
Etc. fixed terminal.Electronic equipment shown in Fig. 4 is only an example, should not function and use to the embodiment of the present disclosure
Range band carrys out any restrictions.
As shown in figure 4, electronic equipment 400 may include processing unit (such as central processing unit, graphics processor etc.)
401, random access can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 406
Program in memory (RAM) 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with electronic equipment
Various programs and data needed for 400 operations.Processing unit 401, ROM 402 and RAM 403 pass through the phase each other of bus 404
Even.Input/output (I/O) interface 405 is also connected to bus 404.
In general, following device can connect to I/O interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 407 of dynamic device etc.;Storage device 406 including such as tape, hard disk etc.;And communication device 409.Communication device
409, which can permit electronic equipment 400, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4 shows tool
There is the electronic equipment 400 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising being carried on non-transient computer can
The computer program on medium is read, which includes the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communication device 409, or be filled from storage
It sets 406 to be mounted, or is mounted from ROM 402.When the computer program is executed by processing unit 401, the disclosure is executed
The above-mentioned function of being limited in the method for embodiment.
The implementation method of terminal and metronome provided by the above embodiment that the embodiment of the present disclosure provides belongs to same invention
Design, the technical detail of detailed description not can be found in above-described embodiment in the embodiments of the present disclosure, and the embodiment of the present disclosure with
Above-described embodiment beneficial effect having the same.
Embodiment five
The embodiment of the present disclosure provides a kind of computer storage medium, is stored thereon with computer program, which is located
Reason device realizes the implementation method of metronome provided by above-described embodiment when executing.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc., Huo Zheshang
Any appropriate combination stated.
In some embodiments, client, server can use such as HTTP (HyperText Transfer
Protocol, hypertext transfer protocol) etc the network protocols of any currently known or following research and development communicated, and can
To be interconnected with the digital data communications (for example, communication network) of arbitrary form or medium.The example of communication network includes local area network
(" LAN "), wide area network (" WAN "), Internet (for example, internet) and ad-hoc network are (for example, the end-to-end net of ad hoc
Network) and any currently known or following research and development network.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment:
The temporal logic module of the metronome obtains the input time of current music, wherein the input time includes
Originate play time;
The temporal logic module of the metronome is determined according to the starting play time based on preset logic rules and is saved
Play display time and the display pattern of device;
When reaching the display time, the display module of the metronome carries out metronome according to the display pattern
Display.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include but is not limited to object oriented program language-such as Java,
Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language
Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence
Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or
It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as
It is connected using ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, can
Content of edit display unit is also described as " edit cell ".
Function described herein can be executed at least partly by one or more hardware logic components.Example
Such as, without limitation, the hardware logic component for the exemplary type that can be used include: field programmable gate array (FPGA), specially
With integrated circuit (ASIC), Application Specific Standard Product (ASSP), system on chip (SOC), complex programmable logic equipment (CPLD) etc.
Deng.
In the context of the disclosure, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or
Any appropriate combination of above content.
According to one or more other embodiments of the present disclosure, [example one] provides a kind of implementation method of metronome, the party
Method includes:
The temporal logic module of the metronome obtains the input time of current music, wherein the input time includes
Originate play time;
The temporal logic module of the metronome is determined according to the starting play time based on preset logic rules and is saved
Play display time and the display pattern of device;
When reaching the display time, the display module of the metronome carries out metronome according to the display pattern
Display.
According to one or more other embodiments of the present disclosure, [example two] provides a kind of implementation method of metronome, also wraps
It includes:
Optionally, the temporal logic module of the metronome is based on preset logic rules according to the starting play time
Determine display time and the display pattern of metronome, comprising:
The temporal logic module of the metronome is true according to the starting play time and preset first reminder time
Determine the beginning scintillation time of metronome;
Wherein, the display pattern includes flash pattern;
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to section
Device is played to be shown, comprising:
When reaching the beginning scintillation time, it is aobvious that the display module of the metronome carries out flashing to the metronome
Show.
According to one or more other embodiments of the present disclosure, [example three] provides a kind of implementation method of metronome, also wraps
It includes:
Optionally, the temporal logic module of the metronome is based on preset logic rules according to the starting play time
Determine display time and the display pattern of metronome, further includes:
The temporal logic module of the metronome is true according to the starting play time and preset second reminder time
Determine the counting-down reminding time;
Wherein, the display pattern includes: countdown mode;
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to section
Device is played to be shown, further includes:
When reaching the counting-down reminding time, the display module of the metronome is by the metronome according to countdown
Mode is shown;
Wherein, the counting-down reminding time is later than the beginning scintillation time.
According to one or more other embodiments of the present disclosure, [example four] provides a kind of implementation method of metronome, also wraps
It includes:
Optionally, the input time further includes that the starting of the next lyrics syntagma adjacent with current lyrics syntagma plays
Time.
According to one or more other embodiments of the present disclosure, [example five] provides a kind of implementation method of metronome, also wraps
It includes:
Optionally, the temporal logic module of the metronome is based on preset logic rules according to the starting play time
Determine display time and the display pattern of metronome, comprising:
The temporal logic module of the metronome is according to the starting play time and the next lyrics of current lyrics syntagma
The starting play time of syntagma determines interlude duration;
When the interlude duration is greater than given threshold, the temporal logic module of the metronome is based on the interlude duration
And preset beginning reminder time determines the counting-down reminding time of metronome and/or starts scintillation time.
According to one or more other embodiments of the present disclosure, [example six] provides a kind of implementation method of metronome, also wraps
It includes:
Optionally, the temporal logic module of the metronome obtains the input time of current music, comprising:
The temporal logic module of the metronome monitors the numerical value of aiming field;
The temporal logic module of the metronome determines the input time of current music by the numerical value of the aiming field.
According to one or more other embodiments of the present disclosure, [example seven] provides a kind of realization device of metronome, the dress
It sets and includes:
Temporal logic module, for obtaining the input time of current music, wherein the input time includes that starting plays
Time;And display time and the display mould of metronome are determined according to the starting play time based on preset logic rules
Formula;
Display module, for being shown to metronome according to the display pattern when reaching the display time.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Although this is not construed as requiring these operations with institute in addition, depicting each operation using certain order
The certain order that shows executes in sequential order to execute.Under certain environment, multitask and parallel processing may be advantageous
's.Similarly, although containing several specific implementation details in being discussed above, these are not construed as to this public affairs
The limitation for the range opened.Certain features described in the context of individual embodiment can also be realized in combination single real
It applies in example.On the contrary, the various features described in the context of single embodiment can also be individually or with any suitable
The mode of sub-portfolio is realized in various embodiments.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer
When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary,
Special characteristic described in face and movement are only to realize the exemplary forms of claims.
Claims (10)
1. a kind of implementation method of metronome, which is characterized in that be applied to metronome, which comprises
The temporal logic module of the metronome obtains the input time of current music, wherein the input time includes starting
Play time;
The temporal logic module of the metronome determines metronome according to the starting play time based on preset logic rules
The display time and display pattern;
When reaching the display time, the display module of the metronome shows metronome according to the display pattern
Show.
2. the method according to claim 1, wherein the temporal logic module of the metronome is based on preset patrol
Collect display time and display pattern that rule determines metronome according to the starting play time, comprising:
The temporal logic module of the metronome determines section according to the starting play time and preset first reminder time
Play the beginning scintillation time of device;
Wherein, the display pattern includes flash pattern;
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to metronome
It is shown, comprising:
When reaching the beginning scintillation time, the display module of the metronome carries out flashing to the metronome and shows.
3. according to the method described in claim 2, it is characterized in that, the temporal logic module of the metronome is based on preset patrol
Collect display time and display pattern that rule determines metronome according to the starting play time, further includes:
The temporal logic module of the metronome determines according to the starting play time and preset second reminder time
The time reminding time;
Wherein, the display pattern includes: countdown mode;
Corresponding, when reaching the display time, the display module of the metronome is according to the display pattern to metronome
It is shown, further includes:
When reaching the counting-down reminding time, the display module of the metronome is by the metronome according to countdown mode
It is shown;
Wherein, the counting-down reminding time is later than the beginning scintillation time.
4. the method according to claim 1, wherein the input time further includes adjacent with current lyrics syntagma
Next lyrics syntagma starting play time.
5. according to the method described in claim 4, it is characterized in that, the temporal logic module of the metronome is based on preset patrol
Collect display time and display pattern that rule determines metronome according to the starting play time, comprising:
The temporal logic module of the metronome is according to the starting play time and next lyrics syntagma of current lyrics syntagma
Starting play time determine interlude duration;
When the interlude duration is greater than given threshold, the temporal logic module of the metronome be based on the interlude duration and
Preset beginning reminder time determines the counting-down reminding time of metronome and/or starts scintillation time.
6. method according to claim 1-5, which is characterized in that the temporal logic module of the metronome obtains
The input time of current music, comprising:
The temporal logic module of the metronome monitors the numerical value of aiming field;
The temporal logic module of the metronome determines the input time of current music by the numerical value of the aiming field.
7. a kind of realization device of metronome, which is characterized in that be integrated in metronome, described device includes:
Temporal logic module, for obtaining the input time of current music, wherein when the input time includes that starting plays
Between;And display time and the display pattern of metronome are determined according to the starting play time based on preset logic rules;
Display module, for being shown to metronome according to the display pattern when reaching the display time.
8. device according to claim 7, which is characterized in that the temporal logic module is specifically used for: according to described
Beginning play time and preset first reminder time determine the beginning scintillation time of metronome;Wherein, the display pattern packet
Include flash pattern.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as the implementation method of metronome as claimed in any one of claims 1 to 6.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing the implementation method such as metronome as claimed in any one of claims 1 to 6 when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910656331.3A CN110415669B (en) | 2019-07-19 | 2019-07-19 | Method and device for realizing metronome, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910656331.3A CN110415669B (en) | 2019-07-19 | 2019-07-19 | Method and device for realizing metronome, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110415669A true CN110415669A (en) | 2019-11-05 |
CN110415669B CN110415669B (en) | 2022-03-04 |
Family
ID=68360304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910656331.3A Active CN110415669B (en) | 2019-07-19 | 2019-07-19 | Method and device for realizing metronome, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110415669B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112883223A (en) * | 2019-11-29 | 2021-06-01 | 阿里巴巴集团控股有限公司 | Audio display method and device, electronic equipment and computer storage medium |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57206883A (en) * | 1981-06-15 | 1982-12-18 | Casio Comput Co Ltd | Electronic metronome |
US4442752A (en) * | 1982-01-20 | 1984-04-17 | Paul Tsuchiya | Electronic metronome |
JPH08201542A (en) * | 1995-01-20 | 1996-08-09 | Pioneer Electron Corp | Instrument for counting beats |
US5850048A (en) * | 1995-09-29 | 1998-12-15 | Ruf; Karen | Digital read-out electronic metronome |
JP2000148164A (en) * | 1998-11-05 | 2000-05-26 | Yamaha Corp | Karaoke device |
US20040000226A1 (en) * | 2002-07-01 | 2004-01-01 | Ric Company, Ltd. | Electronic metronome |
JP2005257618A (en) * | 2004-03-15 | 2005-09-22 | Seiko Instruments Inc | Electronic metronome and presenting method of tempo of electronic metronome |
JP2006214925A (en) * | 2005-02-04 | 2006-08-17 | Yamada Ongaku Jimusho:Kk | Electronic metronome |
CN101002985A (en) * | 2006-01-20 | 2007-07-25 | 雅马哈株式会社 | Apparatus for controlling music reproduction and apparatus for reproducing music |
CN101198111A (en) * | 2006-12-05 | 2008-06-11 | 乐金电子(中国)研究开发中心有限公司 | Mobile phone with simple metronome and its implementing method |
CN101567184A (en) * | 2009-03-24 | 2009-10-28 | 广州酷狗计算机科技有限公司 | Method for producing dynamic karaoke lyrics |
US20100293464A1 (en) * | 2009-05-15 | 2010-11-18 | Fujitsu Limited | Portable information processing apparatus and content replaying method |
EP2775359A2 (en) * | 2013-03-07 | 2014-09-10 | Immersion Corporation | Pacing system with feedback based adjustments |
CN104427113A (en) * | 2013-09-03 | 2015-03-18 | 北大方正集团有限公司 | Method and device for realizing function of metronome on mobile terminal |
US20170047082A1 (en) * | 2015-08-10 | 2017-02-16 | Samsung Electronics Co., Ltd. | Electronic device and operation method thereof |
CN106804005A (en) * | 2017-03-27 | 2017-06-06 | 维沃移动通信有限公司 | The preparation method and mobile terminal of a kind of video |
CN206388373U (en) * | 2016-11-28 | 2017-08-08 | 梁琼 | A kind of metronome for music teaching |
CN108735194A (en) * | 2018-03-27 | 2018-11-02 | 维沃移动通信有限公司 | The reminding method and device of beat |
CN109378018A (en) * | 2018-10-18 | 2019-02-22 | 广州酷狗计算机科技有限公司 | Method for recording, device, terminal and the storage medium of multimedia file |
CN109670074A (en) * | 2018-12-12 | 2019-04-23 | 北京字节跳动网络技术有限公司 | A kind of rhythm point recognition methods, device, electronic equipment and storage medium |
WO2019082321A1 (en) * | 2017-10-25 | 2019-05-02 | ヤマハ株式会社 | Tempo setting device and control method for same, and program |
-
2019
- 2019-07-19 CN CN201910656331.3A patent/CN110415669B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57206883A (en) * | 1981-06-15 | 1982-12-18 | Casio Comput Co Ltd | Electronic metronome |
US4442752A (en) * | 1982-01-20 | 1984-04-17 | Paul Tsuchiya | Electronic metronome |
JPH08201542A (en) * | 1995-01-20 | 1996-08-09 | Pioneer Electron Corp | Instrument for counting beats |
US5850048A (en) * | 1995-09-29 | 1998-12-15 | Ruf; Karen | Digital read-out electronic metronome |
JP2000148164A (en) * | 1998-11-05 | 2000-05-26 | Yamaha Corp | Karaoke device |
US20040000226A1 (en) * | 2002-07-01 | 2004-01-01 | Ric Company, Ltd. | Electronic metronome |
JP2005257618A (en) * | 2004-03-15 | 2005-09-22 | Seiko Instruments Inc | Electronic metronome and presenting method of tempo of electronic metronome |
JP2006214925A (en) * | 2005-02-04 | 2006-08-17 | Yamada Ongaku Jimusho:Kk | Electronic metronome |
CN101002985A (en) * | 2006-01-20 | 2007-07-25 | 雅马哈株式会社 | Apparatus for controlling music reproduction and apparatus for reproducing music |
CN101198111A (en) * | 2006-12-05 | 2008-06-11 | 乐金电子(中国)研究开发中心有限公司 | Mobile phone with simple metronome and its implementing method |
CN101567184A (en) * | 2009-03-24 | 2009-10-28 | 广州酷狗计算机科技有限公司 | Method for producing dynamic karaoke lyrics |
US20100293464A1 (en) * | 2009-05-15 | 2010-11-18 | Fujitsu Limited | Portable information processing apparatus and content replaying method |
EP2775359A2 (en) * | 2013-03-07 | 2014-09-10 | Immersion Corporation | Pacing system with feedback based adjustments |
CN104427113A (en) * | 2013-09-03 | 2015-03-18 | 北大方正集团有限公司 | Method and device for realizing function of metronome on mobile terminal |
US20170047082A1 (en) * | 2015-08-10 | 2017-02-16 | Samsung Electronics Co., Ltd. | Electronic device and operation method thereof |
CN206388373U (en) * | 2016-11-28 | 2017-08-08 | 梁琼 | A kind of metronome for music teaching |
CN106804005A (en) * | 2017-03-27 | 2017-06-06 | 维沃移动通信有限公司 | The preparation method and mobile terminal of a kind of video |
WO2019082321A1 (en) * | 2017-10-25 | 2019-05-02 | ヤマハ株式会社 | Tempo setting device and control method for same, and program |
CN108735194A (en) * | 2018-03-27 | 2018-11-02 | 维沃移动通信有限公司 | The reminding method and device of beat |
CN109378018A (en) * | 2018-10-18 | 2019-02-22 | 广州酷狗计算机科技有限公司 | Method for recording, device, terminal and the storage medium of multimedia file |
CN109670074A (en) * | 2018-12-12 | 2019-04-23 | 北京字节跳动网络技术有限公司 | A kind of rhythm point recognition methods, device, electronic equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112883223A (en) * | 2019-11-29 | 2021-06-01 | 阿里巴巴集团控股有限公司 | Audio display method and device, electronic equipment and computer storage medium |
CN112883223B (en) * | 2019-11-29 | 2024-10-01 | 阿里巴巴集团控股有限公司 | Audio display method and device, electronic equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110415669B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2834810B1 (en) | Playback control apparatus, playback control method, and program | |
CN109670074A (en) | A kind of rhythm point recognition methods, device, electronic equipment and storage medium | |
CN109981281B (en) | Method and device for determining candidate elements based on block chain proposal random consensus | |
CN110362266A (en) | Prompt information display methods, system, electronic equipment and computer-readable medium | |
EP3940690A1 (en) | Method and device for processing music file, terminal and storage medium | |
CN109615682A (en) | Animation producing method, device, electronic equipment and computer readable storage medium | |
CN109887505A (en) | Method and apparatus for wake-up device | |
CN110324718A (en) | Audio-video generation method, device, electronic equipment and readable medium | |
CN110289024A (en) | A kind of audio editing method, apparatus, electronic equipment and storage medium | |
JP2024525192A (en) | Audio processing method, device, electronic device, and storage medium | |
CN111798821A (en) | Sound conversion method, device, readable storage medium and electronic equipment | |
CN110312162A (en) | Selected stage treatment method, device, electronic equipment and readable medium | |
CN110264262A (en) | Data processing method, device and electronic equipment based on user behavior | |
CN108986814A (en) | A kind of method and device waking up application service | |
WO2020133376A1 (en) | Multimedia information processing method, devices, electronic equipment and computer-readable storage medium | |
CN110418183A (en) | Audio and video synchronization method, device, electronic equipment and readable medium | |
CN110278446A (en) | Determine that virtual present shows the method, apparatus and electronic equipment of information | |
WO2020224294A1 (en) | Method, system, and apparatus for processing information | |
CN110415669A (en) | A kind of implementation method of metronome, device, electronic equipment and storage medium | |
WO2024131532A1 (en) | Hair processing method and apparatus, and device and storage medium | |
WO2024099350A1 (en) | Livestreaming processing method and apparatus, and electronic device | |
CN112435641A (en) | Audio processing method and device, computer equipment and storage medium | |
TWI589173B (en) | Short-range wireless communications components to update their information within the wearable electronic devices | |
CN107172302A (en) | Audio control method and device, computer installation and computer-readable recording medium | |
CN101075379A (en) | Timing interdynamic studying 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 |