CN109841203B - Electronic musical instrument music harmony determination method and system - Google Patents

Electronic musical instrument music harmony determination method and system Download PDF

Info

Publication number
CN109841203B
CN109841203B CN201910073474.1A CN201910073474A CN109841203B CN 109841203 B CN109841203 B CN 109841203B CN 201910073474 A CN201910073474 A CN 201910073474A CN 109841203 B CN109841203 B CN 109841203B
Authority
CN
China
Prior art keywords
harmony
chord
sound
notes
note
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
CN201910073474.1A
Other languages
Chinese (zh)
Other versions
CN109841203A (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.)
DELI MUSICAL INSTRUMENT (ZHUHAI) CO LTD
Original Assignee
DELI MUSICAL INSTRUMENT (ZHUHAI) CO LTD
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 DELI MUSICAL INSTRUMENT (ZHUHAI) CO LTD filed Critical DELI MUSICAL INSTRUMENT (ZHUHAI) CO LTD
Priority to CN201910073474.1A priority Critical patent/CN109841203B/en
Publication of CN109841203A publication Critical patent/CN109841203A/en
Application granted granted Critical
Publication of CN109841203B publication Critical patent/CN109841203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The invention discloses a method and a system for determining music harmony of an electronic musical instrument, wherein the method comprises the following steps: detecting a note of a first bar beat point of the performed music; judging whether the chord component sound is the first chord component sound of a preset harmony proceeding mode or not according to the musical notes; if yes, playing a first chord tone; if not, searching the harmony sound proceeding mode containing the musical notes in the preset N harmony sound proceeding modes, switching the searched harmony sound proceeding mode when the harmony sound proceeding mode is searched, and playing. The method provided by the invention can realize real-time intelligent harmony creation, can enable a user to play music more easily and conveniently, and can ensure real-time harmony matching under certain harmony theory basis support, thereby improving the accuracy and convenience of the harmony creation.

Description

Electronic musical instrument music harmony determination method and system
Technical Field
The application relates to the field of electronic musical instruments, in particular to a method and a system for determining music harmony of an electronic musical instrument.
Background
The intelligent automatic composition system is originally appeared in a PC platform about the middle of the 90's of the last century, Band in a box (BB for short) and Jammer are popular, and the two types of software are developed to V6.0 and V2014 and are still used by vast MIDI music enthusiasts. The two types of software have basically the same creation thinking, take the music style as a main line, need the user to input and sound, and then carry out melody creation or automatic creation of an accompaniment organization in a non-real-time mode. In 2009, microsoft also introduced entertainment software Songsmith for automatically matching harmony, which is based on integrating and analyzing data of a large amount of popular music, and real-time audio recording signals are subjected to pitch recognition algorithm and then are matched harmony, and is also based on style.
At present, all automatic composition systems are non-real-time, and certain professional knowledge is required in operation and application. The use threshold is relatively high, and the use crowd is more inclined to music professionals.
Disclosure of Invention
The invention provides a method and a system for determining music harmony of an electronic musical instrument, which are used for realizing a music function parallel to automatic accompaniment, reducing a playing threshold and improving the use experience of a user.
The specific technical scheme is as follows:
an electronic musical instrument music harmony determination method, the method comprising:
detecting a note of a first bar beat point of the performed music;
judging whether the chord component sound is the first chord component sound of a preset harmony proceeding mode or not according to the musical notes;
if yes, playing a first chord tone;
if not, searching the harmony sound carrying mode containing the musical notes in the preset N harmony sound carrying modes, switching to the searched harmony sound carrying mode when the harmony sound carrying mode is searched, and playing.
Optionally, the determining, according to the note, whether the note is a first chord component sound of a preset harmony proceeding mode includes:
determining whether the note matches a root, a triphone, or a pentaphone;
if yes, judging whether the chord is the first chord composition sound of a preset harmony proceeding mode according to the note;
and if not, constructing the three chords by taking the notes as root notes.
Optionally, after switching the searched harmony running mode and playing, the method further includes:
detecting whether a performance note exists at the key tempo point;
if yes, determining a corresponding harmony running mode according to the notes;
if not, the next chord of the current song is automatically played.
An electronic musical instrument music harmony determination method, the method comprising:
determining a first chord progression according to the proportion of the notes of all recorded melody notes in each bar;
comparing the first chord progression with each chord in the chord matrix, and determining a second chord progression which meets the conditions;
comparing the first chord with the second chord, and searching whether different chords can be replaced according to the substitute chord table;
if yes, replacing writing;
if not, the difference is reserved, and the optimized third chord progression is determined.
Optionally, after determining the optimized third chord progression, the method further comprises:
identifying the termination bars of the phrases and the musical sections according to the termination chords noted in the chord matrix, and inserting the flower arrangement marks in the bars;
and searching corresponding measures according to the music segment rules, adding the flower arrangement marks and the variation marks into the corresponding measures, and completing harmony.
An electronic musical instrument music harmony determination system, comprising:
the detection module is used for detecting the musical notes of each measure important beat point of the played music;
the processing module is used for judging whether the chord component sound is the first chord component sound of a preset harmony proceeding mode or not according to the musical notes; if yes, playing a first chord tone; if not, searching the harmony sound proceeding mode containing the musical notes in the preset N harmony sound proceeding modes, switching the searched harmony sound proceeding mode when the harmony sound proceeding mode is searched, and playing.
Optionally, the detection module is specifically configured to determine whether the note is matched with a root note, a triphone, or a pentaphone; if yes, judging whether the chord is the first chord composition sound of a preset harmony proceeding mode according to the note; and if not, constructing the three chords by taking the notes as root notes.
Optionally, the processing module is further configured to detect whether there is a playing note at the key tempo point; if yes, determining a corresponding harmony running mode according to the notes; if not, the next chord of the current song is automatically played.
Optionally, the detection module is further configured to detect a complete song played by the user in a non-real-time state, and divide the musical piece and the musical sentence according to a preset theoretical rule; detecting important note judgment chords such as important beat points, accessory rhythm symbols, eight-minute long notes of the front sixteen and back eight-rhythm types, replay notes and the like;
the processing module is used for judging whether a completely matched harmony running mode exists, and if so, playing a first chord tone; if not, searching the preset N harmony sound carrying modes including the musical notes and the harmony sound carrying modes, switching to the searched harmony sound carrying modes when the searching is completed, and playing.
The method provided by the invention can realize intelligent harmony creation, can enable a user to play music more easily and conveniently, and can automatically finish harmony creation of the played music when the user plays music.
In addition, by the method, real-time matching and sound can be guaranteed under certain sound matching theoretical basic support, and accuracy and convenience of sound creation are improved.
Drawings
FIG. 1 is a flow chart of a music harmony determination method in an embodiment of the invention;
FIG. 2 is a flowchart illustrating a method for root note determination according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating determination of the sound neutralization mode in the embodiment of the present invention;
FIG. 4 is a schematic diagram of a neutralization acoustic progress matrix according to an embodiment of the present invention;
FIG. 5 is a second flowchart of a music harmony determination method according to an embodiment of the present invention
Fig. 6 is a schematic diagram of a music harmony determination system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described in detail with reference to the drawings and the specific embodiments, and it should be understood that the embodiments and the specific technical features in the embodiments of the present invention are merely illustrative of the technical solutions of the present invention, and are not restrictive, and the embodiments and the specific technical features in the embodiments of the present invention may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating a music harmony determination method according to an embodiment of the present invention, where the method includes:
s1, detecting a note of a first bar beat point of the performed music;
s2, judging whether the chord is the first chord composition sound of the preset harmony proceeding mode according to the musical notes;
if so, go to step S3, otherwise, go to step S4.
S3, playing the first chord tone;
and S4, searching harmony sound proceeding modes containing the notes in the preset N harmony sound proceeding modes, switching the searched harmony sound proceeding modes when the harmony sound proceeding modes are searched, and playing.
Specifically, the system is provided with a template of classical song harmony behavior and harmony proceeding mode of a specified style, and searches in real time in a database according to the performance of a user until the most suitable chord is found and corresponding, and simultaneously determines the next chord to be pushed.
For example, the user performs a note C in the first beat of the first bar, where the repeated beat is the key beat point, and the system determines the note to sequentially determine whether the root, the third, and the fifth are matched, and first sequentially determines whether the note is the root, the third, or the fifth as in the flow shown in fig. 2.
According to the tone, the root note is judged. The system determines C chord and finds the first piece of matching harmony progression C-Am-F-G (as shown in fig. 3). And pushing the next chord Am according to the chord.
Further, the built-in harmony motion template is like a plurality of pipelines, the automatic chord matching is like a crawler, and as the beat point is moved (key beat point), the most suitable chord is continuously selected from the plurality of harmony templates to be provided for the user until the playing is finished. Firstly, when a user plays a sound C in the first beat of the first bar, the system finds a first matching harmony progression mode C-Am-F-G. And pushing the next chord Am according to the chord, but matching the playing sound with the harmony, and continuing according to the harmony proceeding mode. When the user performs sound D in the first beat of the third measure, the system switches to another harmony mode C-G-Dm-Am, where Dm is the matched harmony mode, and continues (as shown in FIG. 4).
Here, the beat point used by the program to make chord decision while the user is playing is the first half beat of beats 1 and 3 among beats 4/4 and 6/8; 3/4, 2/4 are the first beat and the first half beat.
In addition, the 50 classical tracks containing various styles are marked for chord progression, termination, and semi-termination, as well as music piece rules and exceptional tone global rules. The system automatically switches and selects the most suitable chord according to the data of the key beat point, and the subsequent harmony of the chord is pushed by default once the chord is selected. And the termination, semi-termination marking and music segment rule are used for using the flower arrangement and switching the variation during non-real-time creation.
Further, in an embodiment of the present invention, a music harmony determination method is further provided, and as shown in fig. 5, a flowchart of the music harmony determination method in the embodiment of the present invention is shown, where the method includes:
s51, determining a first chord progression according to the proportion of all recorded melody notes appearing in each measure;
s52, comparing the first chord progression with each chord in the chord matrix, and determining a second chord progression meeting the conditions;
s53, comparing the first chord with the second chord, and searching whether the different chords can be replaced according to the replacing chord table;
if so, go to step S54, otherwise, go to step S55.
S54, replacement writing;
s55, reserving the difference, and determining the optimized third chord progression;
s56, identifying the ending bar of the phrase and the music segment according to the ending chord noted in the chord matrix, and inserting the flower arrangement mark in the bar;
and S57, finding out corresponding measures according to the music piece rule, adding the flower arrangement marks and the variation marks, and completing harmony.
Specifically, in the embodiment of the present invention and the sound creation, the two modes of real-time creation and non-real-time creation are divided, and the real-time creation has been described in detail in the above embodiment, and the non-real-time creation can reconfigure a more suitable chord progression based on the ratio of chord interval and chord interval in the bar after the user creates and plays all data in real time, wherein the chord progression comprises various termination modes, and the judgment of the musical sentence and the musical interval, and the addition of necessary inserting flower variation and other controls.
Specifically, detecting a complete song played by a user, and dividing a musical section and a musical sentence according to a preset theoretical rule; detecting important beat points, accessory rhythm symbols, eight-minute long notes of the front sixteen and rear eight-rhythm types and an ensemble judgment chord; judging whether a harmony proceeding mode completely agrees exists according to the divided musical sections, the musical sentences, the important beat points, the accessory rhythm signs, the first sixteen and the last eight-rhythm type octave long notes and the repeat sound, and if so, playing a first chord sound; if not, searching the preset N harmony sound carrying modes including the musical notes and the harmony sound carrying modes, switching to the searched harmony sound carrying modes when the searching is completed, and playing.
For example, in the bar, the chord is determined by taking the number of times the chord root, the third note and the fifth note appear and the length of the duration as the main basis of chord determination, and when the chord duration appears more, the duration is longer. Non-real-time creation because the notes of the whole measure can be retrieved, the system can match the chord more accurately. And chord attributes can be more accurately judged.
The method provided by the invention can realize intelligent harmony creation, can enable a user to play music more easily and conveniently, and can enable the user to complete harmony creation with one hand.
In addition, by the method, real-time matching and sound can be guaranteed under certain sound matching theoretical basic support, and accuracy and convenience of sound creation are improved.
Corresponding to the method provided by the present invention, in an embodiment of the present invention, a music harmony determination system is further provided, as shown in fig. 6, which is a schematic structural diagram of a music harmony determination system in an embodiment of the present invention, and the system includes:
a detection module 601, configured to detect a note of each bar important beat point of the played music;
the processing module 602 is configured to determine whether the chord component sound is a first chord component sound in a preset chord progression manner according to the note; if yes, playing a first chord tone; if not, searching the harmony sound proceeding mode containing the musical notes in the preset N harmony sound proceeding modes, switching the searched harmony sound proceeding mode when the harmony sound proceeding mode is searched, and playing.
Further, in the embodiment of the present invention, the detecting module 601 is specifically configured to determine whether the note is matched with a root note, a third note or a fifth note; if yes, judging whether the chord is the first chord composition sound of a preset harmony proceeding mode according to the note; and if not, constructing the three chords by taking the notes as root notes.
Further, in this embodiment of the present invention, the processing module 602 is further configured to detect whether there is a musical performance note at the key tempo point; if yes, determining a corresponding harmony running mode according to the notes; if not, the next chord of the current song is automatically played.
Further, in the embodiment of the present invention, the detecting module 601 is further configured to detect a complete song played by a user in a non-real-time state, and divide a musical passage and a musical sentence according to a preset theoretical rule; detecting important note judgment chords such as important beat points, accessory rhythm symbols, eight-minute long notes of the front sixteen and back eight-rhythm types, replay notes and the like;
a processing module 602, configured to determine whether a harmony progression mode completely agrees exists, and if yes, play a first chord tone; if not, searching the preset N harmony sound carrying modes including the musical notes and the harmony sound carrying modes, switching to the searched harmony sound carrying modes when the searching is completed, and playing.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. An electronic musical instrument music and sound determination method, characterized in that the method comprises:
detecting a note of a first bar beat point of the performed music;
judging whether the chord component sound is the first chord component sound of a preset harmony proceeding mode or not according to the musical notes;
if yes, playing a first chord tone;
if not, searching the harmony sound carrying mode containing the musical notes in the preset N harmony sound carrying modes, switching to the searched harmony sound carrying mode when the harmony sound carrying mode is searched, and playing.
2. The method as claimed in claim 1, wherein said determining whether the chord component tone is the first chord component tone of the preset chord progression mode according to the note comprises:
determining whether the note matches a root, a triphone, or a pentaphone;
if yes, judging whether the chord is the first chord composition sound of a preset harmony proceeding mode according to the note;
and if not, constructing the three chords by taking the notes as root notes.
3. The method of claim 1, wherein after switching to a found harmony progression and playing, the method further comprises:
detecting whether a performance note exists at the key tempo point;
if yes, determining a corresponding harmony running mode according to the notes;
if not, the next chord of the current song is automatically played.
4. An electronic musical instrument music and sound determination method, characterized in that the method comprises:
determining a first chord progression according to the proportion of the notes of all recorded melody notes in each bar;
comparing the first chord progression with each chord in the chord matrix, and determining a second chord progression which meets the conditions;
comparing the first chord with the second chord, and searching whether different chords can be replaced according to the substitute chord table;
if yes, replacing writing;
if not, the difference is reserved, and the optimized third chord progression is determined.
5. The method of claim 4, wherein after determining the optimized third chord progression, the method further comprises:
identifying the termination bars of the phrases and the musical sections according to the termination chords noted in the chord matrix, and inserting the flower arrangement marks in the bars;
and searching corresponding measures according to the music segment rules, adding the flower arrangement marks and the variation marks into the corresponding measures, and completing harmony.
6. An electronic musical instrument music and sound determination system, comprising:
the detection module is used for detecting the musical notes of each measure important beat point of the played music;
the processing module is used for judging whether the chord component sound is the first chord component sound of a preset harmony proceeding mode or not according to the musical notes; if yes, playing a first chord tone; if not, searching the harmony sound proceeding mode containing the musical notes in the preset N harmony sound proceeding modes, switching the searched harmony sound proceeding mode when the harmony sound proceeding mode is searched, and playing.
7. The system of claim 6, wherein the detection module is specifically configured to determine whether the note matches a root note, a treble note, or a penta note; if yes, judging whether the chord is the first chord composition sound of a preset harmony proceeding mode according to the note; and if not, constructing the three chords by taking the notes as root notes.
8. The system of claim 6, wherein the processing module is further configured to detect whether a performance note is present at a key tempo point; if yes, determining a corresponding harmony running mode according to the notes; if not, the next chord of the current song is automatically played.
9. The system of claim 6, wherein the detection module is further configured to detect a complete song played by the user in a non-real-time state, and divide the musical passage and the phrase according to a preset theoretical rule; detecting important beat points, accessory rhythm signs, eight-minute long notes of the front sixteen and rear eight-rhythm type and important notes of the replay notes to judge chords;
the processing module is used for judging whether a completely matched harmony running mode exists, and if so, playing a first chord tone; if not, searching the preset N harmony sound carrying modes including the musical notes and the harmony sound carrying modes, switching to the searched harmony sound carrying modes when the searching is completed, and playing.
CN201910073474.1A 2019-01-25 2019-01-25 Electronic musical instrument music harmony determination method and system Active CN109841203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910073474.1A CN109841203B (en) 2019-01-25 2019-01-25 Electronic musical instrument music harmony determination method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910073474.1A CN109841203B (en) 2019-01-25 2019-01-25 Electronic musical instrument music harmony determination method and system

