CN103514158B - Musicfile search method and multimedia playing apparatus - Google Patents

Musicfile search method and multimedia playing apparatus Download PDF

Info

Publication number
CN103514158B
CN103514158B CN201210198021.XA CN201210198021A CN103514158B CN 103514158 B CN103514158 B CN 103514158B CN 201210198021 A CN201210198021 A CN 201210198021A CN 103514158 B CN103514158 B CN 103514158B
Authority
CN
China
Prior art keywords
music
rhythm
file
user
input
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.)
Active
Application number
CN201210198021.XA
Other languages
Chinese (zh)
Other versions
CN103514158A (en
Inventor
丁国治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201210198021.XA priority Critical patent/CN103514158B/en
Publication of CN103514158A publication Critical patent/CN103514158A/en
Application granted granted Critical
Publication of CN103514158B publication Critical patent/CN103514158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/632Query formulation
    • G06F16/634Query by example, e.g. query by humming

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of Musicfile search method of multimedia playing apparatus, including step: a. receives the hammer action input of user;B. the percussion power angle value of user is judged, from tapping the time interval started to last time and adjacent two hammer action tapping and terminating for the first time;C. determine that user taps the cadence information of input;The cadence information of the music rhythm that d. user calculated taps input contrasts with the cadence information of storage in music rhythm file;E. music file corresponding for qualified music rhythm file is exported.In the case of the information such as user is forgetting or do not knowing song title, singer, it is only necessary to tapping and input corresponding melody and cadence information, multimedia playing apparatus just can quickly search qualified music file.The present invention also provides for one and has this Musicfile search method multimedia playing apparatus.

Description

Musicfile search method and multimedia playing apparatus
Technical field
The present invention relates to a kind of Musicfile search method, particularly to a kind of Musicfile search method utilizing music rhythm fragment to scan for and have this Musicfile search method multimedia playing apparatus.
Background technology
The digital spreading of music is just becoming fashion trend, but plays digital music with portable multimedia playing apparatus and popularized.And generally using the memory space of the multimedia playing apparatus such as MP3, MP4, mobile phone, panel computer and PDA the most greatly, user stores hundreds and thousands of songs the most wherein.The information such as the retrieval mode of music in multimedia playing apparatus, uses song title substantially at present, singer are as search condition.But often user can forget or not know the information such as song title, singer, only remember part music rhythm and the rhythm of this song, and, existing multimedia playing apparatus cannot search, according to the part music rhythm of song and rhythm, the music that user wants to hear.
Summary of the invention
In view of this, the present invention provides a kind of Musicfile search method utilizing music rhythm fragment to scan for and has this Musicfile search method multimedia playing apparatus.
A kind of multimedia playing apparatus, this device includes:
Input block, user by realizing the input of music rhythm to the percussion of input block;
Memory element, is used for storing multiple music file and multiple and described music file music rhythm file one to one;
Display unit, is stored in the document in described memory element for display;And,
Main control unit, this main control unit includes:
Rhythm acquisition module, for obtaining the cadence information of multiple music files of memory cell storage, and is stored in the cadence information generation one of acquisition in memory element with described music file music rhythm file one to one;
Input respond module, for receiving user's input on the input unit, it is judged that dynamics value that user taps on the input unit, user number of taps on the input unit, from tapping the time interval started to last time and adjacent two hammer action tapping and terminating for the first time;
Rhythm analyzes module, determines the cadence information of music rhythm that user inputs according to described touch information;
Rhythm is analyzed the cadence information of user's input that module calculates and is contrasted with the cadence information in music rhythm file by rhythm contrast module, judge that the cadence information of music rhythm file is the most consistent with the music rhythm that user inputs, if the cadence information of music rhythm file is consistent with the music rhythm that user inputs or similarity is more than a predetermined value, then it is judged as qualified music rhythm file;If the cadence information of music rhythm file is less than this predetermined value with the similarity of the music rhythm of user's input, then it is judged as ineligible music rhythm file;And,
Result output module, for showing music file output corresponding for qualified music rhythm file on the display unit.
A kind of Musicfile search method of multimedia playing apparatus, comprises the steps:
A. the hammer action input of user is received
B. the percussion power angle value of user is judged, from tapping the time interval started to last time and adjacent two hammer action tapping and terminating for the first time;
C. according to the percussion power angle value of user, determine that user taps the cadence information of input from tapping the time interval started to last time and adjacent two hammer action tapping and terminating for the first time;
The cadence information of the music rhythm that d. user calculated taps input contrasts with the cadence information of storage in music rhythm file, judge that the cadence information of music rhythm file is the most consistent with the music rhythm that user inputs or similarity is more than a predetermined value, if, then it is judged as qualified music rhythm file, enters step e;If it is not, be then judged as ineligible music rhythm file, continue step d;
E. the music file that qualified music rhythm file is corresponding is searched for;
G. described music file is carried out output display.
User is forgetting or is not knowing song title, in the case of the information such as singer, have only to remember the part music rhythm of this song and rhythm, just can be by tapping input cadence information according to corresponding melody and rhythm on the input unit, multimedia playing apparatus just can quickly search qualified music file.
Accompanying drawing explanation
Fig. 1 is the modular structure schematic diagram of multimedia playing apparatus in an embodiment of the present invention.
Fig. 2 is the music file search method flow chart of multimedia playing apparatus in Fig. 1.
Main element symbol description
Multimedia playing apparatus 100
Input block 10
Memory element 20
External memory storage 21
Main control unit 30
Rhythm acquisition module 31
Input respond module 32
Rhythm analyzes module 33
Rhythm contrast module 34
Result output module 35
Display unit 40
Following detailed description of the invention will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Detailed description of the invention
Refer to Fig. 1.Modular structure schematic diagram for multimedia playing apparatus in an embodiment of the present invention 100.Multimedia playing apparatus 100 includes input block 10, memory element 20, main control unit 30 and display unit 40.
In the present embodiment, input block 10 is a pressure type touch screen, and user by realizing the input of music rhythm to the percussion of input block 10.Input block 10 responds the percussion of user and produces corresponding induced signal.Main control unit 30 receives the induced signal that input block 10 produces, and dynamics, the number of times of percussion, the time interval that taps between the finger time of staying and adjacent twice hammer action on the touchscreen tapped user on input block 10 according to this induced signal is analyzed every time, user is converted into music rhythm data to the percussion of touch screen.In other modes, input block 10 can also be piezoelectric type touch pad, resistive touch device etc. other can detect the percussion dynamics of user, tap and start other input equipments to the time interval between the time terminated and adjacent two hammer action.
Wherein, the number of times of the induced signal that input block 10 produces is the number of times that user taps on input block 10;The percussion dynamics of user is different, the intensity of the induced signal that this input block 10 produces is different, tapping the persistent period that the finger time of staying on the touchscreen is one section of induced signal that input block 10 produces, the time interval between adjacent twice hammer action is the time interval of twice adjacent induced signal that input block 10 produces every time.Main control unit 30 is i.e. according to the number of times of this induced signal, the intensity of induced signal, the persistent period of each induced signal and the time interval of the most adjacent twice induced signal determine dynamics that user taps on input block 10 respectively, time interval between the finger time of staying and adjacent twice hammer action on the touchscreen when every time tapping.
Memory element 20 internal memory contains multiple music file and multiple and described music file music rhythm file one to one.In the present embodiment, music file is stored in external memory storage 21, multiple during music rhythm file is then stored in memory element 20 one to one with described music file.
Main control unit 30 includes that rhythm acquisition module 31, input respond module 32, rhythm analyze module 33, rhythm contrast module 34 and result output module 35.
Rhythm acquisition module 31 is the cadence information of multiple music files of storage in obtaining memory element 20, and the cadence information of acquisition generates one with described music file during music rhythm file is stored in memory element 20 one to one.Wherein, in music rhythm file, the cadence information of storage includes the tempo of music, putting in order of the umber of beats of every trifle and every trifle strong beat and weak beat.In the present embodiment, the beat information obtaining music or song files is to use the audio signal to music or song files to sample, obtain one group of note pulse comprising tempo characteristic, through digital filter after quantization, filter the frequency of the beat of correspondence, finally obtain the beat information of this music or song files.In other modes, music or the beat information of song files.
Input respond module 32 is for receiving multiple induced signals that input block 10 produces, and judge dynamics value that user taps on the touchscreen, the user number of taps on input block 10 according to the multiple induced signals received, from tapping the percussion information such as the time interval that starts to last time and adjacent two hammer action tapping and terminating for the first time, and described percussion information is sent to rhythm analysis module 33.Wherein, when this input respond module 32 does not receives induced signal in the scheduled time (such as 10 seconds) after receiving an induced signal, it is judged that the percussion that this induced signal is corresponding is last percussion.
Rhythm is analyzed module 33 and is received the percussion information that input respond module 32 sends, and determines the cadence information of music rhythm that user inputs according to described touch information.Rhythm is analyzed module 33, according to the time interval between adjacent two hammer action, music rhythm is divided into multiple trifle, and the umber of beats judged in music rhythm in each trifle according to user's number of taps on input block 10 in each trifle, then the dynamics value tapped on the touchscreen according to user judges that each bat is strong beat or weak beat, start to the last time tapping end and user to input the number of times of percussion to judge the tempo (beat number the most per minute, bpm) of music rhythm further according to tapping from for the first time.
Concrete, rhythm is analyzed module 33 and is recorded and start to last to tap second time T terminated and times N that user taps is to judge the tempo M of music rhythm, wherein M=N*60/T from tapping for the first time.
Music rhythm is divided into multiple trifle according to the time interval between adjacent two hammer action and is by rhythm analysis module 33: judge that the time interval between adjacent two hammer action whether more than a preset value, is the most then judged as that next saves;If it is not, be then judged as this section, next is clapped, thus music rhythm is divided into multiple trifle.Meanwhile, the umber of beats that rhythm analysis module 33 judges in music rhythm in each trifle is: records user's number of taps on input block 10 in each trifle, determines the umber of beats of each trifle.Rhythm is analyzed module 33 and is judged that each bat is strong beat or weak beat is according to the dynamics value that user taps on the touchscreen: rhythm analyzes whether the dynamics value that module 33 judges that user taps on the touchscreen is more than a preset value, the most then be judged as strong beat;If it is not, be then judged as weak beat.Meanwhile, rhythm is analyzed module 33 and is recorded putting in order of strong beat and weak beat in every trifle.
Rhythm is analyzed cadence information (the tempo M of the music rhythm of user's input that module 33 calculates by rhythm contrast module 34, every umber of beats of trifle and putting in order of every trifle strong beat weak beat) contrast with the cadence information of storage in music rhythm file, if the cadence information of music rhythm file is with the music rhythm that user inputs is consistent or similarity is more than a predetermined value (music rhythm of such as 80 percent is identical), then it is judged as qualified music rhythm file;If the cadence information of music rhythm file is less than this predetermined value with the similarity of the music rhythm of user's input, then it is judged as ineligible music rhythm file.
The music file that qualified music rhythm file is corresponding searched for by result output module 35, and shown on display unit 40 by this music file.
Refer to Fig. 2, the music file search method flow process in an embodiment of the present invention comprises the steps:
Step S1, input block 10 responds user's percussion input action on the touchscreen and produces corresponding induced signal.
Step S2, input respond module 32 judges, according to this induced signal, the dynamics value that user taps on the touchscreen, from tapping the time interval started to last time and adjacent two hammer action tapping end for the first time.
Step S3, rhythm is analyzed dynamics value that module 33 taps on the touchscreen according to user, is determined that user taps the cadence information of input from tapping for the first time the time interval started to last time and adjacent two hammer action tapping and terminating.
Concrete, rhythm analysis module 33 records to tap from for the first time and starts to the last time T tapping end and user to input the times N of percussion to judge the tempo M of music rhythm, wherein M=N*60/T.
Rhythm is analyzed module 33 and is judged that the time interval between adjacent two hammer action whether more than a preset value, is the most then judged as that next saves;If it is not, be then judged as this section, next is clapped, thus music rhythm is divided into multiple trifle;Meanwhile, rhythm is analyzed module 33 and is recorded user's number of taps on input block 10 in each trifle, determines the umber of beats of each trifle.Rhythm analysis module 33 judges whether the dynamics value that user taps on the touchscreen is more than a preset value, the most then be judged as strong beat;If it is not, be then judged as weak beat.Rhythm is analyzed module 33 record and is judged putting in order of strong beat and weak beat in every trifle simultaneously.
Step S4, rhythm is analyzed the user that module 33 calculates and is tapped the cadence information stored in cadence information and the music rhythm file of the music rhythm of input and contrast by rhythm contrast module 34, judge that the cadence information of music rhythm file is the most consistent with the music rhythm that user inputs or similarity is more than a predetermined value, if, then it is judged as qualified music rhythm file, enters step S5;If it is not, be then judged as ineligible music rhythm file, continue step S4.
Step S5, result output module 35 is searched for the music file that qualified music rhythm file is corresponding, and is shown on display unit 40 by this music file.
User is forgetting or is not knowing song title, in the case of the information such as singer, have only to remember the part music rhythm of this song and rhythm, just can be by tapping input cadence information according to corresponding melody and rhythm on input block 10, multimedia playing apparatus 100 just can quickly search qualified music file.
Those skilled in the art will be appreciated that; above embodiment is intended merely to the present invention is described; and it is not used as limitation of the invention; as long as within the spirit of the present invention, that is made above example suitably changes and changes all to fall within the scope of protection of present invention.

Claims (7)

1. a multimedia playing apparatus, this device includes:
Input block, responds the percussion of user and produces corresponding induced signal;
Memory element, be used for storing multiple music file and multiple with described music file one by one Corresponding music rhythm file;
Display unit, is stored in the music file in described memory element for display;And,
Main control unit, including:
Rhythm acquisition module, for obtaining the rhythm of each music file of memory cell storage Information, and by each cadence information generation one obtained and corresponding music file one_to_one corresponding Music rhythm file and be stored in memory element, described cadence information includes the beat of music Putting in order of speed, the umber of beats of every trifle and every trifle strong beat and weak beat;
Input respond module, for receiving the induced signal that input block produces, determines and includes using Dynamics value that family taps on the input unit, user number of taps on the input unit, from A beat starts between last time and adjacent two hammer action tapping and terminating The percussion information of time interval;
Rhythm analyzes module, determines, according to described a certain specific percussion information, the sound that user inputs The cadence information of happy rhythm;
Rhythm contrast module rhythm is analyzed the cadence information of user's input that module calculates with Cadence information in music rhythm file contrasts, it is judged that the cadence information of music rhythm file The most consistent with the music rhythm of user's input, if the cadence information of music rhythm file and user The music rhythm of input is consistent or similarity is more than a predetermined value, then be judged as qualified sound Happy rhythm file;If the phase of the music rhythm that the cadence information of music rhythm file inputs with user Like degree less than this predetermined value, then it is judged as ineligible music rhythm file;And
Result output module, for searching for the music literary composition that qualified music rhythm file is corresponding Part, and this music file is shown on the display unit.
2. multimedia playing apparatus as claimed in claim 1, it is characterised in that: described rhythm Analyze module and music rhythm is divided into many according to the time interval between adjacent two hammer action Individual trifle, and judge the Music Day according to user's number of taps on the input unit in each trifle Play the umber of beats in each trifle.
3. multimedia playing apparatus as claimed in claim 2, it is characterised in that: described rhythm Analyze module and judge that each bat is strong beat or weak according to the dynamics value that user taps on the touchscreen Clap, and record putting in order of strong beat and weak beat in every trifle.
4. multimedia playing apparatus as claimed in claim 1, it is characterised in that: described rhythm Analyze module record from for the first time tap start to last tap second time T terminated and The times N time that user taps, judges the tempo M of music rhythm, wherein M=N*60/T.
5. multimedia playing apparatus as claimed in claim 1, it is characterised in that: described input Unit is a pressure type touch screen.
6. a Musicfile search method, it is characterised in that comprise the steps:
A. response user's percussion input action on the touchscreen and produce corresponding induced signal
B. the percussion power angle value of user is judged according to described induced signal, from the beginning of tapping for the first time Time interval between last time and adjacent two hammer action tapping and terminating;
C. according to the percussion power angle value of user, from first time, percussion starts to tapping knot for the last time Time interval between time and adjacent two hammer action of bundle determines that user taps the joint of input Playing information, described cadence information includes the tempo of music, the umber of beats of every trifle and the least Joint strong beat and the putting in order of weak beat;
D. a certain specific user calculated is tapped the rhythm letter of the music rhythm of input Cease and contrast with the cadence information of storage in music rhythm file, it is judged that music rhythm file Cadence information is the most consistent with the music rhythm that user inputs or similarity is more than a predetermined value, if It is then to be judged as qualified music rhythm file, enters step e;If it is not, then judge For ineligible music rhythm file, continue step d;
E. the music file that qualified music rhythm file is corresponding is searched for;
G. described music file is carried out output display.
7. Musicfile search method as claimed in claim 6, it is characterised in that described step Rapid step c1 that also includes between c with described step d: according between adjacent two hammer action time Between interval judge the umber of beats in each trifle of music rhythm.
CN201210198021.XA 2012-06-15 2012-06-15 Musicfile search method and multimedia playing apparatus Active CN103514158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210198021.XA CN103514158B (en) 2012-06-15 2012-06-15 Musicfile search method and multimedia playing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210198021.XA CN103514158B (en) 2012-06-15 2012-06-15 Musicfile search method and multimedia playing apparatus

Publications (2)

Publication Number Publication Date
CN103514158A CN103514158A (en) 2014-01-15
CN103514158B true CN103514158B (en) 2016-10-12

Family

ID=49896899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210198021.XA Active CN103514158B (en) 2012-06-15 2012-06-15 Musicfile search method and multimedia playing apparatus

Country Status (1)

Country Link
CN (1) CN103514158B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102659A (en) * 2013-04-09 2014-10-15 华为技术有限公司 Music searching method and terminal
CN104598152A (en) * 2014-12-31 2015-05-06 惠州Tcl移动通信有限公司 Terminal based on handwriting input or calligraphy input and synchronous accompanying sound playing method thereof
CN105391764B (en) * 2015-10-14 2019-07-05 小米科技有限责任公司 For monitoring the method and device of devices for learning musical instruments
CN105487788B (en) * 2016-01-20 2018-12-11 广东欧珀移动通信有限公司 A kind of music information real time acquiring method and device
CN111506765B (en) * 2020-04-03 2023-09-05 咪咕音乐有限公司 Method, device, electronic equipment and storage medium for controlling music playing rhythm
CN113742514B (en) * 2021-09-03 2023-11-24 林飞鹏 Music accurate searching method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006106818A (en) * 2004-09-30 2006-04-20 Toshiba Corp Music retrieval device, music retrieval method and music retrieval program
CN101203904A (en) * 2005-04-18 2008-06-18 Lg电子株式会社 Operating method of a music composing device
CN101853650B (en) * 2009-04-03 2012-04-25 王路露 Music processing and output system and method thereof
CN101673540A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Method and device for realizing playing music of mobile terminal
WO2012074070A1 (en) * 2010-12-01 2012-06-07 ヤマハ株式会社 Musical data retrieval on the basis of rhythm pattern similarity

Also Published As

Publication number Publication date
CN103514158A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103514158B (en) Musicfile search method and multimedia playing apparatus
US10049675B2 (en) User profiling for voice input processing
US8751030B2 (en) Audio player and operating method automatically selecting music type mode according to environment noise
CN104581351A (en) Audio/video recording method, audio/video playing method and electronic device
US7698092B2 (en) Portable electronic apparatus, operation control method, operation control program, signal generation apparatus and signal generation method
TWI454942B (en) A method and apparatus for accessing an audio file from a collection of audio files using tonal matching
TWI651645B (en) A music playing system, method and electronic device
US20070100481A1 (en) System and method for organizing information
CN101794208A (en) The audio user interface that is used for the electronic equipment of displayless
CN103002139A (en) Unlocking method of touch screen terminal
WO2017028686A1 (en) Information processing method, terminal device and computer storage medium
US20140114656A1 (en) Electronic device capable of generating tag file for media file based on speaker recognition
CN101004938A (en) Apparatus and method for reproducing audio signal
CN101197180B (en) Player and method for playing media file
US20100222905A1 (en) Electronic apparatus with an interactive audio file recording function and method thereof
JP2005227850A (en) Device and method for information processing, and program
Davies et al. Beat tracking towards automatic musical accompaniment
CN106066780B (en) Running data processing method and device
US20130339349A1 (en) Method and apparatus for music searching
CN104765821A (en) Voice frequency ordering method and device
CN103678533B (en) A kind of method and apparatus for handling chart data
TWI434211B (en) Interactive video and audio playing system and using method thereof
JP4885752B2 (en) Audio equipment
KR101039762B1 (en) Method of searching a tune in a karaoke player using the words of a song
Wang et al. Music search engine with virtual musical instruments playing interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180226

Address after: Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Patentee after: Ambit Microsystems (Shanghai) Co., Ltd.

Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Ambit Microsystems (Shanghai) Co., Ltd.