KR930008568B1 - Auto-accompaniment code generating method in an electronic musical instruments - Google Patents

Auto-accompaniment code generating method in an electronic musical instruments Download PDF

Info

Publication number
KR930008568B1
KR930008568B1 KR1019910010692A KR910010692A KR930008568B1 KR 930008568 B1 KR930008568 B1 KR 930008568B1 KR 1019910010692 A KR1019910010692 A KR 1019910010692A KR 910010692 A KR910010692 A KR 910010692A KR 930008568 B1 KR930008568 B1 KR 930008568B1
Authority
KR
South Korea
Prior art keywords
chord
code
melody
keyboard
input
Prior art date
Application number
KR1019910010692A
Other languages
Korean (ko)
Other versions
KR920012891A (en
Inventor
신태진
전익범
Original Assignee
주식회사 금성사
이헌조
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 주식회사 금성사, 이헌조 filed Critical 주식회사 금성사
Priority to US07/888,483 priority Critical patent/US5302776A/en
Priority to JP4135326A priority patent/JPH06167975A/en
Priority to EP19920401457 priority patent/EP0516541A3/en
Publication of KR920012891A publication Critical patent/KR920012891A/en
Application granted granted Critical
Publication of KR930008568B1 publication Critical patent/KR930008568B1/en

Links

Classifications

    • 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
    • G10H5/00Instruments in which the tones are generated by means of electronic generators

Abstract

The method comprises a first step of magic song routine for receiving a chord keyboard information to make and finish tone discrimination and major harmony to be played according to a chord keyboard information by a microcomputer determining whether a chord keyboard separated into a chord part and a melody keyboard part is received or not upon turning on a magic chord switch under the state of turning off a rhythm on/off switch and an automatic bass chord on/off switch, and a second step of generated chord routine for comparing the received melody with the major harmony made in the first step by the microcomputer determining whether the melody keyboard input of a keyboard input portion occurs to determine and select a chord corresponding to the result of the comparison when a melody keyboard information is received upon turning on the rhythm on/off switch.

Description

전자악기에서의 자동 반주 코드 발생방법Automatic Accompaniment Code Generation Method in Electronic Musical Instruments

제 1 도는 본 발명 방법에 적용되는 자동 반주 코드 발생장치의 블록 구성도.1 is a block diagram of an automatic accompaniment code generator applied to the method of the present invention.

제 2 도는 본 발명 방법을 설명하기 위한 메인 플로우 챠트.2 is a main flow chart for explaining the method of the present invention.

제 3 도는 제 2 도의 조 판별 루틴의 서브 플로우 챠트.3 is a subflow chart of the group determination routine of FIG.

제 4 도는 제 2 도의 주요화음 테이블 작성 루틴의 서브 플로우 챠트.4 is a subflow chart of the main chord table creation routine of FIG.

제 5 도는 제 2 도의 입력된 멜로디와 주요화음을 비교하여 우선 순위가 가장 높은 코드를 출력하는 발생코드 루틴의 플로우 챠트.5 is a flowchart of a generation code routine for comparing the input melody of FIG. 2 with the main chord to output the code having the highest priority.

제 6 도는 본 발명을 설명하기 위한 주요화음 작성 테이블 구조도.6 is a structural diagram of main chord creation table for explaining the present invention.

제 7 도는 본 발명 장치에 적용되는 기억부에 조입력 정보에 따라 조코드가 기록되는 상태를 나타낸 기억부의 코드 구성음 및 코드 진행표.Fig. 7 is a code construction tone and a code progress table of a storage unit showing a state in which a chord code is recorded in accordance with the group input information in the storage unit to be applied to the present invention.

제 8 도는 본 발명 방법에 의해 멜로디 입력정보에 따라 코드가 선택되는 실시예시도.8 is an exemplary embodiment in which a code is selected according to the melody input information by the method of the present invention.

제 9 도는 코드입력을 위해 반주 영역 건반 일부를 나타낸 일예시도.9 shows an example of a part of the accompaniment area keyboard for code input.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 마이컴 2 : 음발생부1: microcomputer 2: sound generator

3 : 필터부 4 : 증폭부3: filter section 4: amplifier section

5 : 출력부(스피커) 6 : 건반 입력부5: Output part (speaker) 6: Keyboard input part

7 : 리듬 온/오프스위치7: rhythm on / off switch

8 : 자동 저음 코드 온/오프스위치8: Auto Bass Chord On / Off Switch

9 : 매직 코드 온/오프스위치 10 : 메로리부9: magic code on / off switch 10: memory part

본 발명은 전자악기에서의 자동 반주 코드 발생방법에 관한 것으로 특히, 자동반주로 전자악기를 연주하는데 있어서 연주능력이 부족한 초보자나 화음(코드)을 모르는 임의 곡의 연주에 코드를 입력하지 않더라도 멜로디의 진행에 따라 자동적으로 가장 적합한 코드를 발생 내지는 선택되게 하여 훌륭한 자동반주 효과를 얻을 수 있도록 한 것이다.The present invention relates to a method for generating automatic accompaniment chords in an electronic musical instrument, in particular, even if a chord lacks performance in playing an electronic musical instrument with an automatic accompaniment or a chord (chord) without any chord input. As the process progresses, it automatically generates or selects the most appropriate code to achieve a good auto accompaniment effect.

종래의 자동반주를 행할 수 있는 전자악기에서는 멜로디의 진행에 따라 자동적으로 코드를 부여하는 본 발명 방법과 같은 기능이 구비되어 있지않고, 코드입력을 코드건반부와 멜로디를 연주하는 멜로디 건반부로 나눈 상태에서 예를 들면 멜로디를 진행함에 따라 'C'코드를 입력할 때에는 코드건반부의 '도'에 해당하는 건반을 누르고, 'Cm'코드를 입력할 때에는 코드건반부의 '도'에 해당하는 건반과 그 건반의 오른측에 위치한 임의의 한 건반을 동시에 누르는 방법으로 행하여 연주할 때마다 멜로디 마디마다 그에 적합한 코드를 즉흥적으로 부여하였던 것이다.In the conventional electronic musical instrument capable of performing auto accompaniment, a function such as the method of the present invention which automatically assigns a chord as the melody progresses is not provided, and the chord input is divided into the chord keyboard part and the melody keyboard part playing the melody. For example, in the melody, press the key corresponding to the 'degree' of the code keyboard when entering the 'C' code, and enter the key corresponding to the 'degree' of the code keyboard when entering the 'Cm' code. By simultaneously pressing any key located on the right side of the keyboard, each time a melody was played, an appropriate chord was improvised.

그러나, 이와 같은 종래의 방법은 자동반주를 이용하기 위해서는 멜로디의 진행에 따라 코드의 변화를 반드시 알고 있어야 가능하며, 만약 연주능력이 부족한 초보자나 또는 연주하고자 하는 곡의 코드를 모르는 상태로 멜로디만을 연주할 경우 자동반주를 이용할 수가 없고, 또한 코드를 입력하기 위해서는 어느 정도의 연주실력이 필요하므로 초보자인 경우에는 멜로디와의 조화있는 자동반주 효과를 얻기가 어려운 문제점이 있었다.However, in order to use the auto accompaniment, such a conventional method must be aware of the change in chord according to the progress of the melody, and if the beginner lacks the playing ability or only plays the melody without knowing the chord of the song to play If you do not use the auto accompaniment, and also requires a certain amount of playing skills to enter the chords, there was a problem that it is difficult to obtain a harmonious auto accompaniment effect with the melody.

본 발명은 상기한 종래 방법의 문제점을 감안하여 기능키(리듬, 자동저음코드, 매직 코드스위치) 선택에 따라 자동반주 없이 연주하는 상태로 건반 자체가 멜로디 건반으로 할당되거나, 또는 자동반주 상태에서 멜로디와 코드부로 분할되어 연주할 곡의 조판별 및 주요화음을 작성하고, 작성된 주요화음과 입력되는 멜로디를 비교하는 조정의 프로그램에 의해 입력되는 멜로디와 대응하는 주요화음(코드)을 자동적으로 출력시키도록 수행하여 코드를 모르는 초보자가 연주할 경우에도 화음조화가 양호한 자동반주 효과를 얻을 수 있도록 한 전자악기에서의 자동반주 코드 발생방법을 제공하고자 하는 것을 그 목적으로 하는 것으로, 이하 첨부된 도며에 의하여 본 발명 방법을 상세히 설명한다.In the present invention, in consideration of the above-described problems of the conventional method, the keyboard itself is assigned as a melody key in the state of playing without auto accompaniment according to the selection of function keys (rhythm, auto bass chord, magic chord switch), or the melody in the auto accompaniment state. To create the typesetting and main chords of the song to be played divided into and chord section, and to automatically output the main melody and chords (chords) corresponding to the melody input by a program of adjustment that compares the main melody with the input melody. It is an object of the present invention to provide an automatic accompaniment chord generation method in electronic musical instruments that can achieve a good auto accompaniment effect even if a beginner who does not know the chords performs. The invention method will be described in detail.

제 1 도 및 제 2 도에 도시한 바와 같이 본 발명 방법은 리듬 온/오프스위치(7)와 자동저음코드 온/오프스위치(8)가 오프된 상태에서 매직 코드스위치(9)를 온하면 마이컴(1)은 코드건반부와 멜로디 건반부로 분할되는 건반 입력부(6)의 코드 건반 입력 유무를 판단하여 코드 건반정보가 입력되면 입력되는 코드 건반정보에 따라 연주하고자 하는 조판별 및 주요화음의 테이블을 작성하고 종료하는 매직 송 루틴의 제 1 과정과 ; 리듬 온/오프스위치(7)와 자동저음코드 온/오프스위치(8)와 매직 코드스위치(9)가 온되면 마이컴(1)은 건반입력부(6)의 멜로디 건반 입력 유무를 판단하여 멜로디 건반정보가 입력될 경우에는 수시로 입력되는 멜로디와 상기한 제 1 과정에 의해 작성된 주요화음과를 비교하여 그에 대하는 코드를 결정 및 선택하는 발생코드 루틴의 제 2 과정으로 이루어지는 것을 특징으로 하는 것이다.As shown in Figs. 1 and 2, the method of the present invention provides a microcomputer when the magic code switch 9 is turned on while the rhythm on / off switch 7 and the automatic bass code on / off switch 8 are turned off. (1) determines the chord keyboard input presence of the keyboard input section 6 divided into the chord keyboard section and the melody keyboard section, and when chord keyboard information is inputted, a table of typesetting and main chords to be played according to the chord keyboard information inputted. A first step of the magic song routine to create and end; When the rhythm on / off switch (7), the automatic bass code on / off switch (8) and the magic code switch (9) are turned on, the microcomputer (1) determines the presence of the melody keyboard input of the keyboard input unit (6) to determine the melody keyboard information. When is input, it is characterized in that it consists of a second process of the generation code routine for comparing the melody input from time to time and the main chord created by the first process to determine and select the code corresponding thereto.

또한, 상기한 제 1 과정 매직송 루틴의 조판별 방법은 제 3 도에 도시한 바와 같이 건반 입력부(6)의 반주 영역건반을 스캔하여 악보상에 기재된 조 입력수단의 조 선택키가 입력되면 마이컴(1)은 메모리부(10)로부터 각 조별로 기록되어 있는 코드 진행정보를 구분하기 위해 번지 위치를 지정하는 값을 입력된 조에 적합하게 변경시키는 제 1 과정과 ; 템포 클록이 온되었을 경우에는 멜로디 영역 건반에서 새로운 음정 입력여부를 판단하여 새로운 음정이 입력되면 그 음정이 들어있는 코드를 메모리부(10)의 코드 구성을 기억부에서 검색하여 모든 후보코드를 기억시킨 다음 후보코드와 메모리부(10)의 코드진행 기억부에 기억된 코드진행 정보간에 최상위의 코드부터 순차적으로 비교하여 후보 코드중에 있는 동일한 코드이면 출력코드를 새로운 코드로 변경시킴과 동시에 최후에 출력될 코드를 결정하여 음발생부(2)에 발음 처리데이터를 출력시키고 다음에 입력되는 반주 영역건반을 반복 스캔시키는 제 2 과정으로 이루어진 것을 특징으로 한다.In the method of typesetting of the first process magic song routine described above, as shown in FIG. 3, the microcomputer scans the accompaniment area keyboard of the keyboard input unit 6 and enters the micro selection key of the group input means described in the score. (1) is a first step of changing from the memory unit 10 a value specifying an address location to suit the inputted pair to distinguish the code progress information recorded for each pair; When the tempo clock is turned on, the melody area key determines whether a new pitch is input, and when a new pitch is input, the code containing the pitch is searched in the memory unit for the code configuration of the memory unit 10 to store all candidate codes. The next candidate code and the code progress information stored in the code progress memory section of the memory unit 10 are sequentially compared from the highest code, and if the same code is included in the candidate codes, the output code is changed to a new code and finally output. And a second process of determining a code, outputting the pronunciation processing data to the sound generator 2, and repeatedly scanning the accompaniment area keyboard to be input next.

또한, 상기 제 1 과정 매직송 루틴의 주요화음 테이블 작성방법은 제 4 도에 도시한 바와 같이 마이컴(1)은 건반 입력부(6)의 입력코드 건반수 정보에 따라 단조 및 장조에 대응하는 각각의 주요화음을 작성하여 마이컴(1)내에 있는 메모리에 저장하게 됨을 특징으로 하는 것이다.In addition, as shown in FIG. 4, in the method of preparing the main chord table of the first process magic song routine, the microcomputer 1 corresponds to the minor and the major according to the input code key information of the keyboard input unit 6, respectively. The main chord is created and stored in the memory in the microcomputer 1.

또한, 상기한 제 2 과정의 발생코드 루틴은 제 5 도에 도시한 바와 같이 마이컴(1)은 건반 입력부(6)의 입력 멜로디 건반수 정보에 따라 근음 또는 가장 낮은 음을 근음으로 간주하고, 새로운 마디의 첫 번째 멜로디가 아니고 멜로디의 근음이 현재 출력중인 코드의 구성음인 경우에는 코드가 변하지 않으며, 구성음이 아닌 경우에는 출력코드와 위치버퍼 및 윗치샘을 순차적으로 초기화시킨 다음 으뜸화음과 멜로디를 비교하여 위치 버퍼값이아니면 으뜸화음 코드를 출력함과 동시에 위치 버퍼값을 위치샘에 이동시키고, 위치 버퍼값이면 다시 딸림화음 코드와 멜로디를 비교하여 위치버퍼에 같은 음이 없으면 순차적으로 버금딸림화음과 보조화음 코드를 비교하며, 위치버퍼에 같은 음이 있으면 다시 그음의 크기에 따라 우선순위가 큰 주요화음을 선택하고, 선택된 주요화음을 출력함과 동시에 위치 버퍼값을 위치샘에 저장하고 종료하도록 이루어지는 것을 특징으로 하는 것으로, 제 1 도의 미설명 부호 2는 마이컴(1)으로부터 제어신호를 받아 음색파형을 발생시키는 음발생부이며, 3은 음발생부(2)로부터 출력된 신호를 필터링시키는 필터부이고, 4는 필터부(3)을 통과한 출력신호를 증폭시키는 증폭부이며, 5는 증폭부(4)에서 증폭된 신호를 음원으로 변환시키는 스피커(출력부), 10은 메모리부이다.In addition, as shown in FIG. 5, in the generation code routine of the second process, the microcomputer 1 regards the root sound or the lowest sound as the root sound according to the input melody key information of the keyboard input unit 6. If the root melody of the melody is not the first melody of the bar and the melody is the component of the chord currently being output, the chord does not change; otherwise, the chord and melody are initialized sequentially after the output chords, position buffers, and position samples are initialized. To compare the position buffer Otherwise, the position buffer value is moved to the position sample at the same time as the chirp code is output, and the position buffer value is If it is compared with the accompanying chord and melody, if there is no same note in the position buffer, it compares the substring and subchord chords sequentially.If there is the same note in the position buffer, the main chord with higher priority according to the loudness And selecting and outputting the selected main chord, and storing the position buffer value in the position stream and ending. The reference numeral 2 in FIG. 1 receives a control signal from the microcomputer 1 to generate a tone waveform. 3 is a filter unit for filtering the signal output from the sound generator 2, 4 is an amplifier for amplifying the output signal passed through the filter unit 3, 5 is an amplifier unit (4) A speaker (output unit) for converting a signal amplified by the signal into a sound source, and 10 is a memory unit.

이와 같이 구성된 본 발명 방법의 작용효과를 제 1 도 내지 제 9 도를 참조하여 설명하면, 먼저 리듬시작 및 정지를 제어하는 리듬 온/오프 기능스위치(7)와 자동저음코드 발생을 제어하는 자동저음코드 온/오프 가능스위치(8) 및 매직코드 발생을 제어하는 매직 코드 온/오프 기능스위치(9)가 모두 오프시에 마이컴(1)은 자동 반주없이 연주하는 상태로 리듬 및 자동저음코드 출력을 제한함과 동시에 건반 입력부(6) 전체가 멜로디 건반부로 할당된다.Referring to Figs. 1 to 9, the effect of the method of the present invention configured as described above will be described. First, the rhythm on / off function switch 7 for controlling the rhythm start and stop and the automatic bass for controlling the automatic bass code generation. When both the chord on / off enable switch 8 and the magic chord on / off function switch 9 which controls the generation of the magic chord are turned off, the microcomputer 1 performs rhythm and auto bass chord output while playing without auto accompaniment. At the same time, the entire keyboard input section 6 is assigned to the melody keyboard section.

또한, 리듬 온/오프 기능스위치(7)가 온되고, 자동저음코드 온/오프 스위치(8) 및 매직코드 온/오프 스위치(9)가 오프시에는 리듬은 출력되나 자동저음 코드와 매직코드 출력을 제한시키며 이 역시 상기한 바와같이 건반 입력부(6) 전체를 멜로디 건반부로 할당시킨다.In addition, when the rhythm on / off function switch 7 is turned on and the automatic bass code on / off switch 8 and the magic code on / off switch 9 are turned off, the rhythm is output, but the automatic bass code and magic code are output. This also assigns the entire keyboard input section 6 to the melody keyboard section as described above.

또한, 상기와는 달리 리듬 온/오프 기능스위치(7)와 자동저음코드 온/오프 스위치(8)가 온되고, 매직 코드 온/오프 스위치(9)가 오프시에는 마이컴(1)은 리듬과 자동저음코드 출력시킴과 동시에 자동 반주상태로 전환하여 건반 입력부(6)를 멜로디 건반부와 코드 건반부로 분할하고, 자동저음코드는 코드의 입력에 따라 변환시킨다.In addition, unlike the above, when the rhythm on / off function switch 7 and the automatic bass code on / off switch 8 are turned on, and the magic code on / off switch 9 is turned off, the microcomputer 1 performs rhythm and At the same time as the automatic bass code output, the automatic accompaniment state is switched to divide the keyboard input unit 6 into a melody keyboard section and a chord keyboard section, and the automatic bass code is converted in accordance with the code input.

또한, 리듬 온/오프 스위치(7)와 자동저음코드 온/오프 스위치(8)가 오프되고, 매직코드 온/오프 스위치(9)가 온되면 마이컴(1)은 코드 건반부와 멜로디 건반부로 분할된 건반 입력부(6)의 건반 입력정보에 따라 본 발명 방법의 주 프로그램을 수행하게 된다.In addition, when the rhythm on / off switch 7 and the automatic bass code on / off switch 8 are turned off, and the magic code on / off switch 9 is turned on, the microcomputer 1 is divided into a chord keyboard part and a melody keyboard part. According to the key input information of the key input unit 6, the main program of the method of the present invention is performed.

즉, 제 2 도에서와 같이 코드 건반부 또는 멜로디 건반의 건반입력을 검출하는 과정을 통해 코드 건반에서의 코드건반 입력이면 제 3 도에 도시한 바와 같이 조판별 매직송 루틴을 수행하는데 즉 건반 입력부(6)의 반주 영역건반을 스캔하여 악보상에 기재된 조입력 수단의 조선택키가 입력되면 마이컴(1)은 메모리부(10)의 코드 구성음 기억부 및 코드 진행 기억부에 각 조별로 기록되어져 있는 코드 진행정보를 구분하기 위하여 번지위치를 지정하는 값을 입력된 조에 적합하게 변경시킨다.That is, as shown in FIG. 2, if the keyboard input of the code keyboard is performed by detecting the keyboard input of the code keyboard unit or the melody keyboard, the typesetting magic song routine is performed as shown in FIG. When the accompaniment area keyboard of (6) is scanned and the group selection key of the group input means described in the score is input, the microcomputer 1 is recorded for each group in the code structure sound storage unit and the code progress storage unit of the memory unit 10. To distinguish the code progress information, change the value that designates the address location as appropriate for the entered pair.

그런 다음 템포클록이 발생하게 되면 마이컴(1)은 멜로디 영역 건반에서 새로운 음정이 입력되고 있는지를 검출 판단하여 새로운 음정신호가 입력될 경우에는 제 7a 도와 같이 그 음정데이타가 기억되어 있는 코드를 메모리부(10)의 코드 구성을 기억부에서 검색하여 모든 후보코드를 기억시켜 둔다.Then, when a tempo clock is generated, the microcomputer 1 detects whether a new pitch is being input from the melody area keyboard. When a new pitch signal is input, the microcomputer 1 stores a code in which the pitch data is stored as shown in FIG. The code structure of (10) is retrieved from the storage unit to store all candidate codes.

이와 같이, 기억된 후보코드를 제 7b 도와 같은 코드 진행정보가 메모리부(10)의 코드 진행 기억부에 기억되어 있는 최상의 코드부터 차례로 비교하여 후보코드 중 같은 코드가 없을 때에는 다음 순위 진행코드를 독출시켜 상기한 최상의 코드 비교과정을 반복하여 수행시키며, 최상의 코드를 순차적으로 비교하는 도중 새로 입력된 음정과 후보코드가 같은 코드일 경우에는 출력 코드를 새로운 코드로 변경시킴과 동시에 최후에 출력시킬 코드를 결정하여 음발생부(2)에 발음처리데이타를 출력시키고, 다음에 입력되는 반주 영역 건반을 스캔하는 과정으로 리턴되어 상기한 과정을 반복하여 수행한다.In this way, the code progress information as shown in FIG. 7b is compared with the best code stored in the code progress memory of the memory unit 10, and the next rank progress code is read when there is no same code among the candidate codes. Repeat the above best chord comparison process, and when comparing the best chords sequentially, if the newly input pitch and the candidate code are the same chord, change the output chord to a new chord and at the same time, After determining and outputting the pronunciation processing data to the sound generating unit 2, the process returns to the process of scanning the next accompaniment region keyboard and repeats the above process.

멜로디 입력정보에 따라 코드가 선택되는 실시예를 예로 들면 제 8 도에서와 같이 곡의 조는 'C'장조이므로, 제 9 도와 같은 코드 입력건반(반주 영역건반)의 'C2' 건반이나, 또는 'C3'의 건반을 눌러 '조'를 입력하고, 제 7b 도와 같은 C 장조의 코드 진행기억부를 포인터(Pointer)에 의해 선택한다.For example, as shown in FIG. 8, since the song set is a 'C' major, the 'C2' key of the chord input key (accompaniment area keyboard) as shown in FIG. 8, or ' Press the key of C3 'to input' Joe ', and select the code progress memory part of C major as shown in Fig. 7B by the pointer.

그리고, 멜로디 영역의 키스캔을 설치하여 첫음의 'G'코드가 눌러지면 제 7a 도와 같은 코드 구성음 기억부에서 'G'에 속한 코드의 'G', 'Em', 'G' 코드를 후보코드로 선정하고, 그 후보 코드중 제 7b 도와 같은 코드 진행 기억부에서 현재코드가 C장조이므로, 'C'로 시작되는 코드중 가장 순위가 높은 'C'코드를 최후 코드로 결정하여 악음을 발생시킨다.Then, if the first note 'G' code is pressed by installing the kisscan of the melody area, the 'G', 'Em', and 'G' codes of the codes belonging to the 'G' candidates in the chord sound storage unit as shown in FIG. 7a are candidates. Since the current code is the C major in the code progress memory of the candidate code as shown in FIG. 7b, among the candidate codes, the highest code among the codes starting with 'C' is determined as the final code to generate the sound. Let's do it.

그런 다음 다시 멜로디 스켄을 실시하여 변경된 음의 'A'를 입력시키면 후보코드는 'Dm', 'F', 'Am'가 되고, 최후 코드는 'F'가 출력되며, 상기한 바와 마찬가지로 맨 마지막에는 후보코드 'Dm', 'I', 'G' 중 최후 코드로는 'G'가 출력된다.Then, perform the melody scan again and input the changed note 'A'. The candidate code becomes 'Dm', 'F', 'Am', and the last code is outputted 'F'. In the final code among the candidate codes 'Dm', 'I', and 'G', 'G' is output.

또한, 멜로디 영역에서의 멜로디 건반 입력이면 제 5 도에 도시한 바와 같은 입력 멜로디와 상기 매직송 루틴에서 작성된 주요화음을 비교하여 그에 적합한 코드를 출력시키는 코드 발생 루틴을 수행한다.In addition, if the melody keyboard is input in the melody area, a code generation routine for comparing the input melody as shown in FIG. 5 with the main chords produced by the magic song routine and outputting a code suitable therefor is performed.

이와 같은 상태에서 건반부(6)의 건반 입력이 코드 건반부의 코드건반 입력이면 제 4 에서와 같이 매직코드로 들어가기 위해 연주할 곡의 조를 판별하게 되는데, 연주자가 연주에 들어가기 전에 연주할 곡의 조, 예를 들면 연주할 곡이 다장조인지 또는 가단조인지를 판단한 후 건반입력부(6)에서 분할된 코드 건반부를 통해서 입력하게 된다.In this state, if the keyboard input of the keyboard unit 6 is the chord keyboard input of the chord keyboard unit, the set of songs to be played to enter the magic chord is determined as in the fourth step. After determining whether the song to be played is, for example, the major or the minor, the key is input through the chord keyboard section divided by the keyboard input unit 6.

이때 코드건반부의 코드건반 입력이 예를 들어 '라'건반과 '시'건반이면 마이컴(1)은 가단조로 판단하고, '도'건반이 입력되면 다장조로 판단한다.At this time, if the code keyboard input of the code keyboard unit is, for example, the 'la' keyboard and the 'hour' keyboard, the microcomputer 1 judges the singular minor, and if the 'do' keyboard is input, it is determined as the major major.

이와 같이 연주할 곡의 조가 판달되면 마이컴(1)은 가단조 또는 다장조에 따른 각각의 주요화음을 만들어 마이컴(1)내에 있는 메모리의 주요화음 테이블에 저장하게 되는데, 여기서 각 조에 따른 주요화음 형성방법은 제 6 도에 도시한 바와 같이 즉, 다장조인 경우에는 '도미솔도'로 하는 으뜸 화음을 'C'코드로, '솔시레파'로 하는 딸림화음을 'G7'코드로, '파라도파'로 하는 버금딸림화음을 'F'코드로, 기본적인 주요 3화음을 포함하고 이들 이외의 코드중 일반적으로 많이 사용되는 '라도미라' 화음을 'Am'코드로 만들고, 가단조인 경우에는 상기와 방법으로 'Am', 'E7', 'Dm', 'C' 코드로 편집하여 마이컴 (1)내의 메모리에 저장하게 된다.When the pair of songs to be played is determined as described above, the microcomputer 1 makes each major chord according to the minor or multiple majors, and stores them in the main chord table of the memory in the microcomputer 1. As shown in FIG. 6, that is, in the case of a major major, the chief chord of 'Domisoldo' is called 'C' code, and the accompanying chords of 'Solsi Lepa' is called 'G7' code and 'Padorapa'. 'F' chords, the basic major triads, and the most commonly used 'Radomira' chords are made of 'Am' chords. It is edited by Am ',' E7 ',' Dm 'and' C 'codes and stored in the memory of the microcomputer (1).

이와 같은 방법으로 연주할 곡의 조판별 및 주요화음을 설정한 후 리듬 온/오프 스위치(7)와 자동 저음코드 온/오프 스위치(8) 및 매직코드 온/오프 스위치(9)를 온하면 마이컴(1)은 제 2 도 및 제 5 도에서와 같이 코드 건반부를 누르면 상기한 바와 마찬가지로 매직 코드상의 매직 송 루틴을 수행하고 멜로디 건반부를 누르면 건반정보에 따라 자동으로 코드를 선택하여 출력하는 매직코드 발생루틴을 수행하는데 출력할 코드의 선택 과정은 다음과 같다.After setting the typesetting and main chords of the song to be played in this way, turn on the rhythm on / off switch (7), automatic bass chord on / off switch (8), and magic chord on / off switch (9). As shown in Figs. 2 and 5, when the chord key is pressed, the magic song routine on the magic chord is performed as described above, and when the melody key is pressed, the chord is automatically selected and output according to the keyboard information. The process of selecting the code to output when executing the routine is as follows.

즉, 제 5 도에서와 같이 멜로디 건반부에서 멜로디가 입력되면 마이컴(1)은 입력된 멜로디 건반수를 판단한 후 상기한 과정에 의해 저장된 제 6 도와 같은 주요화음 테이블에서 각 코드의 구성음과 비교하게 된다.That is, when the melody is input from the melody keyboard as shown in FIG. 5, the microcomputer 1 determines the number of input melody keys and compares them with the components of each chord in the main chord table as shown in FIG. Done.

이에 비교결과에 따른 입력 멜로디가 코드의 근음과 같으면 그 코드가 선택될 우선순위가 최고가 되며, 입력 멜로디가 두 개 이상의 건반수이면, 가장 낮은 음을 첫번째 근음으로 간주하고, 두번째 음과 같으면 두번째, 셋째음과 같으면 세번째 근음으로 간주하여 주요화음중 비교 결과에 따라 우선 순위가 가장 높은 코드가 출력된다.If the input melody according to the comparison result is the root of the chord, the priority to select the chord is the highest. If the input melody is two or more keys, the lowest note is regarded as the first root, and if the second note is the second, If it is the same as the third note, it is regarded as the third root note and the highest priority chord is output according to the comparison result among the main chords.

예를 들어, 만일 현재 연주하는 곡이 다장조이고, 멜로디는 '솔'이 입력되었다면 주요화음중 'G' 코드가 가장 우선순위가 높게되어 'G'코드를 출력하나, 만약 입력된 멜로디가 저장된 주요화음 테이블에 없으면 출력 코드가 변경되지 않고 그대로 출력된다.For example, if the song you are currently playing is major in melody and 'sol' is entered, the 'G' chord is the highest priority among the main chords, and the 'G' chord is output. If it is not in the chord table, the output code remains unchanged.

이와같이 상기한 우선순위는 새로운 마디에서 처음 입력된 멜로디에 한하며, 첫 멜로디가 아니고 멜로디가 현재 출력되는 코드의 구성음인 경우에는 코드가 변하지 않으며, 코드의 구성음이 아닌 경우에는 상기한 선택 과정에 의해 코드가 바뀌게 된다.In this way, the above priority is limited to the melody first inputted in a new node, and the chord does not change when the melody is not the first melody and the melody is currently composed of the currently output chord. Will change the code.

예를 들어 현재 출력중인 코드가 'C'코드이고, 입력되는 멜로디가 '솔'일 경우에는 새로운 마디의 첫 멜로디가 아니면 출력되는 코드는 그대로 'G'코드가 선택되며, 그 멜로디가 새로운 마디의 첫번째 음이라면 'G7'코드가 선택된다.For example, if the currently output code is 'C' code and the melody input is 'Sol', the output code is selected as it is unless it is the first melody of the new node, and the melody is For the first note, the G7 chord is selected.

이와 같이 입력되는 멜로디와 작성된 코드를 선택하는 과정에 있어 멜로디의 근음이 현재 출력중인 코드의 구성음이 아닌 경우에는 마이컴(1)은 출력코드와 위치버퍼 및 위치샘 값을 초가화시킨 다음 으뜸화음과 멜로디를 비교한다.In the process of selecting the input melody and the code created as described above, if the root melody of the melody is not the sound of the chord currently being output, the microcomputer 1 initializes the output code, the position buffer and the position sampling value, Compare and melody.

여기서 출력 코드에서는 우선순위가 가장 높은 코드 종류가 기록되고, 위치버퍼는 위치샘과 같은 내용이 들어가나 각 코드와 비교할 때마다 달라지는데, 예를 들어 'C'코드와 비교할 때 'C'코드의 구성음은 '도미솔'이므로 멜로디가 '도'이면 위치버퍼의 값은 '4'가 되고, 멜로디가 '미'이면 위치 버퍼값은 '3'이 되며, 멜로디가 '솔'이면 위치 버퍼값은 '2'가 되고, 세븐(7)코드가 아닌 경우 '1'의 위치 버퍼값은 비교하지 않게 되며, 만약 멜로디가 '파'이면 'C'코드의 구성음중 같은 음이 없으므로 위치 버퍼값은가 된다.Here, in the output code, the code type with the highest priority is recorded, and the position buffer contains the same contents as the position thumb, but varies with each code. For example, the composition of the 'C' code when compared with the 'C' code If the melody is 'degree', the position buffer value is '4'. If the melody is 'mi', the position buffer value is '3'. If the melody is 'sol', the position buffer value is If it is not '7' code, the position buffer value of '1' is not compared. If the melody is 'wave', the position buffer value is not equal among the components of the 'C' code. Becomes

또한, 위치샘은 상기 위치버퍼와 같은 값이 들어가나 위치버퍼와의 차이점은 멜로디와 코드를 비교해서 가장 우선순위가 높은 코드의 같은 구성음 위치가 들어가 있고, 위치 버퍼에는 최근에 비교한 코드의 멜로디와 같은 구성음의 위치가 들어 있다.In addition, the position sample contains the same value as the position buffer, but the difference between the position buffer and the melody is that the same configuration sound position of the code having the highest priority is compared with the code, and the position buffer includes the code of the recently compared code. Contains the location of the component sounds, such as melody.

즉, 위치샘에는 출력코드에 들어가 있는 코드의 구성음 위치가 들어가 있고, 새로운 코드와 멜로디를 비교하여 위치버퍼에 새로운 값이 들어가고, 이는 다시 위치샘과 위치버퍼의 값을 비교하여 만일 위치 버퍼값이 위치 샘값보다 크면 최근에 비교한 코드가 우선순위가 높으므로 위치 버퍼의 값은 위치샘측으로 옮겨 놓게 되며, 출력코드의 값도 새로운 코드의 값으로 전환하게 된다. 따라서 상기와 같은 동작으로 멜로디와 주요화음을 비교 및 우선순위를 결정한 후 우선순위를 결정한 후 우선순위가 가장 높은 코드를 출력하게 되는 것이다.In other words, the position sample contains the position of the chords of the chord in the output code, and compares the new chord and the melody to the new value in the position buffer. If it is larger than this position sampling value, the recently compared code has a higher priority, so the value of the position buffer is moved to the position sampling side, and the value of the output code is also converted to the value of the new code. Therefore, by comparing the melody and the main chords by the above operation and determining the priority, after determining the priority, the highest priority code is output.

이상에서 설명한 바와 같이 본 발명 방법에 의하면 각 조에서 올 수 있는 기본 3화음중 6개 코드를 선택하고 그 코드의 우선순위를 현재의 코드 다음에 나온 코드 중 현재 음정과 가장 적합한 코드를 다음 코드를 결정하고 자동반주로 연주되도록 하므로서 연주능력이 부족한 초보자나 화음을 모르는 어떠한 곡의 연주에 있어서도 자신감을 주며, 아울러 반주 영역으로부터 별도의 코드(화음)를 입력하지 않더라도 멜로디 진행에 따라 자동적으로 그에 대응하는 코드를 선택하여 출력되게 함으로서 자동반주 효과 및 초보자도 쉽게 훌륭한 연주를 행할 수 가 있는 특징이 있는 것이다.As described above, according to the method of the present invention, six chords among the basic triads that can come from each group are selected, and the priority of the chords is the next chord among the chords following the current chord. Decisions and auto accompaniment give you confidence in the performance of beginners who are poor at playing, or any song that you do not know how to play chords, and automatically responds to the melody as it progresses, even if you do not enter a separate chord (chord) from the accompaniment area. By selecting chords and outputting them, the auto accompaniment effect and beginners can easily perform great performances.

Claims (4)

리듬 온/오프 스위치(7)와 자동저음 코드 온/오프스위치(8)가 오프된 상태에서 매직코드 스위치(9)를 온하면 마이컴(1)은 코드 및 멜로디 건반부로 분할되는 건반 입력부(6)의 코드 건반입력 유무를 판단하여 코드건반 정보가 입력되면 입력되는 코드건반 정보에 따라 연주하고자 하는 조판별 및 주요화음을 작성하고 종료하는 매직 송 루틴의 제 1 과정과 ; 리듬 온/오프스위치(7)와 자동저음 코드 온/오프스위치(8)와 매직 코드스위치(9)가 온되면 마이컴(1)은 건반입력부(6)의 멜로디 건반 입력 유무를 판단하여 멜로디 건반정보가 입력될 경우에는 수시로 입력되는 멜로디와 상기 제 1 과정에 의해 작성된 주요 화음과을 비교하여 그에 대응하는 코드를 결정 및 선택하는 발생코드 루틴의 제 2 과정으로 이루어지는 것을 특징으로 하는 전자악기에서의 자동반주 코드 발생방법.When the rhythm on / off switch 7 and the automatic bass cord on / off switch 8 are turned on and the magic code switch 9 is turned on, the microcomputer 1 divides the keyboard and the melody keyboard into a key input unit 6. A first step of the magic song routine for determining whether a chord key is inputted in the chord and inputting chord key information to create and end typesetting and major chords to be played according to the input chord key information; When the rhythm on / off switch (7), the automatic bass chord on / off switch (8) and the magic code switch (9) are turned on, the microcomputer (1) determines the presence of the melody keyboard input of the keyboard input unit (6) to determine the melody keyboard information. When is input, the auto accompaniment in the electronic musical instrument comprising a second process of the generation code routine for comparing the melody input from time to time and the main chords produced by the first process to determine and select the corresponding code How to generate code. 제 1 항에 있어서, 상기 주요화음 작성 매직송 루틴은 건반 입력부(6)의 입력 코드건반수 정보에 따라 단조 및 장조를 판별하고, 상기 단조 및 장조에 대응하는 각각의 주요화음을 작성하여 마이컴(1)내에 있는 메모리에 저장하게 됨을 특징으로 하는 전자악기에서의 자동반주 코드 발생방법.The method according to claim 1, wherein the major chord creation magic song routine discriminates the minor and the major in accordance with the information on the number of key codes of the keyboard input unit 6, and generates the respective major chords corresponding to the minor and major. 1) A method of generating auto accompaniment codes in electronic musical instruments, characterized in that they are stored in a memory within. 제 1 항에 있어서, 상기 조판별 매직송 루틴은 건반 입력부(6)의 반주 영역건반을 스캔하여 악보상과 같은 조 선택키가 입력되면 마이컴(1)은 메모리부(10)로부터 각 조별로 기록되어 있는 코드 진행정보를 구분하기 위해 번지위치를 지정하는 값을 입력된 조에 적합하게 변경시키는 제 1 과정과 ; 템포클록이 온되었을 경우에는 멜로디 영역 건반에서 새로운 음정 입력여부를 판단하여 새로운 음정이 들어있는 코드를 메모리부(10)의 코드 구성음 기억부에서 검색하여 모든 후보코드를 기억시킨 다음 후보코드와 메모리부(10)의 코드 진행 기억부에 기억된 코드 진행 정보간에 최상의 코드부터 순차적으로 비교하여 후보 코드중에 있는 동일 코드이면 출력코드를 새로운 코드로 변경시킴과 동시에 최후에 출력될 코드를 결정하여 음발생부(2)에 악음 발생데이터를 출력시키고, 다음에 입력되는 반주 영역건반을 반복 스캔시키는 제 2 과정으로 이루어진 것을 특징으로 하는 전자악기에서의 자동반주 코드 발생방법.2. The typesetting magic song routine scans the accompaniment area keyboard of the keyboard input unit 6, and when a group selection key such as musical compensation is input, the microcomputer 1 records each group from the memory unit 10 for each group. A first step of changing a value for designating a street address according to an inputted set so as to distinguish code progress information; When tempoclock is turned on, the melody area keyboard determines whether a new pitch is input, and searches for the code containing the new pitch in the chord memory section of the memory unit 10 to store all candidate codes, and then stores the candidate code and memory. The code progress information stored in the code progress storage section of the section 10 is sequentially compared with the best code first, and if the same code is included in the candidate codes, the output code is changed to a new code, and at the same time, the code to be finally output is determined to generate a sound. And a second process of outputting sound generation data to the unit (2), and repeatedly scanning the accompaniment area keyboard to be input next. 제 1 항에 있어서, 상기 발생코드 루틴은 건반부(6)의 입력 멜로디 건반수 정보에 따라 근음 또는 가장 낮은 음을 근음으로 간주하고, 새로운 마디의 첫 번째 멜로디인가를 판단한 후 멜로디의 근음이 현재 출력중인 코드의 구성음일 경우에는 코드가 변하지 않으면, 구성음이 아닌 경우에는 출력코드와 위치버퍼 및 위치샘을 순차적으로 초기화시킨 다음 으뜸화음과 멜로디를 비교하여 위치 버퍼값이이 아니면 으뜸화음 코드를 출력함과 동시에 위치 버퍼값을 위치샘에 이동시키고, 위치 버퍼값이면 다시 딸림화음 코드와 멜로디를 비교하여 위치버퍼에 같은 음이 없으면 순차적으로 버금딸림화음과 보조화음 코드를 비교하며, 위치버퍼에 같은 음이 있으면 다시 그음의 크기에 따라 우선순위가 큰 주요화음을 선택하고, 선택된 주요화음을 출력함과 동시에 위치 버퍼값을 위치샘에 저장하고 종료하도록 이루어지는 것을 특징으로 하는 전자악기에서의 자동반주 코드 발생 방법.The method according to claim 1, wherein the generation code routine regards the root note or the lowest note as the root note according to the input melody key count information of the keyboard unit 6, and after determining whether it is the first melody of the new node, the root note of the melody is present. If the chord is not changed in the case of the chord being output, if the chord is not configured, the output chord, position buffer, and position thumb are initialized in sequence, and then the position buffer value is compared by comparing the main chord and the melody. Otherwise, while outputting the chirp chord, the position buffer value is moved to the position sample, and the position buffer value If it is compared with the accompanying chord and melody, if there is no same note in the position buffer, it compares the substring and subchord chords sequentially.If there is the same note in the position buffer, the main chord with higher priority according to the loudness A method of generating an auto accompaniment code in an electronic musical instrument, the method comprising: selecting, outputting a selected main chord, and storing and ending the position buffer value in the position spring.
KR1019910010692A 1990-12-07 1991-06-26 Auto-accompaniment code generating method in an electronic musical instruments KR930008568B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US07/888,483 US5302776A (en) 1991-05-27 1992-05-27 Method of chord in electronic musical instrument system
JP4135326A JPH06167975A (en) 1991-05-27 1992-05-27 Automatic generation method of accompanying chord of electronic musical-instrument system
EP19920401457 EP0516541A3 (en) 1991-05-27 1992-05-27 Method of automatically generating accompaniment chord in electronic musical instrument system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR90-20101 1990-12-07
KR900020101 1990-12-07

