CN117975916A - Operation method for intelligent playing of Erhu - Google Patents

Operation method for intelligent playing of Erhu Download PDF

Info

Publication number
CN117975916A
CN117975916A CN202311503046.0A CN202311503046A CN117975916A CN 117975916 A CN117975916 A CN 117975916A CN 202311503046 A CN202311503046 A CN 202311503046A CN 117975916 A CN117975916 A CN 117975916A
Authority
CN
China
Prior art keywords
note
urheen
playing
intelligent
bow
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.)
Pending
Application number
CN202311503046.0A
Other languages
Chinese (zh)
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.)
Wanjiang Institute of Technology
Original Assignee
Wanjiang Institute of Technology
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 Wanjiang Institute of Technology filed Critical Wanjiang Institute of Technology
Priority to CN202311503046.0A priority Critical patent/CN117975916A/en
Publication of CN117975916A publication Critical patent/CN117975916A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an operation method for intelligent playing of Erhu, which comprises the following steps: s1, acquiring sound information of a single sound channel, and converting the sound information into MIDI files; s2, sending an instruction to the Erhu intelligent playing system to start analyzing the music score information of the MIDI file; s3, distinguishing the identified single notes, and starting different instruction actions; s4, starting an execution command with the number i in the single note, and completing the performance of the single note by the two-stringed bowed instrument intelligent performance system; s5, judging the note state zone bit after the execution action in the step S4 is started; s6, judging whether to go to the last note or not. The operation method for intelligent playing of the urheen can realize intelligent playing of the urheen, and enable the idle urheen to automatically play wonderful notes.

Description

