CN107029432A - One kind is clapped hands device and its control method - Google Patents
One kind is clapped hands device and its control method Download PDFInfo
- Publication number
- CN107029432A CN107029432A CN201710244447.7A CN201710244447A CN107029432A CN 107029432 A CN107029432 A CN 107029432A CN 201710244447 A CN201710244447 A CN 201710244447A CN 107029432 A CN107029432 A CN 107029432A
- Authority
- CN
- China
- Prior art keywords
- control signal
- switch
- priority
- rocker switch
- main control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000003321 amplification Effects 0.000 claims abstract description 6
- 238000003199 nucleic acid amplification method Methods 0.000 claims abstract description 6
- 230000008451 emotion Effects 0.000 abstract description 10
- 210000004247 hand Anatomy 0.000 description 74
- 230000036651 mood Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 239000011435 rock Substances 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 210000004209 hair Anatomy 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000000386 athletic effect Effects 0.000 description 1
- 210000004709 eyebrow Anatomy 0.000 description 1
- 210000005224 forefinger Anatomy 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H5/00—Musical or noise- producing devices for additional toy effects other than acoustical
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H33/00—Other toys
- A63H33/26—Magnetic or electric toys
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Selective Calling Equipment (AREA)
- Toys (AREA)
Abstract
One kind is clapped hands device and its control method, including main control chip, rocker switch group, amplifier and loudspeaker;Wherein, rocker switch group at least includes first direction rocker switch and second direction rocker switch, is respectively used to send the first control signal and the second control signal to main control chip;One end of amplifier is electrically connected with main control chip, the other end is electrically connected with loudspeaker;Main control chip determines the control signal of high priority from the first control signal and the second control signal, and the corresponding voice signal of high priority control signal is sent to amplifier, through amplifier amplification after broadcasting on loudspeaker.In use, by the shake of different directions, device of clapping hands can send a variety of different types of sound, the demand of user emotion expression be met, with very high practicality;Moreover, judgement and switch set-up mode by control signal priority, can be prevented effectively from the interference of control signal, prevent maloperation, the accuracy that device of clapping hands plays control is improved.
Description
Technical field
The present invention relates to electronic entertainment technical field, and in particular to one kind is clapped hands device and its control method.
Background technology
Modern society's entertainment life is more and more rich and varied, and device of clapping hands increases the toy of on-the-spot demonstration atmosphere as a kind of,
Often used in the celebrating activity such as birthday dinner, corporations' corporate activity, concert, party, athletic meeting.Current device of clapping hands leads to
Chang Yousan piece hand-type housings and a handle composition;Wherein above-mentioned hand-type housing is flexibly connected with handle, and spectators are light when in use
Jog shakes handle, and three hand-type housings mutually hit, and clear and melodious unpleasant applause (noise) can be sent, so as to substitute spectators' hand
Clap one's hands sounding.
However, inventor is had found by studying, during spectators' expression excitement mood, firmly it can rock device of clapping hands and send and hold
The sound of person's emotion, wish, but when spectators need the moods such as expression disappointment, can equally send sound, the possibility of disappointment
It can not realize that the current device form of expression of clapping hands is single by above-mentioned device of clapping hands, it is impossible to the mood of accurate expression spectators.Therefore,
The technology that the expression needs that a kind of device of clapping hands meets a variety of moods of spectators are those skilled in the art's urgent need to resolve how is provided to ask
Topic.
The content of the invention
The application provides one kind and clapped hands device and its control method, with overcome the device form of expression of clapping hands in the prior art it is single,
The technical problem of audience emotion can not accurately be expressed.
Clapped hands device according in a first aspect, providing one kind in a kind of embodiment, the device of clapping hands includes main control chip, rocker switch
Group, amplifier and loudspeaker, wherein:
The rocker switch group at least includes first direction rocker switch and second direction rocker switch;The first direction
Rocker switch is electrically connected with the main control chip, for sending the to the main control chip according to the first direction for device shake of clapping hands
One control signal;The second direction rocker switch is electrically connected with the main control chip, for according to clap hands device shake second
Direction sends the second control signal to the main control chip;
One end of the amplifier is electrically connected with the main control chip, the other end is electrically connected with the loudspeaker;The master
Control chip determines the control signal of high priority from first control signal and the second control signal, and by high priority control
The corresponding voice signal of signal processed is sent to amplifier, through amplifier amplification after being played on the loudspeaker.
Alternatively, the device of clapping hands also includes microphone, recording switch and playback switch, wherein:
One end of the microphone is electrically connected by tie point with main control chip, and is electrically connected by the second branch road and power supply
Connect;It is in series with the tie point on the first electric capacity, second branch road and is in series with first resistor and second resistance;The wheat
The other end ground connection of gram wind;
The recording switch and the playback switch are electrically connected with the main control chip, and the recording switch is used for master
Control chip sends control signal, so that main control chip obtains from microphone and stores voice signal, the playback switch for
Main control chip sends control signal, so that main control chip plays the voice signal of storage.
Alternatively, the recording switch includes the sub switch of multiple series connection, for when whole sub switch closures,
Control signal is sent to main control chip, so that main control chip obtains from microphone and stores voice signal.
Alternatively, the device of clapping hands also includes hand-type housing and handle, and the playback switch is with the recording switch along far
Direction from hand-type housing is successively set on the outer wall of handle;Have first between the playback switch and the recording switch
There is the second spacing between adjacent sub switch in spacing, the recording switch;First spacing is more than between described second
Away from.
Alternatively, the rocker switch group is shaken including fore-and-aft direction rocker switch, left and right directions rocker switch, above-below direction
Any a variety of combination in dynamic switch, upper right lower left rocker switch and bottom right upper left rocker switch.
According to second aspect, a kind of control method for device of clapping hands is provided in a kind of embodiment, this method comprises the following steps:
Main control chip obtains the control letter that one or more of rocker switch group, recording switch and playback switch are sent
Number;
Main control chip determines the priority of the control signal;
Main control chip performs the operation corresponding to the control signal of high priority.
Alternatively, when the control signal that the control signal sends for the rocker switch group, and the first control is at least included
When signal processed and the second control signal, the main control chip determines the priority of the control signal, including:
The very first time of the first control signal and the second time of the second control signal are obtained, wherein, the very first time
Correspondence first direction rocker switch sends the time of the first control signal, the second time correspondence second direction rocker switch hair
Go out the time of the second control signal;
If the very first time is later than second time, determine that the priority of the first control signal is less than described second
The priority of control signal;Or,
If the very first time, earlier than second time, determines that the priority of the first control signal is more than described second
The priority of control signal.
Alternatively, when the control signal that the control signal sends for the rocker switch group, and the first control is at least included
When signal processed and the second control signal, the main control chip determines the priority of the control signal, including:
The first frequency of the first control signal and the second frequency of the second control signal are obtained, wherein, the first frequency
The pulse frequency of the first control signal is sent for first direction rocker switch, the second frequency is sent out for second direction rocker switch
Go out the pulse frequency of the second control signal;
If the first frequency is more than the second frequency, determine that the priority of the first control signal is more than described second
The priority of control signal;Or,
If the first frequency is less than the second frequency, determine that the priority of the first control signal is less than described second
The priority of control signal.
Alternatively, when the control signal is the control signal that the rocker switch group is sent, the main control chip is performed
Operation corresponding to the control signal of high priority, including:
When the pulse frequency increase of the control signal of high priority, increase the corresponding wave volume of the control signal;
Or,
When the pulse frequency of the control signal of high priority is reduced, the corresponding wave volume of the control signal is reduced.
Alternatively, the main control chip determines the priority of the control signal, including:
It is and described when the control signal includes any one control signal sent in recording switch and playback switch
During the control signal that rocker switch group is sent, determine that the priority of the control signal of recording switch or playback switch is shaken higher than described
The priority of the control signal of dynamic switches set;Or,
When the control signal includes the control signal that recording switch and playback switch are sent, determine that recording switch is sent
The priority of control signal be more than the priority of control signal that the playback switch is sent.
According to the clap hands device and its control method of above-described embodiment, the device of clapping hands includes main control chip, rocker switch group, put
Big device and loudspeaker;Wherein, rocker switch group at least includes first direction rocker switch and second direction rocker switch;First party
Electrically connected to rocker switch with main control chip, for sending the first control to main control chip according to the first direction for device shake of clapping hands
Signal;Second direction rocker switch is electrically connected with main control chip, for according to the second direction for device shake of clapping hands to main control chip
Send the second control signal;One end of amplifier is electrically connected with main control chip, the other end is electrically connected with loudspeaker;Main control chip from
The control signal of high priority is determined in first control signal and the second control signal, and high priority control signal is corresponding
Voice signal is sent to amplifier, through amplifier amplification after broadcasting on loudspeaker.In use, different directions are passed through
Shake, device of clapping hands can send a variety of different types of sound, the demand of user emotion expression is met, with very high practicality
Property;Moreover, judgement and switch set-up mode by control signal priority, can be prevented effectively from the interference of control signal,
Maloperation is prevented, the accuracy that device of clapping hands plays control is further improved.
Brief description of the drawings
Fig. 1 is a kind of electrical block diagram for device of clapping hands provided in an embodiment of the present invention;
Fig. 2 is that one kind provided in an embodiment of the present invention is clapped hands device external structure schematic diagram;
Fig. 3 is a kind of schematic flow sheet of the control method for device of clapping hands provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet that a kind of control signal priority provided in an embodiment of the present invention determines method;
Fig. 5 is the schematic flow sheet that another control signal priority provided in an embodiment of the present invention determines method;
Fig. 1 to Fig. 2 symbol is expressed as:1- main control chips, 2- rocker switch groups, 21- first direction rocker switch, 22-
Second direction rocker switch, 23- third direction rocker switch, 24- fourth direction rocker switch, 3- amplifiers, 4- loudspeakers, 5-
Microphone, 6- recording switch, 61- sub switchs, 7- playback switch, the electric capacity of 81- first, the electric capacity of 82- second, the electric capacity of 83- the 3rd,
91- first resistors, 92- second resistances, 93- 3rd resistors, 10- hand-type housings, 11- handles, 12- volume switches, 13- power supplys are opened
Close, 14- sockets.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.Wherein different embodiments
Middle similar component employs associated similar element numbers.In the following embodiments, many detailed descriptions be in order to
The application is better understood.However, those skilled in the art can be without lifting an eyebrow recognize, which part feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Certain operations that please be related do not show or description that this is the core in order to avoid the application by mistake in the description
Many descriptions are flooded, and to those skilled in the art, be described in detail these associative operations be not it is necessary, they
The general technology knowledge of description and this area in specification can completely understand associative operation.
In addition, feature described in this description, operation or feature can be combined to form respectively in any suitable way
Plant embodiment.Meanwhile, each step or action in method description can also be aobvious and easy according to those skilled in the art institute energy
The mode carry out order exchange or adjustment seen.Therefore, the various orders in specification and drawings are intended merely to clearly describe a certain
Individual embodiment, is not meant to be necessary order, wherein some sequentially must comply with unless otherwise indicated.
It is herein part institute serialization number itself, such as " first ", " second ", is only used for the object described by distinguishing,
Without any order or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, including directly and
It is indirectly connected with (connection).
In embodiments of the present invention,, can when device is clapped hands in shake in different directions by setting direction rocker switch
Corresponding sound is sent, with abundant a variety of expression-forms, so that the need for meeting a variety of moods of user's expression.
Fig. 1 is refer to, is a kind of electrical block diagram of device of clapping hands provided in an embodiment of the present invention, as shown in figure 1, institute
Stating device of clapping hands includes main control chip 1, rocker switch group 2, amplifier 3 and loudspeaker 4.
Wherein, above-mentioned main control chip 1 can be MCU (English:Microcontroller Unit, Chinese:Microcontroller list
Member), single-chip microcomputer, CPU (English:Central Process Unit, Chinese:Central processing unit) in any one.In this hair
In bright embodiment, above-mentioned main control chip 1 is used to receive the control signal that rocker switch group 2 or other input units are sent, root
Calculated according to above-mentioned control signal, and control corresponding voice signal outwards to be broadcast by loudspeaker 4 after amplifying through amplifier 3
Put.
Above-mentioned rocker switch group 2 at least includes first direction rocker switch 21 and second direction rocker switch 22;First party
Electrically connected to rocker switch 21 with main control chip 1, the first direction that above-mentioned first direction rocker switch 21 shakes according to device of clapping hands
The first control signal is sent to main control chip 1;Second direction rocker switch 22 is equally electrically connected with main control chip 1, and above-mentioned second
Direction rocker switch 22 sends the second control signal according to the second direction for device shake of clapping hands to main control chip 1.Certainly, it is above-mentioned to shake
Dynamic switches set 2 can include the rocker switch of any number of different directions, and in the specific implementation, rocker switch group 2 can include
Fore-and-aft direction rocker switch, above-below direction rocker switch, left and right directions rocker switch, bottom right upper left rocker switch and upper right
Any a variety of combination in lower left rocker switch so that clap hands device along different directions shake when, can trigger corresponding
Rocker switch send control signal to main control chip 1.In one exemplary embodiment, as shown in figure 1, above-mentioned rocker switch group
2 can include 4 rocker switch, i.e. first direction rocker switch 21, second direction rocker switch 22, third direction rocker switch
23 and fourth direction rocker switch 24;And above-mentioned 4 rocker switch can perceive the shake for device different directions of clapping hands, such as exist
When it is implemented, first direction rocker switch 21 can be configured as fore-and-aft direction rocker switch, i.e., can be according to device of clapping hands
It is front and rear to rock the rocker switch for sending the first control signal;Second direction rocker switch 22 can be configured as left and right directions shake
Switch, i.e., can send the rocker switch of the second control signal according to rocking from side to side for device of clapping hands;Third direction rocker switch 23
Above-below direction rocker switch can be configured as, i.e., the shake of the 3rd control signal can be sent according to fluctuating for device of clapping hands
Switch;Third direction rocker switch 24 can be configured as upper right lower left rocker switch, i.e., can be according to the right side of device of clapping hands
The rocker switch for sending the 4th control signal is shaken in upper lower-left.Certainly, to could be arranged to other any for above-mentioned direction rocker switch
The rocker switch in direction, is not limited in embodiments of the present invention.
It should be noted that first direction rocker switch 21, second direction rocker switch for constituting rocker switch group 2
22nd, third direction rocker switch 23 and fourth direction rocker switch 24, can be by the knot of the sliding block slided along fixed-direction
Structure realizes the triggering of the control signal of different directions, or distinguishes different directions by devices such as gyroscopes and produce corresponding control
Signal processed, is repeated no more in embodiments of the present invention.
Main control chip 1 is electrically connected with each rocker switch in rocker switch group 2, and is received from rocker switch group 2
Transmitted control signal.In the present invention is implemented, main control chip 1 receives the first control letter of first direction rocker switch 21
Number, the second control signal of second direction rocker switch 22, the 3rd control signal and the 4th of third direction rocker switch 23
Any one or more control signals in 4th control signal of direction rocker switch 24.Wherein, main control chip 1 can by with
The sound that respective type is played according to control signal is set to, the type includes applause cheer type, whistle type, sobs anti-
The one or more of sense sound type and strange laugh type.Moreover, the device of clapping hands in the embodiment of the present invention also includes the He of amplifier 3
Loudspeaker 4;One end of amplifier 3 is electrically connected with main control chip 1, the other end is electrically connected with loudspeaker 4, in use, main
Control chip 1 sends voice signal to amplifier 3, and after the amplification of amplifier 3, loudspeaker 4 outwards plays corresponding sound.
In one exemplary embodiment, when main control chip 1 receives the first control signal, applause applause sound signal is sent out
Amplifier 3 is delivered to, after amplifying through amplifier 3, applause cheer is outwards played by loudspeaker 4;Main control chip 1 receives second
During control signal, whistle voice signal is sent to amplifier 3, after amplifying through amplifier 3, mouth is outwards played by loudspeaker 4
Whistle;When main control chip 1 receives three control signals, the dislike that will sob voice signal is sent to amplifier 3, through amplifier 3
After amplification, dislike sound of sobbing outwards is played by loudspeaker 4;When main control chip 1 receives four control signals, by strange laugh sound
Signal is sent to amplifier 3, after amplifying through amplifier 3, and strange laugh is outwards played by loudspeaker 4.
During device of clapping hands shakes, main control chip 1 may receive multiple control signal, in order to prevent letter
Number interference is produced plays by mistake, the mood of user is expressed exactly, it is high preferentially that main control chip 1 calculates determination from multiple control signal
The control signal of level, and the corresponding voice signal of the control signal of high priority is sent to amplifier 3, amplify through amplifier 3
Afterwards, outwards played by loudspeaker 4.In one exemplary embodiment, when user, which fluctuates, claps hands device, under perceptually
The third direction rocker switch 23 in direction and and perceive upper right lower left fourth direction rocker switch 24 may be to master
Control chip 1 sends corresponding 3rd control signal of control signal, i.e. third direction rocker switch 23 and fourth direction rocker switch
24 corresponding 4th control signals, main control chip 1 further calculates and determines the preferential of the 3rd control signal and the 4th control signal
Level, and determine that the priority of the 3rd control is high, the then control of main control chip 1 broadcasting is sobbed dislike sound.
In order to strengthen the flexibility for device of clapping hands, in one exemplary embodiment, the device of clapping hands also includes microphone 5, record
Sound switch 6 and playback switch 7, such user can freely record the sound for needing to play, and during device of clapping hands is used
Play, and then the need for meeting a variety of emotion expression services.See also Fig. 1, one end of microphone 5 passes through tie point and master control core
Piece 1 is electrically connected, and is electrically connected by the second branch road with power supply VCC;It is in series with tie point on the first electric capacity 81, the second branch road
It is in series with first resistor 91 and second resistance 92;The other end ground connection of microphone 5.Recording switch 6 and playback switch 7 are and master control
Chip 1 is electrically connected, and recording switch 6 is used to send control signal to main control chip 1, so that main control chip 1 is obtained simultaneously from microphone 5
Store voice signal, the voice signal got from microphone 5 can be stored in device of clapping hands in memory in, the memory can
With including built-in flash memory or external USB storage etc., in case follow-up repeat playing uses;Playback switch 7 is used for master
Control chip 1 sends control signal, so that the voice signal of storage is played in the control of main control chip 1.In one exemplary embodiment, institute
It can be the push switch including single key to state recording switch 6 and the playback switch 7.
Moreover, for the maloperation for preventing from recording and playing, the embodiment of the present invention is to recording switch 6 and playback switch 7
Set-up mode is optimized.In one exemplary embodiment, recording switch 6 can include the sub switch 61 of multiple series connection, this
Sample, only when whole sub switchs 61 is closed, can just send control signal, and make main control chip 1 from Mike to main control chip 1
Wind 5 obtains and stores voice signal, so that the maloperation for preventing to record and playing.In a further exemplary embodiment, join
See Fig. 2, be that one kind provided in an embodiment of the present invention is clapped hands device external structure schematic diagram, the embodiment of the present invention is further opened recording
The set location of pass 6 and playback switch 7 optimizes, as shown in Fig. 2 device of clapping hands also includes hand-type housing 10 and handle 11;Broadcast
Pass 7 and recording switch 6 is decontroled to be successively set on the outer wall of handle 11 along with the direction away from hand-type housing 10;Wherein, record
Switch 6 includes 3 sub switchs 61 being serially connected, and there is the first space D 1, sub switch between playback switch 7 and recording switch 6
61 are uniformly arranged between i.e. adjacent sub switch 61 in the presence of the second space D 2;Moreover, the embodiment of the present invention sets the first space D 1
More than the second space D 2, so by above-mentioned set-up mode, user can use forefinger to press triggering and broadcast during use
Decontrol and close 7, be easy to playback, and when needing recording, it is necessary to refer in use, nameless and pinkie is while press son simultaneously
Switch 61 could trigger recording switch 6, recorded, can either meet the convenience of broadcasting, can prevent from recording and playing again
Maloperation.
In embodiments of the present invention, device of clapping hands can include 3 hand-type housings 10 being arranged side by side, positioned at middle hand-type
Housing 10 is fixedly connected with handle 11, and other hand-type housings 10 positioned at both sides are flexibly connected with handle 11, is so shaking bat
During hand device, the hand-type housing 10 that the activity positioned at both sides is set can be hit positioned at the middle hand-type housing 10 being fixedly installed,
So as to produce the sound of similar applause.Clapped hands device based on 3 hand-type housings 10, as a preferred embodiment, rocker switch group 2 can
So that in hand-type housing 10 being arranged at centre, being fixedly connected, loudspeaker 4 can be arranged at both sides, the hand-type that activity is set
In any one of housing 10.Certainly, it is necessary to which the set-up mode of explanation, above-mentioned rocker switch group 2 and loudspeaker 4 is only one
In exemplary embodiment, in the specific implementation, rocker switch group 2 and loudspeaker 4 can also be arranged at other optional positions, for example
In handle 11 etc., do not limit in embodiments of the present invention.
In addition, the use in order to further facilitate device of clapping hands, in an exemplary implementation, referring also to Fig. 1 and Fig. 2 are clapped
Hand device is additionally provided with volume switch 12, and one end of volume switch 12 is electrically connected with main control chip 1, other end ground connection, specific real
Shi Shi, the volume switch 12 can be slide rheostat formula switch, and device of clapping hands is broadcast by the resistance for changing slide rheostat
Playback amount is controlled.Device of clapping hands can also include power switch 13, as shown in figure 1, one end of power switch 13 and master control core
Piece 1 is electrically connected, the other end is electrically connected with socket 14, and socket 14 further may be coupled on power supply, by disconnecting or closing
Close power switch 13 conveniently can clap hands the turning off or on of device in control.
In order to ensure the normal work and result of broadcast of amplifier 3, the input of amplifier 3 and the connection of main control chip 1
It is in series with circuit on the second electric capacity 82, the output end of amplifier 3 and the connection circuit of loudspeaker 4 and is in series with the 3rd electric capacity 83,
The feeder ear of amplifier 3 is with being in series with 3rd resistor 93 on power supply VCC connection circuit, and amplifier 3 also has one end ground connection.
It should be noted that in embodiments of the present invention, for the first electric capacity 81, the second electric capacity 82, the 3rd electric capacity 83, first resistor
91st, the concrete numerical value of second resistance 92 and 3rd resistor 93 is not limited, and those skilled in the art can be according to physical circuit
Design needs, from the resistance and electric capacity of relevant parameter.
From the description of above-described embodiment, one kind provided in an embodiment of the present invention is clapped hands device, including main control chip 1, is shaken
Dynamic switches set 2, amplifier 3 and loudspeaker 4;Wherein, rocker switch group 2 at least includes first direction rocker switch 21 and second party
To rocker switch 22;First direction rocker switch 21 is electrically connected with main control chip 1, for the first direction according to device shake of clapping hands
The first control signal is sent to main control chip 1;Second direction rocker switch 22 is electrically connected with main control chip 1, is clapped hands for basis
The second direction that device shakes sends the second control signal to main control chip 1;One end of amplifier 3 is electrically connected, separately with main control chip 1
One end is electrically connected with loudspeaker 4;Main control chip 1 determines the control of high priority from the first control signal and the second control signal
Signal, and the corresponding voice signal of high priority control signal is sent to amplifier 3, amplify through amplifier 3 after loudspeaker 4
It is upper to play.In use, by the shake of different directions, device of clapping hands can send a variety of different types of sound, meet
The demand of user emotion expression, with very high practicality;Moreover, being set by the judgement and switch of control signal priority
Mode, can be prevented effectively from the interference of control signal, prevent maloperation, further improve the accuracy that device of clapping hands plays control.
Device embodiment with above-mentioned device of clapping hands is corresponding, and the embodiment of the present invention also provides a kind of controlling party for device of clapping hands
Method.
It is a kind of schematic flow sheet of the control method of device of clapping hands provided in an embodiment of the present invention, such as Fig. 3 institutes referring to Fig. 3
Show, the embodiment of the present invention shows that main control chip 1 plays out the process of control:
Step S101:Main control chip 1 obtains one or more of rocker switch group 2, recording switch 6 and playback switch 7
The control signal sent.
During the use for device of clapping hands, user rocks device of clapping hands, and one or more of such rocker switch group 2 is shaken
Switch may send one or more control signals to main control chip 1;Meanwhile, user may produce mistake in using device of clapping hands
Operation, such as triggering the rocker switch in recording switch 6, playback switch 7 even rocker switch group 2 simultaneously, such master control core
Piece 1 may get various control signal.
Step S102:Main control chip 1 determines the priority of control signal.
Main control chip 1 can determine the priority of corresponding control signal, i.e. switch triggering according to the triggered time of switch
And sending that control signal is more early, then the priority of corresponding control signal is higher.In the specific implementation, main control chip 1 is received
Any one or more direction rocker switch are sent in rocker switch group 2 control signal and recording switch 6 and playback switch
7 control signals sent, further judge the time of each control signal, and such as recording switch 6 sends the time of control signal
Earlier than the time that playback switch 7 sends control signal, the time that playback switch 7 sends control signal is sent out earlier than rocker switch group 2
Go out the time of control signal, then main control chip 1 determines that recording switch 6 sends the priority of control signal>Playback switch 7 sends control
The priority of signal processed>Rocker switch group 2 sends the priority of control signal.
Under the first performance, the control signal that the rocker switch in control signal is rocker switch group 2 is sent
When, and when at least including the first control signal and the second control signal, main control chip 1 can be according to time of control signal, really
Its fixed priority.It is the flow signal that a kind of control signal priority provided in an embodiment of the present invention determines method referring to Fig. 4
Figure, as shown in figure 4, this method includes:
Step S1021:The very first time of the first control signal and the second time of the second control signal are obtained, wherein, the
One time correspondence first direction rocker switch 21 sends the time of the first control signal, and the second time correspondence second direction is shaken and opened
Closed for 22 times for sending the second control signal.
Step S1022:If the very first time was later than for the second time, determine that the priority of the first control signal is less than the second control
The priority of signal processed.
Step S1023:If the very first time, earlier than the second time, determines that the priority of the first control signal is more than the second control
The priority of signal processed.
By the description of above-described embodiment, during the embodiment of the present invention in shake by clapping hands device, different directions
The time that rocker switch triggering produces control signal is different, determines the priority of control signal, and then in subsequent step
Operation corresponding to the preferential control signal for performing relatively early triggering.In the case of one kind specific implementation, clap hands what device fluctuated
During, above-below direction rocker switch and upper right lower-left rocker switch may can send control signal to main control chip 1, and on
Lower direction rocker switch is consistent with shaking direction, can earlier trigger and produce control signal, and bottom right upper left rocker switch can evening
Control signal is produced in the triggering of above-below direction rocker switch, so by control signal time, main control chip 1 can preferentially be held
The corresponding operating of control signal, for example, send dislike sound of sobbing produced by row above-below direction rocker switch, so as to respond exactly
The exposition need of user.
Under second of performance, the control signal that the rocker switch in control signal is rocker switch group 2 is sent
When, and when at least including the first control signal and the second control signal, main control chip 1 can be according to the pulse frequency of control signal
Rate, determines its priority.It is the stream that another control signal priority provided in an embodiment of the present invention determines method referring to Fig. 5
Journey schematic diagram, as shown in figure 5, this method includes:
Step S1024:The first frequency of the first control signal and the second frequency of the second control signal are obtained, wherein, institute
The pulse frequency that first frequency sends the first control signal for first direction rocker switch 21 is stated, the second frequency is second party
The pulse frequency of the second control signal is sent to rocker switch 22.
Step S1025:If the first frequency is more than the second frequency, determine that the priority of the first control signal is big
In the priority of second control signal.
Step S1026:If the first frequency is less than the second frequency, determine that the priority of the first control signal is small
In the priority of second control signal.
In the above-described embodiments, device is clapped hands during shake, and first direction rocker switch 21 may be due in sliding block etc.
The continuous triggering that slidably reciprocates of portion's structure, so that the control signal with first frequency is produced, while second direction rocker switch
22 can also produce the control signal of second frequency.With first direction rocker switch 21 for above-below direction rocker switch, second direction
Rocker switch 22 be upper right lower-left rocker switch exemplified by, when device of clapping hands fluctuates, first direction rocker switch 21 and second
Direction rocker switch 22 may trigger and produce corresponding control signal, however, because first direction rocker switch 21 is with shaking
Direction is consistent, therefore the pulse frequency of the control signal produced by first direction rocker switch 21 is higher than second direction rocker switch
The pulse frequency of control signal produced by 22, main control chip 1 determines that first direction rocker switch 21 sends the preferential of control signal
Level sends the priority of control signal higher than second direction rocker switch 22, and then may proceed to perform first direction rocker switch 21
Corresponding operation, such as control send dislike sound of sobbing.Pulse frequency during the present invention is implemented can more accurately distinguish control
Signal processed, so as to further improve the mood of the response accuracy for device of clapping hands, accurately expression user.
Under the third performance, due to the possible maloperation of user, control signal can include recording switch 6 and broadcast
Decontrol any one control signal sent closed in 7, and the control signal that the rocker switch group 2 is sent;Or, control letter
Number include the control signal that sends of recording switch 6 and playback switch 7, the embodiment of the present invention shows main control chip 1 to prevent
Maloperation determines the process of control signal priority:
When control signal includes any one control signal sent in recording switch 6 and playback switch 7, and described shake
During the control signal that dynamic switches set 2 is sent, determine the priority of control signal of recording switch 6 or playback switch 7 higher than described
The priority of the control signal of rocker switch group 2;Or, when the control signal is sent including recording switch 6 and playback switch 7
Control signal when, determine that the priority for the control signal that recording switch 6 is sent is more than the control that sends of record playback switch 7
The priority of signal.
In the above-described embodiments, during user recording, in triggering rocker switch group 2 during rocker switch, main control chip 1
The control signal triggered according to aforesaid way preferential answering recording switch 6, carries out recording operation;When user's playback process
In, in triggering rocker switch group 2 during rocker switch, the control that main control chip 1 is triggered according to aforesaid way preferential answering playback switch 7
Signal processed, plays out operation, plays the recorded audio signals of storage;During user's playback, recording switch 6 is triggered, it is main
The control signal that control chip 1 is triggered according to aforesaid way preferential answering playback switch 7, plays out operation, plays the record of storage
Message number.The embodiment of the present invention determines the priority of control signal through the above way, can effectively shield the maloperation of user,
And then ensure the response accuracy of device of clapping hands.
Step S103:Main control chip 1 performs the operation corresponding to the control signal of high priority.
It is rocker switch group 2 according to the control signal of the priority that control signal is determined in step S102, and high priority
During the control signal sent, in order to further coordinate the device operation of clapping hands of user, the sound for the volume that matches with user emotion is sent
Sound, in embodiments of the present invention, main control chip 1 can also adjust wave volume, specific mistake according to the pulse frequency of control signal
Cheng Wei:When the pulse frequency increase of the control signal of high priority, increase the corresponding wave volume of the control signal;Or
Person, when the pulse frequency of the control signal of high priority is reduced, reduces the corresponding wave volume of the control signal.So,
When user emotion is exciting, the shake frequency for device of clapping hands can be increased, main control chip 1 increases by perceiving the pulse frequency of control signal
Plus, further improve volume;Equally, when user emotion is tranquil, the shake frequency for device of clapping hands can be reduced, main control chip 1 passes through
The reduction of control signal pulse frequency is perceived, so as to reduce volume, the control method of the embodiment of the present invention being capable of further accurate contract
Share the emotion expression service demand at family.
From the description of above-described embodiment, a kind of control method for device of clapping hands provided in an embodiment of the present invention passes through master
Control chip 1 obtains the control signal that one or more of rocker switch group 2, recording switch 6 and playback switch 7 are sent;Master control
Chip 1 determines the priority of the control signal;Main control chip 1 performs the operation corresponding to the control signal of high priority.This
Invention passes through the judgement of the priority to control signal, the operation of preferential answering high priority control signal, so as to meet user
The need for a variety of expression moods;Moreover, this method can effectively prevent the maloperation of user, with very high response accuracy.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above-mentioned embodiment
The mode of hardware is realized, can also be realized by way of computer program.When all or part of function in above-mentioned embodiment
When being realized by way of computer program, the program can be stored in a computer-readable recording medium, and storage medium can
With including:Read-only storage, random access memory, disk, CD, hard disk etc., perform the program above-mentioned to realize by computer
Function.For example, by program storage in the memory of equipment, when passing through computing device memory Program, you can in realization
State all or part of function.In addition, when in above-mentioned embodiment all or part of function realized by way of computer program
When, the program can also be stored in the storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disk
In, by download or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical
When crossing the program in computing device memory, you can realize all or part of function in above-mentioned embodiment.
Use above specific case is illustrated to the present invention, is only intended to help and is understood the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, it can also make some simple
Deduce, deform or replace.
Claims (10)
- The device 1. one kind is clapped hands, it is characterised in that including main control chip, rocker switch group, amplifier and loudspeaker, wherein:The rocker switch group at least includes first direction rocker switch and second direction rocker switch;The first direction shakes Switch is electrically connected with the main control chip, for sending the first control to the main control chip according to the first direction for device shake of clapping hands Signal processed;The second direction rocker switch is electrically connected with the main control chip, for the second direction according to device shake of clapping hands The second control signal is sent to the main control chip;One end of the amplifier is electrically connected with the main control chip, the other end is electrically connected with the loudspeaker;The master control core Piece determines the control signal of high priority from first control signal and the second control signal, and high priority is controlled into letter Number corresponding voice signal is sent to amplifier, through amplifier amplification after being played on the loudspeaker.
- 2. device as claimed in claim 1 of clapping hands, it is characterised in that the device of clapping hands also includes microphone, recording switch and broadcast Decontrol and close, wherein:One end of the microphone is electrically connected by tie point with main control chip, and passes through the second branch road and power electric connection; It is in series with the tie point on the first electric capacity, second branch road and is in series with first resistor and second resistance;The Mike The other end ground connection of wind;The recording switch and the playback switch are electrically connected with the main control chip, and the recording switch is used for master control core Piece sends control signal, so that main control chip obtains from microphone and stores voice signal, the playback switch is used for master control Chip sends control signal, so that main control chip plays the voice signal of storage.
- 3. device as claimed in claim 2 of clapping hands, it is characterised in that the recording switch includes the sub switch of multiple series connection, is used When whole sub switch closures, main control chip sends control signal, so that main control chip is obtained and deposited from microphone Store up voice signal.
- 4. device as claimed in claim 3 of clapping hands, it is characterised in that the device of clapping hands also includes hand-type housing and handle, described Playback switch is successively set on the outer wall of handle with the recording switch along the direction away from hand-type housing;The playback switch In the presence of the first spacing between the recording switch, there is the second spacing between the adjacent sub switch in the recording switch; First spacing is more than second spacing.
- 5. as claimed in claim 1 device of clapping hands, it is characterised in that the rocker switch group include fore-and-aft direction rocker switch, Left and right directions rocker switch, above-below direction rocker switch, upper right lower left rocker switch and bottom right upper left rocker switch In any a variety of combination.
- 6. a kind of control method for device of clapping hands, it is characterised in that comprise the following steps:Main control chip obtains the control signal that one or more of rocker switch group, recording switch and playback switch are sent;Main control chip determines the priority of the control signal;Main control chip performs the operation corresponding to the control signal of high priority.
- 7. the control method of device as claimed in claim 6 of clapping hands, it is characterised in that when the control signal is opened for the shake The control signal that pass group is sent, and when at least including the first control signal and the second control signal, the main control chip determines institute The priority of control signal is stated, including:The very first time of the first control signal and the second time of the second control signal are obtained, wherein, the very first time correspondence First direction rocker switch sends the time of the first control signal, and the second time correspondence second direction rocker switch sends the The time of two control signals;If the very first time is later than second time, determine that the priority of the first control signal is less than the described second control The priority of signal;Or,If the very first time, earlier than second time, determines that the priority of the first control signal is more than the described second control The priority of signal.
- 8. the control method of device as claimed in claim 6 of clapping hands, it is characterised in that when the control signal is opened for the shake The control signal that pass group is sent, and when at least including the first control signal and the second control signal, the main control chip determines institute The priority of control signal is stated, including:The first frequency of the first control signal and the second frequency of the second control signal are obtained, wherein, the first frequency is the One direction rocker switch sends the pulse frequency of the first control signal, and the second frequency is that second direction rocker switch sends the The pulse frequency of two control signals;If the first frequency is more than the second frequency, determine that the priority of the first control signal is more than the described second control The priority of signal;Or,If the first frequency is less than the second frequency, determine that the priority of the first control signal is less than the described second control The priority of signal.
- 9. the control method of device as claimed in claim 7 of clapping hands, it is characterised in that when the control signal is opened for the shake The control signal that pass group is sent, the main control chip performs the operation corresponding to the control signal of high priority, including:When the pulse frequency increase of the control signal of high priority, increase the corresponding wave volume of the control signal;Or,When the pulse frequency of the control signal of high priority is reduced, the corresponding wave volume of the control signal is reduced.
- 10. the control method of device as claimed in claim 6 of clapping hands, it is characterised in that the main control chip determines the control The priority of signal, including:When the control signal includes any one control signal sent in recording switch and playback switch, and the shake During the control signal that switches set is sent, determine that the priority of the control signal of recording switch or playback switch is opened higher than the shake The priority of the control signal of pass group;Or,When the control signal includes the control signal that recording switch and playback switch are sent, the control that recording switch is sent is determined The priority of signal processed is more than the priority for the control signal that the playback switch is sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710244447.7A CN107029432B (en) | 2017-04-14 | 2017-04-14 | Hand clapping device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710244447.7A CN107029432B (en) | 2017-04-14 | 2017-04-14 | Hand clapping device and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107029432A true CN107029432A (en) | 2017-08-11 |
CN107029432B CN107029432B (en) | 2022-10-11 |
Family
ID=59535942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710244447.7A Expired - Fee Related CN107029432B (en) | 2017-04-14 | 2017-04-14 | Hand clapping device and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107029432B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101995844A (en) * | 2009-08-25 | 2011-03-30 | 北京广利核系统工程有限公司 | Relay module with priority control function |
CN202460110U (en) * | 2012-01-31 | 2012-10-03 | 余玉斌 | Sound production clapping device |
CN203235249U (en) * | 2013-04-02 | 2013-10-16 | 徐跃辉 | Multifunctional hand-clapping device |
CN104474719A (en) * | 2014-12-17 | 2015-04-01 | 苏州大学 | Luminous clapping device |
CN105920845A (en) * | 2016-07-10 | 2016-09-07 | 罗道仟 | Clapping device capable of generating mixed sound effect with sand hammer |
CN206793026U (en) * | 2017-04-14 | 2017-12-26 | 深圳市感应通讯有限公司 | One kind is clapped hands device |
-
2017
- 2017-04-14 CN CN201710244447.7A patent/CN107029432B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101995844A (en) * | 2009-08-25 | 2011-03-30 | 北京广利核系统工程有限公司 | Relay module with priority control function |
CN202460110U (en) * | 2012-01-31 | 2012-10-03 | 余玉斌 | Sound production clapping device |
CN203235249U (en) * | 2013-04-02 | 2013-10-16 | 徐跃辉 | Multifunctional hand-clapping device |
CN104474719A (en) * | 2014-12-17 | 2015-04-01 | 苏州大学 | Luminous clapping device |
CN105920845A (en) * | 2016-07-10 | 2016-09-07 | 罗道仟 | Clapping device capable of generating mixed sound effect with sand hammer |
CN206793026U (en) * | 2017-04-14 | 2017-12-26 | 深圳市感应通讯有限公司 | One kind is clapped hands device |
Also Published As
Publication number | Publication date |
---|---|
CN107029432B (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104883642B (en) | A kind of effect adjusting method | |
US20200313782A1 (en) | Personalized real-time audio generation based on user physiological response | |
US8751030B2 (en) | Audio player and operating method automatically selecting music type mode according to environment noise | |
US10971125B2 (en) | Music synthesis method, system, terminal and computer-readable storage medium | |
CN107948838A (en) | The control method and sound-box device of a kind of speaker | |
TW200933616A (en) | Content reproducing device and contents reproducing method | |
CN206793026U (en) | One kind is clapped hands device | |
CN108600526A (en) | Alarm clock control method and related product | |
d'Escrivan | Music technology | |
US20140376885A1 (en) | Method for playing video file and electronic device using the same | |
CN105005612B (en) | A kind of acquisition methods and mobile terminal of music file | |
CN105654932B (en) | System and method for realizing karaoke application | |
CN103200480A (en) | Headset and working method thereof | |
CN107029432A (en) | One kind is clapped hands device and its control method | |
US10623856B2 (en) | Signature tuning filters | |
WO2016131373A1 (en) | Method and terminal for controlling high-fidelity function | |
CN105828247A (en) | Multifunctional electronic drum entertainment system | |
US11810543B2 (en) | Method and apparatus for audio signal processing selection | |
CN110109645A (en) | A kind of interactive music audition method, device and terminal | |
CN108491473A (en) | Audio file playing method and device, electronic equipment and medium | |
CN109582272A (en) | A kind of control method, terminal device and storage medium | |
KR20180092380A (en) | Method and apparatus for providing music file | |
Collins et al. | Laying of Hands: Transforming a Radio Into a Synthesizer by Making Your Skin Part of the Circuit | |
Pozzi | Agostino Di Scipio and Dario Sanfilippo: Machine Milieu | |
Colbeck et al. | Alan Parsons' Art & Science of Sound Recording: The Book |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20221011 |
|
CF01 | Termination of patent right due to non-payment of annual fee |