Publications (2)

Publication Number Publication Date
CN109841203A CN109841203A (en) 2019-06-04
CN109841203B true CN109841203B (en) 2021-01-26

Family

ID=66884183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910073474.1A Active CN109841203B (en) 2019-01-25 2019-01-25 Electronic musical instrument music harmony determination method and system

Country Status (1)

Country Link
CN (1) CN109841203B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111415688A (en) * 2020-04-03 2020-07-14 北京乐界乐科技有限公司 Intelligent recording method for musical instrument
CN111681631B (en) * 2020-04-30 2024-05-10 平安科技(深圳)有限公司 Collocation harmony method, collocation harmony device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328679A (en) * 1998-09-24 2001-12-26 马达尔萨尔公司 Automatic music generating method and device
CN1873774A (en) * 2005-06-02 2006-12-06 联发科技股份有限公司 Music editing method and related devices
CN103093748A (en) * 2013-01-31 2013-05-08 成都玉禾鼎数字娱乐有限公司 Method of automatically matching chord for known melody
CN105161087A (en) * 2015-09-18 2015-12-16 努比亚技术有限公司 Automatic harmony method, device, and terminal automatic harmony operation method
US20180144730A1 (en) * 2013-03-15 2018-05-24 Exomens Ltd. System and method for analysis and creation of music

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328679A (en) * 1998-09-24 2001-12-26 马达尔萨尔公司 Automatic music generating method and device
CN1873774A (en) * 2005-06-02 2006-12-06 联发科技股份有限公司 Music editing method and related devices
CN103093748A (en) * 2013-01-31 2013-05-08 成都玉禾鼎数字娱乐有限公司 Method of automatically matching chord for known melody
US20180144730A1 (en) * 2013-03-15 2018-05-24 Exomens Ltd. System and method for analysis and creation of music
CN105161087A (en) * 2015-09-18 2015-12-16 努比亚技术有限公司 Automatic harmony method, device, and terminal automatic harmony operation method

