CN101902530B - Mobile terminal and method for outputting music - Google Patents
Mobile terminal and method for outputting music Download PDFInfo
- Publication number
- CN101902530B CN101902530B CN201010243539.1A CN201010243539A CN101902530B CN 101902530 B CN101902530 B CN 101902530B CN 201010243539 A CN201010243539 A CN 201010243539A CN 101902530 B CN101902530 B CN 101902530B
- Authority
- CN
- China
- Prior art keywords
- button
- information
- pressed
- portable terminal
- keyboard
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000006698 induction Effects 0.000 claims description 28
- 230000015572 biosynthetic process Effects 0.000 claims description 24
- 238000003786 synthesis reaction Methods 0.000 claims description 24
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 claims description 9
- 229910052802 copper Inorganic materials 0.000 claims description 9
- 239000010949 copper Substances 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 7
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 19
- 238000013507 mapping Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 239000012467 final product Substances 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 240000002853 Nelumbo nucifera Species 0.000 description 1
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 1
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to the field of electronic technology, in particular to a method and equipment for outputting music for solving the problem that a user cannot play music through a mobile terminal in the prior art. The method in the embodiment of the invention comprises the following steps that: the mobile terminal detects whether a key is pressed down; the mobile terminal records key information of the pressed key when determining that the key is pressed down; the mobile terminal determines note information corresponding to the recorded key information according to the correspondence between the preset key information and the note information; and the mobile terminal outputs sound according to current music instrument information and the determined note information. Because the mobile terminal can record the key information of the pressed key when determining that one key is pressed down and output the sound according to the current music instrument information and the note information, the music can be played through the mobile terminal.
Description
Technical field
The present invention relates to electronic technology field, particularly the method for a kind of portable terminal and outputting music thereof.
Background technology
Using electronic equipment to perform music all is to realize by MIDI (Musical Instrument Digital Interface, musical instrument digital interface) technology.This technology has two kinds of implementations usually: a kind of is the action that electronic musical instrument such as electronic piano keyboard, electronic guitar keyboard etc. by specialty collect musical performance person, and according to certain coding rule it is become the discernible digital signal of MIDI synthesizer, and be transferred to the MIDI synthesizer; Another kind is that MCU (microcontroller) reads the file that stores the MIDI sequence, and it is passed to the MIDI synthesizer according to set form with the form of digital signal.The MIDI synthesizer receives that above dual mode transmits and next signal, searches corresponding waveform table, by simple calculations and synthetic, the sonorific signal of telecommunication.This signal of telecommunication is again through amplifying and by electro-acoustic elements such as earphone, loud speakers, can restoring voice signal.
Nearly music phone that came into vogue in 2 years promotes with having qualitatively significantly from quantity.Its main feature is high tone quality, large volume and low distortion.This music phone can satisfy the demand of domestic consumer, but for the audiophile, and they are not merely to listen simply like this to the requirement of music phone, but more wish and can oneself perform music.But the scheme of also not performing music by mobile phone at present.
In sum, the user can't pass through playing music of mobile terminal at present.
Summary of the invention
The embodiment of the invention provides the method for a kind of portable terminal and outputting music thereof, can't be by the problem of playing music of mobile terminal in order to solve the user who exists in the prior art.
The embodiment of the invention provides a kind of on portable terminal the method for outputting music, the method comprises:
Detect whether a button is pressed;
When determining that a button is pressed, record the key information of the button that is pressed;
According to the corresponding relation of predefined key information and note information, determine the note information corresponding to key information of record;
According to current instrument information and definite note information output sound.
A kind of portable terminal that the embodiment of the invention provides, this equipment comprises:
Induction module for detection of whether a button is pressed, when determining that a button is pressed, records the key information of the button that is pressed;
Trigger module is used for the corresponding relation according to predefined key information and note information, determines the note information corresponding to key information of record;
Synthesis module is used for according to current instrument information and definite note information output sound.
Because portable terminal can record the key information of the button that is pressed when determining that a button is pressed, according to current instrument information and note information output sound, thereby can pass through playing music of mobile terminal.
Description of drawings
Fig. 1 is the mobile terminal structure schematic diagram of the embodiment of the invention;
Fig. 2 A is the keyboard end view at the embodiment of the invention portable terminal back side;
Fig. 2 B is that the keyboard at the embodiment of the invention portable terminal back side is opened view;
Fig. 3 is embodiment of the invention press-key structure profile;
Fig. 4 is that embodiment of the invention finger sensing touches schematic diagram;
Fig. 5 is that the embodiment of the invention triggers schematic diagram;
Fig. 6 is the method flow schematic diagram of embodiment of the invention outputting music on portable terminal;
Fig. 7 is embodiment of the invention control flow chart;
Fig. 8 is embodiment of the invention induction flow chart.
Embodiment
Embodiment of the invention portable terminal records the key information of the button that is pressed when determining that a button is pressed; Portable terminal is determined the note information corresponding to key information of record according to the corresponding relation of predefined key information and note information; Portable terminal is according to current instrument information and definite note information output sound.Because portable terminal can record the key information of the button that is pressed when determining that a button is pressed, according to current instrument information and note information output sound, thereby can pass through playing music of mobile terminal.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
As shown in Figure 1, the portable terminal of the embodiment of the invention comprises: induction module 10, trigger module 20 and synthesis module 30.
The induction module 10 of the embodiment of the invention can be touch sensible IC; Trigger module 20 can be MCU; Synthesis module 30 can be the MIDI synthesizer.
Wherein, whether induction module 10 can detect each button according to the time cycle of setting and be pressed, and detects once such as 10ms.The concrete time can be set as required.
The button of the embodiment of the invention can be by the button of electrical principle realization, and concrete button can be referring to Fig. 3.
Among Fig. 3, keyboard by be positioned at uppermost button, circuit board in the middle of being positioned at and be positioned at following casing and form.
The surface of keyboard is one deck plastic decorating part.There is the projection of certain altitude on the border of each key on the decoration, allows the user can feel in use key position and zone.Decoration does not contain electric conducting material, in order to avoid affect circuit working.Better, there is projection in the zone of each button, makes things convenient for the user to use.
Circuit board in the middle of being positioned at can be FPC (Flexible Printed Board, flexible circuit board) or PCB (Printed Circuit Board, printed circuit board (PCB)) plate, the variation of the electrical quantity that the action of each button causes, collect by the circuit on these circuit boards in the capital, and then deliver to induction module 10 and process.
Being positioned at following casing effect is the intensity of strengthening button, has supporting role.
Embodiment of the invention button can be as follows by the principle that circuit gathers: suppose it is pcb board.Pcb board forms (specifically referring to Fig. 4) by the circuit trace of nonconducting base material and conduction, and circuit trace is the copper sheet of special despatch.Wherein, the conductive copper surface that is in the button below amasss larger.Have and form a capacitor between the copper sheet of conductivity and the plastic decorating part.If for copper sheet charging lotus, can produce opposite electric charge at adjacent with it plastic decorating part.If at this time go near to or in contact with plastic decorating part with hand, just changed the characteristic of a pole plate of electric capacity, corresponding meeting causes that the parameter of electric capacity changes, thereby causes electric charge to flow into or the outflow copper sheet.Flowing of electric charge just forms electric current, and this electric current is exaggerated and processes, and the action that just people is touched plastic decorating part becomes the signal of telecommunication.Because firmly during button, the area that finger contacts with keyboard can become greatly, thereby the capacitance variation amount also can strengthen, electric current also can become large so.
Need to prove, the embodiment of the invention is not limited to the button of the realization of electrical principle, and the button of other principles is the applicable embodiment of the invention too, such as mechanical key.
In implementation, whether each button of induction module 10 cycle detections is pressed, when having detected the electric current generation, determine corresponding button, and the current value that induces is quantized into the capacitance variation amount, when the capacitance variation amount is higher than threshold value corresponding to definite button, determine that this button is pressed, wherein electric current produces when button is pressed, and the larger capacitance variation amount of the area that button is touched is larger.That is to say, induction module 10 can detect separately each button, and each button has corresponding threshold value.The size of the threshold value that each button is corresponding can be all identical, and is also can part identical, can be entirely not identical yet, specifically can set as required.Detect owing to can carry out multiple point touching, thereby can export simultaneously more sound, satisfy the demand of different user.
Because the variation of electric current is that former capacitance in the button place changes, so can calculate the capacitance at current button place by the variation of current value.
Concrete, each button is connected to separately an input pin of induction module 10.During induction module 10 work, each input of meeting Polling, every detection one time can be recorded current which button and be pressed, and the key information and the dynamics information that are pressed are passed to trigger module 20.And then start and take turns detection.Trigger module 20 just allows synthesis module 30 pronounce, until receive the data of induction module 10 next time after receiving transmission last time always.If also have this note to be pressed in the induction module 10 next time, synthesis module 30 continues to send the sound of this note so, the volume that the dynamics information adjustment that while trigger module 20 is come according to new biography is pronounced at this moment.Realize the playing techniques such as trill with this, strengthen playing effect.If in the data of the induction module of receiving 10 next time, the action that does not have this button to be pressed so just stops the pronunciation of this note at once.If there are a plurality of buttons to be pressed, when transmitting data so at every turn, just a plurality of button data according to certain rule (such as according to button from left to right or dynamics information order from big to small) pass to trigger module 20.
In implementation, induction module 10 detects at current period does not have button to be pressed, and upper when a cycle, a button is pressed, and notification triggers module 20 does not have button to be pressed; Trigger module 20 triggers synthesis module 30 and stops output sound after notified.
Because induction module 10 can detect separately each button, on which button capacitance variations is arranged, and just illustrates which button has touch action; Then the capacitance variation threshold value corresponding with this button that produces compared, if capacitance variation is higher than threshold value corresponding to definite button, determine that then this button is pressed, and at this moment just records key information.Namely specifically which button is pressed (such as being marking keys), then key information is exported to trigger module 20, such as adopting interrupt mode that key information is exported to trigger module 20, and specifically can be referring to Fig. 5.
In case finger leaves button, then capacitance diminishes, and electric capacity can discharge, and can detect accordingly the reverse flow of electric current.Same, can calculate the capacitance size at button place by the electric current of reverse flow.When the capacitance variation amount is lower than threshold value, think that just finger has left button.
Need to prove, the interrupt mode among Fig. 5 realizes by the 12C mode, according to dissimilar trigger module 20, can also adopt bus mode, serial mode.
Similar with Fig. 5, the information that trigger module 20 is exported to synthesis module 30 also can adopt interrupt mode, does not repeat them here.
The key information here and the corresponding relation of note information can be set as required.Preset the corresponding relation of a key information and note information, because the user needs rising tune or falling tone, at this moment just needed to change the corresponding relation of key information and note information.That is to say, the embodiment of the invention can be selected interval.Be that this interval can satisfy the needs of general popular songs from " bass 5 " to " high pitch 4 " such as from top to bottom note corresponding to key among default conditions figure below 2B.But under some state, such as the performance guitar of changing voice, this interval just may be improper, at this time just needs to change interval corresponding to each key on the keyboard.When changing interval, only need to select the initial note of keyboard to get final product, the arrangement of residue note is fully according to the MIDI standard.
In order to allow the present embodiment send the sound of multiple musical instrument, trigger module 20 also needs to determine current instrument information here, selects piano such as the user, determines that then current instrument information is piano.If the user does not select instrument information, then select the instrument information of last time or the instrument information of initial setting up.Then trigger module 20 is exported to synthesis module 30 with instrument information and note information.Synthesis module 30 produces the signal of telecommunication according to instrument information and the note information received, restores voice signal by electro-acoustic elements such as earphone, loud speakers.
Further, trigger module 20 can also be determined information volume, and information volume is exported to synthesis module 30; Accordingly, synthesis module 30 produces the signal of telecommunication according to information volume, instrument information and the note information received, restores voice signal by electro-acoustic elements such as earphone, loud speakers.
The sound that sends for the button that makes the embodiment of the invention more levels off to the sound that true button sends, and the embodiment of the invention has added a dynamics information.That is to say, the different strength sound that sends that pushes button varies in size.The variation of capacitance can sensed module 10 perception, and when capacitance variation amount greatly to a certain extent when (this degree can be passed through software set), induction module 10 just sends signal to trigger module 20, notifies its certain button to be pressed.Because firmly during button, the area that finger contacts with keyboard can become greatly, thereby the capacitance variation amount also can strengthen, this information also can sensed module 10 detect and record.This index also can pass to trigger module 20 with the information that above certain button is pressed, as dynamics information.This dynamics information exchange is crossed and is become dynamics information that synthesis module 30 can identify after the conversion of trigger module 20 and pass to synthesis module 30 with note information.The final like this sound of hearing has not only reduced the corresponding sound of note, more can embody the volume fluctuations of a song.That is to say, firmly during button, finger can become large with the contact area of button to the player.Larger contact area can produce larger electric capacity.Therefore, can determine according to the size of capacitance the magnitude relationship of keystroke dynamics.
Concrete, induction module 10 records the dynamics information of the button that is pressed when determining that a button is pressed; Trigger module 20 is determined the volume corresponding to dynamics information of record according to the corresponding relation of predefined dynamics information and information volume; Synthesis module 30 is according to current instrument information, definite note information and definite information volume output sound.
In implementation, induction module 10 determine the to be pressed capacitance variation amount of button is namely determined the capacitance variation amount according to the current value of sensing; Trigger module 20 records the affiliated dynamics information corresponding to capacitance variation weight range of capacitance variation amount of the button that is pressed according to the corresponding relation of predefined capacitance variation weight range and dynamics information.
Because finger firmly was accustomed to when everyone played, the mobile phone size can not be identical, the dynamics that shows when therefore playing just can not be identical.Thereby the volume of playing out can be not identical yet.Therefore the present embodiment has been set an option that volume is adjustable for the user.The user changes this option, and actual is the corresponding relation that has changed capacitance variation weight range and dynamics information.Owing to can regulate volume according to dynamics, thereby more level off to real playing effect, having improved user's experience.
Different users, not identical for the demand of function yet, want solo such as the user who has, and some users want accompaniment.
The embodiment of the invention can also realize the switching of solo accompaniment.For solo, the user directly plays just can.
For accompaniment, need the user to select in advance an accompaniment file, be the file of MIDI such as extension name.
Concrete, accompaniment file is comprised of according to the time order and function order many information such as musical instrument, note, volume that comprised.
That is to say, trigger module 20 is ranked the output information of accompaniment file and the information of actuation of keys triggering, sequencing according to the time inputs to synthesis module 30, so can realize will performance note and the note groups in the MIDI file pronounce altogether, thereby player's performance is fused in the middle of the accompaniment.
Especially, the volume adjusting function described in the present embodiment can be used for the big or small proportion relation of sound that the balance player plays out and accompaniment sound, thereby makes two more perfect fusions of sound.
Need to prove, embodiment of the invention accompaniment file is not limited to the file that extension name is MIDI, and the file of other types also can be realized this function.This function mainly depends on the music file which kind of type synthesis module 30 can identify.
The button output sound that the user provides on can the portable terminal by the embodiment of the invention, and the keyboard of carrying button can place the back side of portable terminal.
To be mobile phone take portable terminal describe as example the below.Other portable terminals and cell phone type seemingly repeat no more.
Among Fig. 2 A and Fig. 2 B, the bonnet of mobile phone is a folding piano key keyboard.Keys and keyboard by be positioned at uppermost button, circuit board in the middle of being positioned at and be positioned at following casing and form; Circuit board is used for after the button of keys and keyboard is pressed, and the area generation current according to button is touched detects for induction module.
The button of keyboard has 14 white keys, has contained two intervals.The arrangement of Bai Jian is arranged sequentially according to from " bass 5 " to " high pitch 4 ".Simultaneously, also have the three functions key at button, be used for finishing the functions such as rising tune, falling tone, time-out (rising tune, falling tone for regulating interval, also can change as required function key institute's corresponding function and more function key is set in fact).In the implementation, the position of function key can at other positions of mobile phone, be not position shown in the figure yet; Certainly, function key can also not wanted in the mobile phone back side, is replaced by certain or some button in mobile phone front.
Need to prove, the embodiment of the invention is not limited to folded style, and other patterns are the applicable embodiment of the invention too, such as the slip lid pattern, and dull and stereotyped pattern, upset pattern etc.; The pattern of keyboard also is not limited to the pattern among Fig. 2 B, and other patterns are the applicable embodiment of the invention also.
As shown in Figure 6, embodiment of the invention method of outputting music on portable terminal comprises the following steps:
In the step 601, whether portable terminal can detect each button according to the time cycle of setting and be pressed, and detects once such as 10ms.The concrete time can be set as required.
In implementation, whether mobile terminal period detects each button and is pressed, when having detected the electric current generation, determine corresponding button, and the current value that induces is quantized into the capacitance variation amount, when the capacitance variation amount is higher than threshold value corresponding to definite button, determine that this button is pressed, wherein the capacitance variation amount produces when button is pressed, and the larger capacitance variation amount of the area that button is touched is larger.That is to say, portable terminal can detect separately each button in the step 601, and each button has corresponding threshold value.The size of the threshold value that each button is corresponding can be all identical, and is also can part identical, can be entirely not identical yet, specifically can set as required.Because each button is an only pin senses by induction chip, detect thereby can carry out multiple point touching, thereby can export simultaneously more sound, satisfy the demand of different user.
If detecting at current period does not have button to be pressed, and upper when a cycle, a button is pressed, stop output sound.
In the step 602, portable terminal according to the corresponding relation of predefined key information and note information, is determined the note information corresponding to key information of record behind the record key information.
The key information here and the corresponding relation of note information can be set as required.Preset the corresponding relation of a key information and note information, because the user needs rising tune or falling tone, at this moment just needed to change the corresponding relation of key information and note information.That is to say, the embodiment of the invention can be selected interval.Note such as correspondence under the default conditions is that this interval can satisfy the needs of general popular songs from " bass 5 " to " high pitch 4 ".But under some state, such as the performance guitar of changing voice, this interval just may be improper, at this time just needs to change interval corresponding to each key on the keyboard.When changing interval, only need to select the initial note of keyboard to get final product, the arrangement of residue note is fully according to the MIDI standard.
Because the sound that each musical instrument sends is not identical, also need here to determine current instrument information, select piano such as the user, determine that then current instrument information is piano.If the user does not select instrument information, then select the instrument information of last time or the instrument information of initial setting up.In the step 603, portable terminal produces the signal of telecommunication according to instrument information and note information, restores voice signal by electro-acoustic elements such as earphone, loud speakers.
Further, in the step 602, portable terminal can also be determined information volume; Accordingly, in the step 603, portable terminal produces the signal of telecommunication according to information volume, instrument information and the note information received, restores voice signal by electro-acoustic elements such as earphone, loud speakers.
The sound that sends for the button that makes the embodiment of the invention more levels off to the sound that true button sends, and the embodiment of the invention has added a dynamics information.Concrete, in the step 601, portable terminal records the dynamics information of the button that is pressed when determining that a button is pressed; In the step 602, portable terminal is determined the volume corresponding to dynamics information of record according to the corresponding relation of predefined dynamics information and information volume; In the step 603, portable terminal is according to current instrument information, definite note information and definite information volume output sound.
In the step 601, portable terminal determine the to be pressed capacitance variation amount of button, after being about to sense current value and being quantized into the capacitance variation amount, according to the corresponding relation of predefined capacitance variation weight range and dynamics information, record the affiliated dynamics information corresponding to capacitance variation weight range of capacitance variation amount of the button that is pressed.The corresponding relation of capacitance variation weight range and dynamics information can be set as required.
Because finger firmly was accustomed to when everyone played, the mobile phone size can not be identical, the dynamics that shows when therefore playing just can not be identical.Thereby the volume of playing out can be not identical yet.Therefore the present embodiment has been set an option that volume is adjustable for the user.The user changes this option, and actual is the corresponding relation that has changed capacitance variation weight range and dynamics information.Owing to can regulate volume according to dynamics, thereby more level off to real playing effect, having improved user's experience.
Different users, not identical for the demand of function yet, want solo such as the user who has, and some users want accompaniment.
The embodiment of the invention can also realize the switching of solo accompaniment.For solo, the user directly plays just can.
For accompaniment, need the user to select in advance an accompaniment file, be the file of MIDI such as extension name.
In the step 603, portable terminal reads the accompaniment file of selection according to the instrument information in the accompaniment file of user selection, note information and information volume output sound.
Concrete, accompaniment file is comprised of according to the time order and function order many information such as musical instrument, note, volume that comprised.
In the enforcement, at first read the accompaniment file of selection, determine then when each note is exported, and in corresponding time input.
That is to say, in the step 603, portable terminal is ranked the output information of accompaniment file and the information of actuation of keys triggering, sequencing input according to the time, so can realize will performance note and the note groups in the MIDI file pronounce altogether, thereby player's performance is fused in the middle of the accompaniment.
Especially, the volume adjusting function described in the present embodiment can be used for the big or small proportion relation of sound that the balance player plays out and accompaniment sound, thereby makes two more perfect fusions of sound.
Need to prove, embodiment of the invention accompaniment file is not limited to the file that extension name is MIDI, and the file of other types also can be realized this function.
The main body that a kind of embodiment of the present invention is execution in step 601 is the touch sensible IC in the portable terminal, and the main body of execution in step 602 is the MCU in the portable terminal, and the main body of execution in step 603 is the MIDI synthesizers in the portable terminal.
Need to prove, the executive agent of three steps of the embodiment of the invention is not limited to touch sensible IC, MCU and MIDI synthesizer, other electronic devices that can finish above-mentioned three steps are the applicable embodiment of the invention also, can be all finished by integrated CPU in the portable terminal of above three functions such as above-mentioned three steps; Can also have a module in the portable terminal to finish by partial function (such as two steps), all the other functions be finished by another module in the portable terminal.
If the main body of execution in step 601 is the touch sensible IC in the portable terminal, main body in the portable terminal of execution in step 602 is MCU, the main body of execution in step 603 is the MIDI synthesizers in the portable terminal, and then embodiment of the invention control flow and induction flow process are respectively referring to Fig. 7 and Fig. 8.
As shown in Figure 7, embodiment of the invention control flow comprises the following steps:
During the information of the accompaniment file that step 706, MCU need to be exported in the current time, determine corresponding instrument information, note information and information volume; In the time of need to exporting the information of the touch sensible IC that receives in the current time, according to musical instrument mapping table, volume mapping table and note mapping table, determine corresponding instrument information, note information and information volume.
As shown in Figure 8, embodiment of the invention touch sensible control flow comprises the following steps:
The embodiment of the invention detects whether a button is pressed; Portable terminal records the key information of the button that is pressed when determining that a button is pressed; Portable terminal is determined the note information corresponding to key information of record according to the corresponding relation of predefined key information and note information; Portable terminal is according to current instrument information and definite note information output sound.
Because portable terminal can record the key information of the button that is pressed when determining that a button is pressed, according to current instrument information and note information output sound, thereby can pass through playing music of mobile terminal.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (7)
1. the method for an outputting music on portable terminal is characterized in that, there is a keys and keyboard at the back side of described portable terminal, and described keys and keyboard is comprised of button, circuit board and casing, and described circuit board is between button and casing, and the method comprises:
Mobile terminal period detects whether each button is pressed on the keys and keyboard, be specially: portable terminal is when detecting induced current, determine corresponding button, and the current value that induces is quantized into the capacitance variation amount, when the capacitance variation amount is higher than threshold value corresponding to definite described button, determine that described button is pressed; Wherein, described induced current is after described button is pressed, and the parameter of the electric capacity between the conduction copper sheet on the described circuit board of described button below changes generation, wherein, when button is pressed, larger with the larger capacitance variation amount of the area that contacts between the conduction copper sheet on the circuit board of described button below;
Portable terminal records the key information of the button that is pressed when determining that a button is pressed; And
When determining that a button is pressed, record the dynamics information of the button that is pressed, be specially: portable terminal records the affiliated dynamics information corresponding to capacitance variation weight range of capacitance variation amount of the button that is pressed according to the corresponding relation of predefined capacitance variation weight range and dynamics information;
Portable terminal is determined the note information corresponding to key information of record according to the corresponding relation of predefined key information and note information; And
Portable terminal is determined the volume corresponding to dynamics information of record according to the corresponding relation of predefined dynamics information and information volume;
Portable terminal is according to current instrument information, definite note information and definite information volume output sound.
2. the method for claim 1 is characterized in that, described portable terminal output sound comprises:
Portable terminal is according to the instrument information in the accompaniment file of user selection, note information and information volume output sound.
3. method as claimed in claim 1 or 2 is characterized in that, the method also comprises:
Portable terminal detects keys and keyboard at current period does not have button to be pressed, and when a button is pressed on the upper cycle keys and keyboard, stops output sound.
4. a portable terminal is characterized in that, there is a keys and keyboard at the back side of described portable terminal, and described keys and keyboard is comprised of button, circuit board and casing, and described circuit board also comprises between button and casing:
Induction module is used for whether each button is pressed on the cycle detection keys and keyboard, when determining that a button is pressed, records the key information of the button that is pressed; Whether a button is pressed in described detection, be specially: when detecting induced current, determine corresponding button, and the current value that induces is quantized into the capacitance variation amount, when the capacitance variation amount is higher than threshold value corresponding to definite described button, determine that described button is pressed; Wherein, described induced current is after described button is pressed, and the parameter of the electric capacity between the conduction copper sheet on the described circuit board of described button below changes generation, wherein, when button is pressed, larger with the larger capacitance variation amount of the area that contacts between the conduction copper sheet on the circuit board of described button below; And when a button is pressed on determining keys and keyboard, record the dynamics information of the button that is pressed, be specially the corresponding relation according to predefined capacitance variation weight range and dynamics information, record the affiliated dynamics information corresponding to capacitance variation weight range of capacitance variation amount of the button that is pressed;
Trigger module is used for the corresponding relation according to predefined key information and note information, determines the note information corresponding to key information of record; And according to the corresponding relation of predefined dynamics information and information volume, determine the volume corresponding to dynamics information of record;
Synthesis module is used for according to current instrument information, definite note information and definite information volume output sound.
5. portable terminal as claimed in claim 4 is characterized in that, described trigger module also is used for:
Instrument information in the accompaniment file of user selection, note information and information volume are exported to described synthesis module according to time sequencing;
Described synthesis module also is used for:
According to the instrument information in the accompaniment file of user selection, note information and information volume output sound.
6. such as claim 4 or 5 described portable terminals, it is characterized in that, described induction module also is used for:
Detecting keys and keyboard at current period does not have button to be pressed, and when a button is pressed on the upper cycle keys and keyboard, notifies described trigger module not have button to be pressed;
Described trigger module also is used for:
After receiving described notice, trigger described synthesis module and stop output sound.
7. a portable terminal as claimed in claim 4 is characterized in that, be positioned at this portable terminal the back side keys and keyboard by be positioned at uppermost button, circuit board in the middle of being positioned at and be positioned at following casing and form;
Described circuit board is used for after the button of keys and keyboard is pressed, and the area generation current according to button is touched detects for described induction module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010243539.1A CN101902530B (en) | 2010-07-28 | 2010-07-28 | Mobile terminal and method for outputting music |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010243539.1A CN101902530B (en) | 2010-07-28 | 2010-07-28 | Mobile terminal and method for outputting music |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101902530A CN101902530A (en) | 2010-12-01 |
CN101902530B true CN101902530B (en) | 2013-04-10 |
Family
ID=43227724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010243539.1A Expired - Fee Related CN101902530B (en) | 2010-07-28 | 2010-07-28 | Mobile terminal and method for outputting music |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101902530B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI450171B (en) * | 2011-10-11 | 2014-08-21 | Wistron Corp | Touch control module and electronic device thereof |
CN103809873B (en) * | 2012-11-13 | 2018-02-27 | 联想(北京)有限公司 | A kind of information processing method and input equipment |
US9380453B2 (en) * | 2013-06-10 | 2016-06-28 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
CN104516670B (en) * | 2013-12-25 | 2018-08-28 | 柳州金之源商务服务有限公司 | There is the musical instrument key of dynamics sense |
CN103729141A (en) * | 2013-12-26 | 2014-04-16 | 安徽科大讯飞信息科技股份有限公司 | Method and system for implementing music playing on keyboard by using input method |
CN106709234A (en) * | 2016-11-18 | 2017-05-24 | 西南科技大学 | Oral clinical interaction system and method |
CN110168634B (en) * | 2017-03-24 | 2024-03-19 | 雅马哈株式会社 | Sound producing device, sound producing system and game device |
CN111081204A (en) * | 2019-11-26 | 2020-04-28 | 韩冰 | Electronic musical instrument, control method thereof, and computer-readable medium |
CN114035696B (en) * | 2021-11-16 | 2024-06-18 | 汇顶科技(成都)有限责任公司 | Touch detection method, touch pad and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1321966A (en) * | 2000-07-24 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Method capable of implementing music performance on handset and handset capable of implementing music performance |
CN1885243A (en) * | 2005-06-25 | 2006-12-27 | 华为技术有限公司 | Chord score input method for hand-held terminal |
CN101112074A (en) * | 2005-02-02 | 2008-01-23 | 澳迪欧布兰克斯电子产品产业商业股份有限公司 | Mobile communication device with music instrumental functions |
CN101465121A (en) * | 2009-01-14 | 2009-06-24 | 苏州瀚瑞微电子有限公司 | Method for implementing touch virtual electronic organ |
CN101498979A (en) * | 2009-02-26 | 2009-08-05 | 苏州瀚瑞微电子有限公司 | Method for implementing virtual keyboard by utilizing condenser type touch screen |
KR20090091262A (en) * | 2008-02-23 | 2009-08-27 | 황재엽 | Pocket piano |
-
2010
- 2010-07-28 CN CN201010243539.1A patent/CN101902530B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1321966A (en) * | 2000-07-24 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Method capable of implementing music performance on handset and handset capable of implementing music performance |
CN101112074A (en) * | 2005-02-02 | 2008-01-23 | 澳迪欧布兰克斯电子产品产业商业股份有限公司 | Mobile communication device with music instrumental functions |
CN1885243A (en) * | 2005-06-25 | 2006-12-27 | 华为技术有限公司 | Chord score input method for hand-held terminal |
KR20090091262A (en) * | 2008-02-23 | 2009-08-27 | 황재엽 | Pocket piano |
CN101465121A (en) * | 2009-01-14 | 2009-06-24 | 苏州瀚瑞微电子有限公司 | Method for implementing touch virtual electronic organ |
CN101498979A (en) * | 2009-02-26 | 2009-08-05 | 苏州瀚瑞微电子有限公司 | Method for implementing virtual keyboard by utilizing condenser type touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN101902530A (en) | 2010-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101902530B (en) | Mobile terminal and method for outputting music | |
CN100451936C (en) | Portable electronic device and method of controlling input operation | |
CN101018378B (en) | Mobile terminal key input equipment and method | |
CN104750254B (en) | A kind of information processing method and device, electronic equipment | |
CN105427685B (en) | It is a kind of with the electronic sounding book for taking off page and recognizing book structure | |
CN102203697A (en) | Keypad apparatus | |
CN103337239A (en) | Polyphonic after-touch music keyboard with novel structure | |
EP1254450A1 (en) | Musical drawing assembly | |
CN101393478B (en) | Electronic device with sound cue function for induction push-button | |
CN208655232U (en) | A kind of intelligent piano being provided with weight Dynamics keyboard | |
CN214705414U (en) | Portable electronic musical instrument | |
CN212967074U (en) | Electronic musical instrument integrated with blowing and popping | |
CN204178698U (en) | The keyboard module of sliceable assembling | |
CN206574471U (en) | A kind of intelligent electric musical instrument | |
CN108492805A (en) | Multi-mode portable electronics audio device and system | |
CN216772801U (en) | Electronic musical instrument | |
CN204598292U (en) | Adopt the bluetooth earphone touching and knock control | |
CN211604354U (en) | Electronic book capable of sounding by point-press contact | |
CN217008166U (en) | Live keyboard of streaming media | |
CN211403652U (en) | Electronic book capable of playing music by clicking | |
CN203813917U (en) | Multifunctional loudspeaker box plugged with electronic musical instrument | |
CN210805232U (en) | MP3 player based on gravity induction | |
CN214409483U (en) | Bluetooth glasses | |
CN203217938U (en) | Piano keyboard and integrated piano | |
CN212724698U (en) | Electronic plucked string instrument |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130410 |
|
CF01 | Termination of patent right due to non-payment of annual fee |