Music splices games system and method
Technical field
The present invention relates to music to splice field of play, splices games system more particularly, to a kind of music based on block in kind
And method.
Background technology
Music is most outstanding one of the creation of the mankind.It listens to music, appreciate music, be the extremely widespread life tune of modern
Agent.Music is indispensable in people's lives, and music more has child grows immeasurable important function.
Currently, there are many softwares that can realize the shearing and splicing of music, run on extensively in various computers and handheld device.
Music splicing game is carried out using block in kind, has surmounted the limitation of computer screen.Compared with directly allowing children to manipulate computer, allow
Children are interacted by manipulating block in kind with computer, it is easier to children be allowed to be dropped in whole process.People are by touching
The technologies such as feel, phy-aware are interacted with material object, increase the enjoyment of music splicing.Therefore it provides a kind of sound based on block in kind
Happy splicing games system and method are necessary.
Invention content
In view of the above problems, a kind of music splicing games system of present invention offer and method.
The present invention provides a kind of music splicing games system, including:
Multiple material object blocks, there are one visual marker and an identity for each block in kind;
Interactive interface, the interactive interface be placed on for identification the block in kind on the interactive interface position and
Identity;
Database, the database is for storing music samples;
Processor, the processor draw the music samples for reading the music samples from the database
It is divided into multiple snatch of music, each snatch of music is distributed into a block in kind;
Wherein, when multiple blocks in kind are formed tactic pattern by user on the interactive interface, the processor is also
For obtaining one section of splicing music from the tactic pattern.
Further, the processor is additionally operable to the splicing music being compared with the music samples, and to use
Family generates a feedback.
Further, the interactive interface includes electrod-array and radio-frequency antenna array, wherein the electrod-array includes
At least one electrode, the radio-frequency antenna array include at least one radio-frequency antenna.
Further, the identity is embedded into a RFID tag.
Further, the music samples are divided into the music by the processor according to one or more partitioning algorithms
Segment, the partitioning algorithm include:Partitioning algorithm based on time interval, the partitioning algorithm based on melody, drawing based on track
Divide algorithm, the partitioning algorithm based on musical instrument and the partitioning algorithm based on the lyrics.
Further, the processor is distributed to each snatch of music according to one or more allocation algorithms described
Block in kind, the allocation algorithm include:It is randomly assigned algorithm, the allocation algorithm based on the visual marker, is based on the reality
The allocation algorithm of the physical attribute of object block, the allocation algorithm based on user with the history of the interaction of the block in kind.
Further, the music splices games system, further includes an audio devices, the audio devices are for playing
Distribute to the snatch of music of the block in kind.
Further, the music splices games system, further includes an audio devices, the audio devices are for playing
The splicing music.
Further, the music splices games system, further includes a display, and the display is described for playing
The music score of snatch of music.
Further, the music splices games system, further includes a display, and the display is described for playing
Splice the music score of music.
The present invention provides a kind of music splicing method for gaming, includes the following steps:
1)Processor reads a music samples from database;
2)The music samples are divided into multiple snatch of music by the processor;
3)Each snatch of music is distributed to a block in kind by the processor, wherein there are one the material object blocks
Visual marker and an identity;
4)Multiple blocks in kind are formed tactic pattern by user on interactive interface, wherein the interactive interface is used for
Identification is placed on position and the identity of the block in kind on interactive interface;
5)The processor obtains one section of splicing music from the tactic pattern.
Further, music splicing method for gaming further includes the processor by the splicing music and the music
Sample is compared, and generates a feedback for user.
Further, the interactive interface includes electrod-array and radio-frequency antenna array, wherein the electrod-array includes
At least one electrode, the radio-frequency antenna array include at least one radio-frequency antenna.
Further, the identity is embedded into a RFID tag.
Further, the music samples are divided into the music by the processor according to one or more partitioning algorithms
Segment, the partitioning algorithm include:Partitioning algorithm based on time interval, the partitioning algorithm based on melody, drawing based on track
Divide algorithm, the partitioning algorithm based on musical instrument and the partitioning algorithm based on the lyrics.
Further, the processor is distributed to each snatch of music according to one or more allocation algorithms described
Block in kind, the allocation algorithm include:It is randomly assigned algorithm, the allocation algorithm based on the visual marker, is based on the reality
The allocation algorithm of the physical attribute of object block, the allocation algorithm based on user with the history of the interaction of the block in kind.
Further, the music splicing method for gaming further includes that audio device plays distribute to the described of the block in kind
Snatch of music.
Further, the music splicing method for gaming further includes splicing music described in audio device plays.
Further, the music splicing method for gaming further includes the music score that display plays the snatch of music.
Further, the music splicing method for gaming further includes the music score that display plays the splicing music.
The present invention provides a kind of music splicing games system and method based on block in kind.Music spelling is carried out using block in kind
Game is connect, the limitation of computer screen has been surmounted.People are interacted by technologies such as tactile, phy-awares with material object, and sound is increased
The enjoyment of happy splicing.
Description of the drawings
Fig. 1 is the system schematic of music provided in an embodiment of the present invention splicing game.
Fig. 2 is the method flow diagram of music provided in an embodiment of the present invention splicing game.
Fig. 3 is the schematic diagram of music provided in an embodiment of the present invention splicing game specific implementation.
Fig. 4 is the schematic diagram for the music splicing game specific implementation that another embodiment of the present invention provides.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.
Embodiment one provides a kind of music splicing games system.Fig. 1 is the music splicing game system that embodiment one provides
The schematic diagram of system.This material object programing system includes multiple blocks 101 in kind, interactive interface 102, processor 103, database 104, sound
Frequency device 105 and display 106.
Each material object block 101 includes a visual marker, and each visual marker has different pattern.Each material object block
101 include an identity, and identity is embedded in radio frequency identification(RFID)Label.Block 101 in kind can be card, button,
Icon, thin slice or statue.
Interactive interface 102 shown in FIG. 1 includes an electrod-array and a radio frequency(RF)Aerial array, wherein electrode
Array includes at least one electrode, and radio-frequency antenna array includes at least one radio-frequency antenna.In the present embodiment, electrode is such as
The metal electrodes such as iron plate, copper sheet.Block 101 in kind is made by that can carry out capacity coupled material with electrode.Pass through interactive interface 102
The capacitive coupling degree of the electrode of the block in kind 101 and interactive interface 102 on interactive interface is detected, interactive interface 102 is inferred
Go out the position of block 101 in kind.Pass through the radio frequency of the RFID tag and interactive interface 102 of the block in kind 101 on interactive interface
The wireless communication of antenna, interactive interface 102 can detect the identity of block 101 in kind.
Database 104 is connected with processor 103, and database 104 stores music samples.Processor 103 is used for from data
A music samples are read in library 104, and music samples are divided into multiple snatch of music according to one or more partitioning algorithms.
Partitioning algorithm includes:Partitioning algorithm based on time interval, the partitioning algorithm based on melody, the partitioning algorithm based on track, base
Partitioning algorithm in musical instrument and the partitioning algorithm based on the lyrics.Processor 103 is additionally operable to will according to one or more allocation algorithms
Each snatch of music distributes to a block in kind.Allocation algorithm includes:It is randomly assigned algorithm, the distribution based on visual marker is calculated
Method, the allocation algorithm of physical attribute based on block in kind, the allocation algorithm based on user with the history of the interaction of block in kind.
When multiple blocks 101 in kind are formed tactic pattern by user, the processor 103 being connected with interactive interface is additionally operable to obtain from tactic pattern
To one section of splicing music.
Material object programing system shown in FIG. 1 further includes an audio devices 105.Audio devices 105 are distributed to for playing
The snatch of music of block 101 in kind.Audio devices 105 are additionally operable to play splicing music.
Programing system in kind described in Fig. 1 further includes a display 106.Display 106 distributes to material object for playing
The music score of the snatch of music of block 101.Display 106 is additionally operable to play the music score of splicing music.
Embodiment two provides a kind of music splicing method for gaming.Fig. 2 is the music splicing game that embodiment two provides
Method flow diagram.As shown in Fig. 2, this method includes the following steps:
Step 201:Processor reads a music samples from database.Music samples include song, composition for an instrument and pleasure
It is bent.
Step 202:The music samples are divided into multiple snatch of music by processor.Processor is drawn according to one or more
Divide algorithm that music samples are divided into snatch of music, partitioning algorithm includes:Partitioning algorithm based on time interval, based on melody
Partitioning algorithm, the partitioning algorithm based on track, the partitioning algorithm based on musical instrument and the partitioning algorithm based on the lyrics.
Step 203:Each snatch of music is distributed to a block in kind by processor, wherein there are one can for block in kind
Depending on changing label and an identity.Each snatch of music is distributed to material object by processor according to one or more allocation algorithms
Block, allocation algorithm include:It is randomly assigned algorithm, the allocation algorithm based on visual marker, physical attribute based on block in kind
Allocation algorithm, the allocation algorithm based on user with the history of the interaction of block in kind.
Step 204:Multiple blocks in kind are formed tactic pattern by user on interactive interface, wherein interactive interface is used
It is placed on position and the identity of the block in kind on interactive interface in identification.When user touches block in kind, audio devices are broadcast
The corresponding snatch of music of block in kind is put, display plays the music score of the corresponding snatch of music of block in kind, to which user can be known
The correspondence of block and snatch of music in kind.
Step 205:Processor obtains one section of splicing music from the tactic pattern.User input instruction, audio devices are broadcast
Splicing music is put, display plays the music score of splicing music.
Step 206:Processor is compared music is spliced with music samples, and generates a feedback for user.
Embodiment three provides an example that music splicing is carried out with the music of present invention splicing games system.Fig. 3 is
The schematic diagram for the music splicing game specific implementation that embodiment three provides.
Processor 303 reads a music samples from database 304 --- children's song " starlet ".Processor 303
Music samples are divided into snatch of music according to the partitioning algorithm based on melody, are divided into 12 snatch of music altogether.
Each snatch of music is distributed to a block 301 in kind by processor 303 according to the algorithm based on visual marker.12
A snatch of music distributes to 12 blocks 301 in kind.Wherein, the visual marker of block 301 in kind be respectively A, B, C, D, E, F, G,
H、I、J、K、L。
When user touches block 301 in kind, audio devices 305 play 301 corresponding snatch of music of block in kind, display
306 play the music score of 301 corresponding snatch of music of block in kind, to which user can know pair of block 301 and snatch of music in kind
It should be related to.
12 blocks 301 in kind are formed tactic pattern by user on interactive interface 302, wherein interactive interface 302 is for knowing
It is not placed on position and the identity of the block in kind 301 on interactive interface 302.
Processor 303 obtains one section of splicing music from the tactic pattern.User input instruction, audio devices 305 play
Splice music, display 306 plays the music score of splicing music.
Processor 303 is compared music is spliced with music samples, judges to splice music and whether music samples are identical,
And generate a feedback for user.
Example IV provides an example that music splicing is carried out with the music of present invention splicing games system.Fig. 4 is
The schematic diagram for the music splicing game specific implementation that example IV provides.
Processor 403 reads a music samples from database 404 --- popular song " she says ".In example IV
Music samples include three tracks.Processor 403 according to based on time interval partitioning algorithm and based on the partitioning algorithm of track
Music samples are divided into snatch of music, are divided into 24 snatch of music altogether.Wherein, the first track is divided into 8 snatch of music,
Second track is divided into 8 snatch of music, and third track is divided into 8 snatch of music.
Processor 403 is according to the distribution of the allocation algorithm based on visual marker and the physical attribute based on the block in kind
Each snatch of music is distributed to a block 401 in kind by algorithm.Wherein, 24 blocks 401 in kind are divided into 3 groups, and every group has 8 realities
Object block 401.First group of material object block 401 is red, and visual marker is 1,2,3,4,5,6,7,8.Second group of material object block 401 is yellow
Color, visual marker are 1,2,3,4,5,6,7,8.Third group material object block 401 is blue, visual marker is 1,2,3,4,5,6,
7、8.24 snatch of music distribute to 24 blocks 401 in kind.8 snatch of music of the first track distribute to red block in kind
401,8 snatch of music of the second track distribute to yellow material object block 401, and 8 snatch of music of third track distribute to blue
Block 401 in kind.
When user touches block 401 in kind, audio devices 405 play 401 corresponding snatch of music of block in kind, display
406 play the music score of 401 corresponding snatch of music of block in kind, to which user can know pair of block 401 and snatch of music in kind
It should be related to.
24 blocks 401 in kind are formed tactic pattern by user on interactive interface 402, wherein interactive interface 402 is for knowing
It is not placed on position and the identity of the block in kind 401 on interactive interface 402.3 horizontal lines on interactive interface 402 represent 3
Red block 401 in kind is placed on the first track, yellow material object block 401 is placed on the second track by a track, user, will
Blue material object block 401 is placed on third track.
Processor 403 obtains one section of splicing music from the tactic pattern.User input instruction, audio devices 405 play
Splice music, display 406 plays the music score of splicing music.
Processor 403 is compared music is spliced with music samples, judges to splice music and whether music samples are identical,
And generate a feedback for user.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.