Also Published As

Publication number Publication date
CN109841203A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
US8680387B2 (en) Systems and methods for composing music
JP3704980B2 (en) Automatic composer and recording medium
EP3843083A1 (en) Method, system, and computer-readable medium for creating song mashups
EP2515296B1 (en) Performance data search using a query indicative of a tone generation pattern
US9018505B2 (en) Automatic accompaniment apparatus, a method of automatically playing accompaniment, and a computer readable recording medium with an automatic accompaniment program recorded thereon
EP2648181B1 (en) Musical data retrieval on the basis of rhythm pattern similarity
US9117432B2 (en) Apparatus and method for detecting chord
JP2010538335A (en) Automatic accompaniment for voice melody
EP2515249B1 (en) Performance data search using a query indicative of a tone generation pattern
JP3528654B2 (en) Melody generator, rhythm generator, and recording medium
CN109841203B (en) Electronic musical instrument music harmony determination method and system
JPH09138691A (en) Musical piece retrieval device
JP5297662B2 (en) Music data processing device, karaoke device, and program
JP2008065153A (en) Musical piece structure analyzing method, program and device
JP3750547B2 (en) Phrase analyzer and computer-readable recording medium recording phrase analysis program
CN110867174A (en) Automatic sound mixing device
Rocher et al. Dynamic chord analysis for symbolic music
CN112634841B (en) Guitar music automatic generation method based on voice recognition
CN112825244B (en) Music audio generation method and device
JP2015060200A (en) Musical performance data file adjustment device, method, and program
JP3879524B2 (en) Waveform generation method, performance data processing method, and waveform selection device
CN113140202A (en) Information processing method, information processing device, electronic equipment and storage medium
JP6954780B2 (en) Karaoke equipment
Köküer et al. Curating and annotating a collection of traditional Irish flute recordings to facilitate stylistic analysis
JP4595852B2 (en) Performance data processing apparatus and program

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