CN105390128B - Automatic Playing mechanical device and percussion instrument automatic playing system - Google Patents
Automatic Playing mechanical device and percussion instrument automatic playing system Download PDFInfo
- Publication number
- CN105390128B CN105390128B CN201510756965.8A CN201510756965A CN105390128B CN 105390128 B CN105390128 B CN 105390128B CN 201510756965 A CN201510756965 A CN 201510756965A CN 105390128 B CN105390128 B CN 105390128B
- Authority
- CN
- China
- Prior art keywords
- note
- pulse
- music
- automatic playing
- armstand
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10F—AUTOMATIC MUSICAL INSTRUMENTS
- G10F1/00—Automatic musical instruments
- G10F1/08—Percussion musical instruments
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10F—AUTOMATIC MUSICAL INSTRUMENTS
- G10F5/00—Details or accessories
- G10F5/02—Actions
Abstract
The present invention discloses a kind of automatic Playing mechanical device and percussion instrument automatic playing system.It is invented to solve the blank of the prior art.Include: music score generator: obtaining music-book information for parsing MIDI music score file, then accordingly generate driving data;Control device, for generating driving signal output according to driving data;Automatic Playing mechanical device is above-mentioned music performance apparatus, to receive driving signal to generate hammer action.The present invention of above structure can receive MIDI file and generate driving signal, and be played using percussion instrument of the signal to such as xylophone class.
Description
Technical field
The present invention relates to a kind of automatic Playing mechanical device and percussion instrument automatic playing systems.
Background technique
Mature automatic Playing musical instrument focuses primarily upon the keyboard instruments such as piano at present, which has transmission dress itself
Install the features such as meter is mature, and commercialization degree is high, and standard MIDI file is good to piano adaptability.Xylophone needs manpower as a kind of
It holds hammer and carries out percussion sounding, and do not have the device of tenuto equipment, most standard MIDI music score are faced in automatic Playing
Be not suitable for xylophone, loudness of a sound degree is high to power sensibility, needs to redesign instead of difficulties such as the mechanical devices of manpower percussion function.Together
When knocking device be easy to appear the excessive problem of noise.And due to the scrambling of xylophone sounding block position and height, need
Regulating device is designed to automatic Playing xylophone.On the other hand, present electronic synthesis music score, such as black music score, as a consequence it is hardly possible to logical
It unusually plays out using real instrument, it is necessary to using there is high response frequency and can the automatic Playing that responds simultaneously of whole note
Device is played.
Summary of the invention
To overcome drawbacks described above, the purpose of the present invention is to provide a kind of automatic Playing mechanical device and percussion instrument are automatic
Performance system.
In order to achieve the above objectives, automatic Playing mechanical device of the invention, for driving qin upon the reception of control signals
Mallet makes hammer action;It include: bottom plate, and the fixation armstand and Electromagnetically actuated armstand that are arranged at intervals on bottom plate, in fixation
The iron core upper end of armstand and Electromagnetically actuated armstand is equipped with drive rod, the bottom plate, fixed armstand, Electromagnetically actuated armstand and drive
Lever forms variable four-link device;Wherein, the Electromagnetically actuated armstand makes iron core for receiving control signal generation magnetic field
Downward actuation loses magnetic field and makes plunger return.
Preferably, the Electromagnetically actuated armstand includes: electromagnetic coil, be arranged in sliding armstand in electromagnetic coil,
Sliding armstand lower part is provided with reset spring.
Preferably, the electromagnetic coil is fixed by the bracket on bottom plate, and limit is equipped in the sliding armstand
Protrusion, bracket on correspond to the retention bead equipped with limiting bracket;Between the retention bead and limiting bracket be equipped with every
Vibrating device: for the cushion film being affixed on, gasket material can be soft pvc plastic or sponge.
Preferably, the damper rod for reducing vibration is fixed on the hammer 4.
Preferably, the part for the hammer 4 that damper rod 6 is covered shorter than should not expose variable 5 partial-length of double leval jib by hammer 4
1/3, expose the 2/3 of variable 5 partial-length of double leval jib no longer than hammer 4.
Preferably, the MIDI music signal generates as follows:
1) music data is read in;The length information of music score and the information of each note are contained in music data;Music score number
It is obtained according to by parsing MIDI file.
2) two dimension for being all zero according to the product of the sample rate of external setting-up and music score length one all elements of generation is defeated
Array out;Wherein, array height is required port number, and width is length of audio track (second) multiplied by sample rate;
3) note data is read in;
Note data therein: the time (second) being separated by with melody section start, pitch (frequency), duration (duration),
And dynamics, form a vector;
4) the corresponding output pulse of single note is generated;
A rectangular or half-sine pulse is generated, the pulse period is note duration multiplied by sample rate, and pulse amplitude is normalizing
The voltage that the note velocity value of change can be provided multiplied by circuit, pulse width and pulse rising time are taken as specifying in advance normal
Number (is obtained) by debugging, keeps constant proportionate relationship with sample rate;
5) position of the single note pulse in output array is determined;
Each key of xylophone corresponds to a mechanical device, that is, a corresponding output channel;Refer in advance for each key
Determine output channel number, obtains the corresponding relationship of channel number and note frequencies;And the line number for exporting array is corresponding with channel number;By sound
Symbol frequency would know that note pulse starting point line number locating in output array;
The time that note and melody section start are separated by is corresponding in output array multiplied by sample rate, as note pulse starting point
Row number;
6) in output array, the line number and row number obtained using step 5 is start position, pulse generation that step 4 is obtained
Enter to export array, replaces its corresponding initial value;
7) judge note whether be music score the last one note, if the last one note, then program is transferred to output mould
Block;Continue to read in next note if it is not, then going to step 3.
In order to achieve the above objectives, percussion instrument automatic playing system of the invention, comprising:
Music score generator: parsing MIDI music score file obtains music-book information, then accordingly generates driving data;
Control device, for generating driving signal output according to driving data;
Automatic Playing mechanical device is above-mentioned music performance apparatus, to receive driving signal to generate hammer action.
Wherein, the music score generator, comprising:
Input unit reads in music data;The length information of music score and the information of each note are contained in music data;
Music data is obtained by parsing MIDI file;
Generating means generate an all elements according to the product of the sample rate of external setting-up and music score length and are all zero
Two dimension output array;Wherein, array height is required port number, and width is length of audio track (second) multiplied by sample rate;
Reader unit reads in a note data;
Note data therein: the time (second) being separated by with melody section start, pitch (frequency), duration (duration),
And dynamics, form a vector;
Single note is converted to a rectangular or half-sine pulse by conversion equipment, pulse overall length be note duration multiplied by
Sample rate, pulse amplitude are the voltage that normalized note velocity value can be provided multiplied by circuit, and pulse width and pulse rise
Moment is taken as the constant specified in advance, keeps constant proportionate relationship with sample rate;
It is stored in device, is originated according to the corresponding relationship and note of the channel number and note frequencies of realizing calibration and melody
The time that place is separated by determines position of the single note pulse in output array;Pulse is substituted into output array, it is corresponding to replace it
Initial value;
Judgment means, judge note whether be music score the last one note, if the last one note, then program is transferred to
Output module;If it is not, then being continued to read in next note by reader unit.
The present invention of above structure can receive MIDI file and generate driving signal, and using the signal to such as wooden
The percussion instrument of qin class is played.
Detailed description of the invention
Fig. 1 is the structure principle chart of automatic playing system of the present invention.
Fig. 2 is driver circuit schematic diagram in Fig. 1.
Fig. 3 is the method flow diagram of music score processing in the present invention.
Fig. 4 is parsing MIDI file, obtains the flow chart of music-book information needed for generating output array.
Fig. 5 (1) is that array pulse signal schematic diagram is generated in embodiment.
Fig. 5 (2) is the shift pulse signal process schematic from K1 to K2
Specific embodiment
Percussion instrument automatic playing system of the invention, comprising: music score generator: it is driven for generating MIDI music score file
Dynamic data;Control device, for generating driving signal output according to driving data;Automatic Playing mechanical device drives to receive
Signal is moved to generate hammer action.As shown in Figure 1, system of the invention mainly includes that automatic Playing machinery fills in addition to xylophone main body
100 and digital control system are set, wherein digital control system is made of music score generator 300 and control device 400.In use, automatic Playing
Mechanical device is fixed on xylophone main body.When artificially to music score generator 300 send read standard musical file instruction and to
After control device 400 is powered, automatic Playing xylophone strikes up.
As shown in Figure 1, automatic Playing mechanical device of the invention, for driving hammer to make upon the reception of control signals
Hammer action;Include: bottom plate, and the fixation armstand and Electromagnetically actuated armstand that are arranged at intervals on bottom plate, in fixed armstand and
The iron core upper end of Electromagnetically actuated armstand is equipped with drive rod, the bottom plate, fixed armstand, Electromagnetically actuated armstand and group of drive rods
At variable four-link device;Wherein, the Electromagnetically actuated armstand moves iron core downwards for receiving control signal generation magnetic field
Make or lose magnetic field to make plunger return.
Above-mentioned electromagnetic coil is fixed by the bracket on bottom plate, and retention bead is equipped in the sliding armstand,
Bracket on correspond to the retention bead equipped with limiting bracket;Isolation mounting is equipped between the retention bead and limiting bracket,
It can be cushion film, and gasket material can be soft pvc plastic or sponge.Increase isolation mounting advantageously reduces mechanical device and exists
The noise issued when high-speed motion.
In order to reduce vibration of hammer during up and down action, the resistance for reducing vibration is fixed on the hammer 4
Buddhist nun's bar, the damper rod preferably select the material of high rigidity to be made, such as: Q245 steel.
Optimal, the part for the hammer 4 that damper rod 6 is covered shorter than should not expose variable 5 partial-length of double leval jib by hammer 4
1/3, expose the 2/3 of variable 5 partial-length of double leval jib no longer than hammer 4.
Embodiment
Referring to Fig. 1 of attached drawing, implementing automatic Playing xylophone of the invention mainly includes automatic Playing machine in addition to xylophone main body
Tool device 100 and digital control system, wherein digital control system serves as music score generator 300 and control device 400.Music score generator 300
It for desktop PC and is placed on except xylophone main body, control device is placed in xylophone main body, and automatic Playing mechanical device is fixed
On xylophone main body.When artificially to music score generator 300 send read standard musical file instruction and to control device 400 supply
After electricity, automatic Playing xylophone strikes up.
As shown in Figure 1, electromagnetic coil 1 is electromagnet coil, voltage rating 12V can be selected;At work by power supply mould
Block 402 is more than to motivate the signal short time of its voltage rating by controller 401.Iron core 2 is inhaled when coil is motivated
Guide lower linear motion into, the stroke of iron core 2 is 10mm in this example.Double leval jib 5, which be can be changed, by the transform linear motion of iron core 2 is
The rotation of the hammer 4 and control block on zanza ontology makes its sounding, after the completion of percussion, iron core 2 is rebounded original by spring high speed
To prepare percussion next time, typical rebound time is 40ms for position.
When percussion, hammer head and the shive wound using adhesive tape 8 is collided, and adhesive tape 8 is used to adjust to hit and produce
Raw tone color is so that it is closer to the normal tone color of musical instrument, and adhesive tape 8 is taken as double-deck insulating electrical adhesive tape in the present embodiment.
After percussion, iron core 2 is intercepted after recoiling to initial position by the amplitude limiter 3 with cushion 9, to make bar
It is unlikely to fly out in rebound to guarantee the response speed tapped next time, cushion 9 is the soft pvc of 3mm thickness in this experimental example
Gasket.When iron core 2 collides with cushion 9, hammer 4 can be generated and significantly be vibrated, so generate noise and under the influence of one
The accuracy of secondary percussion.High rigidity damper rod 6 is fixed on hammer 4 to reduce vibration.High rigidity damping is added in this experimental example
Hammer head amplitude is decreased to 5mm after bar 6.When installing high rigidity damper rod 6, as shown, being covered by high rigidity damper rod 6
The part of the hammer 4 of lid shorter than should not expose the 1/3 of variable 5 partial-length of double leval jib by hammer 4, and it is variable to be no longer than the exposing of hammer 4
The 2/3 of 5 partial-length of double leval jib.
The mode of coarse adjustment hammer height of head when as installation, can be changed double leval jib 5 can be by changing the length of crank above
Degree is to adjust the position that hammer head can tap, to adapt to the different height of each shive of primary sound xylophone.Fine tuning part
It is completed by controller, by changing the parameter in controller, thus it is possible to vary the time of contact on hammer head and shive, to change
The intensity changed voice, fine tuning part concrete implementation mode are described in detail in automatic Playing controller part.
Fig. 2 is the physical circuit diagram of automatic Playing controller 400 in one embodiment of the present of invention.As shown in Fig. 2, from
Dynamic controller of playing includes controller 401 and power module 402.
In the present embodiment, controller 401 is switching circuit, and the signal input part 11 of controller 401, which receives, comes from music score
The signal R of generator 300.In the present embodiment, signal R can be the unit pulse of different length or the pwm signal of different duty
Or analog signal.After receiving signal R, switch element 12 judges the opening and closing for determining current output terminal 13 to signal voltage.
If using pwm signal as signal R, frequency should be in 20kHz or more, to prevent actuator coil self-excitation from issuing
Noise.
In the present embodiment, switch element 12 is N-channel field-effect tube.Switch element 12 not only exports two kinds of shapes of on-off
State, when signal R voltage is between 3V to 10V, switch element 12 has the amplification of approximately linear to electric current I, therefore signal R is mould
The electric current I for flowing through current output terminal 13 can be still adjusted when quasi- signal by different voltage values.
Power module 402 intermittently exports electric current I according to the opening and closing of current output terminal, and electric current I is passed to automatic Playing machine
Tool device 100 controls its movement.The amplitude Ai of electric current I determines that the maximum of hammer 8 taps speed, and duration T i determines hammer 8
Percussion speed and time for being contacted with shive.Rebound the stage, electric current I make electromagnetic coil 1 generate suction reduce iron core 2 with
The impact strength of cushion 9 is to reduce noise.
Music score generator
Fig. 3 is the process diagram of music score generator 300 in one embodiment of the present of invention.Whole flow process includes from reading
Music score file is transformed into detailed process of the output module to 400 output signal R of automatic Playing controller to music score.
Step S1 reads in music score file
The music score file of reading is standard MIDI file.In the present embodiment, the program of resolution file is based on MIDI_
The Labview subprogram that JamSession is provided simultaneously is modified, document analysis process referring to fig. 4 and respective description, the music score of acquisition
The length information of music score and the information of each note are contained in data.
After step S1 reads in music data, subsequent music score conversion program can be long according to the sample rate and music score of external setting-up
The product for spending (second) initializes two complete zero arrays, to play while supporting two musical instruments.Here the array generated walks
The array used in rapid S6.Array height is required port number, and width is length of audio track (second) multiplied by sample rate.
Step S2 reads in note and track information data
Note therein and track information data include track number where note, the time being separated by with melody section start (second)
That is offset, pitch, duration and dynamics form a vector.Step S2 reads in a note every time
Step S3 judges the track number where the note, and in the present embodiment, if track number is 1, i.e. xylophone, then program is transported
Row step S4;If track number is not 1, it is judged as the music score that should generate other musical instruments, such as saxophone, about saxophone's music score
Generation is discussed in greater detail in another patent.
The pitch of note is converted to the channel number of output, that is, xylophone key according to the xylophone range demarcated in advance by step S4
Position.
Single note is converted to a rectangular or half-sine pulse by step S5, and pulse overall length is note duration multiplied by sampling
Rate, pulse amplitude are the voltage that normalized note velocity value can be provided multiplied by circuit, pulse width and pulse rising time
It is taken as the constant (obtaining after debugging) specified in advance, keeps constant proportionate relationship with sample rate.
Pitch determines the channel corresponding to it, that is, the row serial number of array, note and melody section start phase in step S6
Every time determine pulse starting point output array in column serial number.Pulse in S5 is substituted into the corresponding positions of output array
It sets, substitutes the initial value of these positions.
Step S7 judge note whether be music score the last one note, if the last one note, then program is transferred to defeated
Module out;If it is not, then range step S2 continues to read in next note.
There may be muti-piece analog signal output card in step S9 on hardware, be two in the present embodiment, begin
The synchronous quality to guarantee playing music eventually.In order to enable two cards are synchronous for the control of actuator, make second simulation defeated
Card release receives the clock signal of first analog output card by included PFI pin, guarantees the synchronization of control device.
Step S10 will entirely export array and export via NI analog output boards, the corresponding channel of each row of data, each logical
The data volume of road output per second is identical as systematic sampling rate.
Fig. 4 is parsing MIDI file, obtains the detailed process of music-book information needed for generating output array.Each step it is detailed
Describe in detail it is bright after can provide data instance (" starlet " segment), read rule referring to midi format standard.
Step Q1, with hexadecimal representation, and converts corresponding character string for binary system MIDI file.
Step Q2 read character string " file header " part, the part with 4D 54 68 64 beginning, comprising melody type,
The information of the tic number of track number and every crotchet.This example is three tracks (one global track add two musical instrument tracks), every four
Dieresis includes 480 tic
Step Q3 starts to read certain track (being global track first), and track beginning is necessary for 54 72 6B of 4D, thereafter
The audio track data length is showed with nybble.The parameter setting of track and specific note information are then by " interval time+event name
The format of title+event argument " indicates that following step will interpret event information one by one.
Step Q4 reads the interval time of this event Yu a upper event.By the byte read at this time with binary representation,
If first place is 0, the byte representation interval time corresponding tic number;If first place is 1, continue to read next byte until working as
The preceding first place for reading byte is 0.If three bytes read are 83 FF 7F, then remove the 1 of preceding two bytes first place first, obtain 03
7F 7F, time interval 3*128^2+127*128^1+127*128^0=65535tic.
Step Q5 reads event title and event argument.Byte 9x expression presses the button (x is the channel number in this track),
Byte 8x indicates release key, and the dynamics of pitch and a byte that a byte can be all enclosed after the two is joined as event
Number;Byte FF 03 indicates setting track name, encloses the length of name of a byte and the name of respective byte number later, as
Event argument;FF 2F 00 indicates that track terminates.Remaining system control event does not influence the implementation of this example generally.
Step Q6 generates music-book information array according to first two steps suddenly, and every row indicates the information of a note, is followed successively by channel
Number, time started, duration, pitch and dynamics.Next key is often pressed, current time is set as the starting of the note by system
Time, and record dynamics and channel number;When same key is released, system subtracts initial time by current time and is continued
Time, and new a line is added in music-book information array.The chronomere of this step is tic.
Step Q7 and Q8 are cycling condition judgement.
Chronomere in music-book information array that step Q6 is generated is changed to real time (second) by step Q9 by tic, is needed
Use every crotchet in the tempo value (the microsecond number of each crotchet) and file header read in global track
Tic number.
The result of step Q9 is separately handled as shown in Figure 3, can be converted into the work that can be exported to xylophone or other musical instruments
The array of dynamic device.
Music score generator data instance
(parsing MIDI file acquisition music-book information, then accordingly generate driving data)
By taking " starlet " segment as an example, the interpretation of MIDI file is as follows:
# file header #
4D 54 68 64(MThd)00 00 00 06(header length:6)00 01(multi-track
synchronized)00 03(number of tracks:2+1)01 E0(tics per quarter-note:480)
# overall situation track #
4D 54 72 6B(MTrk)00 00 00 1B(length of track:27)00FF 51 0307 A1 20
(set tempo:500,000)00FF 030454 65 73 74(Sequence Name:Test)00FF 58 0404 02 07 A1(time signature)00FF 2F 00(end of track)
# xylophone track #
4D 54 72 6B(MTrk)00 00 00 99(length of track:153)00FF 030958 79 6C 6F 70 68 6F 6E 65(Track Name:Xylophone)00B0 64 000065 000006 0C00E0 00 4000B0 65 000064 010006 400026 000065 7F0064 7F0065 000064 020006 400065 7F0064 7F00C0 1900B0 00 000007 68000A 40005D 00005B 00005C 00005F 00(control)0090 30 5F
(press30)83 6080 30 50(release30)0090 30 5F(press30)83 6080 30 50(release30)0090 37 5F(press37)83 6080 37 50(release37)0090 37 5F(press37)83 6080 37 50
(release37)0090 39 5F(press39)83 6080 39 50(release39)0090 39 5F(press39)83 6080 39 50(release39)0090 37 5F(press37)87 4080 37 50(release37)00FF 2F 00
(end of track)
# saxophone track #
4D 54 72 6B(MTrk)00 00 00 94(length of track:148)00FF 030353 61 78
(Track Name:Sax)00B1 64 000065 000006 0C00E1 00 4000B1 65 000064 010006 400026 000065 7F0064 7F0065 000064 020006 400065 7F0064 7F00C1 1900B1 00 000007 68000A 40005D 00005B 00005C 00005F 00(control)9E 0091 35 5F(press35)83 6081 35 50(release35)0091 35 5F(press35)83 6081 35 50(release35)0091 34 5F
(press34)83 6081 34 50(release34)0091 34 5F(press34)83 6081 34 50(release34)0091 32 5F(press32)83 6081 32 50(release32)0091 32 5F(press32)83 6081 32 50
(release32)0091 30 5F(press30)87 4081 30 50(release30)00FF 2F 00(end of
track)
The respective examples for the music-book information array that Fig. 4 step Q6 is generated are as follows:
Channel | Start(tic) | Duration(tic) | note | Velocity |
0 | 0 | 480 | 30 | 5F |
0 | 480 | 480 | 30 | 5F |
0 | 960 | 480 | 37 | 5F |
…… | …… | …… | …… | …… |
The respective examples for the music-book information array that Fig. 4 step Q9 is generated are as follows:
Channel | Start(sec) | Duration(sec) | note | Velocity |
0 | 0 | 0.5 | 30 | 5F |
0 | 0.5 | 0.5 | 30 | 5F |
0 | 1.0 | 0.5 | 37 | 5F |
…… | …… | …… | …… | …… |
If systematic sampling rate is d=10000, pulse width parameter 400, magnitude parameters 10, delay parameter 10, wood used
Qin has 37 sounds, and the output array of xylophone part is 37 row N column.
The total duration of " starlet " segment is t0=8s, N=d*t0The output array of=80000. initialization is 37 rows
The complete zero array K0 of 80000 column.According to the table that Fig. 4 step Q9 is obtained, first note starts from t=0.0s, finally t=
0.5s, pitch data are " 30 ", and the 10th key of corresponding xylophone, intensity data is " 5F ", and corresponding output voltage is 10V, raw
At shown in pulse signal such as Fig. 5 (1);Each segment data point quantity is respectively 10,400 and 4500.
The array that the length that Fig. 5 (1) indicates is 5000 is denoted as KX1, it, will be modified defeated instead of K0 (10,1:5000)
Array is denoted as K1. out
Second note starts from t=0.5s, finally t=1.0s, and pitch data are " 30 ", and the 10th of corresponding xylophone presses
Key, intensity data are " 5F ", and corresponding output voltage is 10V, produce this note array KX2 by the rule similar with KX1.With
KX2 replaces K1 (10,5001:10000), and modified output array is denoted as K2.Shown in process such as Fig. 5 (2) from K1 to K2
The pitch data of third/tetra-/seven note are " 37 ", the 17th key of corresponding xylophone, and intensity data is still
"5F";The pitch data of five/six note are " 39 ", and the 19th key of corresponding xylophone, intensity data is still " 5F ";To it
His note and so on." starlet " xylophone part shares 7 notes, then exporting array K7 can be sent to by signal output apparatus
Actuator is realized and is played.
The treatment process of other musical instruments is identical as xylophone, and details are not described herein.
Foregoing description the embodiment of the present invention for explaining only the invention, and is not considered as limiting the invention.
Claims (6)
1. automatic Playing mechanical device, which is characterized in that the automatic Playing mechanical device is for receiving control signal
Driving hammer makes hammer action afterwards;It include: bottom plate, and the fixation armstand that is arranged at intervals on bottom plate and Electromagnetically actuated vertical
Arm is equipped with drive rod in the iron core upper end of fixed armstand and Electromagnetically actuated armstand, and the bottom plate, fixed armstand, electromagnetism cause
Dynamic armstand and group of drive rods are at variable four-link device;Wherein, the Electromagnetically actuated armstand is generated for receiving control signal
Magnetic field makes iron core downward actuation or loses magnetic field to make plunger return;
The Electromagnetically actuated armstand includes: electromagnetic coil, sliding armstand in electromagnetic coil is arranged in, in sliding armstand lower part
It is provided with reset spring.
2. such as automatic Playing mechanical device as stated in claim 1, which is characterized in that the electromagnetic coil passes through bracket
It is fixed on bottom plate, retention bead is equipped in the sliding armstand, the retention bead is corresponded on the bracket and is equipped with
Limiting bracket;Isolation mounting is equipped between the retention bead and limiting bracket: for the cushion film of attaching, gasket material can be soft
Matter PVC plastic or sponge.
3. such as automatic Playing mechanical device as stated in claim 1, which is characterized in that be fixed on the hammer 4
The damper rod of vibration is reduced, damper rod is fixed on above hammer with the set made of adhesive tape, parallel with hammer and contact.
4. such as automatic Playing mechanical device as stated in claim 1, which is characterized in that the hammer 4 that damper rod 6 is covered
Part shorter than should not expose the 1/3 of variable 5 partial-length of double leval jib by hammer 4, be no longer than hammer 4 and expose variable 5 part of double leval jib
The 2/3 of length.
5. such as automatic Playing mechanical device as stated in claim 1, which is characterized in that MIDI music signal is by following sides
What method generated:
1) music data is read in;The length information of music score and the information of each note are contained in music data;Music data by
Parsing MIDI file obtains;
2) the two dimension output number that an all elements are all zero is generated according to the product of the sample rate of external setting-up and music score length
Group;Wherein, array height is required port number, and width is length of audio track multiplied by sample rate;
3) note data is read in;
Note data therein: the time being separated by with melody section start, pitch, duration and dynamics form a vector;
4) the corresponding output pulse of single note is generated;
A rectangular or half-sine pulse is generated, the pulse period is note duration multiplied by sample rate, and pulse amplitude is normalized
The voltage magnitude that note velocity value can be provided multiplied by circuit, pulse width and pulse rising time are taken as specifying in advance normal
Number, keeps constant proportionate relationship with sample rate;
5) position of the single note pulse in output array is determined;
Each key of xylophone corresponds to a mechanical device, that is, a corresponding output channel;It is specified in advance for each key defeated
Channel number out obtains the corresponding relationship of channel number and note frequencies;And the line number for exporting array is corresponding with channel number;By note frequency
Rate would know that note pulse starting point line number locating in output array;
The time that note and melody section start are separated by is multiplied by sample rate, as note pulse starting point corresponding column in output array
Number;
6) in output array, as start position, the pulse that step 4 is obtained substitutes into defeated the line number and row number obtained using step 5
Array out replaces its corresponding initial value;
7) judge note whether be music score the last one note, if the last one note, then program is transferred to output module;If
It is not then to go to step 3 to continue to read in next note.
6. a kind of percussion instrument automatic playing system characterized by comprising
Music score generator: parsing MIDI music score file obtains music-book information, then accordingly generates driving data;
Control device, for generating driving signal output according to driving data;
Automatic Playing mechanical device is music performance apparatus described in any claim described in the claims 1-5, to connect
Driving signal is received to generate hammer action;
The music score generator, comprising:
Input unit reads in music data;The length information of music score and the information of each note are contained in music data;Music score
Data are obtained by parsing MIDI file;
Generating means generate the two dimension that an all elements are all zero according to the product of the sample rate of external setting-up and music score length
Export array;Wherein, array height is required port number, and width is length of audio track multiplied by sample rate;
Reader unit reads in a note data;
Note data therein: the time being separated by with melody section start, pitch, duration and dynamics form a vector;
Single note is converted to a rectangular or half-sine pulse by conversion equipment, and pulse overall length is note duration multiplied by sampling
Rate, pulse amplitude are the voltage that normalized note velocity value can be provided multiplied by circuit, pulse width and pulse rising time
It is taken as the constant specified in advance, keeps constant proportionate relationship with sample rate;
It is stored in device, according to the corresponding relationship and note and melody section start phase of the channel number and note frequencies for realizing calibration
Every time, determine single note pulse output array in position;Pulse is substituted into output array, it is corresponding former to replace it
Value;
Judgment means, judge note whether be music score the last one note, if the last one note, then program is transferred to output
Module;If it is not, then being continued to read in next note by reader unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510756965.8A CN105390128B (en) | 2015-11-09 | 2015-11-09 | Automatic Playing mechanical device and percussion instrument automatic playing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510756965.8A CN105390128B (en) | 2015-11-09 | 2015-11-09 | Automatic Playing mechanical device and percussion instrument automatic playing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105390128A CN105390128A (en) | 2016-03-09 |
CN105390128B true CN105390128B (en) | 2019-10-11 |
Family
ID=55422348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510756965.8A Active CN105390128B (en) | 2015-11-09 | 2015-11-09 | Automatic Playing mechanical device and percussion instrument automatic playing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105390128B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105729489B (en) * | 2016-05-09 | 2017-06-30 | 中国地质大学(武汉) | A kind of dulcimer plays robot |
CN106548767A (en) * | 2016-11-04 | 2017-03-29 | 广东小天才科技有限公司 | It is a kind of to play control method, device and play an instrument |
CN108389562A (en) * | 2018-02-11 | 2018-08-10 | 牡丹江师范学院 | A kind of multimedia piano and its automatic Playing method, system |
CN108831426A (en) * | 2018-05-24 | 2018-11-16 | 解韬 | One kind is exempted to install piano automatic playing system and automatic Playing method |
CN108789433A (en) * | 2018-06-12 | 2018-11-13 | 珠海格力智能装备有限公司 | The control method of robot, apparatus and system |
CN109285529A (en) * | 2018-10-17 | 2019-01-29 | 湖南乐和云服网络科技有限公司 | A kind of regulating system and method for driving current |
CN109366495A (en) * | 2018-10-30 | 2019-02-22 | 希格斯动力科技(珠海)有限公司 | Play the finger steering engine control method and device of robot |
CN109599081A (en) * | 2018-12-14 | 2019-04-09 | 武汉需要智能技术有限公司 | A kind of robot band automatic Playing control method and system based on midi |
CN113611264B (en) * | 2021-08-10 | 2024-01-30 | 右转弯智能科技(重庆)有限公司 | Intelligent electric percussion instrument |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1591563A (en) * | 2003-09-02 | 2005-03-09 | 李玉光 | Wireless network musical instrument and method for controlling automatic playing of musical instrument |
CN1664916A (en) * | 2004-03-04 | 2005-09-07 | 雅马哈株式会社 | Automatic player musical instrument exactly reproducing performance and automatic player used therein |
CN1862656A (en) * | 2005-05-13 | 2006-11-15 | 杭州波导软件有限公司 | Method for converting musci score to music output and apparatus thereof |
CN102682752A (en) * | 2011-03-07 | 2012-09-19 | 卡西欧计算机株式会社 | Musical-score information generating apparatus, musical-score information generating method, music-tone generation controlling apparatus, and music-tone generation controlling method |
CN104260099A (en) * | 2014-09-05 | 2015-01-07 | 哈尔滨工业大学深圳研究生院 | Automatic western flute playing robot based on MIDI decoding and automatic playing method |
CN104978380A (en) * | 2014-10-22 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Audio frequency processing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04212994A (en) * | 1990-12-05 | 1992-08-04 | Yamaha Corp | Celesta |
JPH04372995A (en) * | 1991-06-21 | 1992-12-25 | Yamaha Corp | Automatic performance device for celesta |
JP3772440B2 (en) * | 1997-03-03 | 2006-05-10 | ヤマハ株式会社 | Keyboard device |
-
2015
- 2015-11-09 CN CN201510756965.8A patent/CN105390128B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1591563A (en) * | 2003-09-02 | 2005-03-09 | 李玉光 | Wireless network musical instrument and method for controlling automatic playing of musical instrument |
CN1664916A (en) * | 2004-03-04 | 2005-09-07 | 雅马哈株式会社 | Automatic player musical instrument exactly reproducing performance and automatic player used therein |
CN1862656A (en) * | 2005-05-13 | 2006-11-15 | 杭州波导软件有限公司 | Method for converting musci score to music output and apparatus thereof |
CN102682752A (en) * | 2011-03-07 | 2012-09-19 | 卡西欧计算机株式会社 | Musical-score information generating apparatus, musical-score information generating method, music-tone generation controlling apparatus, and music-tone generation controlling method |
CN104260099A (en) * | 2014-09-05 | 2015-01-07 | 哈尔滨工业大学深圳研究生院 | Automatic western flute playing robot based on MIDI decoding and automatic playing method |
CN104978380A (en) * | 2014-10-22 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Audio frequency processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105390128A (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105390128B (en) | Automatic Playing mechanical device and percussion instrument automatic playing system | |
CN101042861B (en) | Automatic playing system and method used for musical instruments | |
CN1750111B (en) | Transducer free from aged deterioration, musical instrument using the same and method used therein | |
US5054361A (en) | Electronic musical instrument with vibration feedback | |
CN101276577B (en) | Musical instrument capable of producing after-tones and automatic playing system | |
US7786374B2 (en) | Pianoforte instrument exhibiting an additional delivery of energy into the sound board, and method for influencing the sound of a pianoforte instrument | |
WO2019026742A1 (en) | Learning model generation method, learning model generation device, program, and automatic playing robot | |
CN103000170A (en) | Acoustic effect impartment apparatus, and piano | |
CN1637847B (en) | Automatic player musical instrument for exactly reproducing performance and automatic player incorporated therein | |
CN101421782A (en) | Be used for revising the method and system of sound signal | |
JP4639795B2 (en) | Musical instrument performance drive device, keyboard instrument performance drive system, and keyboard instrument. | |
JP4193752B2 (en) | Automatic piano | |
US5189242A (en) | Electronic musical instrument | |
CN104170004B (en) | A system to reproduce the sound of a stringed instrument | |
CN111295705B (en) | Sound output device and recording medium | |
KR100690466B1 (en) | Musical instrument recording advanced music data codes for playback, music data generator and music data source for the musical instrument | |
US6380469B2 (en) | Keyboard musical instrument equipped with key actuators accurately controlling key motion | |
US2126464A (en) | Electrical musical instrument | |
CN111095395A (en) | Sound signal generation device, keyboard musical instrument, and program | |
CN112447159B (en) | Resonance sound signal generating method, resonance sound signal generating device, recording medium, and electronic musical device | |
US2727423A (en) | Damping means for "electronic" carillons | |
CN105702241A (en) | Four-foot-operated digital piano and accent strengthening method | |
CN208706229U (en) | A kind of fender using hammerhead velocity sensor | |
CN103854641A (en) | Recording and reproduction of waveform based on sound board vibrations | |
US3195389A (en) | Musical instrument with audio signal to force translator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |