CN106683650A - Automatic piano playing test device and method - Google Patents

Automatic piano playing test device and method Download PDF

Info

Publication number
CN106683650A
CN106683650A CN201710109967.7A CN201710109967A CN106683650A CN 106683650 A CN106683650 A CN 106683650A CN 201710109967 A CN201710109967 A CN 201710109967A CN 106683650 A CN106683650 A CN 106683650A
Authority
CN
China
Prior art keywords
piano
controller
note
information
playing
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
Application number
CN201710109967.7A
Other languages
Chinese (zh)
Other versions
CN106683650B (en
Inventor
肖永军
彭祺
屠礼芬
李卫中
曾庆栋
方天红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Engineering University
Original Assignee
Hubei Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Engineering University filed Critical Hubei Engineering University
Priority to CN201710109967.7A priority Critical patent/CN106683650B/en
Publication of CN106683650A publication Critical patent/CN106683650A/en
Application granted granted Critical
Publication of CN106683650B publication Critical patent/CN106683650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10FAUTOMATIC MUSICAL INSTRUMENTS
    • G10F1/00Automatic musical instruments
    • G10F1/02Pianofortes with keyboard
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Details of electrophonic musical instruments
    • G10H1/32Constructional details
    • G10H1/34Switch arrangements, e.g. keyboards or mechanical switches specially adapted for electrophonic musical instruments
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/171Transmission of musical instrument data, control or status information; Transmission, remote access or control of music data for electrophonic musical instruments
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The invention relates to the technical field of test, in particular to an automatic piano playing test device and method. The automatic piano playing test device is applied to a piano comprising an automatic piano playing device and a plurality of piano keys, the automatic piano playing test device comprises a note signal acquisition device, a first controller, a second controller, a storage and a man-machine interaction device, the first controller is connected with the note signal acquisition device, and the second controller is respectively connected with the first controller, the storage, the man-machine interaction device and the automatic piano playing device. By the aid of the automatic piano playing test device, automatic piano playing accuracy and reliability can be tested.

Description

Piano automatic Playing test device and method
Technical field
The present invention relates to technical field of measurement and test, in particular to a kind of piano automatic Playing test device and method.
Background technology
Piano has the characteristics of range is broad, and volume change amplitude is huge, is preferable many acoustic musical instruments.In the prior art, Can carry out the piano of automatic Playing be designed or production process in, there are many reasons may cause system operation unstable It is fixed, and then cause the piano to carry out the situation of error during automatic Playing.
The content of the invention
In view of this, it is an object of the invention to provide a kind of piano automatic Playing test device, believed by setting note Number acquisition device, the first controller, second controller, memory and human-computer interaction device can be realized drilling piano automatically Play the test of accuracy and reliability.
In view of this, another object of the present invention is to provide a kind of piano automatic Playing method of testing, by setting sound Symbol signal acquisition device, the first controller, second controller, memory and human-computer interaction device can be realized carrying out piano certainly The test of dynamic performance accuracy and reliability.
A kind of piano automatic Playing test device that the present invention is provided, is applied to include piano player and multiple The piano of piano key, the piano automatic Playing test device includes:Note signal acquisition device, the first controller, second Controller, memory and human-computer interaction device, first controller are connected with the note signal acquisition device, and described Two controllers are connected respectively with first controller, memory, human-computer interaction device and piano player.
The human-computer interaction device receives input signal and transmission is to the second controller, the second controller according to The input signal obtains qin spectrum information corresponding with the input signal from the memory and sends to the described first control Device, the qin spectrum information includes multiple note informations for arranging in order, and the second controller controls the piano to drill automatically Play device makes corresponding piano key send musical notes according to the multiple note information for arranging in order.
When controlling the piano player to carry out qin spectrum automatic Playing, the note signal acquisition device is obtained The musical notes obtain playing information and send to first controller, first controller by note information and with this The corresponding playing information of qin spectrum information is matched, and when matching inconsistent, the playing information is sent to the man-machine interaction Device.
Optionally, in above-mentioned piano automatic Playing test device, when the note information includes note frequencies and note Long, the playing information includes playing frequency and plays duration, first controller by the note frequencies and with the note The corresponding frequency of playing of frequency is matched, and note duration and performance duration corresponding with the note duration are matched, when Note frequencies and when performance frequency matching is inconsistent and/or the note duration matches inconsistent with the performance duration, Playing information and the corresponding note information of playing information are sent to the human-computer interaction device, the playing information includes piano Key information.
Optionally, in above-mentioned piano automatic Playing test device, the note signal acquisition device includes microphone, described Microphone is connected with first controller, and the performance sound of the piano key when microphone receives piano automatic Playing is converted into drills Play information and send to first controller.
Optionally, in above-mentioned piano automatic Playing test device, the note signal acquisition device also includes that signal is whole Shape circuit, the microphone is connected by the signal transformation circuit with first controller, and it is automatic that the microphone receives piano Key during performance is played sound and is sent to the signal transformation circuit after being converted into electric signal, and the signal transformation circuit is to institute State electric signal and process and obtain playing information and send to first controller.
Optionally, in above-mentioned piano automatic Playing test device, the human-computer interaction device includes matrix keyboard and shows Show device, the matrix keyboard and display are connected with the second controller respectively.
Optionally, in above-mentioned piano automatic Playing test device, first controller is digital signal processor, institute Second controller is stated for single-chip microcomputer, the digital signal processor is connected with the single-chip microcomputer.
Optionally, in above-mentioned piano automatic Playing test device, the piano player includes drive circuit And key control device, the second controller is connected with the drive circuit, and the drive circuit is controlled with the key Device is connected, and the key control device includes multiple electromagnetic devices and multiple magnetic sheets, the drive circuit and each electricity Magnetic device is connected, and the electromagnetic device is corresponded with the magnetic sheet, and the magnetic sheet is arranged at the piano key near described The side of the keyboard frame of piano, the electromagnetic device is arranged at the keyboard frame of the piano and the correspondence position of the piano key Place.
The second controller controls the logical of each electromagnetic device according to the qin spectrum information by the drive circuit Power-off, when each electromagnetic device is powered, adsorbs the magnetic sheet of the piano key corresponding position, makes the piano of the setting magnetic sheet Button sends musical notes.
Optionally, in above-mentioned piano automatic Playing test device, the magnetic sheet is low-carbon (LC) steel disc, and the electromagnetic device is Sucked type electromagnet, the length of the sucked type electromagnet is identical with the length of the low-carbon (LC) steel disc.
Also a kind of piano automatic Playing method of testing of the present invention, is applied to above-mentioned piano automatic Playing test device, institute Stating piano and testing playing method automatically includes:
After the completion of the initialization of piano automatic Playing test device, human-computer interaction device receives input signal and transmission is to the Two controllers;
The second controller obtains qin spectrum letter corresponding with the input signal according to the input signal from memory Sent after breath to the first controller, the qin spectrum information includes multiple note informations for arranging in order;
The second controller control piano player makes according to the multiple note information for arranging in order Corresponding piano key sends musical notes;
Note signal acquisition device obtains the musical notes and obtains playing information and send to first controller;
First controller is matched note information and playing information corresponding with the qin spectrum information, when matching not When consistent, the playing information is sent to the human-computer interaction device.
Optionally, in above-mentioned piano automatic Playing method of testing, first controller by note information and with the qin The step of corresponding playing information of spectrum information is matched includes:
Analog-to-digital conversion is carried out to the playing information and timing sampling is carried out obtaining sample frequency;
Fast Fourier Transform (FFT) is carried out to the sample frequency and obtains original frequency;
Choosing band Fourier transformation is carried out to the original frequency to obtain playing frequency;
The note information includes note frequencies and note duration, and the playing information includes playing duration, described first Controller by the note frequencies and it is corresponding with the note frequencies performance frequency matched, by note duration and with the note The corresponding duration of playing of duration is matched.
The present invention provide a kind of piano automatic Playing test device and method, by set note signal acquisition device, First controller, second controller, memory and human-computer interaction device, the first controller connect with note signal acquisition device Connect, second controller is connected respectively with the first controller, memory, human-computer interaction device and piano player, can be real The test of automatic Playing accuracy and reliability is now carried out to piano.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only section Example of the invention, thus be not construed as it is right The restriction of the scope of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also Other related accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of piano automatic Playing test device provided in an embodiment of the present invention.
Fig. 2 is a kind of structural representation of key control device provided in an embodiment of the present invention.
Fig. 3 is a kind of another structured flowchart of piano automatic Playing test device provided in an embodiment of the present invention.
Fig. 4 is a kind of flow chart of piano automatic Playing method of testing provided in an embodiment of the present invention.
Fig. 5 is the sub-step schematic diagram of step S50 in Fig. 4.
Icon:100- piano automatic Playing test devices;110- note signal acquisition devices;112- microphones;114- shapings Circuit;The controllers of 120- first;130- second controllers;140- memories;150- human-computer interaction devices;200- pianos are drilled automatically Play device;220- drive circuits;240- key control devices;242- electromagnetic devices;244- magnetic sheets;300- piano keys;400- Keyboard frame.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme applied to the present invention in example is clearly and completely described, it is clear that described embodiment is this A part of embodiment is invented, rather than whole embodiments.The embodiment of the present invention generally described and illustrated in accompanying drawing herein Component can arrange and design with a variety of configurations.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment in the present invention, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model of present invention protection Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.
In the description of the invention, in addition it is also necessary to explanation, unless otherwise clearly defined and limited, term " setting ", " connection " should be interpreted broadly, for example, it may be being fixedly connected, or being detachably connected, or be integrally connected;Can be Mechanically connect, or electrically connect;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, can be two The connection of element internal.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood in the present invention In concrete meaning.
As shown in figure 1, the embodiment of the present invention provides a kind of structured flowchart of piano automatic Playing test device 100, it is described Piano automatic Playing test device 100 includes:Note signal acquisition device 110, the first controller 120, second controller 130, Memory 140 and human-computer interaction device 150, first controller 120 are connected with the note signal acquisition device 110, The second controller 130 and first controller 120, memory 140, human-computer interaction device 150 and piano automatic Playing Device 200 is connected respectively.
Incorporated by reference to Fig. 2, the human-computer interaction device 150 receives input signal and sends to the second controller 130, institute State second controller 130 and obtain qin spectrum letter corresponding with the input signal from the memory 140 according to the input signal Cease and send to first controller 120, the qin spectrum information includes multiple note informations for arranging in order, described second It is corresponding that controller 130 controls the piano player 200 to be made according to the multiple note information for arranging in order Piano key 300 sends musical notes.
When controlling the piano player 200 to carry out qin spectrum automatic Playing, the note signal acquisition device 110 obtain the musical notes obtains playing information and sends to first controller 120, and first controller 120 will Note information and playing information corresponding with the qin spectrum information are matched, and when matching inconsistent, the playing information are sent To the human-computer interaction device 150.
It is the test for being capable of achieving to carry out piano automatic Playing accuracy and reliability by above-mentioned setting, and plays prompting Effect.
Incorporated by reference to Fig. 3, the input information that the human-computer interaction device 150 is received can be the piano song name of user input Claim.The human-computer interaction device 150 can be but not limited to liquid crystal touch screen or including display and key board, as long as can Information and being capable of display information is input into the second controller 130 by the human-computer interaction device 150.In this implementation Example, the human-computer interaction device 150 includes display and key board.Optionally, the key board is matrix keyboard.
Optionally, the piano player 200 includes drive circuit 220 and key control device 240, described Second controller 130 is connected with the drive circuit 220, and the drive circuit 220 is connected with the key control device 240, The key control device 240 includes multiple electromagnetic devices 242 and multiple magnetic sheets 244, and the drive circuit 220 is described with each Electromagnetic device 242 is connected, and the electromagnetic device 242 is corresponded with the magnetic sheet 244, and the magnetic sheet 244 is arranged at the steel Qin button 300 is arranged at the keyboard frame of the piano near the side of the keyboard frame 400 of the piano, the electromagnetic device 242 400 with the corresponding position of the piano key 300.
The second controller 130 controls each electromagnetic device according to the qin spectrum information by the drive circuit 220 The power on/off of part 242, when each electromagnetic device 242 is powered, adsorbs the magnetic sheet 244 of the corresponding position of piano key 300, The piano key 300 of the setting magnetic sheet 244 is set to send musical notes.
The electromagnetic device 242 can be electromagnet, specifically, the electromagnet is sucked type electromagnet.By described Drive circuit 220 loads the driving voltage of 12V or 24V to the electromagnet, and the electromagnetic device 242 is produced in the case of energization Suction is adsorbing the corresponding magnetic sheet 244 of the electromagnetic device 242.The magnetic sheet 244 can be low-carbon (LC) steel disc, the magnetic sheet 244 Length can be that identical can also be different from the length of the electromagnetic device 242.The magnetic sheet 244 in the present embodiment Length it is identical with the length of the electromagnetic device 242.
First controller 120 and second controller 130 are a kind of IC chip, the treatment energy with signal Power.Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group Part.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor can be with It is microprocessor, or any conventional processor etc..In the present embodiment, the data signal of the first controller 120 Processor, the second controller 130 is single-chip microcomputer.
Optionally, first controller 120 is connected with the data storage and program storage of outside extension, for depositing The data produced in storage test program and test process.The second controller 130 has communication interface and multiple input and output Interface, can realize communicating and controlling piano player 200 to realize piano automatic Playing with host computer.
The memory 140 can be but not limited to random access memory (Random Access Memory, RAM), Read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. In the present embodiment, the memory 140 is used for storage program and various qin spectrum informations.The memory 140 is storage card, institute State storage card to be detachably connected with the controller, specifically, the controller is connected with draw-in groove, the storage card is removably It is arranged in the draw-in groove.
Wherein described note signal acquisition device 110 can include but is not limited to microphone or sound pick-up, as long as can obtain The musical notes of piano.In the present embodiment, the note signal acquisition device 110 includes microphone 112, the microphone 112 are connected with first controller 120, the performance sound of the piano key 300 during the reception piano automatic Playing of the microphone 112 It is converted into playing information and sends to first controller 120.
Optionally, the note signal acquisition device 110 also includes signal transformation circuit 114, and the microphone 112 passes through institute State signal transformation circuit 114 to be connected with first controller 120, the microphone 112 receives key during piano automatic Playing Sound is played, and is sent to the signal transformation circuit 114,114 pairs of electricity of the signal transformation circuit after being converted into electric signal Signal process and obtains playing information and send to first controller 120.The signal transformation circuit 114 is used for electricity Signal carries out primary amplification, filtering, main amplification and amplitude limit and sends to the first controller 120.
Optionally, the note information include note frequencies and note duration, the playing information include play frequency and Duration is played, first controller 120 is matched the note frequencies and performance frequency corresponding with the note frequencies, Note duration and performance duration corresponding with the note duration are matched, when the note frequencies and the performance frequency are matched When inconsistent and/or described note duration matches inconsistent with the performance duration, by playing information and the corresponding sound of playing information Symbol information is sent to the human-computer interaction device 150, when matching consistent, is left intact.The playing information includes steel Qin key information.Cause that the test of the piano automatic Playing test device 100 is better by above-mentioned setting, and then ensure Piano realizes the better of automatic Playing.
On the basis of the above, the present invention also provides a kind of piano automatic Playing method of testing, and the piano automatic Playing is surveyed Method for testing is realized based on the piano player 200.The piano automatic Playing method includes:
Step S10:Human-computer interaction device 150 receives input signal and sends to second controller 130.
Wherein, above-mentioned steps have been initialized in piano automatic Playing test device 100 and piano player 200 Carried out after, the input signal can be piano music title.
Step S20:The second controller 130 is obtained and input letter according to the input signal from memory 140 Sent to the first controller 120 after number corresponding qin spectrum information.
Optionally, the qin spectrum information is staff information, and the qin spectrum information includes multiple notes for arranging in order Information.
Step S30:The control piano player 200 of the second controller 130 is arranged in order according to the multiple The note information of row makes corresponding piano key 300 send musical notes.
Step S40:Note signal acquisition device 110 obtains the musical notes and obtains playing information and send to described the One controller 120.
The note signal acquisition device 110 includes microphone 112 and shaping circuit 114, and the microphone 112 is used to obtain steel The performance sound of qin simultaneously obtains playing information by shaping circuit 114.
Step S50:First controller 120 carries out note information and playing information corresponding with the qin spectrum information Match somebody with somebody, when matching inconsistent, the playing information is sent to the human-computer interaction device 150.
Optionally, first controller 120 carries out note information and playing information corresponding with the qin spectrum information With the step of include:
Sub-step S51:Analog-to-digital conversion is carried out to the playing information and timing sampling is carried out obtaining sample frequency.
Wherein, the time of timing sampling can be arbitrary, be chosen according to actual conditions.
Sub-step S52:Fast Fourier Transform (FFT) is carried out to the sample frequency and obtains original frequency.
Sub-step S53:Choosing band Fourier transformation is carried out to the original frequency to obtain playing frequency.
The note information includes note frequencies and note duration, and the playing information includes playing duration.
Sub-step S54:First controller 120 is by the note frequencies and performance frequency corresponding with the note frequencies Matched, note duration and performance duration corresponding with the note duration are matched.
Matched with the performance duration when the note frequencies and the performance frequency match inconsistent and/or described note duration When inconsistent, playing information and the corresponding note information of playing information are sent to the human-computer interaction device 150.Optionally, The playing information includes the information of piano key 300.
To sum up, a kind of piano automatic Playing test device provided in an embodiment of the present invention and method, are applied to include piano The piano of automatic performance device 200 and multiple piano keys 300.Piano automatic Playing test device 100 is believed by setting note Number acquisition device 110, the first controller 120, second controller 130, memory 140 and human-computer interaction device 150 can be realized The test of automatic Playing accuracy and reliability is carried out to piano.Further, the note signal acquisition device 110 is set The accuracy of piano automatic Playing test is effectively improved for microphone 112 and signal transformation circuit 114, so as to ensure piano appliance for releasing single The accuracy played.
In embodiment provided by the present invention, it should be understood that disclosed method, device, it is also possible to by other Mode realize.Device embodiment described above is only schematical, for example, the flow chart and block diagram in accompanying drawing show The architectural framework in the cards of devices in accordance with embodiments of the present invention, method and processor program product, function and behaviour Make.At this point, each square frame in flow chart or block diagram can represent a part for module, program segment or code, institute Stating a part for module, program segment or code is used for the executable instruction of the logic function that realization specifies comprising one or more. It should also be noted that in some are as the implementation replaced, the function of being marked in square frame can also be with different from accompanying drawing The order for being marked occurs.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with Storage is in a processor read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, at this The software product storage of reason device is in a storage medium, including some instructions are used to so that a processor device (can be individual People's processor, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. It should be noted that herein, such as first and second or the like relational terms are used merely to an entity or behaviour Make with another entity or operation make a distinction, and not necessarily require or imply these entities or operate between exist it is any this Plant actual relation or order.And, term " including " or any other variant be intended to including for nonexcludability, from And the process, method, article or the equipment that include a series of key elements is not only included those key elements, but also including not bright Other key elements really listed, or it is this process, method, article or the intrinsic key element of equipment also to include.Do not having In the case of more limitations, the key element limited by sentence "including a ...", it is not excluded that the process including the key element, Also there is other identical element in method, article or equipment.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of piano automatic Playing test device, is applied to include the steel of piano player and multiple piano keys Qin, it is characterised in that the piano automatic Playing test device includes:Note signal acquisition device, the first controller, the second control Device processed, memory and human-computer interaction device, first controller are connected with the note signal acquisition device, and described second Controller is connected respectively with first controller, memory, human-computer interaction device and piano player;
The human-computer interaction device receives input signal and sends to the second controller, and the second controller is according to Input signal obtains qin spectrum information corresponding with the input signal from the memory and sends to first controller, institute Stating qin spectrum information includes multiple note informations for arranging in order, and the second controller controls the piano player Corresponding piano key is set to send musical notes according to the multiple note information for arranging in order;
When controlling the piano player to carry out qin spectrum automatic Playing, the note signal acquisition device obtains described Musical notes obtain playing information and send to first controller, and first controller is composed by note information and with the qin The corresponding playing information of information is matched, and when matching inconsistent, the playing information is sent to the human-computer interaction device.
2. piano automatic Playing test device according to claim 1, it is characterised in that the note information includes note Frequency and note duration, the playing information include play frequency and play duration, first controller by the note frequently Rate and performance frequency corresponding with the note frequencies are matched, by note duration and performance duration corresponding with the note duration Matched, when the note frequencies and the performance frequency match inconsistent and/or described note duration and the performance duration With it is inconsistent when, playing information and the corresponding note information of playing information are sent to the human-computer interaction device, the performance Information includes piano key information.
3. piano automatic Playing test device according to claim 1, it is characterised in that the note signal acquisition device Including microphone, the microphone is connected with first controller, the piano key during microphone reception piano automatic Playing Sound is played to be converted into playing information and send to first controller.
4. piano automatic Playing test device according to claim 3, it is characterised in that the note signal acquisition device Also include signal transformation circuit, the microphone is connected by the signal transformation circuit with first controller, the microphone Key when receiving piano automatic Playing is played sound and is sent to the signal transformation circuit, the signal after being converted into electric signal Shaping circuit to the electric signal process and obtains playing information and send to first controller.
5. piano automatic Playing test device according to claim 1, it is characterised in that the human-computer interaction device includes Matrix keyboard and display, the matrix keyboard and display are connected with the second controller respectively.
6. piano automatic Playing test device according to claim 1, it is characterised in that first controller is numeral Signal processor, the second controller is single-chip microcomputer, and the digital signal processor is connected with the single-chip microcomputer.
7. piano automatic Playing test device according to claim 1, it is characterised in that the piano player Including drive circuit and key control device, the second controller is connected with the drive circuit, the drive circuit with The key control device connection, the key control device includes multiple electromagnetic devices and multiple magnetic sheets, the driving electricity Road is connected with each electromagnetic device, and the electromagnetic device is corresponded with the magnetic sheet, and the magnetic sheet is arranged at the piano Button near the side of the keyboard frame of the piano, the electromagnetic device be arranged at the keyboard frame of the piano and the piano by The corresponding position of key;
The second controller controls the power on/off of each electromagnetic device according to the qin spectrum information by the drive circuit, When each electromagnetic device is powered, the magnetic sheet of the piano key corresponding position is adsorbed, make the piano key of the setting magnetic sheet Send musical notes.
8. piano automatic Playing test device according to claim 7, it is characterised in that the magnetic sheet is low-carbon (LC) steel disc, The electromagnetic device is sucked type electromagnet, and the length of the sucked type electromagnet is identical with the length of the low-carbon (LC) steel disc.
9. a kind of piano automatic Playing method of testing, is applied to the piano automatic Playing described in any one of claim 1-8 and surveys Trial assembly is put, it is characterised in that the piano tests playing method automatically to be included:
After the completion of the initialization of piano automatic Playing test device, human-computer interaction device receives input signal and sends to the second control Device processed;
After the second controller obtains qin spectrum information corresponding with the input signal according to the input signal from memory Send to the first controller, the qin spectrum information includes multiple note informations for arranging in order;
The second controller control piano player makes correspondence according to the multiple note information for arranging in order Piano key send musical notes;
Note signal acquisition device obtains the musical notes and obtains playing information and send to first controller;
First controller is matched note information and playing information corresponding with the qin spectrum information, inconsistent when matching When, the playing information is sent to the human-computer interaction device.
10. piano automatic Playing method of testing according to claim 9, it is characterised in that first controller is by sound The step of symbol information and playing information corresponding with the qin spectrum information are matched includes:
Analog-to-digital conversion is carried out to the playing information and timing sampling is carried out obtaining sample frequency;
Fast Fourier Transform (FFT) is carried out to the sample frequency and obtains original frequency;
Choosing band Fourier transformation is carried out to the original frequency to obtain playing frequency;
The note information includes note frequencies and note duration, and the playing information includes playing duration, first control Device by the note frequencies and it is corresponding with the note frequencies performance frequency matched, by note duration and with the note duration Corresponding performance duration is matched.
CN201710109967.7A 2017-02-28 2017-02-28 Piano automatic playing test device and method Active CN106683650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710109967.7A CN106683650B (en) 2017-02-28 2017-02-28 Piano automatic playing test device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710109967.7A CN106683650B (en) 2017-02-28 2017-02-28 Piano automatic playing test device and method

Publications (2)

Publication Number Publication Date
CN106683650A true CN106683650A (en) 2017-05-17
CN106683650B CN106683650B (en) 2023-10-24

Family

ID=58862081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710109967.7A Active CN106683650B (en) 2017-02-28 2017-02-28 Piano automatic playing test device and method

Country Status (1)

Country Link
CN (1) CN106683650B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111540337A (en) * 2020-04-22 2020-08-14 郑州幼儿师范高等专科学校 Automatic playing device for piano

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1049566A (en) * 1990-03-21 1991-02-27 白亦民 Intelligent electric musical instrument
JPH06274162A (en) * 1993-03-22 1994-09-30 Yamaha Corp Automatic musical performance progression controller
JP2003271141A (en) * 2002-03-18 2003-09-25 Kawai Musical Instr Mfg Co Ltd Tempo controller for electronic musical instrument
CN1531644A (en) * 2001-05-21 2004-09-22 �����ּ�����˾ Method and apparatus for tracking musical score
CN101271638A (en) * 2007-03-23 2008-09-24 雅马哈株式会社 Musical instrument with electronic proof system, electric system and computer program
CN201698740U (en) * 2009-12-31 2011-01-05 广州艾茉森电子有限公司 Automatic playing digital piano
CN104464704A (en) * 2014-12-17 2015-03-25 赖志强 Intelligent piano
KR101515165B1 (en) * 2014-08-28 2015-04-24 주식회사 다이나톤 Auto-touch test device for digital piano and testing method thereof
CN105741826A (en) * 2015-12-30 2016-07-06 宜昌金宝乐器制造有限公司 Interactive piano and interactive method
CN205827717U (en) * 2016-03-02 2016-12-21 深圳市众为创造科技有限公司 Control device and piano demo system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1049566A (en) * 1990-03-21 1991-02-27 白亦民 Intelligent electric musical instrument
JPH06274162A (en) * 1993-03-22 1994-09-30 Yamaha Corp Automatic musical performance progression controller
CN1531644A (en) * 2001-05-21 2004-09-22 �����ּ�����˾ Method and apparatus for tracking musical score
JP2003271141A (en) * 2002-03-18 2003-09-25 Kawai Musical Instr Mfg Co Ltd Tempo controller for electronic musical instrument
CN101271638A (en) * 2007-03-23 2008-09-24 雅马哈株式会社 Musical instrument with electronic proof system, electric system and computer program
CN201698740U (en) * 2009-12-31 2011-01-05 广州艾茉森电子有限公司 Automatic playing digital piano
KR101515165B1 (en) * 2014-08-28 2015-04-24 주식회사 다이나톤 Auto-touch test device for digital piano and testing method thereof
CN104464704A (en) * 2014-12-17 2015-03-25 赖志强 Intelligent piano
CN105741826A (en) * 2015-12-30 2016-07-06 宜昌金宝乐器制造有限公司 Interactive piano and interactive method
CN205827717U (en) * 2016-03-02 2016-12-21 深圳市众为创造科技有限公司 Control device and piano demo system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111540337A (en) * 2020-04-22 2020-08-14 郑州幼儿师范高等专科学校 Automatic playing device for piano

Also Published As

Publication number Publication date
CN106683650B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN102075848B (en) Method and system for testing array microphone and rotating device
CN107516510A (en) A kind of smart machine automated voice method of testing and device
CN101738550B (en) Electronic device test device and test method
CN106024005A (en) Processing method and apparatus for audio data
CN102967817B (en) Chip audio module test system and method for testing
CN101411213A (en) Calibration method and device in an audio system
CN201569554U (en) Integrated modality analyzer
CN101464921B (en) Method and system for generating test vector of chip technology regulation
CN107249080A (en) A kind of method, device and mobile terminal for adjusting audio
EP4033483B1 (en) Method and apparatus for testing vehicle-mounted voice device, electronic device and storage medium
CN110493691A (en) Abnormal sound detection method, device and electronic equipment
CN107562456A (en) Key configurations method, button operation method, device and electronic equipment
CN107071681A (en) Audio frequency apparatus performance test methods and device
CN103677833B (en) Implementation method for open type software platform of microwave measurement instrument
CN106683650A (en) Automatic piano playing test device and method
CN113468835B (en) BUCK chopper electromagnetic interference prediction software
CN108900959A (en) Method, apparatus, equipment and the computer-readable medium of tested speech interactive device
CN202167234U (en) Voice frequency anti-interference automated test system of vehicle-mounted multi-media system
CN206833904U (en) Piano automatic Playing test device and piano
CN206564125U (en) Piano player and piano
CN111757379A (en) NB-IoT radio frequency test system
CN111856234A (en) Transistor fault detection platform and fault detection mode
CN215225915U (en) Classroom cell-phone cabinet monitoring system
CN204496740U (en) A kind of devices for learning musical instruments instrument
CN106683649A (en) Piano automatic playing device and method

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