CN1691043A - Method for playing game according to selected audio track event in music file - Google Patents

Method for playing game according to selected audio track event in music file Download PDF

Info

Publication number
CN1691043A
CN1691043A CNA2004100420485A CN200410042048A CN1691043A CN 1691043 A CN1691043 A CN 1691043A CN A2004100420485 A CNA2004100420485 A CN A2004100420485A CN 200410042048 A CN200410042048 A CN 200410042048A CN 1691043 A CN1691043 A CN 1691043A
Authority
CN
China
Prior art keywords
incident
note
music file
track
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2004100420485A
Other languages
Chinese (zh)
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNA2004100420485A priority Critical patent/CN1691043A/en
Publication of CN1691043A publication Critical patent/CN1691043A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method to play game according to event in music file and comprises a first user interface to select a piece of music file with multiple audio tracks wanted to play in game, a second user interface to select an audio track from music file; compute event time of sound accompaniment corresponding to musical notation in selected audio track; play the selected music file; and decide whether an input key is pressed at some predetermined time around of the selected note event.

Description

The method of playing according to the incident of selected track in the music file
Technical field
The present invention relates to a kind of music file of tool multitone rail, the method that particularly a kind of incident according to selected track in the music file (event) is played.
Background technology
Along with the universalness of electronic game machine, the recreation of many different kenels is also come out of steamer successively.At present, one of most popular recreation is exactly a dancing and game, and it must cooperate the different event in the recreation synchronously to push input pad by the player.This input pad may be the input pin mat, can import for playing the foot-operated mode of family expenses, or general input controller, for playing the input of family expenses hand.Except dancing and game, also there is the music game of other type to utilize identical notion to carry out, that is, cooperate the different event in the game music, player's real time reaction and synchronously cooperate music to push enter key.
See also Fig. 1, the time diagram that Fig. 1 is drawn for the known recreation of carrying out according to the incident in the song 20 10.Generally, can above screen, locate to show four direction arrow 12,14,16 and 18, and the enter key that corresponds respectively on player's input pad of each this direction arrow 12,14,16 and 18 on the screen.As illustrated in Fig. 1, have seven incidents 20 and be shown.The longitudinal axis in the time diagram is represented the time, and each incident is from the below beginning of screen and up move gradually.When incident 20 arrived the position of place, screen top four direction arrow 12,14,16 and 18, the player should push corresponding enter key in real time, so gets final product score.Each incident 20 is to produce according to the incident that sets in the song of being play in the recreation, and each first song all has the event setup of oneself.In general, incident corresponding to certain beat musical instrument as drum or the note that produced of theme musical instrument such as guitar or piano.Because each first song may all can use many musical instruments, (Musical Instrument Digital Interface, MIDI) file provides the song in the recreation so can use the musical instrument digital interface.
See also Fig. 2, Fig. 2 is known MIDI file 30 basic structure synoptic diagram.Known MIDI file 30 is made up of a series of bit data, and in Fig. 2 each bit data with the sexadecimal formal specification.MIDI file 30 among Fig. 2 includes a heading file 32, one first track 36, one second track 38 and one the 3rd track 40.Heading file 32 includes a track numerical indicant 34, in order to the track sum in the indication MIDI file 30.In this illustration, track numerical indicant 34 indications are numeral " 3 ", because three tracks are arranged.Each track 36,38 and 40 can store the note of different musical instruments, and therefore, the MIDI file 30 among Fig. 2 promptly can include the music that three different musical instruments are played.
Yet, the player sometimes can preference be played by certain particular instrument of playing back music in the recreation, but known mode of playing according to the incident in the music, the interior incident of track that the player is not allowed to can select voluntarily to correspond to a certain particular instrument is played.For instance, the player may want to play games according to the note of piano performance, and known game machine can only use certain identical musical instrument always, for example rouse, incident play.Moreover each recreation is all only subsidiary usually the first song of number, and can't increase new song.Therefore, the player promptly was fed up with after recreation is carried out for several times and does not have feeling of freshness.
Summary of the invention
In view of the above, fundamental purpose of the present invention promptly is to provide a kind of method of playing according to the incident in the music file, to address the above problem.
For reaching above-mentioned purpose, preferred embodiment of the present invention discloses a kind of method of playing according to incident in the music file, including provides one first user's interface to make a user can select one to be about to the music file play in recreation, and the selected music file of this warp includes a plurality of tracks of soon playing simultaneously with this music file; Provide one second user's interface to make this user select one in these a plurality of tracks by this music file; Calculate the event time of following the note incident in this selected track, respectively this note incident is the note person corresponding to this selected track; Play this selected music file; And determine whether an enter key is pressed in a certain schedule time before and after this note incident of this selected track.
Characteristics of the present invention are that the player can select different tracks in the music file as the source of incident is provided in the recreation.Thus, can provide the player more more options, making recreation become more has enjoyment.
In order a nearlyer step to understand feature of the present invention and technology contents, see also following about detailed description of the present invention and accompanying drawing.Yet, this accompanying drawing only for reference with aid illustration usefulness, be not to be used for to the present invention's limitr in addition.
Description of drawings
The time diagram that Fig. 1 draws for the known recreation of carrying out according to the incident in the song.
Fig. 2 is known MIDI file basic structure synoptic diagram.
Fig. 3 is the detailed diagram of second track of the MIDI file among Fig. 2
Fig. 4 is the timetable of each incident in second track.
The absolute time of all note broadcast events incident buffer table in Fig. 5 displayed map 4.
Fig. 6 is for to carry out process flow diagram according to the recreation of the inventive method.
Fig. 7 further shows the process flow diagram that calculates the note broadcast event (step 100 among Fig. 6) of selected track according to the inventive method.
The reference numeral explanation
10 recreation
12 direction arrows
14 direction arrows
16 direction arrows
18 direction arrows
20 incidents
30 MIDI files
32 heading files
34 track numerical indicants
36 first tracks
38 second tracks
40 the 3rd tracks
50 title tracks
52 time intervals
54 non-note incidents
56 note incidents
90 beginnings
92 select the MIDI file
94 read MIDI and capture track quantity
96 players select track
100 calculate the note broadcast event of selected track
150 begin to carry out MIDI
152 MIDI terminal points?
154 carry out the note broadcast event
Whether 156 players push relevant enter key
158 score
160 calculate last mark
162 show last mark
164 finish
102 beginnings
104 read selected MIDI track
106 MIDI track terminal points?
108 time for reading at interval
110 read the track incident
112 calculate the absolute time of incident
Whether 114 be the note broadcast event
116 place the incident buffer table with incident
118 finish
Embodiment
The present invention can provide the player to obtain more elastic space and variation when playing games, can allow the player in recreation song forms, to increase new song, and can allow the player select want particular track in the music file, and play with the incident in this selected track.
See also Fig. 2, the MIDI file 30 among Fig. 2 includes a heading file 32, one first track 36, one second track 38 and one the 3rd track 40.How by MIDI file 30 selected single tracks, be that example is done explanation with second track 38 now for convenience of description.See also Fig. 3 and Fig. 4, Fig. 3 is the detailed diagram of second track 38 of the MIDI file 30 among Fig. 2, and Fig. 4 is the timetable of each incident in second track 38.Suppose that note that the player will be played with the musical instrument of second track, 38 representatives is as the music event in the recreation.The present invention at first plays (note-on) incident to the note in the selected track and analyzes, and these notes are play the beginning that (note-on) incident is represented some note in the song.Second track 38 includes a title track 50, a plurality of time interval (delta times) 52, a plurality of non-note (non-note) incident 54, and a plurality of note incident (note-events) 56.The time interval 52 is to place before each non-note (non-note) incident 54 and the note incident (note-events) 56, in order to the process interval time before indicating this incident to take place.Because non-note incident 54 can't have any note incident in second track 38, therefore the time interval 52 before each non-note incident 54 is " 00 ".Can be arranged to change the contained incident duration of note incident 56 the different time interval 52.
All non-note incidents 54 and note incident 56 all are presented at the different lines among Fig. 4.Five hurdles among Fig. 4 are to show Case Number for the illustration reference, the time intervals 52 value, the absolute time of incident, the bit representation and the event type of incident respectively.Time intervals 52 value show previous incidents to incident at present alternate time.The absolute time of incident shows the absolute time of an incident, is with the time intervals 52 value of front totally and get.Fig. 4 shows three kinds of different event types.Non-note incident 54 can not influence audible note, and note broadcast event 54 opens the beginning for new note, and the note close event is the end of note.
Be the incident in the further displayed map 4, the first six incident now explains the main points briefly.Wherein, preceding two incidents are non-note incident, and all there is a sexadecimal time interval front " 0x00 ".
The 3rd incident is the note broadcast event, and its front has a time interval " 0x00 ".Therefore, the absolute time when the 3rd incident begins still is " 0x00 ".The bit table of part is shown as to this " 90 3C 64 ", wherein " 3C " and the tone height of byte representation note, and " 64 " volume of byte representation note.
The 4th incident is a note close event, and its front has a time interval " 0x78 ".Therefore, the absolute time when the 4th incident begins is " 0x78 ".The bit table of part is shown as to this " 90 3C 00 ", wherein the volume of last note is set to " and 00 ", just noiseless.Since the absolute time of note when beginning be for " 0x00 ", and the absolute time of note when finishing is " 0x78 ", the duration of this note is " 0x78 ".
The 5th incident is a note broadcast event, and its front has a time interval " 0x00 ".Therefore, the absolute time when the 5th incident begins still is " 0x78 ".In fact, the 5th incident note of beginning to be play with follow closely in last note after stopping note identical.
The 6th incident is a note close event, and its front has a time interval " 0x78 ".Therefore, the absolute time when the 6th incident begins is " 0xF0 ", just " 0x78 "+" 0x78 ".The 6th incident terminates in the incident of the beginning of opening in the 5th incident.So, always having two notes and broadcast, the note that is broadcasted has identical tone size and duration.It is similar that this and front and back are broadcasted two 1/4th notes (quarter notes) with same tone size continuously.
When the incident in the foundation music was played, the player only need consider the note broadcast event, pushed corresponding enter key.See also Fig. 5, the absolute time of all note broadcast events incident buffer table in Fig. 5 displayed map 4.Just selected a certain track in the music file the player, selected track can be searched to find out note broadcast event absolute time corresponding with it earlier.Then, these data can be existed in the incident buffer table for the recreation use.When recreation begins to carry out, the note broadcast event will be proposed by having in the incident buffer table sequentially, and the player will attempt pushing corresponding enter key when the identical absolute time that each note broadcast event takes place.
See also Fig. 6, Fig. 6 is for to carry out process flow diagram according to the recreation of the inventive method.Step shown in the process flow diagram will be respectively described below now.
Step 90: beginning;
Step 92: select a MIDI file, it includes a song of soon playing in recreation, and wherein, the player can increase newly from a song list or delete the MIDI file, and the MIDI file can be downloaded or be created voluntarily by the player;
Step 94: read selected MIDI file, and read track quantity;
Step 96: the player selects a track that is about to provide the note broadcast event in recreation from all tracks of gained;
Step 100: calculate the note broadcast event at selected track;
Step 150: begin to play as game music with selected MIDI file;
Step 152: whether decision has arrived the terminal point of MIDI file, if, skip to step 160, if not, carry out step 154;
Step 154: carry out the next note broadcast event in the note buffer table;
Step 156: whether the decision player pushes relevant enter key in a certain schedule time before and after the note broadcast event, if, carry out step 158, if not, get back to step 152;
Step 158: response note broadcast event when the player correctly pushes enter key, adds to mark in player's scoring board; Get back to step 152;
Step 160: calculate the last mark of recreation;
Step 162: show last mark; And
Step 164: game over.
See also Fig. 7, Fig. 7 further shows the process flow diagram that calculates the note broadcast event (step 100 among Fig. 6) of selected track according to the inventive method.Step shown in the process flow diagram will be respectively described below now.
Step 102: beginning;
Step 104: read selected MIDI track;
Step 106: whether decision has arrived the terminal point of MIDI track, if, skip to step 118, if not, carry out step 108;
Step 108: read the next time interval;
Step 110: read next track incident;
Step 112: the time interval addition that all are previous, to calculate the absolute time of this incident;
Step 114: determine whether this incident is a note broadcast event, if, skip to step 116, if not, carry out step 106;
Step 116: this note broadcast event is placed the incident buffer table, get back to step 106; And
Step 118: finish.
Compared to prior art, the inventive method allows the player can select a certain track in the music file, and it is representing a certain musical instrument, and the player can utilize selected track to be used to provide music event in the recreation.In addition, the player can be newly-increased to the song menu with song via the mode of downloading or creating voluntarily, making recreation have higher elasticity and freshness by this.Above various advantages shows that all the present invention meets legal important documents such as the industry applications of Patent Law defined, novelty and progressive fully, files an application according to Patent Law in the whence, would like to ask detailed survey and grants accurate this case patent.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (12)

1. method of playing according to incident in the music file includes the following step:
Provide one first user's interface to make a user can select a music file of soon playing in recreation, the selected music file of this warp includes a plurality of tracks of playing simultaneously with this music file of being about to;
Provide one second user's interface to make this user select one in these a plurality of tracks by this music file;
Calculate the event time of following the note incident in this selected track, respectively this note incident is the note person corresponding to this selected track;
Play this selected music file; And
Determine whether an enter key is pressed in a certain schedule time before and after this note incident of this selected track.
The method of claim 1, wherein respectively this note incident be a note broadcast event, it indicates the beginning of a relevant note.
The method of claim 1, wherein respectively the corresponding event time of this note incident be with the absolute time reckoner.
4. method as claimed in claim 3, wherein, respectively this incident in this selected track has a corresponding time interval, and respectively this absolute time of this note incident is all time intervals with previous incident to add up and get.
5. the method for claim 1, wherein this note incident and correspond to respectively that this event time of this note incident is to be stored in the incident buffer table respectively.
6. the method for claim 1, wherein when being pressed in a certain schedule time before and after this enter key this note incident, can obtain mark at this selected track.
7. method as claimed in claim 6, wherein, when selected music file stops to play, the total points of recreation is promptly calculated.
8. the method for claim 1, wherein select the method for a music file of in recreation, playing to include:
This user is able to by selecting a music file person in the music menu.
9. method as claimed in claim 8 wherein, can be increased newly or deletion music file person by this music menu.
10. method as claimed in claim 8, wherein, newly-increased music file is to finish by downloading mode in this music menu.
11. the method for claim 1, wherein this music file is to be a musical instrument digital interface file.
12. one kind in order to carry out the electronic game computer person of method according to claim 1.
CNA2004100420485A 2004-04-29 2004-04-29 Method for playing game according to selected audio track event in music file Pending CN1691043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2004100420485A CN1691043A (en) 2004-04-29 2004-04-29 Method for playing game according to selected audio track event in music file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2004100420485A CN1691043A (en) 2004-04-29 2004-04-29 Method for playing game according to selected audio track event in music file

