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 code 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. The first step of the magic song routine to determine the presence or absence of chord keyboard input and to create and end typesetting and major chords to be played according to the chord keyboard information inputted, and the rhythm on / off switch (7 ) And the automatic bass code on / off switch 8 and the magic code switch 9 are turned on, the microcomputer 1 determines whether the melody key is input from the keyboard input unit 6, and when the melody key information is input, And a second process of a generation code routine that compares the melody with the main chord created by the first process and determines and selects a corresponding code. How occurred.
제1항에 있어서, 상기 주요화음 작성 매직송 루틴은 건반 입력부(6)의 입력 코드건반수 정보에 따라 단조 및 장조를 판별하고, 상기 단조 및 장보에 대응하는 각각의 주요화음을 작성하여 마이컴(1)내에 있는 메모리에 저장하게 됨을 특징으로 하는 전자악기에서의 자동반주 코드 발생 방법.The method according to claim 1, wherein the main chord creation magic song routine determines the minor and major in accordance with the information on the number of key codes of the keyboard input unit 6, and generates each major chord corresponding to the minor and major. 1) A method of generating auto accompaniment codes in electronic musical instruments, characterized by being stored in a memory within.
제1항에 있어서, 상기 조판별 매직송 루틴은 건반 입력부(2)의 반주 영영건반을 스캔하여 악보상왁 같은조 선택키가 입력되면 마이컴(1)은 메모리부(10)로 부터 각 조별로 기록되어 있는 코드 진행정보를 구분하기 위해 번지위치를 지정하는 값을 입력된 조에 적합하게 변경시키는 제1과정과, 템포쿨록이 온 되었을 경우에는 멜로디 영역 건반에서 새로운 음정 입력여부를 판단하여 새로운 음정이 들어있는 코드를 메모리부(10)의 코드 구성음 기억부에서 검색하여 모든 후보코드를 기억시킨 다음 후보코드와 메모리부(10)의 코드 진행 기억부에 기억된 코드 진행 정보간에 최상의 코드부터 순차적으로 비교하여 후보 코드중에 있는 동일 코드이면 출력코드를 새로운 코드로 변경시킴과 동시에 최후에 출력될 코드를 결정하여 음발생부(2)에 악음 발생데이타를 출력시키고, 다음에 입력되는 반주 영역건반을 반복 스캔시키는 제2과정으로 이루어지는 것을 특징으로 하는 전자악기에서의 자동반주 코드 발생방법.According to claim 1, wherein the typesetting magic song routine scans the accompaniment English keyboard of the keyboard input unit 2, the microcomputer (1) is recorded from the memory unit 10 for each group when the key selection key, such as a musical compensation wax, is input. The first step of changing the value specifying the address location to the input pair to distinguish the chord progression, and if the tempo coollock is turned on, it is judged whether the new pitch is input from the melody area keyboard, and the new pitch is included. The candidate code and the code progress information stored in the code progress memory of the memory unit 10 are sequentially compared from the best code first. If the same code in the candidate code is used, the output code is changed to a new code, and at the same time, the code to be outputted is finally determined and the sound generating data is generated in the sound generating unit (2). And a second process of 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 or the lowest sound as the root sound according to the input melody key government of (6), and after determining whether it is the first melody of the first node of the new node, the root sound of the melody is currently output. If the chord of the chord is not changed, the chord does not change.If the chord is not a chord, the output chord, position buffer, and position sample are initialized sequentially, and the chief chord and melody are compared. At the same time, the position buffer value is moved to the position sample.If the position buffer value is ø, the accompanying chord code and melody are compared again.If the position buffer does not have the same note, the melody and subchord codes are sequentially compared. If there are the same notes in the buffer, the main chords with higher priority are selected according to the size of the note again. Automatic accompaniment code generation method in an electronic musical instrument which comprises at the same time and to store the location ryeokham buffer value for the location and spring ends.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.