Publications (2)

Publication Number Publication Date
KR920012891A KR920012891A (en) 1992-07-28
KR930008568B1 true KR930008568B1 (en) 1993-09-09

Family

ID=19316343

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910010692A KR930008568B1 (en) 1990-12-07 1991-06-26 Auto-accompaniment code generating method in an electronic musical instruments

Country Status (1)

Country Link
KR (1) KR930008568B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006112585A1 (en) * 2005-04-18 2006-10-26 Lg Electronics Inc. Operating method of music composing device

Also Published As

Publication number Publication date
KR920012891A (en) 1992-07-28

Similar Documents

Publication Publication Date Title
US5918303A (en) Performance setting data selecting apparatus
US9117432B2 (en) Apparatus and method for detecting chord
JPH10105169A (en) Harmony data generating device and karaoke (sing along machine) device
US5942710A (en) Automatic accompaniment apparatus and method with chord variety progression patterns, and machine readable medium containing program therefore
US5302776A (en) Method of chord in electronic musical instrument system
JP2725566B2 (en) Electronic musical instrument
KR930008568B1 (en) Auto-accompaniment code generating method in an electronic musical instruments
JPH0990952A (en) Chord analyzing device
JPH0627960A (en) Automatic accompaniment playing device
JP3812510B2 (en) Performance data processing method and tone signal synthesis method
JP3719157B2 (en) Music data expression device, music data expression method, and music data expression program
JP3216529B2 (en) Performance data analyzer and performance data analysis method
JP2000214849A (en) Karaoke apparatus
JP5104414B2 (en) Automatic performance device and program
JP3738634B2 (en) Automatic accompaniment device and recording medium
JP3812509B2 (en) Performance data processing method and tone signal synthesis method
JP3215058B2 (en) Musical instrument with performance support function
JP3885803B2 (en) Performance data conversion processing apparatus and performance data conversion processing program
JPH11109970A (en) Electronic musical instrument
JPH09106284A (en) Chord generation instruction device
JPH10254448A (en) Automatic accompaniment device and medium recorded with automatic accompaniment control program
JP2991072B2 (en) Electronic musical instrument
JP2756888B2 (en) Electronic musical instrument
JP3897026B2 (en) Performance data conversion processing apparatus and performance data conversion processing program
JPH0981149A (en) Chord formation for accompaniment and chord progressing forming device

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19951226

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee