CN109087621A - The signal detecting method and device of intelligent Chinese zither - Google Patents
The signal detecting method and device of intelligent Chinese zither Download PDFInfo
- Publication number
- CN109087621A CN109087621A CN201810976010.7A CN201810976010A CN109087621A CN 109087621 A CN109087621 A CN 109087621A CN 201810976010 A CN201810976010 A CN 201810976010A CN 109087621 A CN109087621 A CN 109087621A
- Authority
- CN
- China
- Prior art keywords
- sensor
- strings
- chinese zither
- detection cycle
- signal
- 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
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0008—Associated control or indicating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/32—Constructional details
- G10H1/34—Switch arrangements, e.g. keyboards or mechanical switches specially adapted for electrophonic musical instruments
- G10H1/344—Structural association with individual keys
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- General Physics & Mathematics (AREA)
- Toys (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
The present invention provides the signal detecting methods and device of a kind of intelligent Chinese zither, the intelligence Chinese zither is equipped with multiple sensors, wherein every strings of the Chinese zither respectively corresponds an at least sensor, the sensor plays movement using optical signal induction hand, the described method includes: successively controlling scheduled multiple sensor emission optical signals in each detection cycle, wherein the sensor of light emitted signal is not identical in different detection cycles, and multiple sensors of light emitted signal are sensors corresponding to non-conterminous multiple strings of the Chinese zither in each detection cycle;Successively detect whether the optical signal that scheduled multiple sensors are emitted is obscured by an object in each detection cycle, wherein sensor detected is not identical in different detection cycles, and multiple sensors detected are sensors corresponding to non-conterminous multiple strings of the Chinese zither in each detection cycle.
Description
Technical field
The present invention relates to musical instrument fields, and in particular to a kind of signal detecting method and device of intelligence Chinese zither.
Background technique
The playing skill of Chinese zither is complicated, for learner especially young for beginner, under traditional teaching method,
The progress of learner is very slow.In response to this problem, the prior art provides some Zither playing systems with error correcting capability, this
System is compared usually using the note played of sound transducer record user with standard note, finds to use with this
The mistake at family.
It will be understood by those skilled in the art that the strings of the Chinese zither tension of Chinese zither is extremely easy to happen variation, it is non-during playing
It is often easy to be changed by external force, thus the pronunciation of Chinese zither can be made error occur, simultaneously because the error that user tunes a stringed instrument can also be made
There is error at Chinese zither pronunciation, in the case, even if user has played correct string, the sound that Chinese zither is issued also will be with mark
Quasi- sound is not inconsistent;Moreover, being influenced by the other Chinese zither closed on, sound transducer will be difficult to when the scene played in face of more people
The sound of target Chinese zither is collected, so realizing that the scheme practicability for playing error correction is poor by collected sound signal.
To solve the above-mentioned problems, present invention firstly provides a kind of intelligent Chinese zither, pass through optical signal (such as infrared ray)
Sensor detects whether strings of the Chinese zither is pressed or stirs the movement so that it is determined that player, and thus carries out playing error correction behaviour
Make.But common Chinese zither has 21 strings, the spacing distance of these strings is closer, when every strings of the Chinese zither is all provided with sensor detection
When whether optical signal is blocked by hand motion, the corresponding sensor of adjacent strings of the Chinese zither can be affected one another, such as when player stirs 3 strings
When, not only the corresponding sensor of 3 strings can collect signal, and 2 strings and the corresponding sensor of 4 strings are likely to also collect
Signal, this will cause signal to receive mistake and unstable problem, to influence the behaviour such as the acquisition of playing information, generation and error correction
Make.
Summary of the invention
The present invention provides a kind of signal detecting method of intelligent Chinese zither, and the intelligence Chinese zither is equipped with multiple sensors, wherein
Every strings of the Chinese zither respectively corresponds an at least sensor, and the sensor plays movement using optical signal induction hand, described
Method includes:
Scheduled multiple sensor emission optical signals successively are controlled in each detection cycle, wherein in different detection cycles
The sensor of light emitted signal is not identical, and multiple sensors of light emitted signal are non-conterminous more in each detection cycle
Sensor corresponding to a strings of the Chinese zither;
Successively detect whether the optical signal that scheduled multiple sensors are emitted is obscured by an object in each detection cycle,
Wherein sensor detected is not identical in different detection cycles, and multiple sensors detected are in each detection cycle
Sensor corresponding to non-conterminous multiple strings of the Chinese zither.
Preferably, described optical signal that scheduled multiple sensors are emitted successively to be detected in each detection cycle whether
It is obscured by an object, comprising:
According to detection cycle handoff source, wherein non-conterminous multiple strings of the Chinese zither are respectively associated in each interrupt source
Corresponding sensor, sensor associated by different interrupt source be not identical;
Successively receive the sensor signal that the interrupt source of switching is passed to.
Preferably, sensor corresponding to non-conterminous multiple strings of the Chinese zither be separated by least 2 strings of the Chinese zither institute it is right
The sensor answered.
Preferably, the quantity of the detection cycle is 4.
It is preferably, described successively to control scheduled multiple sensor emission optical signals in each detection cycle, comprising:
Control the 1st, 5,9,13,17, the corresponding sensor emission optical signal of 21 strings simultaneously in the 1st detection cycle;
Control the 2nd, 6,10,14, the corresponding sensor emission optical signal of 18 strings simultaneously in the 2nd detection cycle;
Control the 3rd, 7,11,15, the corresponding sensor emission optical signal of 19 strings simultaneously in the 3rd detection cycle;
Control the 4th, 8,12,16, the corresponding sensor emission optical signal of 20 strings simultaneously in the 4th detection cycle, later
Return to the 1st detection cycle.
Preferably, described optical signal that scheduled multiple sensors are emitted successively to be detected in each detection cycle whether
It is obscured by an object, comprising:
Detection simultaneously the 1st, 5,9,13,17, the optical signal of the corresponding sensor emission of 21 strings are in the 1st detection cycle
It is no to be blocked;
In the 2nd detection cycle detection simultaneously the 2nd, 6,10,14, the optical signal of the corresponding sensor emission of 18 strings whether
It is blocked;
In the 3rd detection cycle detection simultaneously the 3rd, 7,11,15, the optical signal of the corresponding sensor emission of 19 strings whether
It is blocked;
In the 4th detection cycle detection simultaneously the 4th, 8,12,16, the optical signal of the corresponding sensor emission of 20 strings whether
It is blocked, returns to the 1st detection cycle later.
Preferably, in each detection cycle, the duration of the sensor emission optical signal is 1-2 milliseconds.
Correspondingly, the present invention also provides a kind of signal supervisory instrument of intelligent Chinese zither, the intelligence Chinese zither is equipped with multiple biographies
Sensor, wherein every strings of the Chinese zither respectively corresponds an at least sensor, the sensor is played using optical signal induction hand
Movement, described device include:
Sensor control block, for successively controlling scheduled multiple sensor emission optical signals in each detection cycle,
Wherein the sensor of light emitted signal is not identical in different detection cycles, and light emitted signal is more in each detection cycle
A sensor is sensor corresponding to non-conterminous multiple strings of the Chinese zither;
Signal receiving module, the light letter emitted for successively detecting scheduled multiple sensors in each detection cycle
Number whether it is obscured by an object, wherein sensor detected is not identical in different detection cycles, institute in each detection cycle
Multiple sensors of detection are sensors corresponding to non-conterminous multiple strings of the Chinese zither.
Preferably, the signal receiving module includes:
Interrupt source switching module is used for according to detection cycle handoff source, wherein each interrupt source difference
It is associated with sensor corresponding to non-conterminous multiple strings of the Chinese zither, sensor associated by different interrupt source is not identical;
Interrupt source detection module, the sensor signal that the interrupt source for successively receiving switching is passed to.
The signal detecting method and device provided according to the present invention, by controlling scheduled multiple biographies in each detection cycle
Sensor emits optical signal, correspondingly detected in each detection cycle optical signal that scheduled multiple sensors are emitted whether by
Object blocks, since sensor detected is not identical in different detection cycles, and it is detected in each detection cycle
Multiple sensors are sensors corresponding to non-conterminous multiple strings of the Chinese zither, and the circulation of all sensors can be made to emit and signal inspection
The survey period exponentially reduces, and not will receive the influence of the sensor of adjacent strings of the Chinese zither, it is possible thereby to improve the effect of signal detection
Rate and accuracy.
Detailed description of the invention
The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, and attached drawing is schematically without that should manage
Solution is carries out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 is the structural schematic diagram of the zither playing prompt system in the embodiment of the present invention;
Fig. 2 is the Chinese zither structural schematic diagram in the embodiment of the present invention with performance hint function;
Fig. 3 is the indicator light position view in the embodiment of the present invention;
Fig. 4 is the specific location schematic diagram of two indicator lights in the embodiment of the present invention;
Fig. 5 is the Chinese zither structural schematic diagram with movement acquisition function in the embodiment of the present invention;
Fig. 6 is the sensor sensing light path schematic diagram in the embodiment of the present invention;
Fig. 7 is the position view of the first group of sensor in the embodiment of the present invention;
Fig. 8 is the position view of the second group sensor in the embodiment of the present invention;
Fig. 9 is the Chinese zither electrical block diagram in the embodiment of the present invention for recording performance movement;
Figure 10 is the flow chart of one of the embodiment of the present invention zither playing error correction method;
Figure 11 is the flow chart of one of the embodiment of the present invention Chinese zither signal detecting method;
Figure 12 is the module map of one of the embodiment of the present invention Chinese zither signal supervisory instrument.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present invention provides a kind of Chinese zither with performance hint function, as shown in Fig. 2, the Chinese zither includes bridge 22, preceding high mountain
Mountain 23, back hills 24 and multiple indicator lights 26.For the ease of watching the positional relationship of above-mentioned all parts, zither is omitted in figure
String, and since strings of the Chinese zither belongs to consumables, and be not belonging to the necessary component of Chinese zither, thus this application claims Chinese zither knot
It does not include strings of the Chinese zither in structure.
Indicator light 26 in the application can be set on a variety of positions, such as the panel or bridge 22 of Chinese zither is arranged in
On be all feasible.Putting in order for these indicator lights 26 is corresponding with putting in order for each strings of the Chinese zither.It is similar to bridge 22, qin
Code 22 quantity and put in order as strings of the Chinese zither quantity and put in order, so these indicator lights 26 put in order and code 22
Put in order and be also consistent.Indicator light 26 specifically can be set on panel below each strings of the Chinese zither or bridge 22
Two sides, it will be understood by those skilled in the art that strings of the Chinese zither is carried out by bridge 22, the mountain Qian Yue 23, these three components of back hills 24
Fixed, as long as the position of indicator light 26 does not influence the trembling of strings of the Chinese zither.
A piece strings of the Chinese zither or bridge 22 can correspond at least one indicator light 26, and indicator light 26 by transition state for being mentioned
Show that performance acts, transition state is, for example, to light and extinguish, or change color, or change light and shade or flicker frequency etc..
Such as indicator light 26 is in illuminating state, then indicates that user should stir or press corresponding strings of the Chinese zither, extinguishing then indicates to be not required to
Operate the strings of the Chinese zither.
The state of indicator light 26 can be controlled by some controller, the controller can by manually being controlled, or
It is controlled automatically according to the music score of Chinese operas, controller can be wired with these indicator lights 26 or be wirelessly connected.
The Chinese zither with performance hint function provided according to the present invention, the indicator light on Chinese zither put in order and each zither
Putting in order for string is consistent, by the state change of indicator light, the left hand of player can be guided to act and acted with the right hand, so that
Player can the prompt of lamp as indicated play, it is possible thereby to improve the efficiency of Chinese zither teaching.
As a preferred embodiment, as shown in Fig. 2, indicator light 26 is arranged in bridge 22, in each bridge 22
It is respectively equipped at least one indicator light 26.Indicator light 26, which is arranged in bridge 22, can make it brighter with the corresponding relationship of strings of the Chinese zither
It is aobvious, easily facilitate user's observation.
Further, as shown in figure 3, the top of bridge 22 is arranged in indicator light 26.In the present embodiment, bridge 22 supports
The top of strings of the Chinese zither forms a curved surface, which is equipped with a groove 260 for inlaying indicator light 26.
It is set as hollow structure inside bridge 22, for accommodating electric wire or other electronic devices, indicator light 26 leads to respectively
Cross the instruction lamp controller inside the connection zither body being arranged in inside bridge 22.
As shown in figure 4, in order to distinguish the movement of manipulating the strings of the push action of prompt left hand and the right hand, bridge 22 in the present embodiment
On be respectively equipped with two indicator lights, wherein the first indicator light 261, for prompting left hand to play movement, the second indicator light 262 is used for
The prompt right hand plays movement.
First indicator light 261 is arranged in bridge 22 on the position of back hills 24, and the second indicator light 262 is arranged in qin
On code 22 on the nearby position of Yue Shan 23.This differentiates user clearly, when the first indicator light 261 to keep left changes
When state, expression should press its corresponding strings of the Chinese zither with left hand;When the second indicator light 262 kept right changes state, indicate to answer
When stirring its corresponding strings of the Chinese zither with the right side.
In order to make user be more easier to distinguish above-mentioned two indicator light, the first indicator light 261 and the second indicator light 262 can be with
Movement is played by different photochromic prompt left hands respectively and the right hand plays movement.
And in the case where every strings of the Chinese zither is only correspondingly arranged an indicator light, indicator light can pass through different photochromic prompts
Left hand plays movement and the right hand plays movement, such as indicates that left hand presses strings of the Chinese zither while the right hand is stirred when indicator light is presented red
Strings of the Chinese zither indicates that the right hand fingers a stringed instrument left hand attonity when blue is presented in indicator light, indicates not needing to grasp when indicator light extinguishes
Make the strings of the Chinese zither.
An embodiment provides a kind of zither playing prompt system, the system as shown in Figure 1 includes: terminal
1 and Chinese zither 2, wherein terminal 1 has data processing and logical such as can be smart phone, tablet computer or personal computer
The electronic equipment of telecommunication function;In addition to this embodiment of the present invention can should using Chinese zither as in Figure 2-4 in above-described embodiment
Chinese zither also has data processing unit 25, data processing unit 25 and above-mentioned multiple first indicator lights 261 and multiple second instructions
Lamp 262 connects, and every strings of the Chinese zither respectively corresponds first indicator light 261 and second indicator light 262 in the present embodiment.Number
It can be set in any position according to processing unit 25, as long as not influencing the sounding of Chinese zither and the use of player;First refers to
Show that lamp 261 is related to the corresponding strings of the Chinese zither in the position of the second indicator light 262, position should enable player clearly to distinguish
The corresponding relationship of other strings of the Chinese zither and indicator light.There are many specific set-up modes, for example, be arranged in the bridge of corresponding strings of the Chinese zither, Qian Yueshan,
It is all feasible at back hills and string hole.
Wherein, terminal 1, which is used to be sent according to music score of Chinese operas data, plays indication signal.Specifically, one kind can be set in terminal 1
Application program reads and parses music score of Chinese operas data, and then issued according to parsing result and play indication signal.There are many in the prior art
The tool of electronic score is made, the present invention can be parsed based on existing electronic score format or customized format.
The music score of Chinese operas is made of sequence of notes, and terminal 1 can identify the note in the music score of Chinese operas one by one, and it is determined that by Chinese zither which root
String, player can make the string issue corresponding sound with what kind of movement.For example, some note in the music score of Chinese operas is fa sound,
Terminal 1 can be with it is determined that issue this sound by 3 strings when reading this note, and player's left hand needs to need by this string, the right hand
This string is stirred, it is possible thereby to issue a performance indication signal, instruction player plays out fa sound in the correct way.
Chinese zither 2 can be one or more, may be respectively used for one and more people and learns zither playing.In the present embodiment
In, shown in Figure 4 in order to make player facilitate viewing, 2 corresponding first indicator light 261 and second of each strings of the Chinese zither 21 of Chinese zither
Indicator light 262 is arranged at bridge 22, and it is right-hand area that left side, which is left-hand area, right side, in figure, and the first indicator light 261 is located at
The left side of bridge 22 under strings of the Chinese zither is used to indicate left hand movement;Second indicator light 262 is located at the right side of the bridge 22 under strings of the Chinese zither,
It is used to indicate right hand movement.Data processing unit 25 receives above-mentioned performance indication signal, and is referred to accordingly according to signal control
Show that lamp is lighted and extinguished.Still by taking above-mentioned fa sound as an example, data processing unit 25 receives the corresponding performance indication signal of the note
When, the first indicator light 261 and the second indicator light 262 at 3 string bridges should be lighted, and extinguish instruction after the note
Lamp.Certainly, the singlehanded note played is needed for other, data processing unit 25 should light the first indicator light 261 or the second
Some in indicator light 262.It is of the present invention to light bright, variation brightness the bright, sudden strain of a muscle that should be understood as constant brightness
The various display modes such as bright.
The zither playing prompt system provided according to embodiments of the present invention parses the music score of Chinese operas by terminal and sends performance to Chinese zither
Indication signal, the indicator light on Chinese zither execute movement according to the signal, to indicate the left hand movement and right hand movement of player, make
Player can the prompt of lamp as indicated play, it is possible thereby to improve the efficiency of Chinese zither teaching.
As a preferred embodiment, string can be numbered according to the sequence of strings of the Chinese zither, and can be to corresponding
Indicator light be numbered, such as 1 string number is 001, and corresponding first indicator light number is 001a, corresponding second indicator light
Number is 001b.In the case, above-mentioned performance indication signal may include strings of the Chinese zither number information and indicator light number information.This
A little number informations can carry out with higher efficiency identification signal in order to data processing unit 25, and the accurately corresponding instruction of control
Lamp is acted.
About the sending method for playing indication signal, at least there are two types of optional concrete schemes.
The first optional scheme is that terminal 1 successively sends performance indication signal, namely one note of identification to Chinese zither 2,
A corresponding performance indication signal is generated and sent immediately, and terminal determines strings of the Chinese zither number information according to the note in music score of Chinese operas data
With indicator light number information, such as n-th note is fa, and the strings of the Chinese zither number information determined therefrom that is 003 (3 string), and indicator light is compiled
Number information is 003a and 003b (corresponding first indicator light of 3 strings and the second indicator light), (n+1)th note are si, is determined therefrom that
Strings of the Chinese zither number information be 006 (6 string), indicator light number information be 006a and 006b (corresponding first indicator light of 6 strings and second
Indicator light).Should have certain time interval, such as minim, crotchet and eight partials between note in the music score of Chinese operas
Symbol etc., the interval time different between these notes, terminal 1 can be determined according to the time interval between the note in music score of Chinese operas data
Send each performance indication signal time interval, for example, between n-th of note and (n+1)th note between be divided into 0.5 second, then
Terminal 1 should be in the (n+1)th performance indication signal of transmission in 0.5 second after n-th of transmission performance indication signal.
Second of optional scheme is that terminal 1 can be read to the transmission performance indication signal sequence of Chinese zither 2, such as terminal 1
And identify one section or whole of the music score of Chinese operas, then send corresponding performance indication signal sequence.Wherein terminal 1 is according to music score of Chinese operas data
In note determine strings of the Chinese zither number information and indicator light number information, and it is true according to the time interval between the note in music score of Chinese operas data
The time interval between each performance indication signal in sequencing column.
Correspondingly, data processing unit 25 determines corresponding two indicator lights, and further root according to strings of the Chinese zither number information
One or all lighted in corresponding two indicator lights is determined according to indicator light number information.Such as data processing unit 25
Receiving a signal includes strings of the Chinese zither number information 003, thus it is corresponding then to control 3 strings by indicator light number information 003a and 003b
The first indicator light and the second indicator light light simultaneously.
About the operation that 25 control instructions lamp of data processing unit is lighted and extinguished, letter is indicated for each different performance
Number, data processing unit 25 controls that the duration that corresponding indicator light is lighted is not identical, determines with specific reference to the length of note.
For this purpose, playing can also include Duration Information in indication signal, which is believed by terminal 1 according to the note in music score of Chinese operas data
Breath obtains, and terminal 1 determines Duration Information according to the time interval between the note in music score of Chinese operas data.Such as n-th in the music score of Chinese operas
Time interval between a note and (n+1)th note is 0.2 second, then for n-th of note, in performance indication signal generated
Duration Information be 0.2 second.
Data processing unit 25 controls corresponding indicator light according to Duration Information and is remain on state and maintenance accordingly
Extinguish after time.
Such as terminal 1 can issue the performance indication signal of n-th of fa sound, the signal include strings of the Chinese zither number information be 003,
Indicator light number information 003a and 003b, the duration 1 second, after the data processing unit 25 of Chinese zither 2 is connected to the signal, then control
Corresponding first indicator light of 3 strings and the second indicator light are persistently lighted 1 second simultaneously.Also have between indication signal as described above, playing
There is interval time, interval time is not present with the duration to conflict, such as (n+1)th performance indication signal refers to n-th of performance
Show that the interval time between signal is 0.5 second, the duration in n-th signal is then 0.5 second, then just at upper one
When indicator light corresponding to signal extinguishes, data processing unit 25 controls the corresponding indicator light of current demand signal and lights.
An embodiment provides a kind of Chinese zither with movement acquisition function, as shown in figure 5, the Chinese zither packet
Bridge 22, the mountain Qian Yue 23, back hills 24 and multiple sensors 30 are included, every strings of the Chinese zither respectively corresponds an at least sensor 30, passes
Sensor 30 plays movement for incuding.
The type of sensor 30 there are many optinal plan, such as can be pulling force (tension) sensor, vibrating sensor or
Person's optical sensor.For tension sensor and vibrating sensor, the sense contact needs of sensor are in contact with strings of the Chinese zither, work as performance
When person stirs or presses strings of the Chinese zither, it will be changed to motion state by static by external force strings of the Chinese zither, sensor corresponding with strings of the Chinese zither
Tension variations or vibration frequency variation can be sensed.
It should be noted that as strings of the Chinese zither be made of elastic material, even if in the absence of external forces, pulling force
It can also happen that variation;Or during player plays, it can also be changed the drawing under its stationary state by external force variation
Force value.But when playing strings of the Chinese zither compared to user value of thrust change, the value of thrust change under above situation is can be ignored
, the induction threshold value by the way that sensor is arranged can incude the effective of player and play movement.
There are many optinal plans for the position of sensor 30, such as can be set at the mountain Qian Yue 23 and/or back hills 24, or
Person is arranged at bridge 22.These sensors can connect a data processor, to collect and distinguish each sensor acquisition
The signal arrived.
What is provided according to embodiments of the present invention has the Chinese zither of movement acquisition function, and the sensor of Chinese zither setting respectively corresponds
In each strings of the Chinese zither, what when player stirs or presses to strings of the Chinese zither, sensor can incude player plays movement, with
The record to playing procedure may be implemented in this, and then can also judge movement is played, this programme detection play movement and
The sound that concern strings of the Chinese zither is issued is not needed, it is more accurate to the record of playing procedure not vulnerable to the influence of external environment, and
With stronger practicability.
As a preferred embodiment, sensor 30 used in the embodiment of the present invention is optical sensor, according to bullet
Hand motion plays movement to the induction of blocking of optical path when playing string.There are many optinal plans for the position of sensor 30, so that drilling
The finger for the person of playing can block it and incude optical path when stirring or pressing strings of the Chinese zither.
As shown in fig. 6, in the present embodiment, the induction optical path 301 of sensor 30 is located at 21 lower section of strings of the Chinese zither, flat with strings of the Chinese zither 21
Row.So-called induction optical path 301 is the actual induction range of sensor 30, this depends on the shape of the photosensitive opening of sensor and angle
Degree.Sensor 30 can be set on the panel of Chinese zither, and the angle of photosensitive opening is arranged along 21 direction of pull of strings of the Chinese zither, and opening is cut
Face shape can be round, rectangle etc., and the sensitive volume of the corresponding sensor of each strings of the Chinese zither is mutually non-overlapping, so photosensitive
The area of opening should be sufficiently small.
Every strings of the Chinese zither can only correspond to a sensor 30, specifically can be set in bridge 22, the mountain Qian Yue 23, back hills 24
Any one of near component.Such as sensor 30 can be set near the mountain Qian Yue 23, towards bridge 22, sense between this
Whether there is object to pass through and block optical path (for acquiring the push action of left hand);Similarly, sensor 30 can be set in qin
Near code 22, towards the mountain Qian Yue 23;Sensor 30 can be set near back hills 24, and towards bridge 22, sensing between this is
It is no to there is object to pass through and block optical path (for acquiring the movement of manipulating the strings of the right hand);Similarly, sensor 30 can be set in bridge
Near 22, towards back hills 24.
No matter player stirs or presses strings of the Chinese zither, and sensor 30 can sense that optical path is blocked, to collect
Hand motion.But the movement of left or right hand cannot be distinguished in this scheme, or can only acquire the movement of a wherein hand.
In order to distinguish and acquire the movements of playing of two hands simultaneously, every strings of the Chinese zither in the present embodiment respectively corresponds two groups of light and passes
Sensor, wherein first group of optical sensor is arranged at the mountain Qian Yue 23 and/or bridge 22, second group of optical sensor is arranged in back hills
24 and/or bridge 22 at.One group of sensor described in the embodiment of the present invention can be a sensor, by acquisition environment in from
The variation of right photoinduction light, so that incuding hand plays movement.So first group of sensor 31 can be set on the mountain Qian Yue 23
Or at bridge 22, for incuding the movement of left hand pressing strings of the Chinese zither;Second group sensor 32 can be set in back hills 24 or bridge
At 22, the movement of strings of the Chinese zither is stirred for incuding the right hand.
One group of sensor described in the embodiment of the present invention can be to be made of an infrared ray sending device and reception device
External member, this mode incude hand motion by the optical path circumstance of occlusion of infrared ray, have higher accuracy.Specifically,
The infrared ray sending device of one group of sensor 31 can be set at the mountain Qian Yue 23, and reception device can be located at (two at bridge 22
Person's reversing of position is also feasible);The infrared ray sending device of second group sensor 33 can be set at back hills 24, receive
Device can be located at bridge 22 (the two reversing of position is also feasible).
In order to optimize the structure of Chinese zither so as to standardized production, sensor is encapsulated in intrinsic component by the embodiment of the present invention
Interior, bridge 22, the mountain Qian Yue 23 in the present embodiment, back hills 24 are equipped with cavity, for accommodating electronic device.As shown in fig. 7,
For first group of sensor 31, emitter is arranged in the cavity in bridge 22, and optical path outlet L 311 is located at bridge 22
On the nearby side wall of Yue Shan 23, optical path goes out L 311 towards the reception device at the mountain Qian Yue 23.
Reception device in first group of optical sensor 31 is arranged in the cavity in the mountain Qian Yue 23, optical path entrance L 312
Positioned at the mountain Qian Yue 23 towards the reception device on the side wall of bridge 22, i.e. in first group of optical sensor 31 corresponding to every strings of the Chinese zither
It is oppositely arranged respectively with emitter.
As shown in figure 8, emitter is arranged in the cavity in bridge 22, light for second group of optical sensor 32
Way outlet R 321 is located at bridge 22 on the side wall of back hills 24, and optical path exports R 321 towards the reception dress at back hills 24
It sets.
Reception device in second group of optical sensor 32 is arranged in the cavity in back hills 24, and optical path entrance R322
In back hills 24 towards on the side wall of bridge 22, i.e. reception device in second group of optical sensor 32 corresponding to every strings of the Chinese zither and
Emitter is oppositely arranged respectively.
It will be understood by those skilled in the art that player's right hand stirs strings of the Chinese zither usually using plectrum, the thickness very little of plectrum,
If photosensitive open area is larger, error may be generated when plectrum moves in optical path, in order to accurately detect plectrum to optical path
Block, the shape of optical path entrance R 322 uses elongate rectangular, and width direction is the direction that player stirs strings of the Chinese zither, the light
Entrance R 322 width in road selects 0.2 millimeter, slightly larger than the diameter with strings of the Chinese zither less than 0.5 millimeter in the present embodiment.
An embodiment provides a kind of intelligent Chinese zither, which is used to play movement life according to player
At corresponding information, to carry out error correction to playing movement.This programme can be used alone, can also in above-described embodiment
Scheme combines.As shown in figure 9, the Chinese zither includes:
Multiple sensors preferably use photoelectric sensor in the present embodiment, and every strings of the Chinese zither respectively corresponds two sensors,
Wherein one group of sensor is used to generate the first signal when collecting left hand movement, and another group of sensor is for collecting the right hand
Second signal is generated when movement.Sensor for example can be set below strings of the Chinese zither, and each group of sensor may include at least one
Sensor, such as be arranged at bridge and Qian Yueshan, back hills, the variation of light along strings of the Chinese zither extending direction induction environment.When
When player's left hand presses strings of the Chinese zither, so that the optical path of first group of sensor 31 is pressed, the finger of strings of the Chinese zither is sheltered from, so that
First group of sensor 31 generates the first signal;When player's right hand stirs strings of the Chinese zither, so that the optical path quilt of second group sensor 32
The finger for stirring strings of the Chinese zither shelters from, so that second group sensor 32 generates second signal.The specific location of sensor has more
Kind selection, the present invention provides a kind of preferred Chinese zither structures, will specifically describe in detail in subsequent embodiment.
Data processing unit 25, for receiving the first signal and the second signal, and according to the first signal and the second signal to
Terminal send playing information, the content of playing information can embody it is corresponding with the first signal or second signal play it is dynamic
Make, can specifically embody which root strings of the Chinese zither player has played, using left hand or the right hand, this information can either simultaneously
To be further used for error correction.As an example, it is assumed that sometime point, player's left hand presses 3 strings, while the right hand stirs 3
String, two sensors corresponding to 3 strings generate the first signal and the second signal respectively at this time, and data processing unit 25 is receiving
When this signal, the meaning of these signals can be distinguished, generate information to express player plays movement.
Error-correction operation can be analyzed and be confirmed according to the playing information by exterior terminal, specifically will be in subsequent implementation
It describes in detail in example, in the present embodiment, Chinese zither only needs to be implemented the operation of information generation.
The intelligent Chinese zither provided according to embodiments of the present invention is issued corresponding by the hand motion of sensor sensing player
Signal, identification is carried out to these signals by data processing unit and generates corresponding playing information, is played with information representation dynamic
Make, this programme generates playing information by detection hand motion, the tension of concern strings of the Chinese zither is not needed, not vulnerable to the shadow of external environment
It rings, playing information generated can more accurately express performance movement, have stronger practicability.
As a preferred embodiment, string can be numbered according to the sequence of strings of the Chinese zither, and can be to corresponding
Sensor be numbered, such as 1 string number is 001, and corresponding first group of sensor 31 number is 001a, second group corresponding
The number of sensor 32 is 001b.In the case, above-mentioned playing information may include corresponding with the first signal and/or second signal
Sensor number information.These number informations can carry out with higher efficiency identification signal in order to data processing unit 25, with
This confirms that player's plays movement.
Further, playing information can also include that data processing unit 25 receives each first signal and/or second
The time interval of signal.Such as left hand presses No. 003 strings of the Chinese zither when player's n-th of sound of performance while the right hand stirs No. 003 zither
String, corresponding two sensors issue signal respectively, and after time t1, the right hand is stirred when player plays (n+1)th note
No. 006 strings of the Chinese zither, corresponding second group sensor 32 issue signal, and time t1 therein is the time for playing two adjacent notes
It is spaced, the playing information transmitted by processing unit 25 for (n+1)th note then includes that 006b (compile by the corresponding sensor of signal
Number information) and time interval t1.This programme recording performance person plays the interval time of each adjacent note, generates and sends
Playing information carries these interval times, can more accurately embody performance movement, richer information is provided for error-correction operation.
Further, playing information can also include that data processing unit 25 receive each first signal and/or the
The duration of binary signal.It illustrates as one, when player needs that left hand presses 3 strings, the right hand stirs 3 when playing note fa
String, in order to there is sound go, left hand needs persistently to stop, so the first signal of respective sensor will persistently have one section
Time t2, the playing information generated for fa note of processing unit 25 then include 003a, 003b (corresponding sensor of signal
Number information) and t2 (duration of corresponding first signal of 003a).This programme recording performance person plays holding for each note
Continuous time, the playing information for generating and sending carry these duration, can more accurately embody performance movement, are error correction
Operation provides richer information.
The mode of above-mentioned performance signal is sent about data processing unit 25, at least there are two types of optional concrete schemes.
As the first concrete scheme, data processing unit 25 successively sends performance letter according to the sequence of playing of player
Breath.Specifically, data processing unit 25 according to the sequence and time interval for receiving each first signal and/or second signal according to
It is secondary to send sensor number information to terminal, and can also believe including the duration of the signal in transmitted playing information
Breath.As one illustrate, such as receive player play n-th of sound when generate and send n-th of playing information (003a,
003b、t2n), wherein 003a and 003b is sensor number information, t2nDuration Information;By time t1nIt receives and plays
Person plays signal when (n+1)th note, then in t1n(n+1)th playing information (006b, t2 are sent latern+1), t1nIt is to send
The time interval of the two playing informations.This programme successively acts according to performance and sends playing information, can make to receive terminal reality
When receive the corresponding playing information of current musical notes, compare and be suitble to one-to-one teaching scene, convenient in real time to each
Performance movement carries out error correction.
As second of concrete scheme, data processing unit 25 can be sent by sensor number information and time interval letter
Cease composition information sequence, the sequence can be the played song of player whole or one section.It illustrates as one, such as
Player plays n note, will generate n playing information to this n note and form information sequence, wherein the 1st note is corresponding drills
Playing information is (003a, 003b, t11), indicate that player's left hand stirs 3 strings by 3 strings, the right hand, left hand is stopped duration
For t11;The 2nd corresponding playing information of note is (005b, t21), indicate that player's right hand stirs 5 strings, without when stopping lasting
Between, interval time for playing movement with first be t21... the corresponding playing information of n-th of note is (006a, 006b, t1n、
t2n), indicate that player's left hand stirs 6 strings by 6 strings, the right hand, left hand stops duration as t1n, play with (n-1)th it is dynamic
The interval time of work is t2n.In information sequence sensor number information and Duration Information put in order and data processing
Unit 25 receives the sequence consensus of the first signal and/or second signal.This programme can be such that reception terminal receives than more complete
The corresponding playing information sequence of multiple musical notes, compare and be suitble to one-to-many teaching scene, convenient for terminal simultaneously receive it is more
The playing information sequence that a Chinese zither is sent, and error correction is carried out for each information sequence respectively after receiving.
Correspondingly, performance is successively sent according to the sequence of playing of player for data processing unit 25 in above-described embodiment
The scheme of information, An embodiment provides a kind of zither playing error correction method, this method can be by above-mentioned terminal 1
It executes, this method comprises the following steps as shown in Figure 10:
S41 successively receives the playing information that Chinese zither is sent;It include that left hand plays action message in each playing information
And/or the right hand plays action message, which is used to indicate the left hand of player and the right hand carried out in any root strings of the Chinese zither respectively by
It presses or stirs.Referring to above-described embodiment, which can be the first group of sensor number information and/or second group of biography of Chinese zither
Sensor number information.
S42, successively compares playing information and whether corresponding music score of Chinese operas information is consistent, includes default left hand bullet in music score of Chinese operas information
It plays action message and/or the default right hand plays action message;When left hand play action message and/or the right hand play action message with
Default left hand plays action message and/or the default right hand play action message it is inconsistent when, execute step S43, otherwise continue to sentence
Break next playing information.
S43 marks playing information.It illustrates as one, it is assumed that n-th of playing information is (003a, 003b), wherein 003a
It is sensor number information with 003b;N-th of music score of Chinese operas information is (003b), and wherein 003b is default sensor number information, than
Compared with result when playing information in had more 003a, the two is inconsistent, then mark the playing information be error message.Corresponding reality
Border meaning is that n-th of note in the music score of Chinese operas should be that the right hand stirs 3 strings, left hand attonity;And the actual act of player is right
Left hand presses 3 strings while hand stirs 3 string, therefore plays movement there are mistakes, will lead to pronunciation mistake.
The zither playing error correction method provided according to embodiments of the present invention is used to indicate performance by what acquisition Chinese zither was sent
Person's left hand plays movement and the right hand plays the information of movement, and it is compared with action message corresponding in music score of Chinese operas information,
May determine that player's plays whether movement is correct, and this programme does not need to be acquired voice data and handle, and according to
Action message judges whether playing mode is correct, and this programme not will receive the interference of external sound, has stronger practicability.
Further include current playing information as a preferred embodiment, in the playing information in the embodiment of the present invention with
It is pre- with previous music score of Chinese operas information that the time interval information of previous playing information further includes current music score of Chinese operas information in music score of Chinese operas information
If time interval information.There should be certain time interval between note in the music score of Chinese operas, such as in n-th of note and (n+1)th
It is divided between a note 0.5 second, then may include sensor number information and an interval in (n+1)th music score of Chinese operas information
Time t1=0.5 indicates that the interval of the information and previous information should be 0.5 second.
Meanwhile also can record time interval when player plays adjacent note in playing information, it is in the present embodiment, ancient
Zither is successively to send playing information, and the transmission interval time of information is the time interval information in playing information.For drilling
Can be without time interval information in the corresponding playing information of the first note played, the sending time of first playing information can
Using the initial time as execution this method.
When receiving playing information, interval time therein and the interval time in music score of Chinese operas information can be compared
It is right, the playing information is marked when the two is inconsistent, and it is too fast or excessively slow to indicate that the note is played.Certainly, it can be set when comparison
Certain allowable error range is set, if the time can consider that the two is consistent within a certain error range.
Further, further include in the playing information in the embodiment of the present invention left hand play movement and/or the right hand play it is dynamic
The Duration Information of work further includes that left hand plays movement and/or the right hand is played the default of movement and held in corresponding music score of Chinese operas information
Continuous temporal information.When playing note, in order to there is sound go, it is often necessary to which left hand is persistently stopped, so music score of Chinese operas information
In a duration t2 can be set, when player plays note, the processing unit 25 of Chinese zither it is generated be directed to certain note
Playing information then include sensor number and a duration.
When receiving playing information, the preset durations in duration therein and music score of Chinese operas information can be carried out
It compares, when the two is inconsistent, marks playing information, indicate that the note duration is too short or too long.Equally, this was compared
Certain allowable error range also can be set in journey, if the time can consider that the two is consistent within a certain error range.
In conclusion corresponding playing information may include three parts for a note, respectively expression left hand is dynamic
Work and/or the sensor number Information ID 1 and/or ID2, duration information t1 and Duration Information t2 of right hand movement;Phase
The music score of Chinese operas information answered also includes these three parts, these information are compared, when wherein there is any a part of information inconsistent
When then mark the playing information be error message.
According to above-mentioned preferred real-time mode, action message can be played according to left hand, the right hand is played action message detection and played
Whether the hand motion of person is correct;Whether the speed that note can be played according to time interval information detection player simultaneously meets
Music score of Chinese operas speed;Player can also be detected according to Duration Information play whether duration of note meets sound in the music score of Chinese operas
The duration of symbol, method complete detection playing procedure provided in this embodiment, error correction efficiency is higher and has stronger practical
Property, thus, it is possible to play the role of improving efficiency of teaching.
Simultaneously the present embodiment a kind of electronic equipment is also provided, comprising: communication device, at least one processor and with it is described
The memory of at least one processor communication connection;Wherein, communication device, such as bluetooth module, WiFi module, are used for and Chinese zither
It being communicated, successively receives the playing information that Chinese zither is sent, memory is stored with the instruction that can be executed by least one processor,
The instruction is executed by least one processor, so that at least one processor executes above-mentioned zither playing error correction method.
The situation of playing information sequence, another reality of the invention are sent for data processing unit 25 in above-described embodiment
It applies example and provides a kind of zither playing error correction method, this method can be executed by above-mentioned terminal 1.In previous embodiment
Error correction method the difference is that, the present embodiment disposably receives the information sequence being made of multiple playing informations, and according to sequence
Information sequence in column judges respectively and marks each playing information.
It should be noted that the time interval information that player plays each note can be carried out by data processing unit 25
Recording and sending is to terminal 1.In the above two embodiments, first embodiment is that sequence receives playing information and implements to be sentenced
Disconnected, second embodiment is disposably to receive the sequence of multiple playing informations, is successively judged in sequence after receiving.
Terminal 1 is identical for judgment method performed by each playing information, and details are not described herein again.
Simultaneously the present embodiment a kind of electronic equipment is also provided, comprising: communication device, at least one processor and at least
The memory of one processor communication connection;Wherein, communication device is with Chinese zither for being communicated, receive that Chinese zither sends by more
The playing information sequence of a tactic playing information composition, memory are stored with the finger that can be executed by least one processor
It enables, which is executed by least one processor, so that at least one processor executes above-mentioned zither playing error correction method.
For playing information judgment method, the present embodiment provides a kind of electronic equipment, comprising: at least one processor and
The memory being connect at least one processor communication;Wherein, memory is stored with the finger that can be executed by least one processor
It enables, this is executed by least one processor, so that at least one processor executes zither playing information judgment method:
Obtain the playing information that Chinese zither is sent, include in playing information left hand play action message and/or the right hand play it is dynamic
Make information;
Compare playing information and music score of Chinese operas information, includes that default left hand plays action message and/or the default right side in music score of Chinese operas information
Hand plays action message;
When left hand plays action message and/or the right hand plays action message and default left hand plays action message and/or pre-
If the right hand play action message it is inconsistent when, mark playing information.
Optionally, left hand plays action message and the right hand plays action message, default left hand plays action message and default
The right hand plays the sensor number information that action message is Chinese zither.
It optionally, further include the time interval information of current playing information Yu previous playing information in playing information, it is bent
It further include the prefixed time interval information of current music score of Chinese operas information Yu previous music score of Chinese operas information in spectrum information;
When time interval information and prefixed time interval information are inconsistent, playing information is marked.
Optionally, in playing information further include left hand plays movement and/or the right hand plays movement Duration Information, it is bent
It further include the preset durations information that left hand plays movement and/or the right hand plays movement in spectrum information;
When Duration Information and preset durations information are inconsistent, playing information is marked.
For intelligent Chinese zither provided in an embodiment of the present invention, data processing unit 25 will receive first group of sensor
31 and second group sensor 32 signal, if the corresponding sensor of every strings of the Chinese zither all while ceaselessly incudes optical signal, phase
It will form and interfere with each other between adjacent string;If successively control the corresponding sensor of each string in sequence incudes light letter in order
Number, even if the sensitive time of each sensor only has 1ms, then need 21ms that could complete one cycle inspection 21 strings of the Chinese zither
It surveys, and player is often able to play 7-8 note within 1s, too long circulation time is likely to miss and partially play
Movement.
To solve the problems, such as signal detection, An embodiment provides a kind of signal detection sides of intelligent Chinese zither
Method, for detecting the sensor signal of Chinese zither in above-described embodiment, this method can be executed by data processing unit 25.In order to
Convenient for describing and understanding, the present embodiment is by taking one group of sensor (for detecting the sensor of left hand movement or right hand movement) as an example
It is illustrated, can also be synchronized for another group of sensor and execute identical method, details are not described herein again.As shown in figure 11, this reality
The signal detecting method for applying example offer includes the following steps:
S61 successively controls scheduled multiple sensor emission optical signals in each detection cycle, wherein different detection weeks
The sensor of interim light emitted signal is not identical, and multiple sensors of light emitted signal are non-conterminous in each detection cycle
Multiple strings of the Chinese zither corresponding to sensor, each detection cycle circuits sequentially, so that circulation is to the corresponding sensor of all strings of the Chinese zither
It is controlled.It illustrates as one, it can be understood as be grouped the corresponding sensor of all strings of the Chinese zither, such as 1 string, 3 strings, 5
The corresponding sensor of string is first group, 2 strings, 4 strings, the corresponding sensor of 6 strings are second group, with this by the corresponding biography of all strings of the Chinese zither
Sensor is grouped.The duration of each detection cycle can be 3ms, in first 3ms control first group of sensor transmitting light letter
Number, then emit optical signal in second 3ms control second group sensor, until the last one 3ms controls last remaining zither
Restart loop control after string transmitting optical signal.It is such then different multiple non-conterminous zithers are controlled in different detection cycles
The corresponding sensor emission optical signal of string.
Whether S62 successively detects optical signal that scheduled multiple sensors are emitted by object in each detection cycle
It blocks, wherein sensor detected is not identical in different detection cycles, multiple biographies detected in each detection cycle
Sensor is sensor corresponding to non-conterminous multiple strings of the Chinese zither.Correspondingly, data processing unit 25 only detects phase in first 3ms
1 string answered, 3 strings, the corresponding sensor of 5 strings optical signal whether be blocked, second 3ms only detect corresponding 2 string, 4 strings,
Whether the optical signal of the corresponding sensor of 6 strings is blocked, until the last remaining strings of the Chinese zither of the last one 3ms detection emits optical signal
Restart cycle detection after whether being blocked.Corresponding several sensor signals are only focused in different detection cycles, and
The signal of other sensors will not be received.For having in the quantity (quantity of detection cycle) of above-mentioned grouping, each detection cycle
Which sensor simultaneously operation and the specific duration in period these relevant parameters, can according to the total quantity of strings of the Chinese zither and
The speed of played song is set, for example, for 21 strings, 16 strings, 13 strings Chinese zither, different values can be used.
The signal detecting method provided according to embodiments of the present invention, by controlling scheduled multiple biographies in each detection cycle
Sensor emits optical signal, correspondingly detected in each detection cycle optical signal that scheduled multiple sensors are emitted whether by
Object blocks, since sensor detected is not identical in different detection cycles, and it is detected in each detection cycle
Multiple sensors are sensors corresponding to non-conterminous multiple strings of the Chinese zither, and the circulation of all sensors can be made to emit and signal inspection
The survey period exponentially reduces, and not will receive the influence of the sensor of adjacent strings of the Chinese zither, it is possible thereby to improve the effect of signal detection
Rate and accuracy.
As a preferred embodiment, above-mentioned detection scheme can be realized by way of handoff source, such as
Data processing unit 25 is the chip with multiple interrupt source interfaces, and wherein each interrupt source interface can connect multiple
Sensor.Specifically, above-mentioned steps S62 may include steps of:
S621, according to detection cycle handoff source, wherein non-conterminous multiple zithers are respectively associated in each interrupt source
Sensor corresponding to string, sensor associated by different interrupt source be not identical.
S622 successively receives the sensor signal that the interrupt source of switching is passed to.Such as first interrupt source interface connection 1
String, 3 strings, the corresponding sensor of 5 strings, second interrupt source interface connect 2 strings, 4 strings, the corresponding sensor of 6 strings etc., then
First 3ms switches first interrupt source, and receives the signal of connected sensor, switches in second in second 3ms
Disconnected source, and receive the connected signal of sensor etc..
More for strings of the Chinese zither, arrangement comparatively dense Chinese zither structure, in above-mentioned each detection cycle, non-conterminous multiple zithers
Sensor corresponding to string is to be separated by sensor corresponding at least 2 strings of the Chinese zither.E.g. 1 string, 4 strings, 7 strings are corresponding
Sensor, as second group etc., can further avoid closing in this way as first group, 2 strings, 5 strings, the corresponding sensor of 8 strings
Sensor signal interferes with each other.
The embodiment of the present invention provides a kind of it is particularly applicable to the signal detecting method of 21 string Chinese zither, specifically includes following step
It is rapid:
S71, control simultaneously the 1st, 5,9,13,17, the corresponding sensor emission light letter of 21 strings in the 1st detection cycle
Number;
At the same time, the 1st, 5,9,13,17, the corresponding sensor emission of 21 strings are detected simultaneously in the 1st detection cycle
Optical signal whether be blocked, the signal of other sensors will not be received and detect in this period, in conjunction with above-mentioned handoff
The mode of operation in source, first interrupt source interface only connect the corresponding sensor of 1,5,9,13,17,21 strings, at this time data processing
Unit 25 can only receive the signal come the signal of interface since then without receiving other interfaces;
S72 controls the 2nd, 6,10,14, the corresponding sensor emission optical signal of 18 strings simultaneously in the 2nd detection cycle;
At the same time, detection simultaneously the 2nd, 6,10,14, the corresponding sensor emission of 18 strings in the 2nd detection cycle
Whether optical signal is blocked;
S73 controls the 3rd, 7,11,15, the corresponding sensor emission optical signal of 19 strings simultaneously in the 3rd detection cycle;
At the same time, detection simultaneously the 3rd, 7,11,15, the corresponding sensor emission of 19 strings in the 3rd detection cycle
Whether optical signal is blocked;
S74 controls the 4th, 8,12,16, the corresponding sensor emission optical signal of 20 strings simultaneously in the 4th detection cycle;
At the same time, detection simultaneously the 4th, 8,12,16, the corresponding sensor emission of 20 strings in the 4th detection cycle
Whether optical signal is blocked.
Above-mentioned steps S71-S74 is a complete detection circulation, executes this method repeatedly according to the circulation and realizes to institute
There are the loop control and detection of 21 strings.
The above method one shares 4 detection cycles, wherein have in a cycle the corresponding sensor of 6 strings of the Chinese zither simultaneously into
Action is made, and has the corresponding sensor of 5 strings of the Chinese zither in the other three period while being acted.The duration of these detection cycles can
Be it is equal, the duration and detection time of e.g. 1-2ms namely sensor emission optical signal are 1-2ms, thus right
The sensor of 21 strings carries out primary complete control and detection only needs 4-8ms.
Signal and detection signal are successively sent relative to each sensor, this programme can be such that the circulation of all sensors sends out
It penetrates and reduces 4 times with signal detection cycle, and in same detection cycle, by being separated by the corresponding sensor synchronization action of 3 strings of the Chinese zither,
The sensor of synchronization action will not influence each other, it is possible thereby to improve the efficiency and accuracy of signal detection.
Correspondingly, the embodiment of the invention also provides a kind of signal supervisory instrument of intelligent Chinese zither, which is a kind of right
It should can be set in above-mentioned data processing unit 25 in the virtual bench of computer program, described device, as shown in figure 12 should
Device includes:
Sensor control block 71, for successively in the scheduled multiple sensor emission light letters of each detection cycle control
Number, wherein the sensor of light emitted signal is not identical in different detection cycles, light emitted signal in each detection cycle
Multiple sensors be sensor corresponding to non-conterminous multiple strings of the Chinese zither;
Signal receiving module 72, the light emitted for successively detecting scheduled multiple sensors in each detection cycle
Whether signal is obscured by an object, wherein sensor detected is not identical in different detection cycles, in each detection cycle
Multiple sensors detected are sensors corresponding to non-conterminous multiple strings of the Chinese zither.
Preferably, signal receiving module 72 includes:
Interrupt source switching module is used for according to detection cycle handoff source, wherein each interrupt source difference
It is associated with sensor corresponding to non-conterminous multiple strings of the Chinese zither, sensor associated by different interrupt source is not identical;
Interrupt source detection module, the sensor signal that the interrupt source for successively receiving switching is passed to.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection scope of invention.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection scope of invention.
Claims (9)
1. a kind of signal detecting method of intelligence Chinese zither, the intelligence Chinese zither are equipped with multiple sensors, wherein every strings of the Chinese zither difference
At least one corresponding described sensor, the sensor play movement using optical signal induction hand, which is characterized in that the side
Method includes:
Scheduled multiple sensor emission optical signals successively are controlled in each detection cycle, wherein being sent out in different detection cycles
The sensor for penetrating optical signal is not identical, and multiple sensors of light emitted signal are non-conterminous multiple zithers in each detection cycle
Sensor corresponding to string;
Successively detect whether the optical signal that scheduled multiple sensors are emitted is obscured by an object in each detection cycle, wherein
Sensor detected is not identical in different detection cycles, and multiple sensors detected are not phases in each detection cycle
Sensor corresponding to adjacent multiple strings of the Chinese zither.
2. the method according to claim 1, wherein it is described successively detected in each detection cycle it is scheduled more
Whether the optical signal that a sensor is emitted is obscured by an object, comprising:
According to detection cycle handoff source, wherein that non-conterminous multiple strings of the Chinese zither institutes are respectively associated is right for each interrupt source
The sensor answered, sensor associated by different interrupt source be not identical;
Successively receive the sensor signal that the interrupt source of switching is passed to.
3. the method according to claim 1, wherein sensor corresponding to non-conterminous multiple strings of the Chinese zither is
It is separated by sensor corresponding at least 2 strings of the Chinese zither.
4. method according to any one of claim 1-3, which is characterized in that the quantity of the detection cycle is 4.
5. method according to any of claims 1-4, which is characterized in that described successively to be controlled in each detection cycle
Scheduled multiple sensor emission optical signals, comprising:
Control the 1st, 5,9,13,17, the corresponding sensor emission optical signal of 21 strings simultaneously in the 1st detection cycle;
Control the 2nd, 6,10,14, the corresponding sensor emission optical signal of 18 strings simultaneously in the 2nd detection cycle;
Control the 3rd, 7,11,15, the corresponding sensor emission optical signal of 19 strings simultaneously in the 3rd detection cycle;
It controls the 4th, 8,12,16, the corresponding sensor emission optical signal of 20 strings simultaneously in the 4th detection cycle, returns later
1st detection cycle.
6. method according to any one of claims 1-5, which is characterized in that described successively to be examined in each detection cycle
Survey whether the optical signal that scheduled multiple sensors are emitted is obscured by an object, comprising:
In the 1st detection cycle detection simultaneously the 1st, 5,9,13,17, the optical signal of the corresponding sensor emission of 21 strings whether by
It blocks;
Whether detection simultaneously the 2nd, 6,10,14, the optical signal of the corresponding sensor emission of 18 strings are hidden in the 2nd detection cycle
Gear;
Whether detection simultaneously the 3rd, 7,11,15, the optical signal of the corresponding sensor emission of 19 strings are hidden in the 3rd detection cycle
Gear;
Whether detection simultaneously the 4th, 8,12,16, the optical signal of the corresponding sensor emission of 20 strings are hidden in the 4th detection cycle
Gear, returns to the 1st detection cycle later.
7. method according to claim 1 to 6, which is characterized in that described in each detection cycle
The duration of sensor emission optical signal is 1-2 milliseconds.
8. a kind of signal supervisory instrument of intelligence Chinese zither, the intelligence Chinese zither are equipped with multiple sensors, wherein every strings of the Chinese zither difference
At least one corresponding described sensor, the sensor play movement using optical signal induction hand, which is characterized in that the dress
It sets and includes:
Sensor control block, for successively controlling scheduled multiple sensor emission optical signals in each detection cycle, wherein
The sensor of light emitted signal is not identical in different detection cycles, multiple biographies of light emitted signal in each detection cycle
Sensor is sensor corresponding to non-conterminous multiple strings of the Chinese zither;
Signal receiving module is for successively detecting the optical signal that scheduled multiple sensors are emitted in each detection cycle
It is no to be obscured by an object, wherein sensor detected is not identical in different detection cycles, detected in each detection cycle
Multiple sensors be sensor corresponding to non-conterminous multiple strings of the Chinese zither.
9. device according to claim 8, which is characterized in that the signal receiving module includes:
Interrupt source switching module is used for according to detection cycle handoff source, wherein each interrupt source is respectively associated
Sensor corresponding to non-conterminous multiple strings of the Chinese zither, sensor associated by different interrupt source be not identical;
Interrupt source detection module, the sensor signal that the interrupt source for successively receiving switching is passed to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810976010.7A CN109087621B (en) | 2018-08-24 | 2018-08-24 | Signal detection method and device for intelligent Chinese zither |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810976010.7A CN109087621B (en) | 2018-08-24 | 2018-08-24 | Signal detection method and device for intelligent Chinese zither |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109087621A true CN109087621A (en) | 2018-12-25 |
CN109087621B CN109087621B (en) | 2020-10-30 |
Family
ID=64794621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810976010.7A Active CN109087621B (en) | 2018-08-24 | 2018-08-24 | Signal detection method and device for intelligent Chinese zither |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109087621B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090314157A1 (en) * | 2006-08-04 | 2009-12-24 | Zivix Llc | Musical instrument |
CN201716978U (en) * | 2010-02-24 | 2011-01-19 | 张志平 | Electronic piano using infrared laser piano keyboards |
CN102129798A (en) * | 2011-01-20 | 2011-07-20 | 程矛 | Digital stringed instrument controlled by microcomputer |
US20110210251A1 (en) * | 2010-02-26 | 2011-09-01 | Mitsubishi Electric Corporation | Infrared solid-state imaging device |
US20150379976A1 (en) * | 2012-09-19 | 2015-12-31 | Waleed Sami Haddad | Optoelectronic pickup for musical instruments |
CN205016231U (en) * | 2015-09-11 | 2016-02-03 | 史冰佚 | Can take notes violin of string dynamics of stirring |
CN205069104U (en) * | 2015-10-22 | 2016-03-02 | 管建华 | Stringed instrument |
CN205959602U (en) * | 2016-06-07 | 2017-02-15 | 北京趣乐科技有限公司 | Intelligence string instrument |
CN207663781U (en) * | 2018-01-08 | 2018-07-27 | 重庆理工大学 | It is a kind of based on active infra-red obstacle detection without string electronic organ |
-
2018
- 2018-08-24 CN CN201810976010.7A patent/CN109087621B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090314157A1 (en) * | 2006-08-04 | 2009-12-24 | Zivix Llc | Musical instrument |
CN201716978U (en) * | 2010-02-24 | 2011-01-19 | 张志平 | Electronic piano using infrared laser piano keyboards |
US20110210251A1 (en) * | 2010-02-26 | 2011-09-01 | Mitsubishi Electric Corporation | Infrared solid-state imaging device |
CN102129798A (en) * | 2011-01-20 | 2011-07-20 | 程矛 | Digital stringed instrument controlled by microcomputer |
US20150379976A1 (en) * | 2012-09-19 | 2015-12-31 | Waleed Sami Haddad | Optoelectronic pickup for musical instruments |
CN205016231U (en) * | 2015-09-11 | 2016-02-03 | 史冰佚 | Can take notes violin of string dynamics of stirring |
CN205069104U (en) * | 2015-10-22 | 2016-03-02 | 管建华 | Stringed instrument |
CN205959602U (en) * | 2016-06-07 | 2017-02-15 | 北京趣乐科技有限公司 | Intelligence string instrument |
CN207663781U (en) * | 2018-01-08 | 2018-07-27 | 重庆理工大学 | It is a kind of based on active infra-red obstacle detection without string electronic organ |
Also Published As
Publication number | Publication date |
---|---|
CN109087621B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107978303B (en) | Intelligent detection and feedback system of intelligent piano | |
US8303409B2 (en) | Game apparatus and computer readable storage medium for simulated musical instrument playing technique | |
JP5427659B2 (en) | GAME SYSTEM, COMPUTER PROGRAM THEREOF, AND GAME SYSTEM CONTROL METHOD | |
US20190213904A1 (en) | Learning assistant system capable of indicating piano fingering | |
JP2005103240A (en) | Program, information storage medium, and game system | |
WO2018180050A1 (en) | Programming device and recording medium, and programming method | |
CN108777135A (en) | A kind of Chinese zither with performance hint function | |
CN109804427B (en) | Performance control method and performance control device | |
US20240212519A1 (en) | Musical instrument teaching system and method, and readable storage medium | |
CN105817039A (en) | Intelligent multimedia building block system and working method thereof | |
CN108831415A (en) | A kind of Chinese zither with movement acquisition function | |
CN109166561A (en) | Zither playing prompt system | |
CN107481583A (en) | A kind of projection piano guidance system and control method | |
CN208689919U (en) | A kind of Chinese zither with movement acquisition function | |
CN208689917U (en) | A kind of Chinese zither with performance hint function | |
CN109416905A (en) | Performance assistant apparatus and method | |
CN111816146A (en) | Teaching method and system for electronic organ, teaching electronic organ and storage medium | |
CN109087621A (en) | The signal detecting method and device of intelligent Chinese zither | |
CN110910712B (en) | Zheng auxiliary teaching system and method based on AR | |
CN109192182A (en) | A kind of intelligence Chinese zither | |
CN109102785A (en) | Zither playing information judgment method plays error correction method and equipment | |
US20120172121A1 (en) | Music Game System Capable Of Text Output And Computer-Readable Storage Medium Storing Computer Program Of Same | |
JP2024114794A (en) | controller | |
CN216053434U (en) | Musical instrument teaching system | |
CN110164241A (en) | A kind of guitar teaching method and system |
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 |