CN106683650B - Piano automatic playing test device and method - Google Patents

Piano automatic playing test device and method Download PDF

Info

Publication number
CN106683650B
CN106683650B CN201710109967.7A CN201710109967A CN106683650B CN 106683650 B CN106683650 B CN 106683650B CN 201710109967 A CN201710109967 A CN 201710109967A CN 106683650 B CN106683650 B CN 106683650B
Authority
CN
China
Prior art keywords
piano
controller
note
performance
information
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
Application number
CN201710109967.7A
Other languages
Chinese (zh)
Other versions
CN106683650A (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 testing, in particular to an automatic performance testing device and method for a piano, which are applied to the piano comprising an automatic performance device and a plurality of piano keys, wherein the automatic performance testing device for the piano comprises: the system comprises a note signal acquisition device, a first controller, a second controller, a memory and a man-machine interaction device, wherein the first controller is connected with the note signal acquisition device, and the second controller is respectively connected with the first controller, the memory, the man-machine interaction device and the piano automatic playing device. Through the above arrangement, the automatic playing accuracy and reliability of the piano can be tested.

Description

Piano automatic playing test device and method
Technical Field
The invention relates to the technical field of testing, in particular to an automatic performance testing device and method for a piano.
Background
The piano has the characteristics of wide range and large volume change range, and is an ideal multi-sound musical instrument. In the prior art, there are various reasons that the system operation may be unstable in designing or producing a piano capable of automatic playing, and thus cause an error in the automatic playing of the piano.
Disclosure of Invention
In view of the above, it is an object of the present invention to provide an automatic performance test apparatus for pianos, which can realize the tests of the accuracy and reliability of the automatic performance of pianos by providing a note signal acquisition apparatus, a first controller, a second controller, a memory, and a human-computer interaction apparatus.
In view of the above, it is another object of the present invention to provide an automatic performance test method for pianos, which can realize the tests of the accuracy and reliability of the automatic performance of pianos by providing a note signal acquisition means, a first controller, a second controller, a memory, and a human-computer interaction means.
The present invention provides an automatic performance testing apparatus for a piano, which is applied to a piano including an automatic performance apparatus for a piano and a plurality of piano keys, the automatic performance testing apparatus for a piano comprising: the device comprises a note signal acquisition device, a first controller, a second controller, a memory and a man-machine interaction device, wherein the first controller is connected with the note signal acquisition device, and the second controller is respectively connected with the first controller, the memory, the man-machine interaction device and the piano automatic playing device.
The second controller obtains musical instrument spectrum information corresponding to the input signal from the memory according to the input signal and sends the musical instrument spectrum information to the first controller, the musical instrument spectrum information comprises a plurality of note information which are arranged in sequence, and the second controller controls the piano automatic playing device to enable the corresponding piano keys to play notes according to the plurality of note information which are arranged in sequence.
When the piano automatic playing device is controlled to conduct musical notation automatic playing, the note signal obtaining device obtains the playing notes to obtain playing information and sends the playing information to the first controller, the first controller matches the note information with the playing information corresponding to the musical notation information, and when the matching is inconsistent, the playing information is sent to the man-machine interaction device.
Optionally, in the automatic performance testing device for pianos, the note information includes a note frequency and a note duration, the performance information includes a performance frequency and a performance duration, the first controller matches the note frequency with a performance frequency corresponding to the note frequency, matches the note duration with a performance duration corresponding to the note duration, and when the note frequency is inconsistent with the performance frequency and/or the note duration is inconsistent with the performance duration, sends the performance information and the note information corresponding to the performance information to the man-machine interaction device, and the performance information includes piano key information.
Alternatively, in the above-described automatic performance test apparatus for pianos, the note signal acquisition means may include a microphone connected to the first controller, the microphone receiving performance sounds of the piano keys at the time of automatic performance of the pianos, converting the performance sounds into performance information, and transmitting the performance information to the first controller.
Optionally, in the automatic performance testing apparatus for piano, the note signal acquiring device further includes a signal shaping circuit, the microphone is connected with the first controller through the signal shaping circuit, the microphone receives a key performance sound during automatic performance of the piano and converts the key performance sound into an electrical signal, and then sends the electrical signal to the signal shaping circuit, and the signal shaping circuit processes the electrical signal to obtain performance information and sends the performance information to the first controller.
Optionally, in the automatic performance testing apparatus for pianos, the man-machine interaction device includes a matrix keyboard and a display, and the matrix keyboard and the display are respectively connected with the second controller.
Optionally, in the automatic performance testing device for pianos, the first controller is a digital signal processor, the second controller is a single-chip microcomputer, and the digital signal processor is connected with the single-chip microcomputer.
Optionally, in the automatic performance testing apparatus for a piano described above, the automatic performance testing apparatus for a piano includes a driving circuit and a key control device, the second controller is connected with the driving circuit, the driving circuit is connected with the key control device, the key control device includes a plurality of electromagnetic devices and a plurality of magnetic pieces, the driving circuit is connected with each of the electromagnetic devices, the electromagnetic devices are in one-to-one correspondence with the magnetic pieces, the magnetic pieces are disposed on a side of the piano keys close to the keyboard frame of the piano, and the electromagnetic devices are disposed at corresponding positions of the keyboard frame of the piano keys.
The second controller controls the on-off of each electromagnetic device through the driving circuit according to the musical instrument spectrum information, and when each electromagnetic device is electrified, the magnetic sheet at the position corresponding to the piano key is adsorbed, so that the piano key provided with the magnetic sheet emits a playing note.
Optionally, in the automatic playing test device for pianos, the magnetic sheet is a low-carbon steel sheet, the electromagnetic device is a sucker type electromagnet, and the length of the sucker type electromagnet is the same as that of the low-carbon steel sheet.
The present invention is also an automatic performance test method for a piano, which is applied to the automatic performance test apparatus for a piano described above, comprising:
after the automatic performance testing device of the piano is initialized, the man-machine interaction device receives input signals and sends the input signals to the second controller;
the second controller obtains musical instrument spectrum information corresponding to the input signal from the memory according to the input signal and then sends the musical instrument spectrum information to the first controller, wherein the musical instrument spectrum information comprises a plurality of musical note information which are arranged in sequence;
the second controller controls the piano automatic playing device to make the corresponding piano keys emit playing notes according to the plurality of sequentially arranged note information;
the note signal acquisition device acquires the performance notes to obtain performance information and sends the performance information to the first controller;
the first controller matches the note information with performance information corresponding to the musical instrument spectrum information, and when the matching is inconsistent, the performance information is sent to the man-machine interaction device.
Optionally, in the above-described automatic performance testing method for piano, the step of matching note information with performance information corresponding to the musical instrument spectrum information by the first controller includes:
performing analog-to-digital conversion on the performance information and performing timing sampling to obtain sampling frequency;
performing fast Fourier transform on the sampling frequency to obtain an initial frequency;
carrying out band selection Fourier transform on the initial frequency to obtain a playing frequency;
the note information includes a note frequency and a chord Fu Shichang, the performance information includes a performance duration, and the first controller matches the note frequency with a performance frequency corresponding to the note frequency and matches the note duration with a performance duration corresponding to the note duration.
According to the piano automatic playing test device and method provided by the invention, the note signal acquisition device, the first controller, the second controller, the memory and the man-machine interaction device are arranged, the first controller is connected with the note signal acquisition device, and the second controller is respectively connected with the first controller, the memory, the man-machine interaction device and the piano automatic playing device, so that the piano automatic playing accuracy and reliability can be tested.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of protection of the present invention, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram showing a configuration of an automatic performance test apparatus for pianos according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a key control device according to an embodiment of the present invention.
Fig. 3 is another block diagram of a piano automatic playing test device according to an embodiment of the present invention.
Fig. 4 is a flowchart of a piano automatic playing test method according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating the substeps of step S50 in fig. 4.
Icon: 100-automatic playing test device for piano; 110-note signal acquisition means; 112-a microphone; 114-shaping circuitry; 120-a first controller; 130-a second controller; 140-memory; 150-a human-computer interaction device; 200-an automatic playing device for piano; 220-a driving circuit; 240-key control means; 242-electromagnetic devices; 244-magnetic sheet; 300-piano keys; 400-keyboard rack.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, the terms "disposed", "connected" and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
As shown in fig. 1, an embodiment of the present invention provides a block diagram of a piano automatic performance test device 100, the piano automatic performance test device 100 comprising: the note signal acquisition device 110, the first controller 120, the second controller 130, the memory 140 and the human-computer interaction device 150, wherein the first controller 120 is connected with the note signal acquisition device 110, and the second controller 130 is connected with the first controller 120, the memory 140, the human-computer interaction device 150 and the automatic piano playing device 200 respectively.
Referring to fig. 2, the man-machine interaction device 150 receives an input signal and sends the input signal to the second controller 130, the second controller 130 obtains, from the memory 140, musical notation information corresponding to the input signal according to the input signal and sends the musical notation information to the first controller 120, the musical notation information includes a plurality of sequentially arranged note information, and the second controller 130 controls the automatic piano playing device 200 to make the corresponding piano keys 300 play notes according to the plurality of sequentially arranged note information.
When the automatic piano playing device 200 is controlled to perform an automatic musical instrument spectrum playing, the note signal acquiring device 110 acquires the playing notes to obtain playing information and transmits the playing information to the first controller 120, the first controller 120 matches the note information with the playing information corresponding to the musical instrument spectrum information, and when the matching is inconsistent, the playing information is transmitted to the man-machine interaction device 150.
Through the setting, the automatic playing accuracy and reliability of the piano can be tested, and the prompting function is achieved.
Referring to fig. 3, the input information received by the man-machine interaction device 150 may be a name of a piano song input by a user. The human-computer interaction device 150 may be, but is not limited to, a liquid crystal touch screen or include a display and a key pad, so long as information can be input to the second controller 130 through the human-computer interaction device 150 and displayed. In this embodiment, the man-machine interaction device 150 includes a display and a keypad. Optionally, the key keyboard is a matrix keyboard.
Alternatively, the automatic piano playing device 200 includes a driving circuit 220 and a key control device 240, the second controller 130 is connected to the driving circuit 220, the driving circuit 220 is connected to the key control device 240, the key control device 240 includes a plurality of electromagnetic devices 242 and a plurality of magnetic pieces 244, the driving circuit 220 is connected to each of the electromagnetic devices 242, the electromagnetic devices 242 are in one-to-one correspondence with the magnetic pieces 244, the magnetic pieces 244 are disposed on a side of the piano keys 300 close to the keyboard frame 400 of the piano, and the electromagnetic devices 242 are disposed at corresponding positions of the keyboard frame 400 of the piano and the piano keys 300.
The second controller 130 controls the on-off of each electromagnetic device 242 through the driving circuit 220 according to the musical instrument spectrum information, and when each electromagnetic device 242 is energized, the magnetic sheet 244 at the corresponding position of the piano key 300 is adsorbed, so that the piano key 300 provided with the magnetic sheet 244 emits a playing note.
The electromagnetic device 242 may be an electromagnet, specifically, a suction cup type electromagnet. The electromagnetic device 242 generates suction force to attract the corresponding magnetic sheet 244 of the electromagnetic device 242 under the condition of energizing by loading the driving voltage of 12V or 24V to the electromagnet through the driving circuit 220. The magnetic sheet 244 may be a low carbon steel sheet, and the length of the magnetic sheet 244 may be the same as or different from the length of the electromagnetic device 242. The length of the magnetic sheet 244 is the same as the length of the electromagnetic device 242 in this embodiment.
The first controller 120 and the second controller 130 are an integrated circuit chip with signal processing capability. May be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc. But may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor or the like. In this embodiment, the first controller 120 is a digital signal processor, and the second controller 130 is a single-chip microcomputer.
Optionally, the first controller 120 is connected to an external extended data memory and a program memory, for storing a test program and data generated during the test. The second controller 130 has a communication interface and a plurality of input-output interfaces, and is capable of communicating with an upper computer and controlling the automatic piano playing device 200 to achieve automatic piano playing.
The Memory 140 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. In the present embodiment, the memory 140 is used to store programs and various musical instrument spectrum information. The memory 140 is a memory card, and the memory card is detachably connected with the controller, specifically, the controller is connected with the card slot, and the memory card is detachably disposed in the card slot.
The note signal acquisition means 110 may include, but is not limited to, a microphone or a pickup, as long as the performance notes of the piano can be acquired. In this embodiment, the note signal acquiring means 110 includes a microphone 112, the microphone 112 is connected to the first controller 120, and the microphone 112 receives the performance sound of the piano key 300 at the time of automatic playing of the piano, converts the performance sound into performance information, and transmits the performance information to the first controller 120.
Optionally, the note signal obtaining device 110 further includes a signal shaping circuit 114, the microphone 112 is connected to the first controller 120 through the signal shaping circuit 114, the microphone 112 receives a key playing sound during automatic playing of a piano, and converts the key playing sound into an electrical signal and sends the electrical signal to the signal shaping circuit 114, and the signal shaping circuit 114 processes the electrical signal to obtain playing information and sends the playing information to the first controller 120. The signal shaping circuit 114 is configured to perform primary amplification, filtering, main amplification and clipping of the electrical signal and send the signal to the first controller 120.
Optionally, the note information includes a note frequency and a note duration, the performance information includes a performance frequency and a performance duration, the first controller 120 matches the note frequency with the performance frequency corresponding to the note frequency, matches the note duration with the performance duration corresponding to the note duration, and sends the performance information and the note information corresponding to the performance information to the man-machine interaction device 150 when the note frequency is inconsistent with the performance frequency and/or the note duration is inconsistent with the performance duration, and does not perform any processing when the note frequency is consistent with the performance frequency. The performance information includes piano key information. The above arrangement makes the automatic playing test device 100 for piano better in test effect, and further ensures that the piano achieves better effect in automatic playing.
On the basis of the above, the present invention also provides a piano automatic playing test method, which is realized based on the piano automatic playing device 200. The piano automatic playing method includes:
step S10: the human-computer interaction device 150 receives the input signal and transmits the input signal to the second controller 130.
Wherein the above steps are performed after the initialization of the automatic piano action test device 100 and the automatic piano action device 200 is completed, the input signal may be the name of the piano song.
Step S20: the second controller 130 obtains the musical instrument spectrum information corresponding to the input signal from the memory 140 according to the input signal, and sends the obtained musical instrument spectrum information to the first controller 120.
Optionally, the musical instrument spectrum information is staff spectrum information, and the musical instrument spectrum information includes a plurality of note information arranged in sequence.
Step S30: the second controller 130 controls the automatic piano playing device 200 to make the corresponding piano keys 300 emit playing notes according to the plurality of sequentially arranged note information.
Step S40: the note signal acquisition means 110 acquires the performance notes to obtain performance information and transmits the performance information to the first controller 120.
The note signal acquisition means 110 includes a microphone 112 and a shaping circuit 114, and the microphone 112 is used to acquire performance sound of a piano and obtain performance information through the shaping circuit 114.
Step S50: the first controller 120 matches the note information with performance information corresponding to the musical instrument spectrum information, and transmits the performance information to the human-computer interaction device 150 when the matching is inconsistent.
Optionally, the step of matching the note information with performance information corresponding to the musical instrument spectrum information by the first controller 120 includes:
substep S51: and carrying out analog-to-digital conversion on the performance information and carrying out timing sampling to obtain sampling frequency.
The time of the timing sampling can be arbitrary, and the timing sampling can be selected according to actual conditions.
Substep S52: and performing fast Fourier transform on the sampling frequency to obtain an initial frequency.
Substep S53: and carrying out band selection Fourier transform on the initial frequency to obtain the playing frequency.
The note information includes note frequency chord Fu Shichang, and the performance information includes performance duration.
Substep S54: the first controller 120 matches the note frequency with the performance frequency corresponding to the note frequency, and matches the note duration with the performance duration corresponding to the note duration.
And when the note frequency is inconsistent with the performance frequency and/or the note duration is inconsistent with the performance duration, sending performance information and note information corresponding to the performance information to the man-machine interaction device 150. Alternatively, the performance information includes piano key 300 information.
In summary, the automatic performance testing apparatus and method of a piano provided in the embodiments of the present invention are applied to a piano including the automatic piano playing apparatus 200 and a plurality of piano keys 300. The automatic performance testing apparatus 100 for pianos can realize the tests of the accuracy and reliability of the automatic performance of pianos by providing the note signal acquiring means 110, the first controller 120, the second controller 130, the memory 140, and the human-computer interaction means 150. Further, the note signal acquiring means 110 is provided as the microphone 112 and the signal shaping circuit 114 to effectively improve the accuracy of the automatic playing test of the piano, thereby ensuring the accuracy of the automatic playing of the piano.
In the embodiments provided in the present invention, it should be understood that the disclosed method and apparatus may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and processor program products according to embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a processor device (which may be a personal processor, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. An automatic performance test apparatus for a piano, which is applied to a piano including an automatic performance apparatus and a plurality of piano keys, characterized by comprising: the system comprises a note signal acquisition device, a first controller, a second controller, a memory and a man-machine interaction device, wherein the first controller is connected with the note signal acquisition device, and the second controller is respectively connected with the first controller, the memory, the man-machine interaction device and the piano automatic playing device;
the second controller obtains musical instrument spectrum information corresponding to the input signal from the memory according to the input signal and sends the musical instrument spectrum information to the first controller, the musical instrument spectrum information comprises a plurality of note information which are arranged in sequence, and the second controller controls the piano automatic playing device to enable the corresponding piano keys to play notes according to the plurality of note information which are arranged in sequence;
when the piano automatic playing device is controlled to perform musical notation automatic playing, the note signal obtaining device obtains the playing notes to obtain playing information and sends the playing information to the first controller, the first controller matches the note information with the playing information corresponding to the musical notation information, and when the matching is inconsistent, the playing information is sent to the man-machine interaction device;
the automatic piano playing device comprises a driving circuit and a key control device, the second controller is connected with the driving circuit, the driving circuit is connected with the key control device, the key control device comprises a plurality of electromagnetic devices and a plurality of magnetic sheets, the driving circuit is connected with each electromagnetic device, the electromagnetic devices are in one-to-one correspondence with the magnetic sheets, the magnetic sheets are arranged on one side, close to a keyboard frame of the piano, of the piano keys, and the electromagnetic devices are arranged at positions, corresponding to the keyboard frame of the piano keys, of the piano keys;
the second controller controls the on-off of each electromagnetic device through the driving circuit according to the musical instrument spectrum information, and when each electromagnetic device is electrified, the magnetic sheet at the position corresponding to the piano key is adsorbed, so that the piano key provided with the magnetic sheet emits a playing note.
2. The automatic performance test apparatus of piano according to claim 1, wherein said note information includes a note frequency and a note duration, said performance information includes a performance frequency and a performance duration, said first controller matches said note frequency with a performance frequency corresponding to the note frequency, matches a note duration with a performance duration corresponding to the note duration, and transmits the performance information and the note information corresponding to the performance information to said human-computer interaction apparatus when the note frequency and the performance frequency are inconsistent and/or the note duration is inconsistent with the performance duration, said performance information including piano key information.
3. The automatic performance test apparatus of piano of claim 1, wherein said note signal acquisition means comprises a microphone connected to said first controller, said microphone receiving the performance sound of the piano keys at the time of automatic playing of piano, converting the performance sound into performance information and transmitting to said first controller.
4. The automatic performance test apparatus for piano of claim 3, wherein said note signal obtaining means further comprises a signal shaping circuit, said microphone is connected to said first controller through said signal shaping circuit, said microphone receives a key performance sound during automatic performance of piano and converts it into an electrical signal to be transmitted to said signal shaping circuit, and said signal shaping circuit processes said electrical signal to obtain performance information and transmits it to said first controller.
5. The automatic playing test device of piano of claim 1, wherein said human-machine interaction means comprises a matrix keyboard and a display, said matrix keyboard and display being respectively connected to said second controller.
6. The automatic playing test device of piano of claim 1, wherein said first controller is a digital signal processor, said second controller is a single chip microcomputer, and said digital signal processor is connected with said single chip microcomputer.
7. The automatic playing test device for piano of claim 1, wherein said magnetic sheet is a low carbon steel sheet, said electromagnetic means is a sucking disc type electromagnet, and the length of said sucking disc type electromagnet is the same as the length of said low carbon steel sheet.
8. An automatic performance testing method for a piano, applied to the automatic performance testing device for a piano of any one of claims 1 to 7, characterized in that the automatic performance testing method for a piano comprises:
after the automatic performance testing device of the piano is initialized, the man-machine interaction device receives input signals and sends the input signals to the second controller;
the second controller obtains musical instrument spectrum information corresponding to the input signal from the memory according to the input signal and then sends the musical instrument spectrum information to the first controller, wherein the musical instrument spectrum information comprises a plurality of musical note information which are arranged in sequence;
the second controller controls the piano automatic playing device to make the corresponding piano keys emit playing notes according to the plurality of sequentially arranged note information;
the note signal acquisition device acquires the performance notes to obtain performance information and sends the performance information to the first controller;
the first controller matches the note information with performance information corresponding to the musical instrument spectrum information, and when the matching is inconsistent, the performance information is sent to the man-machine interaction device;
the second controller controls the on-off of each electromagnetic device through the driving circuit according to the musical instrument spectrum information, and when each electromagnetic device is electrified, the magnetic sheet at the position corresponding to the piano key is adsorbed, so that the piano key provided with the magnetic sheet emits a playing note.
9. The automatic performance testing method of piano of claim 8, wherein said first controller matches note information with performance information corresponding to the musical score information comprises:
performing analog-to-digital conversion on the performance information and performing timing sampling to obtain sampling frequency;
performing fast Fourier transform on the sampling frequency to obtain an initial frequency;
carrying out band selection Fourier transform on the initial frequency to obtain a playing frequency;
the note information includes a note frequency and a chord Fu Shichang, the performance information includes a performance duration, and the first controller matches the note frequency with a performance frequency corresponding to the note frequency and matches the note duration with a performance duration corresponding to the note duration.
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 CN106683650A (en) 2017-05-17
CN106683650B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN106683650A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN114730242B (en) System and method for determining effective human interaction with virtual buttons
US8155968B2 (en) Voice recognition apparatus and method for performing voice recognition comprising calculating a recommended distance range between a user and an audio input module based on the S/N ratio
US7562019B2 (en) Automated testing of voice recognition software
US7166795B2 (en) Method and apparatus for simulating a mechanical keyboard action in an electronic keyboard
KR20170019650A (en) Touch Event Processing Method and electronic device supporting the same
CN104123938A (en) Voice control system, electronic device and voice control method
US20070019814A1 (en) Method for modifying the compatibility of an audio precision analyzing apparatus with an application program
EP3089363A1 (en) System and method for audio volume control
US20210150009A1 (en) Echoprint user authentication
WO2019209665A3 (en) Unit testing for changes to version control
CN106683650B (en) Piano automatic playing test device and method
EP2905773B1 (en) Method of playing music based on chords and electronic device implementing the same
WO2022001502A1 (en) Screen over-vibration protection method, electronic device and storage medium
CN106919285B (en) Terminal
CN115244614A (en) Parameter inference method, parameter inference system, and parameter inference program
CN109240486A (en) A kind of Pop-up message processing method, device, equipment and storage medium
CN105718165B (en) A kind of starting method and device of terminal background application
WO2019185015A1 (en) Signal noise removal method utilizing piezoelectric transducer
US9202447B2 (en) Persistent instrument
US20090220097A1 (en) Sound testing device for mobile phone and method for using the same
JP2011103527A (en) Control apparatus
US10072968B2 (en) Vibration spectrum adjustment for scales
EP3460802B1 (en) Sequential activity intelligent personal assistant
US20200371592A1 (en) Sensing and compensating for non-linear haptic vibration
JP2017203931A (en) Acoustic property measurement device and acoustic property measurement 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