Operation method for intelligent playing of Erhu
Technical Field
The invention belongs to the technical field of musical instruments, and particularly relates to an operation method for intelligent playing of Erhu.
Background
The urheen is used as a traditional string pulling musical instrument in China, has mellow and soft tone, is easy to turn, has extremely strong singing performance and complaining feeling, and is more similar to human voice in emotion expression, so that the urheen performance has extremely high requirements on professional ability of performers, is higher in threshold for beginners, most of beginners cannot endure repeated training for decades, and causes extremely great obstacle to inheriting and developing of the culture of the traditional musical instrument of the urheen.
In addition, people gradually realize the convenience of cloud teaching, and not only can the learner be helped to store and transmit learning materials, but also the limitation of distance and time is broken. But the fingering training difficulty of the urheen is high, and the tone color converted by the media such as a loudspeaker, a sound box and the like is not pure, so that the teaching of the urheen is assisted by an automatic playing system, the learning of the urheen can be assisted, a learner can be helped to repeatedly cut the urheen, the urheen is easier to enter, and the interest of the child in learning the urheen can be increased.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides an operation method for intelligent playing of the urheen, and aims to realize automatic playing of the urheen by combining artificial intelligence.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: the operation method of the intelligent performance of the urheen comprises the following steps:
s1, acquiring sound information of a single sound channel, and converting the sound information into MIDI files;
S2, sending an instruction to the Erhu intelligent playing system to start analyzing the music score information of the MIDI file;
s3, distinguishing the identified single notes, and starting different instruction actions;
s4, starting an execution command with the number i in the single note, and completing the performance of the single note by the two-stringed bowed instrument intelligent performance system;
s5, judging the note state zone bit after the execution action in the step S4 is started;
s6, judging whether to go to the last note or not.
In the step S1, the audio conversion software converts the monophonic sound information into MIDI information recognizable by the singlechip, and the Usart serial port sends the MIDI information to the singlechip, so that the urheen intelligent playing system can start to operate normally.
In the step S3, whether the single note is the first note is determined, when the read note data is the first note, a timer is started to count time, duration information in the note array is read, and compared with the count value of the timer, if the two values are consistent, the playing of the note can be ended, and the next note in the MIDI array is read and played; if the two durations are inconsistent, continuing to count by the timer, and continuously comparing the duration information in the note array with the counted time of the timer until the durations are consistent.
The two-stringed bowed instrument intelligent playing system comprises a two-stringed bowed instrument body, a two-stringed bowed instrument swinging mechanism used for driving the two-stringed bowed instrument body to rotate, a circular bow rotating mechanism matched with the two-stringed bowed instrument body and used for simulating a pull bow playing action, and a pitch control mechanism arranged on the two-stringed bowed instrument body and used for pressing strings of the two-stringed bowed instrument body, wherein the circular bow rotating mechanism and the two-stringed bowed instrument body are arranged on the two-stringed bowed instrument swinging mechanism.
The pitch control mechanism comprises a fixing frame, finger simulation members for pressing strings and electromagnets which are arranged on the fixing frame and used for controlling the finger simulation members to act, the fixing frame is arranged on a piano rod of the urheen body, and the finger simulation members are arranged in plurality.
The position of the electromagnet on the fixing frame can be adjusted.
The two-stringed bowed instrument swinging mechanism comprises a base frame, a support arranged on the base frame and a rotatable two-stringed bowed instrument fixing frame arranged on the support, wherein a first driving mechanism connected with the two-stringed bowed instrument fixing frame is arranged on the support and comprises a first motor, a transmission shaft connected with the first motor and two first bearings arranged on the transmission shaft, and the two-stringed bowed instrument fixing frame is connected with the transmission shaft and is positioned between the two first bearings.
The circular arch rotating mechanism comprises a circular arch body and a second driving mechanism for controlling the circular arch body to rotate, the circular arch body comprises a circular arch and horsetail arches arranged on the circular arch, the second driving mechanism comprises a second motor, a rotary support bearing and a rotary disc connected with the rotary support bearing, the rotary disc is connected with the second motor, and the circular arch is arranged on the rotary disc.
The step S4 includes:
s401, analyzing a frequency range corresponding to the tone array in the note i, and controlling a corresponding electromagnet to conduct attraction action;
S402, judging the rotation angle direction of the first motor, wherein the rotation angle direction of the first motor is different, the strings used in the playing and sounding of the urheen are different, and the pitch of the strings is correspondingly changed;
s403, acquiring force array data force [ i ] of notes i, and controlling a circular arc body connected with the second driving mechanism to rotate at different rotating speeds so as to change the tone rhythm of playing.
In the step S5, when the state flag of the note i is at the position 1, that is, the performance action of the note i corresponding to the duration is performed completely, the electromagnet is turned off, and the duration of the next note is set; when the status flag bit of note i is not set to 1, the process returns to step S4.
The operation method for intelligent playing of the Erhu provided by the invention has the advantages that the playing skills of the Erhu are more embodied, the autonomous learning of breaking through time and distance limitation is realized, the possibility of repeated learning and polishing of a user is provided, a novel mode method and fingering teaching resource sharing are provided for the inheritance of the traditional musical instrument, the social problem of excessive resources is solved, and the learning interest of young children can be improved.
Drawings
The present specification includes the following drawings, the contents of which are respectively:
Fig. 1 is a flowchart of an operation method of the intelligent performance of the urheen of the present invention;
Fig. 2 is a schematic diagram of a partial structure of the intelligent performance system of the urheen;
FIG. 3 is a schematic diagram of the swing mechanism of the urheen;
FIG. 4 is a schematic view of the construction of the rotary mechanism of the circular arch;
FIG. 5 is a schematic structural view of a second drive mechanism;
FIG. 6 is a schematic view of the configuration of the circular ring bow;
FIG. 7 is a schematic structural view of a pitch control mechanism;
FIG. 8 is a schematic view of the structure of the finger simulation member;
fig. 9 is a front view of the smart performance system of the urheen;
FIG. 10 is an enlarged view at A in FIG. 8;
FIG. 11 is a schematic view of the swing angle of the two-stringed bowed instrument swing mechanism;
FIG. 12 is a schematic diagram of an electromagnet configuration;
FIG. 13 is a schematic diagram of the structure of the urheen body;
Marked in the figure as:
1. A Erhu body; 101. a musical instrument barrel; 102. a musical instrument support; 103. a head; 104. a piano shaft; 105. a piano stem; 2. a pitch control mechanism; 21. an electromagnet; 212. an electromagnet armature; 211. electromagnet limiting buckle; 22. a finger simulation member; 23. a fixing frame; 231. a T-shaped groove; 3. a circular arch rotating mechanism; 301. a circular ring bow; 302. ma Weigong hairs; 303. a connecting rod; 304. a slewing bearing; 305. a rotary plate; 306. a second motor; 307. a flange coupling; 4. a two-stringed bowed instrument swinging mechanism; 401. a base frame; 402. a support; 403. a urheen fixing frame; 404. a first motor shaft.
Detailed Description
The following detailed description of the embodiments of the invention, given by way of example only, is presented in the accompanying drawings to aid in a more complete, accurate and thorough understanding of the concepts and aspects of the invention, and to aid in its practice, by those skilled in the art.
As shown in fig. 1, the present invention provides an operation method for intelligent playing of urheen, comprising the following steps:
s1, acquiring sound information of a single sound channel, and converting the sound information into MIDI files;
S2, sending an instruction to the Erhu intelligent playing system to start analyzing the music score information of the MIDI file;
s3, distinguishing the identified single notes, and starting different instruction actions;
s4, starting an execution command with the number i in the single note, and completing the performance of the single note by the two-stringed bowed instrument intelligent performance system;
s5, judging the note state zone bit after the execution action in the step S4 is started;
s6, judging whether to go to the last note or not.
Specifically, as shown in fig. 2 to 13, the intelligent urheen playing system comprises an upper computer, a microcontroller, a voice recognition module, a urheen body, a urheen swinging mechanism for driving the urheen body to rotate, a circular bow rotating mechanism matched with the urheen body and used for simulating a bowing playing action, and a pitch control mechanism arranged on the urheen body and used for pressing strings of the urheen body, wherein the circular bow rotating mechanism and the urheen body are arranged on the urheen swinging mechanism.
As shown in fig. 2 and 13, the urheen body comprises a stem, strings arranged on one side of the stem, and a head and a drum respectively arranged at two ends of the stem, wherein an inner string shaft and an outer string shaft are arranged on the stem, and a support is arranged on the drum. The two-stringed bowed instrument swinging mechanism is used for driving the two-stringed bowed instrument body to swing, so that the inner strings or the outer strings of the two-stringed bowed instrument body are contacted with the bow Mao Xiang of the circular bow rotating mechanism, the circular bow rotating mechanism can simulate the pull bow performance through rotation, and the pitch control mechanism can realize the pitch control.
As shown in fig. 2 and 3, the two-stringed bowed instrument swinging mechanism is used for adjusting the rotation angle of the two-stringed bowed instrument body, so that the inner chord or the outer chord of the two-stringed bowed instrument body is contacted with Ma Weigong hairs of the circular arc rotating mechanism. The two-stringed bowed instrument swinging mechanism comprises a base frame, a support arranged on the base frame and a two-stringed bowed instrument fixing frame rotatably arranged on the support, wherein the two-stringed bowed instrument body is arranged on the two-stringed bowed instrument fixing frame. The support is F type structure, and the lower extreme and the base frame fixed connection of support, and the upper end at the support is installed to the two-stringed bowed instrument mount, and the two-stringed bowed instrument mount is fixed on the organ support of two-stringed bowed instrument body, and two-stringed bowed instrument mount and a musical instrument section of thick bamboo do not contact to do not influence the tone quality of two-stringed bowed instrument. The support is provided with a first driving mechanism connected with the two-stringed bowed instrument fixing frame, the first driving mechanism is used for driving the two-stringed instrument fixing frame and the two-stringed instrument body arranged on the two-stringed instrument fixing frame to swing, and the rotation center line of the two-stringed instrument body when swinging is a vertical line.
AS shown in fig. 1, 9 and 10, in this embodiment, the first driving mechanism includes a first motor, a transmission shaft connected with the first motor, and two first bearings disposed on the transmission shaft, where the first motor is a steering engine, and the model of the first motor is 42BYGH47-401AS, which can accurately control the rotation speed. The two-stringed bowed instrument fixing frame is connected with the transmission shaft and is positioned between the two first bearings. The first motor is fixedly arranged in the support, the transmission shaft is arranged in the support through two first bearings, and the upper end of the transmission shaft is fixedly connected with the output end of the first motor. The upper end of the urheen fixing frame is sleeved on the transmission shaft, and the urheen fixing frame is connected with the transmission shaft by a key. The two-stringed bowed instrument fixing frame is contacted with the inner rings of two first bearings, the first bearings are tapered roller bearings, the model is 30200, and the first bearings are used for bearing radial and axial compound loads and have high bearing capacity.
As shown in fig. 4, the two-stringed bowed instrument fixing frame is in a hollow design and is in threaded connection with the two-stringed bowed instrument support, so that the resonance effect of the two-stringed instrument tube is not affected. The support and the urheen fixing frame are provided with the reinforcing ribs, the strength and the rigidity can be increased by the reinforcing ribs, the weight is reduced, the cost is reduced, and the support is prevented from bending to influence the playing effect of the inner and outer strings of the urheen in contact with the circular arc ring.
As shown in fig. 1, 4-7, the circular arc rotating mechanism comprises a circular arc body and a second driving mechanism for controlling the circular arc body to rotate, the circular arc body comprises a circular arc and horsetail hair arranged on the circular arc, the circular arc is a circular ring-shaped member, and the rotating non-circular arc center of the urheen is the position where the horsetail hair approaches but does not contact with an inner chord and an outer chord. The circular ring bow continuously rotates and the speed is adjustable, and horsetail bow hair on the circular ring bow is contacted with strings of the urheen body, so that the playing of the bow is simulated.
As shown in fig. 2 and 6, hundreds of horsetail arches are woven on the circular ring arch. Specifically, 80 round holes with the diameter of 3mm are formed in the circular side wall of the circular ring bow, 10-12 horsetail hairs form a bundle Ma Weigong of hairs, each bundle Ma Weigong of hairs passes through the round holes formed in the circular side walls of the two circular ring bows and then is tightened to form a string, and each bundle Ma Weigong of hairs is woven in sequence to form a polygon similar to a circle. The method is similar to the formation principle of the Reed pair circles in the Asia, and the approximate circle of the polygon is fitted by continuously increasing the edge number of the polygon. The bow Mao Pingzheng woven by the method is smooth and has toughness, and can accurately restore the original tone of the Erhu.
In order to enhance the musical performance of the musical instrument and reduce the noise in the mechanical transmission process, the invention does not adopt the traditional mechanical transmission modes such as gears, belt wheels and the like, but adopts the transmission mode of directly connecting a motor in an exquisite layout, thereby being efficient and reliable and having no noise in the transmission process.
As shown in fig. 2, 4 and 5, in the present embodiment, the second driving mechanism includes a second motor, a slewing bearing, and a slewing disk connected to the slewing bearing. The second motor is a stepping motor, the rotating speed can be accurately controlled, and the model is NG5020. The second motor is arranged on the base frame, the rotary disc is connected with the output end of the second motor through a flange coupling, and the circular ring bow is arranged on the rotary disc. The rotary support bearing comprises a bearing outer ring arranged on the base frame and a bearing inner ring rotatably arranged in a central hole of the bearing outer ring, and the bearing inner ring is connected with the rotary disc. The bearing outer ring is fixedly mounted on the base frame through bolts, the bearing inner ring is fixedly connected with the rotary disc through bolts, the bearing inner ring is located below the rotary disc, the rotary disc is fixedly connected with the circular ring bow through connecting rods, the connecting rods are multiple, all the connecting rods are uniformly distributed along the circumferential direction by taking the axis of the rotary disc as a central line, and the rotary disc and the circular ring bow are coaxially arranged.
In this embodiment, as shown in fig. 4, the connecting rods are provided in total of five.
As shown in fig. 2, 7 and 8, the pitch control mechanism includes a fixing frame, finger simulation members for pressing strings and electromagnets arranged on the fixing frame and used for controlling the finger simulation members to act, the fixing frame is fixedly arranged on a stem of the urheen body, the length direction of the fixing frame is parallel to the length direction of the stem, the finger simulation members are provided with a plurality of electromagnets, the electromagnets are also provided with a plurality of electromagnets, the number of the electromagnets is the same as that of the finger simulation members, each electromagnet is respectively used for controlling one finger simulation member to act, and all the electromagnets are sequentially arranged along the length direction of the fixing frame. The finger simulation member is of an L-shaped structure and is used for simultaneously pressing the inner string and the outer string of the urheen body so as to control one phoneme, one phoneme is provided with two pitches of the inner string and the outer string, the finger simulation member is provided with a contact surface for being contacted with the string, the contact surface is an arc surface, and the axis of the contact surface is parallel to the angle of the string.
As shown in fig. 7 and 8, the finger simulation member is of an L-shaped structure, the finger simulation member includes a connection section and a pressing section, one end of the connection section is fixedly connected with one end of the pressing section, the length direction of the connection section is perpendicular to the length direction of the pressing section, the connection section is connected with an electromagnet, the pressing section is used for pressing strings, and the contact surface is the surface of the pressing section.
The length h of the connecting sections of the finger simulation member at different positions is different in size because the strings have an inclination angle, and therefore the value of the length h of the connecting sections varies with the angle of the strings.
In this embodiment, as shown in fig. 11, the electromagnet includes an electromagnet armature and an electromagnet limit catch. The rubber gasket realizes mute suction, and the electromagnet limiting buckle contacts with the telescopic rod surface, so that the telescopic rod can only stretch and can not rotate, and the accuracy of pressing the positions of the strings is ensured. The electromagnet controls the finger simulation component to act, so that the pressing of a plurality of positions of the Erhu performance is controlled, the numerical value is set according to the pressing force of the human hand, and the finger simulation component simulates the curved surface of the finger of a player, so that a better performance effect is achieved.
Preferably, as shown in fig. 7, a T-shaped groove for embedding the electromagnet is formed in the fixing frame, the T-shaped groove extends along the length direction of the fixing frame, the position of the electromagnet on the fixing frame is adjustable, the distance between two adjacent electromagnets is adjustable, and then the position of the finger simulation member can be adjusted.
Preferably, a mute pad is provided on the contact surface of the finger simulation member, and is brought into contact with the string via the mute pad.
In the step S1, the audio conversion software converts the monaural sound information into MIDI information recognizable by the single chip microcomputer, where the sound information may include music in various formats, such as MP3, m4a, wma, etc., and may also be recorded audio information. The converted information is sent to the singlechip end through Usart serial ports, and the Erhu intelligent playing system can start to normally operate.
Furthermore, the MIDI protocol is a digital music interface, is an instant communication protocol between playing devices such as electronic musical instruments and synthesizers, and is used for real-time playing data transmission between hardware, and the codes of the MIDI protocol can be expanded to be used as file formats for recording music information, and the stored sound information is an event stream generated by MIDI. A MIDI file is essentially an instruction containing information on pitch, duration, intensity, etc., and is made up of STATUS bytes and Data bytes, where STATUS bytes determine the type of message, e.g. 1100 is an instrument selection instruction, and the number of Data bytes later depends on the type of message. The MIDI contains two types of Chunk, namely a Header Chunk and a Track Chunk, wherein the former is the basic information of the whole MIDI file, and the latter is mainly used for storing actual performance data. The time type of MIDI takes TPQN, i.e. by note, how many Ticks are contained in a quarter note.
In the above step S2, an instruction is sent to the intelligent performance system of urheen to start analyzing the music score information of the MIDI file. Specifically, the user first issues an instruction to start performance, which may be a push of a corresponding start key or a voice instruction. Once the singlechip receives the instruction, the singlechip starts to analyze the music score information in the music track block, the frequency and the duration of a note form a pitch together, and the current music score is transmitted to the information of the singlechip to obtain an array of the frequency, the duration and the intensity of the current music score.
In the step S3, whether the single note is the first note is determined, when the read note data is the first note, a timer is started to count time, duration information in the note array is read, the duration information is compared with the count time of the timer, if the duration information is consistent with the count time of the timer, execution of the program can be interrupted, and performance of the single note is formally started; if the two durations are inconsistent, continuing to count by the timer, and continuously comparing the duration information in the note array with the counted time of the timer until the durations are consistent, and interrupting the execution program.
In the above step S3, when the read single note is not the first note, the duration information of the single note is directly read, and the performance of the single note is started according to the set instruction.
In the above step S4, the execution command numbered i in the single note is turned on, and the driving section is scheduled so that the three sections of the pitch control mechanism, the urheen swing mechanism and the circular arc rotation mechanism are engaged while starting to operate, completing the performance of the single note.
Specifically, after the note i starts playing, pitch and force information are read, each pitch can be realized by matching a pitch control mechanism and a urheen swinging mechanism, the pitch control mechanism is composed of 12 electromagnets, and the positions of fingers on different positions of the urheen, namely phonemes, are corresponding to each other; the two-stringed bowed instrument swinging mechanism controls the two-stringed bowed instrument to rotate in different directions, so that the two-stringed bowed instrument can make sound by respectively contacting inner and outer chords with Ma Weixiang woven in a circular arc.
The step S4 includes:
s401, analyzing a frequency range corresponding to the tone array in the note i, and controlling a corresponding electromagnet to conduct attraction action;
S402, judging the rotation angle direction of the first motor, wherein the rotation angle direction of the first motor is different, the strings used in the playing and sounding of the urheen are different, and the pitch of the strings is correspondingly changed;
s403, acquiring force array data force [ i ] of notes i, and controlling a circular arc body connected with the second driving mechanism to rotate at different rotating speeds so as to change the tone rhythm of playing.
In the step S402, comparing the data freq [ i ] of the audio array read in the note i with the rotation angle direction of the first motor in the data freq [ i-1] read in the previous note i-1, when the inner and outer strings adopted by the two pitch data are consistent, the strings are unchanged, namely the rotation angle direction is unchanged, and only the first motor is controlled to rotate by an angle corresponding to the duration through an algorithm; when the inner chord and the outer chord adopted by the two pitch data are inconsistent, preparing to change the chord, namely changing the rotation angle direction of the first motor, and controlling the first motor to rotate by a corresponding angle through an algorithm.
In the step S5, after the execution in the step S4 is started, the note status flag bit is judged; when the state of the note i indicates the position 1, namely, the performance action of the note i corresponding to the duration is completely executed, the electromagnet is disconnected and the duration of the next note is set; when the status flag bit of note i is not set to 1, the process returns to step S4.
In the above step S6, it is judged whether or not the performance of the score is ended, i.e., whether or not it is proceeded to the last note. If the music score performance polling is finished, the electromagnet is disconnected, the first motor and the second motor are stopped, and finally the music score performance is finished; if the music performance polling is not finished, the process returns to the step S4, and the process continues from the step S4.
Considering the practical performance of the system, the music score playing system not only can realize the playing of a specific music score, but also can automatically adjust according to different audio data files. The upper computer and the microcontroller can communicate through UART serial ports, USB communication, ethernet, wireless network, bluetooth and the like, and the UART serial ports are adopted in the system design, so that compared with other communication modes, the system has the following advantages:
(1) Is simple and easy to use and has low cost;
the data transmission mode only needs the microcontroller to be provided with the serial port module, so that the cost is lower, the data transmission can be completed by only relying on the UART driver and the common serial port communication protocol, the data transmission quantity fully meets the data information quantity corresponding to a music score, and compared with modes of Ethernet, wireless network communication and the like, the programming difficulty is lower.
(2) Low power consumption;
because of the limited data volume and transmission speed, the required power is generally lower, and the method is more suitable for low-power consumption equipment running for a long time.
(3) The device is stable and reliable;
the data transmission is stable, and the packet loss is not easy to occur, so that the system is more consistent with the condition of higher transmission data integrity requirement in the system.
(4) The applicability is wide;
The communication mode is widely applied, is mostly suitable for various application fields, such as an embedded system, automatic control, a robot and the like, and can complete data interaction with a common sensor in the embedded system through serial communication.
In conclusion, the urheen intelligent playing system based on the STM32 microcontroller is adopted, and the urheen is controlled to complete the playing of a piece of complete music by controlling the motion of the executing mechanisms such as the stepping motor, the voltage stabilizing module, the electromagnet and the like. Meanwhile, the UART serial communication technology is adopted to realize data transmission between the main controller and the upper computer, and the UART serial communication system has the advantages of simplicity, easiness in use, low cost, low power consumption, stability, reliability, wide applicability and the like. The system not only can realize the performance of a specific music score, but also can automatically adjust according to different audio data files, so that the design has higher practicability and expandability.
The invention is described above by way of example with reference to the accompanying drawings. It will be clear that the invention is not limited to the embodiments described above. As long as various insubstantial improvements are made using the method concepts and technical solutions of the present invention; or the invention is not improved, and the conception and the technical scheme are directly applied to other occasions and are all within the protection scope of the invention.

Claims (10)

1. The operation method for intelligent playing of the urheen is characterized by comprising the following steps:
s1, acquiring sound information of a single sound channel, and converting the sound information into MIDI files;
S2, sending an instruction to the Erhu intelligent playing system to start analyzing the music score information of the MIDI file;
s3, distinguishing the identified single notes, and starting different instruction actions;
s4, starting an execution command with the number i in the single note, and completing the performance of the single note by the two-stringed bowed instrument intelligent performance system;
s5, judging the note state zone bit after the execution action in the step S4 is started;
s6, judging whether to go to the last note or not.
2. The method according to claim 1, wherein in step S1, the audio conversion software converts the monophonic sound information into MIDI information recognizable by the singlechip, and the MIDI information is sent to the singlechip through Usart serial ports, so that the urheen intelligent playing system can start to operate normally.
3. The method according to claim 1, wherein in the step S3, it is determined whether the single note is the first note, when the read note data is the first note, a timer is started to count time, duration information in the note array is read, the duration information is compared with the count value of the timer, and if the duration information and the count value are consistent, the playing of the note can be ended, and the next note in the MIDI array is read and played; if the two durations are inconsistent, continuing to count by the timer, and continuously comparing the duration information in the note array with the counted time of the timer until the durations are consistent.
4. The method according to any one of claims 1 to 3, wherein the intelligent urheen playing system comprises a urheen body, a urheen swinging mechanism for driving the urheen body to rotate, a circular bow rotating mechanism which is matched with the urheen body and is used for simulating a pull bow playing action, and a pitch control mechanism which is arranged on the urheen body and is used for pressing strings of the urheen body, wherein the circular bow rotating mechanism and the urheen body are arranged on the urheen swinging mechanism.
5. The method according to claim 4, wherein the pitch control mechanism comprises a holder, finger simulation members for pressing strings, and electromagnets provided on the holder for controlling the finger simulation members to act, the holder being provided on a stem of the urheen body, the finger simulation members being provided in plurality.
6. The method for intelligent playing of urheen according to claim 5, wherein the position of the electromagnet on the fixing frame is adjustable.
7. The method according to claim 5, wherein the two-stringed bowed instrument swinging mechanism comprises a base frame, a support arranged on the base frame and a two-stringed bowed instrument fixing frame rotatably arranged on the support, a first driving mechanism connected with the two-stringed bowed instrument fixing frame is arranged on the support, the first driving mechanism comprises a first motor, a transmission shaft connected with the first motor and two first bearings arranged on the transmission shaft, the two-stringed bowed instrument fixing frame is connected with the transmission shaft, and the two-stringed bowed instrument fixing frame is arranged between the two first bearings.
8. The method according to claim 7, wherein the circular bow rotating mechanism comprises a circular bow body and a second driving mechanism for controlling the circular bow body to rotate, the circular bow body comprises a circular ring bow and horsetail hair arranged on the circular ring bow, the second driving mechanism comprises a second motor, a rotary support bearing and a rotary disc connected with the rotary support bearing, the rotary disc is connected with the second motor, and the circular ring bow is arranged on the rotary disc.
9. The method for intelligent performance of urheen according to claim 8, wherein,
The step S4 includes:
s401, analyzing a frequency range corresponding to the tone array in the note i, and controlling a corresponding electromagnet to conduct attraction action;
S402, judging the rotation angle direction of the first motor, wherein the rotation angle direction of the first motor is different, the strings used in the playing and sounding of the urheen are different, and the pitch of the strings is correspondingly changed;
s403, acquiring force array data force [ i ] of notes i, and controlling a circular arc body connected with the second driving mechanism to rotate at different rotating speeds so as to change the tone rhythm of playing.
10. The method according to any one of claims 5 to 9, wherein in step S5, when the state of note i indicates position 1, i.e., the performance of note i for a corresponding duration is completed, the electromagnet is turned off and the duration of the next note is set; when the status flag bit of note i is not set to 1, the process returns to step S4.
CN202311503046.0A 2023-11-13 2023-11-13 Operation method for intelligent playing of Erhu Pending CN117975916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311503046.0A CN117975916A (en) 2023-11-13 2023-11-13 Operation method for intelligent playing of Erhu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311503046.0A CN117975916A (en) 2023-11-13 2023-11-13 Operation method for intelligent playing of Erhu

Publications (1)

Publication Number Publication Date
CN117975916A true CN117975916A (en) 2024-05-03

Family

ID=90856839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311503046.0A Pending CN117975916A (en) 2023-11-13 2023-11-13 Operation method for intelligent playing of Erhu

Country Status (1)

Country Link
CN (1) CN117975916A (en)

Similar Documents

Publication Publication Date Title
WO2017161612A1 (en) Interactive stringed instrument teaching system
Weinberg et al. Toward robotic musicianship
Kapur A history of robotic musical instruments
US8912419B2 (en) Synchronized multiple device audio playback and interaction
JP2003330456A (en) Musical instrument
CN201590224U (en) Automatic tuning and modulation device for Guzheng
CN200969209Y (en) Multifunctional digital violin
JP4448378B2 (en) Electronic wind instrument
CN204732011U (en) A kind of smart electronics drum being convenient to practise
US3550495A (en) Musical instrument with magnetic type tape reproducer
CN117975916A (en) Operation method for intelligent playing of Erhu
WO2004049078A1 (en) Electronic apparatus for indicating beat and correcting tone and control method thereof
McGuire Modern MIDI: Sequencing and Performing Using Traditional and Mobile Tools
JP2001184072A (en) Musical tone signal generator
CN212282862U (en) Interactive intelligent combination toy musical instrument of thing networking
Aimi New expressive percussion instruments
CN117975915A (en) Intelligent Erhu playing device
JPH11212445A (en) Training method for keyboards instrument
CN220855891U (en) Spliced string-free guitar
CN112863295B (en) Saxophone teaching is with supplementary intonation orthotic devices of intelligence
TWM444206U (en) Chorus toy system
CN213459012U (en) Guitar axle
JP3618203B2 (en) Karaoke device that allows users to play accompaniment music
CN203260225U (en) Bowed-string musical instrument display for exercises
CN212874018U (en) Electric bow for musical instrument

Legal Events

Date Code Title Description
PB01 Publication