Publications (1)

Publication Number Publication Date
CN1691043A true CN1691043A (en) 2005-11-02

Family

ID=35346477

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2004100420485A Pending CN1691043A (en) 2004-04-29 2004-04-29 Method for playing game according to selected audio track event in music file

Country Status (1)

Country Link
CN (1) CN1691043A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680562A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 Point distribution method and device for audio file
CN108704314A (en) * 2018-05-25 2018-10-26 网易(杭州)网络有限公司 Postpone the method, apparatus and electronic equipment of calibration in a kind of music game

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680562A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 Point distribution method and device for audio file
CN103680562B (en) * 2012-09-03 2017-03-22 腾讯科技(深圳)有限公司 Point distribution method and device for audio file
CN108704314A (en) * 2018-05-25 2018-10-26 网易(杭州)网络有限公司 Postpone the method, apparatus and electronic equipment of calibration in a kind of music game
CN108704314B (en) * 2018-05-25 2021-10-26 网易(杭州)网络有限公司 Method and device for calibrating delay in music game and electronic equipment

Similar Documents

Publication Publication Date Title
Boone Mashing: Toward a typology of recycled music
US20090258700A1 (en) Music video game with configurable instruments and recording functions
CN106652655B (en) A kind of musical instrument of track replacement
CN1924992A (en) Kara Ok human voice playing method
CN1750116A (en) Automatic rendition style determining apparatus and method
CN1845775A (en) Multi-sound effect system including dynamic controller for an amplified guitar
CN1770258A (en) Rendition style determination apparatus and method
CN1573915A (en) Method of creating music file with main melody and accompaniment
CN1261181C (en) Method of playing a game according to events in a selected track of a music file
CN1691043A (en) Method for playing game according to selected audio track event in music file
JP2004500588A (en) Apparatus and method for improvising music creation
CN1750117A (en) Song researching system of accompany machine and its method for constituting melody data base
CN101059956A (en) Tone signal generation device and method
Brooker et al. Remixing music together: the use and abuse of virtual studio software as a hobby
Osborn et al. The Production of Timbre: Analyzing the Sonic Signatures of Tool’s Ænima (1996)
Kell et al. A High-Level Review of Mappings in Musical iOS Applications.
CN1206603C (en) Music VF producing method and playback system
JP6074835B2 (en) Music practice support device
Harper 20 Best Guitar Samples Library Packs-Paid & Free 2022
Sokolow Learn to play bottleneck guitar
Reynisson Man vs. Machine: A comparative study on MIDI programmed and recorded drums
JP6179188B2 (en) Music analyzer
Perks David Gilmour: Defining the'melodic'guitarist
Harper 5 Beginners Guitar Looper Songs
Mohamed et al. Imagery Conjured through Melodic Developments in “15 Step” by Radiohead

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication