KR102269591B1 - Apparatus and method for automatically composing music - Google Patents

Apparatus and method for automatically composing music Download PDF

Info

Publication number
KR102269591B1
KR102269591B1 KR1020180129339A KR20180129339A KR102269591B1 KR 102269591 B1 KR102269591 B1 KR 102269591B1 KR 1020180129339 A KR1020180129339 A KR 1020180129339A KR 20180129339 A KR20180129339 A KR 20180129339A KR 102269591 B1 KR102269591 B1 KR 102269591B1
Authority
KR
South Korea
Prior art keywords
pattern
chord
rhythm
sound
patterns
Prior art date
Application number
KR1020180129339A
Other languages
Korean (ko)
Other versions
KR20200047198A (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 KR1020180129339A priority Critical patent/KR102269591B1/en
Publication of KR20200047198A publication Critical patent/KR20200047198A/en
Application granted granted Critical
Publication of KR102269591B1 publication Critical patent/KR102269591B1/en

Links

Images

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
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • G10H1/0025Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece
    • 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
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/005Musical accompaniment, i.e. complete instrumental rhythm synthesis added to a performed melody, e.g. as output by drum machines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

자동작곡장치 및 그 방법이 개시된다. 자동작곡장치는 반복구조패턴을 선택하고, 코드패턴과 리듬패턴을 포함하는 데이터베이스로부터 적어도 하나 이상의 코드패턴과 리듬패턴을 임의 선택하고, 선택한 코드패턴과 리듬패턴을 반복구조패턴에 따라 복수의 마디에 배치하고, 각 마디의 리듬패턴의 일부는 해당 마디에 부여된 코드에 따라 음 높이를 선택하고, 나머지는 코드와 무관한 음 높이를 선택한다. Disclosed are an automatic composition apparatus and method thereof. The automatic composition apparatus selects a repeating structure pattern, randomly selects at least one or more chord patterns and rhythm patterns from a database including chord patterns and rhythm patterns, and assigns the selected chord patterns and rhythm patterns to a plurality of measures according to the repeating structure pattern. , and a part of the rhythm pattern of each measure selects a pitch according to the chord assigned to the corresponding bar, and selects a pitch that has nothing to do with the chord for the rest.

Description

자동작곡장치 및 그 방법{Apparatus and method for automatically composing music}Automatic composing device and method {Apparatus and method for automatically composing music}

본 발명은 자동으로 작곡하는 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for automatically composing music.

종래에 다양한 작곡 이론이 존재한다. 작곡가는 이러한 작곡 이론에 창의성을 결합하여 다양한 음악을 작곡한다. 컴퓨터를 이용하여 작곡하고 이를 다양한 소리로 출력하는 MIDI((Musical Instrument Digital Interface) 장치가 존재한다. 그러나 종래의 MIDI 장치는 사용자의 작업을 도와주는 역할에 그칠 뿐 전체 곡을 자동으로 작곡할 수 없다. 또한, 스피커 등과 같은 컴퓨팅 자원이 한정된 소리 출력장치는 미리 녹음된 음원을 재생할 수 있을 뿐 악보를 기초로 실시간 악기음을 만들어 재생할 수 없다. Various composition theories exist in the prior art. Composers combine creativity with these compositional theories to compose a variety of music. There exists a MIDI (Musical Instrument Digital Interface) device that composes music using a computer and outputs it in various sounds. However, the conventional MIDI device only serves to help the user's work and cannot automatically compose the entire song. Also, sound output devices with limited computing resources, such as speakers, can only reproduce pre-recorded sound sources, but cannot create and reproduce real-time instrumental sounds based on sheet music.

등록특허공보 제10-1854706호 "인공 신경망을 이용한 자동 작곡 방법 및 그 기록매체"Registered Patent Publication No. 10-1854706 "Automatic composition method using artificial neural network and its recording medium"

본 발명의 실시 예가 이루고자 하는 기술적 과제는, 오프라인에서 최소한의 컴퓨팅 자원을 활용하여 다양한 곡을 작곡할 수 있는 장치 및 그 방법을 제공하는 데 있다.SUMMARY An object of the present invention is to provide an apparatus and method capable of composing various songs offline by using minimal computing resources.

상기의 기술적 과제를 달성하기 위한, 본 발명의 실시 예에 따른 자동작곡장치의 일 예는, 코드패턴을 포함하는 코드패턴 데이터베이스; 리듬패턴을 포함하는 리듬패턴 데이터베이스; 반복구조패턴을 선택하고, 적어도 하나 이상의 코드패턴과 리듬패턴을 상기 코드패턴 데이터베이스 및 리듬패턴 데이터베이스에서 임의 선택하고, 선택한 코드패턴과 리듬패턴을 상기 반복구조패턴에 따라 복수의 마디에 배치하는 패턴배치부; 및 각 마디의 리듬패턴의 일부는 해당 마디에 부여된 코드를 기초로 음 높이를 가지는 코드톤으로 선택하고, 나머지는 코드와 무관한 음 높이를 가지는 논코드톤으로 선택하는 톤선택부;를 포함한다.An example of an automatic composition apparatus according to an embodiment of the present invention for achieving the above technical problem is a code pattern database including a code pattern; a rhythm pattern database including rhythm patterns; Pattern arrangement in which a repeating structure pattern is selected, at least one or more chord patterns and rhythm patterns are randomly selected from the chord pattern database and the rhythm pattern database, and the selected chord patterns and rhythm patterns are arranged in a plurality of bars according to the repeating structure pattern. part; and a tone selector that selects a part of the rhythm pattern of each measure as a chord tone having a pitch based on the chord assigned to the corresponding bar, and selects the rest as a non-chord tone having a pitch independent of the chord. do.

상기의 기술적 과제를 달성하기 위한, 본 발명의 실시 예에 따른 자동작곡방법의 일 예는, 반복구조패턴을 선택하는 단계; 코드패턴과 리듬패턴을 포함하는 데이터베이스로부터 적어도 하나 이상의 코드패턴과 리듬패턴을 임의 선택하고, 선택한 코드패턴과 리듬패턴을 상기 반복구조패턴에 따라 복수의 마디에 배치하는 단계; 및 각 마디의 리듬패턴의 일부는 해당 마디에 부여된 코드에 따라 음 높이를 선택하고, 나머지는 코드와 무관한 음 높이를 선택하는 단계;를 포함한다.In order to achieve the above technical problem, an example of an automatic composition method according to an embodiment of the present invention includes the steps of selecting a repeating structure pattern; randomly selecting at least one or more chord patterns and rhythm patterns from a database including chord patterns and rhythm patterns, and arranging the selected chord patterns and rhythm patterns in a plurality of measures according to the repetition structure pattern; and selecting a pitch of a part of the rhythm pattern of each bar according to a chord assigned to the corresponding bar, and selecting a pitch independent of the chord for the rest.

본 발명의 실시 예에 따르면, 최소한의 컴퓨팅 자원으로 오프라인에서 다양한 곡을 자동으로 만들 수 있다. 자동 작곡한 음악을 다양한 악기음으로 바로 출력할 수 있으므로, 스피커 등과 같이 휴대가능한 장치에 본 실시 예를 구현할 수 있다. 또한, EDM(Electronic Dance Music) 등을 포함한 다양한 음악 장르에 본 실시 예를 적용할 수 있다. According to an embodiment of the present invention, various songs can be automatically created offline with minimal computing resources. Since the automatically composed music can be directly output as various musical instrument sounds, the present embodiment can be implemented in a portable device such as a speaker. In addition, the present embodiment can be applied to various music genres including EDM (Electronic Dance Music).

도 1은 본 발명의 실시 예에 따른 작곡 템플릿의 일 예를 도시한 도면,
도 2는 본 발명의 실시 예에 따른 자동작곡장치의 구성의 일 예를 도시한 도면,
도 3은 본 발명의 실시 예에 따른 자동작곡부의 상세 구성의 일 예를 도시한 도면,
도 4는 본 발명의 실시 예에 따른 코드패턴 데이터베이스의 일 예를 도시한 도면,
도 5는 본 발명의 실시 예에 따른 리듬패턴 데이터베이스의 일 예를 도시한 도면,
도 6은 본 발명의 실시 예에 따른 반복구조패턴 데이터베이스의 일 예를 도시한 도면,
도 7은 본 발명의 실시 예에 따른 코드와 리듬의 배치 예를 도시한 도면,
도 8은 본 발명의 실시 예에 따른 음 높이 결정 방법의 일 예를 도시한 도면,
도 9는 본 발명의 실시 예에 따른 코드반주를 위한 작곡 방법의 일 예를 도시한 도면,
도 10은 본 발명의 실시 예에 따른 코드리듬패턴의 배치 방법의 일 예를 도시한 도면,
도 11은 본 발명의 실시 예에 따른 아르페지오 리듬패턴과 베이스 리듬패턴의 일 예를 도시한 도면,
도 12는 본 발명의 실시 예에 따른 자동작곡방법의 일 예를 도시한 흐름도,
도 13은 본 발명의 실시 예에 따른 악기음생성부의 상세 구성의 일 예를 도시한 도면, 그리고,
도 14는 본 발명의 실시 예에 따른 악기음의 길이를 조절하는 방법의 일 예를 도시한 도면이다.
1 is a view showing an example of a composition template according to an embodiment of the present invention;
2 is a view showing an example of the configuration of an automatic composing apparatus according to an embodiment of the present invention;
3 is a view showing an example of a detailed configuration of an automatic composing unit according to an embodiment of the present invention;
4 is a view showing an example of a code pattern database according to an embodiment of the present invention;
5 is a diagram illustrating an example of a rhythm pattern database according to an embodiment of the present invention;
6 is a view showing an example of a repeating structure pattern database according to an embodiment of the present invention;
7 is a view showing an example of arrangement of chords and rhythms according to an embodiment of the present invention;
8 is a view showing an example of a method for determining a pitch according to an embodiment of the present invention;
9 is a view showing an example of a composition method for chord accompaniment according to an embodiment of the present invention;
10 is a view showing an example of a method of disposing a chord rhythm pattern according to an embodiment of the present invention;
11 is a view showing an example of an arpeggio rhythm pattern and a base rhythm pattern according to an embodiment of the present invention;
12 is a flowchart illustrating an example of an automatic composition method according to an embodiment of the present invention;
13 is a view showing an example of a detailed configuration of a musical instrument sound generator according to an embodiment of the present invention;
14 is a diagram illustrating an example of a method of adjusting the length of a musical instrument according to an embodiment of the present invention.

이하에서, 첨부된 도면들을 참조하여 본 발명의 실시 예에 따른 자동작곡장치 및 그 방법에 대해 상세히 설명한다.Hereinafter, an automatic composition apparatus and method according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 작곡 템플릿의 일 예를 도시한 도면이다.1 is a diagram illustrating an example of a composition template according to an embodiment of the present invention.

도 1을 참조하면, 작곡 템플릿(100)은 멜로디(110), 코드(패드) 반주(120), 아르페지오 반주(130), 베이스 반주(140) 및 드럼 반주(150)를 포함한다. 자동작곡장치는 작곡 템플릿(100)에 포함된 각 요소를 위한 곡을 자동으로 생성한다. 자동작곡장치가 멜로디를 작곡하는 방법의 일 예가 도 2 내지 도 8에 도시되어 있고, 코드 반주를 작곡하는 방법의 일 예가 도 9 및 도 10에 도시되어 있다. 또한, 아르페지오 반주 및 베이스 반주를 작곡하는 방법의 일 예가 도 11에 도시되어 있다.Referring to FIG. 1 , the composition template 100 includes a melody 110 , a chord (pad) accompaniment 120 , an arpeggio accompaniment 130 , a bass accompaniment 140 , and a drum accompaniment 150 . The automatic composition apparatus automatically creates a song for each element included in the composition template 100 . An example of a method of composing a melody by the automatic composing apparatus is shown in FIGS. 2 to 8 , and an example of a method of composing a chord accompaniment is shown in FIGS. 9 and 10 . Also, an example of a method of composing arpeggio accompaniment and bass accompaniment is shown in FIG. 11 .

본 실시 예의 작곡 템플릿(100)은 본 발명의 이해를 돕기 위한 하나의 예일 뿐 작곡 템플릿(100)에 포함되는 요소(110,120,130,140,150)는 실시 예에 따라 다양하게 변형될 수 있다. 예를 들어, 작곡 템플릿(100)은 멜로디(110) 하나만을 포함하거나, 멜로디(110)와 코드반주(120)의 두 개만을 포함할 수 있다. The composition template 100 of this embodiment is only an example for helping understanding of the present invention, and the elements 110, 120, 130, 140, and 150 included in the composition template 100 may be variously modified according to the embodiment. For example, the composition template 100 may include only one melody 110 , or may include only two of the melody 110 and the chord accompaniment 120 .

다른 실시 예로, 서로 다른 요소들을 포함하는 복수 개의 작곡 템플릿(100)이 존재할 수 있다. 예를 들어, 음악 장르별(예를 들어, EDM, 재즈, 힙합 등) 서로 다른 작곡 템플릿이 존재할 수 있다. In another embodiment, a plurality of composition templates 100 including different elements may exist. For example, different composition templates may exist for each music genre (eg, EDM, jazz, hip-hop, etc.).

도 2는 본 발명의 실시 예에 따른 자동작곡장치의 구성의 일 예를 도시한 도면이다.2 is a diagram illustrating an example of the configuration of an automatic composing apparatus according to an embodiment of the present invention.

도 2를 참조하면, 자동작곡장치(200)는 자동작곡부(210), 악기음생성부(230), 코드와 리듬 등의 각종 패턴을 저장하는 제1 데이터베이스(220)와 악기샘플음을 저장하는 제2 데이터베이스(240)를 포함한다. 자동작곡장치(200)는 프로세서, 메모리 등의 최소한의 컴퓨팅 자원으로 구현될 수 있다. 일 예로, 자동작곡장치(200)는 스피커의 일부로 구현될 수 있다.Referring to FIG. 2 , the automatic composition apparatus 200 stores the automatic composition unit 210 , the instrument sound generator 230 , the first database 220 for storing various patterns such as chords and rhythms, and the instrument sample sound. and a second database 240 . The automatic composition apparatus 200 may be implemented with minimum computing resources such as a processor and a memory. As an example, the automatic composition apparatus 200 may be implemented as a part of a speaker.

자동작곡부(210)는 제1 데이터베이스(220)에 저장된 각종 코드패턴과 리듬패턴을 이용하여 작곡 템플릿(100)에 포함된 각 요소(110,120,130,140,150)를 위한 곡을 자동으로 생성한다. 예를 들어, 자동작곡부(210)는 멜로디(110), 코드반주(120), 아르페지오 반주(130), 베이스 반주(140) 등을 위한 곡을 자동으로 만든다. 자동작곡부(210)의 상세 구성에 대해 도 3에서 다시 설명한다.The automatic composition unit 210 automatically creates a song for each element 110 , 120 , 130 , 140 , 150 included in the composition template 100 using various chord patterns and rhythm patterns stored in the first database 220 . For example, the automatic composer 210 automatically creates songs for the melody 110 , the chord accompaniment 120 , the arpeggio accompaniment 130 , the bass accompaniment 140 , and the like. A detailed configuration of the automatic composing unit 210 will be described again with reference to FIG. 3 .

악기음생성부(230)는 자동작곡부(210)에 의해 생성된 곡의 연주를 위한 다양한 악기음을 생성한다. 악기음생성부(230)는 제2 데이터베이스(240)에 저장된 악기별 샘플음을 자동 작곡된 음의 길이 또는 높이에 맞게 변형하여 악기음을 생성하고 이를 곡에 맞추어 배치한다. The musical instrument sound generator 230 generates various musical instrument sounds for playing the song generated by the automatic composer 210 . The musical instrument sound generator 230 transforms the sample sound for each instrument stored in the second database 240 according to the length or height of the automatically composed sound, generates the instrument sound, and arranges it according to the song.

예를 들어, 도 5의 리듬패턴1의 음 높이가 '도미솔도미솔'이고 이를 피아노로 연주하는 경우라면, 악기음생성부(230)는 피아노 샘플음을 변형하여 '도', '미', '솔'의 음 높이를 만들고 또한 리듬패턴1의 음 길이에 맞도록 악기음의 길이를 변형한 후, 그 악기음을 '도미솔도미솔'에 맞추어 배치한다. 배치된 각 악기음을 스피커를 통해 출력할 때 자연스럽게 들리도록 두 악기음이 겹쳐지는 구간에서 앞쪽 악기음은 페이드아웃(fade-out)하고 뒤쪽 악기음은 페이드인(fade-in)되도록 할 수 있다. 악기음생성부(230)의 상세 구성에 대해서는 도 13 및 도 14에서 다시 살펴본다.For example, if the pitch of the rhythm pattern 1 of FIG. 5 is 'domisol domisol' and it is played by a piano, the musical instrument sound generator 230 transforms the piano sample sound to 'do' and 'mi'. , After making the pitch of 'Sol' and modifying the length of the instrument to match the length of Rhythm Pattern 1, arrange the instrument to match 'Domisol Domisol'. In the section where the two instruments overlap, the front instrument sound fades out and the rear instrument sound fades in so that each instrument sound placed in the arrangement can be heard naturally when outputting it through the speaker. . The detailed configuration of the musical instrument sound generator 230 will be described again with reference to FIGS. 13 and 14 .

다른 실시 예로, 자동작곡장치(200)는 피드백부(250)를 더 포함할 수 있다. 피드백부(250)는 사용자로부터 자동 작곡된 음악의 선호도를 입력받고 이를 다음 작곡에 이용할 수 있다. 피드백부(250)는 선호도를 입력받기 위한 사용자인터페이스(예를 들어, 버튼, 터치스크린 등)를 더 포함할 수 있다. 또는 피드백부(250)는 블루투스 등의 근거리 통신 모듈을 더 포함하고 스마트폰 등의 사용자 단말과 무선 통신을 통해 선호도를 입력받을 수 있다. 선호도는 미리 몇 단계로 정의되거나 일정 범위 내의 숫자일 수 있다. 피드백부(250)는 입력받은 선호도를 해당 음악의 작곡에 사용된 코드패턴, 리듬패턴, 반주리듬패턴 등에 반영한다. 즉, 제1 데이터베이스(220)는 각 패턴에 대한 선호도 정보를 함께 맵핑하여 저장하고 관리한다. 따라서 자동작곡부(210)는 선호도가 높은 코드패턴, 리드패턴 등을 이용하여 작곡함으로써 사용자의 취향에 맞는 음악을 생성할 수 있다. In another embodiment, the automatic composition apparatus 200 may further include a feedback unit 250 . The feedback unit 250 may receive a preference for automatically composed music from the user and use it for the next composition. The feedback unit 250 may further include a user interface (eg, a button, a touch screen, etc.) for receiving a preference input. Alternatively, the feedback unit 250 may further include a short-range communication module such as Bluetooth, and may receive a preference input through wireless communication with a user terminal such as a smart phone. The preference may be predefined in several steps or a number within a certain range. The feedback unit 250 reflects the received preference to a chord pattern, rhythm pattern, accompaniment rhythm pattern, etc. used for composing the corresponding music. That is, the first database 220 maps, stores, and manages preference information for each pattern together. Accordingly, the automatic composition unit 210 may create music that meets the user's taste by composing using a code pattern, a lead pattern, and the like with high preference.

도 3은 본 발명의 실시 예에 따른 자동작곡부의 상세 구성의 일 예를 도시한 도면이다.3 is a diagram illustrating an example of a detailed configuration of an automatic composer according to an embodiment of the present invention.

도 3을 참조하면, 자동작곡부(210)는 멜로디 작곡을 위한 구성으로, 코드패턴 데이터베이스(300), 리듬패턴 데이터베이스(310), 반복구조패턴 데이터베이스(320), 패턴배치부(330) 및 톤선택부(340)를 포함한다. 이 외에 자동작곡부(210)는 작곡 템플릿(도 1의 100)의 코드반주(120), 아르페이지오 반주(130), 베이스 반주(140), 드럼 반주(150)의 작곡을 위한 코드리듬패턴(332), 베이스리듬패턴(334), 아르페지오 리듬패턴(336), 드럼패턴(338)을 포함하는 데이터베이스(330)를 더 포함할 수 있다. 실시 예에 따라 코드리듬패턴(332) 등을 포함하는 데이터베이스(330)는 생략될 수 있다.Referring to FIG. 3 , the automatic composing unit 210 is a component for composing a melody, and includes a code pattern database 300 , a rhythm pattern database 310 , a repetitive structure pattern database 320 , a pattern arrangement unit 330 , and a tone. and a selection unit 340 . In addition, the automatic composing unit 210 includes a chord rhythm pattern for composing the chord accompaniment 120, the arpeggio accompaniment 130, the bass accompaniment 140, and the drum accompaniment 150 of the composition template (100 in FIG. 1). 332 , a database 330 including a bass rhythm pattern 334 , an arpeggio rhythm pattern 336 , and a drum pattern 338 may be further included. According to an embodiment, the database 330 including the chord rhythm pattern 332 and the like may be omitted.

코드패턴 데이터베이스(300)는 음악 장르별 코드진행 패턴을 저장한다. 예를 들어, 코드패턴 데이터베이스(300)는 EDM 음악의 다양한 4마디 코드진행 패턴을 포함할 수 있다. 코드패턴 데이터베이스(300)의 일 예가 도 4에 도시되어 있다.The chord pattern database 300 stores chord progression patterns for each music genre. For example, the chord pattern database 300 may include various 4-bar chord progression patterns of EDM music. An example of the code pattern database 300 is shown in FIG. 4 .

리듬패턴 데이터베이스(310)는 음악 장르별 리듬패턴을 저장한다. 예를 들어, 리듬패턴 데이터베이스(310)는 EDM 음악의 다양한 마디별 리듬패턴을 포함할 수 있다. 리듬패턴 데이터베이스(310)의 일 예가 도 5에 도시되어 있다.The rhythm pattern database 310 stores rhythm patterns for each music genre. For example, the rhythm pattern database 310 may include rhythm patterns for various measures of EDM music. An example of the rhythm pattern database 310 is shown in FIG. 5 .

반복구조패턴 데이터베이스(320)는 음악 장르별 마디 반복 패턴을 저장한다. 예를 들어, 반복구조패턴 데이터베이스(320)는 EMD 음악의 다양한 4마디 배치 구조를 포함할 수 있다. 반복구조패턴 데이터베이스(320)의 일 예가 도 6에 도시되어 있다. The repetition structure pattern database 320 stores a bar repetition pattern for each music genre. For example, the repeating structure pattern database 320 may include various four-bar arrangement structures of EMD music. An example of the repeating structure pattern database 320 is shown in FIG. 6 .

실시 예에 따라, 코드패턴 데이터베이스(300), 리듬패턴 데이터베이스(310), 반복구조패턴 데이터베이스(320)는 어느 하나의 음악 장르(예를 들어, EDM)의 패턴만을 저장할 수 있다. 여러 음악 장르의 패턴이 저장된 경우에, 자동작곡부(210)는 사용자가 음악장르를 선택할 수 있는 사용자인터페이스(예를 들어, 버튼, 터치스크린 등)을 더 포함할 수 있다. 또는 자동작곡부(210)는 음악장르를 임의로 선택할 수 있다. According to an embodiment, the code pattern database 300 , the rhythm pattern database 310 , and the repetition structure pattern database 320 may store only a pattern of any one music genre (eg, EDM). When patterns of several music genres are stored, the automatic composer 210 may further include a user interface (eg, a button, a touch screen, etc.) through which the user can select a music genre. Alternatively, the automatic composer 210 may arbitrarily select a music genre.

패턴배치부(340)는 반복구조패턴 데이터베이스(320)에서 반복구조패턴을 임의 선택하고, 코드패턴 데이터베이스(300)와 리듬패턴 데이터베이스(310)에서 코드패턴과 리듬패턴을 임의 선택하여 복수의 마디에 배치한다. 패턴배치의 일 예가 도 7에 도시되어 있다.The pattern arrangement unit 340 randomly selects a repetition structure pattern from the repetition structure pattern database 320, and randomly selects a chord pattern and a rhythm pattern from the code pattern database 300 and the rhythm pattern database 310, place it An example of pattern arrangement is shown in FIG. 7 .

톤선택부(350)는 복수의 마디에 배치된 리듬패턴의 각 음의 높이를 코드톤 또는 논코드톤으로 선택한다. 코드톤은 코드(예를 들어, Cm, D 등)에 해당하는 음 높이를 의미하고, 논코드톤은 코드와 무관한 음 높이를 의미한다. 각 마디 내 코드톤과 논코드톤의 비율은 미리 정의되어 있거나, 톤선택부(350)가 매번 임의적으로 선택 수 있다. 예를 들어, 코드톤과 논코드톤의 비율이 50%로 지정되었다면, 톤선택부(350)는 마디를 구성하는 음의 개수 중 50%는 코드톤을 선택하고 나머지 50%는 논코드톤을 선택한다. 마디 내 코드톤과 논코드톤이 적용되는 음의 위치는 임의로 선택될 수 있다. 예를 들어, 톤선택부(350)는 도 8과 같이 첫 번째, 두 번째 및 네 번째 음을 코드톤(810)으로 지정하고, 세 번째, 다섯 번째 및 여섯 번째 음을 논코드톤(820)으로 지정할 수 있다. The tone selector 350 selects the height of each note of the rhythm pattern arranged in the plurality of measures as a chord tone or a non-chord tone. A chord tone means a pitch corresponding to a chord (eg, Cm, D, etc.), and a non-chord tone means a pitch that has nothing to do with the chord. The ratio of code tones to non-code tones in each bar is predefined, or the tone selector 350 can arbitrarily select it each time. For example, if the ratio of code tones to non-code tones is set to 50%, the tone selector 350 selects code tones for 50% of the number of notes constituting a bar, and 50% for non-code tones. choose The position of the note to which the chord tone and non-chord tone are applied within a measure can be arbitrarily selected. For example, the tone selector 350 designates the first, second, and fourth tones as code tones 810 as shown in FIG. 8 , and the third, fifth, and sixth tones as non-code tones 820 . can be specified as

드럼패턴 데이터베이스(338)는 드럼의 악기소리를 녹음한 데이터를 포함한다. 패턴배치부(340)는 드럼패턴 데이터베이스(338)에서 드럼 패턴을 임의 선택한 후 이를 반복구조패턴에 따라 복수의 마디에 배치한다. 드럼 패턴은 악기소리를 녹음한 데이터 그 자체이므로 드럼을 위한 별도의 샘픔음을 저장할 필요가 없으며, 악기음생성부(230)는 리듬 패턴의 녹음 데이터를 자동 작곡된 곡에 배치하면 된다. The drum pattern database 338 includes data recorded with the sound of a drum instrument. The pattern arrangement unit 340 randomly selects a drum pattern from the drum pattern database 338 and arranges it in a plurality of nodes according to the repeating structure pattern. Since the drum pattern is the recorded data of the instrument sound itself, there is no need to store a separate sample sound for the drum, and the instrument sound generator 230 may arrange the recorded data of the rhythm pattern in the automatically composed song.

코드리듬패턴(332), 아르페이지오 리듬패턴(336), 베이스 리듬패턴(334) 등을 각 마디에 배치하는 방법에 대해서는 도 9 내지 도 11에서 살펴본다. A method of arranging the chord rhythm pattern 332 , the arpeggio rhythm pattern 336 , the base rhythm pattern 334 and the like in each measure will be described with reference to FIGS. 9 to 11 .

도 4는 본 발명의 실시 예에 따른 코드패턴 데이터베이스의 일 예를 도시한 도면이다.4 is a diagram illustrating an example of a code pattern database according to an embodiment of the present invention.

도 4를 참조하면, 코드패턴 데이터베이스(400)는 음악 장르별 일정 개수의 마디에 대한 코드 진행 패턴(410,420,430)을 포함한다. 예를 들어, 본 실시 예를 EDM 음악의 자동 작곡에 적용할 경우, 코드패턴 데이터베이스(400)는 EMD 음악에 대한 다양한 코드 진행 패턴(410,420,430)을 포함할 수 있다. 본 실시 예는 설명의 편의를 위해 Cm, Dm, C 등 다양한 코드를 코드1, 코드2, 코드3 등으로 표시한다. Referring to FIG. 4 , the chord pattern database 400 includes chord progression patterns 410 , 420 , and 430 for a predetermined number of measures for each music genre. For example, when this embodiment is applied to automatic composition of EDM music, the chord pattern database 400 may include various chord progression patterns 410 , 420 , and 430 for EMD music. In this embodiment, various codes such as Cm, Dm, and C are denoted as Code 1, Code 2, Code 3, etc. for convenience of explanation.

본 실시 예는 4마디의 코드 진행 패턴을 도시하고 있으나, 실시 예에 따라, 코드패턴 데이터베이스(400)는 2마디, 8마디 등 다양한 개수의 마디에 대한 코드 진행 패턴을 포함할 수 있다. Although this embodiment shows a chord progression pattern of 4 bars, according to an embodiment, the chord pattern database 400 may include chord progression patterns for various numbers of bars, such as 2 bars or 8 bars.

코드패턴 데이터베이스(400)는 코드패턴을 다양한 방법으로 입력받을 수 있다. 일 예로 사용자가 코드패턴을 직접 코드패턴 데이터베이스(400)에 저장할 수 있다. 다른 예로, 자동작곡장치(200)는 악보 데이터(예를 들어, MIDI 규격 등)를 입력받으면, 악보 데이터를 분석하여 일정 마디의 코드 진행 패턴을 파악하고, 파악한 코드패턴을 코드패턴 데이터베이스(400)에 저장할 수 있다. The code pattern database 400 may receive code patterns in various ways. For example, the user may directly store the code pattern in the code pattern database 400 . As another example, when the automatic composition apparatus 200 receives sheet music data (eg, MIDI standard, etc.), it analyzes the sheet music data to identify a chord progression pattern of a certain measure, and converts the identified chord pattern into the chord pattern database 400 . can be stored in

도 5는 본 발명의 실시 예에 따른 리듬패턴 데이터베이스의 일 예를 도시한 도면이다.5 is a diagram illustrating an example of a rhythm pattern database according to an embodiment of the present invention.

도 5를 참조하면, 리듬패턴 데이터베이스(500)는 음악 장르별 멜로디의 한 마디 리듬패턴(510,520)을 저장한다. 리듬패턴(510,520)은 다양한 길이를 가진 음의 배치를 의미한다. 리듬패턴 데이터베이스(500)는 사용자에 의해 구축되거나, 자동작곡장치(200)에 의해 자동으로 구축될 수 있다. 예를 들어, 자동작곡장치(200)는 악보 데이터를 자동 분석하여 각 마디의 리듬패턴을 추출하고 이를 리듬패턴 데이터베이스(500)에 저장할 수 있다.Referring to FIG. 5 , the rhythm pattern database 500 stores one-bar rhythm patterns 510 and 520 of melodies for each music genre. The rhythm patterns 510 and 520 mean the arrangement of notes having various lengths. The rhythm pattern database 500 may be constructed by a user or may be automatically constructed by the automatic composition apparatus 200 . For example, the automatic composition apparatus 200 may automatically analyze sheet music data to extract a rhythm pattern of each measure and store it in the rhythm pattern database 500 .

도 6은 본 발명의 실시 예에 따른 반복구조패턴 데이터베이스의 일 예를 도시한 도면이다.6 is a diagram illustrating an example of a repeating structure pattern database according to an embodiment of the present invention.

도 6을 참조하면, 반복구조패턴 데이터베이스(600)는 음악 장르별 마디의 반복 패턴(610,620,630)을 포함한다. 예를 들어, 반복구조패턴(610,620,630)은 AAAA', AAAB, AABA 등 다양하다. A,B는 서로 다른 마디를 의미하고, A' 마디는 A 마디를 일부 변형한 마디를 의미한다. Referring to FIG. 6 , the repetition structure pattern database 600 includes repetition patterns 610 , 620 , and 630 of measures for each music genre. For example, the repeating structure patterns 610 , 620 , and 630 are AAAA', AAAB, AABA, and the like. A and B refer to different nodes, and A' refers to a node that is partially modified from node A.

본 실시 예는 4마디의 배치 패턴을 도시하고 있으나, 실시 예에 따라 반복구조패턴 데이터베이스(600)는 2마디, 8마디 등 다양한 마디의 배치 패턴을 포함할 수 있다.Although this embodiment shows an arrangement pattern of 4 bars, according to an embodiment, the repeating structure pattern database 600 may include arrangement patterns of various bars, such as 2 bars and 8 bars.

반복구조패턴 데이터베이스(600)는 자동작곡장치(200)에 의해 자동으로 구축될 수 있다. 예를 들어, 자동작곡장치(200)는 악보 데이터를 분석하여 각 마디의 리듬패턴이 어떻게 배치되었는지 파악하고 파악된 반복구조패턴을 반복구조패턴 데이터베이스(600)에 저장할 수 있다.The repeating structure pattern database 600 may be automatically constructed by the automatic composition apparatus 200 . For example, the automatic composition apparatus 200 may analyze the sheet music data to determine how the rhythm patterns of each measure are arranged, and store the identified repetitive structure patterns in the repetition structure pattern database 600 .

도 7은 본 발명의 실시 예에 따른 코드와 리듬의 배치 예를 도시한 도면이다.7 is a diagram illustrating an example of arrangement of chords and rhythms according to an embodiment of the present invention.

도 7을 참조하면, 반복구조패턴이 AAAA'(610)이고, 코드패턴과 리듬패턴이 각각 코드패턴2(420)와 리듬패턴1(510)인 경우에(710), 각 마디(700)에 코드1, 코드4, 코드5, 코드1이 배치되고 또한 각 마디(700)에 동일한 리듬패턴1(510)이 배치된다. 다만 A'이 배치된 네 번째 마디는 음의 높이 일부가 A가 배치된 앞의 세 마디와 다르게 변형된다. A' 마디를 위한 음 변형 방법에 대해서는 도 8에서 다시 설명한다.Referring to FIG. 7 , in the case where the repeating structure pattern is AAAA' 610 and the chord pattern and the rhythm pattern are chord pattern 2 420 and rhythm pattern 1 510, respectively (710), in each measure (700) Chord 1, chord 4, chord 5, and chord 1 are arranged, and the same rhythm pattern 1 510 is arranged in each measure 700. However, in the fourth bar in which A' is placed, a part of the pitch is transformed differently from the previous three bars in which A is placed. A sound modification method for measure A' will be described again with reference to FIG. 8 .

반복구조패턴 AAAB(620)가 선택된 경우에(720), 서로 다른 종류의 마디가 2개이므로, 코드패턴1(410)과 서로 다른 두 개의 리듬패턴(즉, 리듬패턴1(510) 및 리듬패턴2(520))이 선택된다. 각 마디(700)에 코드패턴1(410)의 코드1, 코드2, 코드3, 코드4이 배치된다. 또한, A가 배치된 앞의 세 마디에는 리듬패턴1(510)이 배치되고, B가 배치된 네 번째 마디에는 리듬패턴2(520)가 배치된다. 즉, A와 B에 해당하는 각 마디에 서로 다른 리듬패턴이 배치된다.When the repeating structure pattern AAAB 620 is selected (720), since there are two different types of measures, the chord pattern 1 410 and two different rhythm patterns (that is, the rhythm pattern 1 510 and the rhythm pattern) 2 (520) is selected. Code 1, code 2, code 3, and code 4 of the code pattern 1 (410) are arranged in each bar (700). In addition, rhythm pattern 1 (510) is arranged in the first three measures in which A is arranged, and rhythm pattern 2 (520) is arranged in the fourth measure in which B is arranged. That is, different rhythm patterns are arranged in each measure corresponding to A and B.

드럼패턴의 경우, 반복구조패턴에 포함된 서로 다른 마디의 개수만큼 드럼패턴 데이터베이스(도 2의 338)로부터 선택된다. 예를 들어, 반복구조패턴이 AAAA'(610)이면, 하나의 드럼패턴이 선택되고, 반복구조패턴이 AAAB(620)이면, 두 개의 서로 다른 드럼패턴이 선택된다. 드럼패턴은 녹음 데이터이므로, A' 마디의 드럼패턴과 A 마디의 드럼패턴은 별도 변형 없이 서로 동일할 수 있다. In the case of the drum pattern, the number of different bars included in the repeating structure pattern is selected from the drum pattern database ( 338 in FIG. 2 ). For example, if the repeating structure pattern is AAAA' (610), one drum pattern is selected, and if the repeating structure pattern is AAAB (620), two different drum patterns are selected. Since the drum pattern is recorded data, the drum pattern of bar A' and the drum pattern of bar A may be identical to each other without additional modification.

도 8은 본 발명의 실시 예에 따른 음 높이 결정 방법의 일 예를 도시한 도면이다.8 is a diagram illustrating an example of a method for determining a sound pitch according to an embodiment of the present invention.

도 8을 참조하면, 자동작곡부(210)의 톤선택부(350)는 각 마디에 속한 리듬패턴의 음 높이를 코드톤 또는 논코드톤으로 선택한다. 예를 들어, 톤선택부(350)는 리듬패턴1에 대해, 첫 번째, 두 번째, 네 번째 음은 코드톤(810)으로 선택하고, 세 번째, 다섯 번째, 여섯 번째 음은 논코드톤(820)으로 선택한다.Referring to FIG. 8 , the tone selection unit 350 of the automatic composing unit 210 selects a pitch of a rhythm pattern belonging to each measure as a chord tone or a non-chord tone. For example, the tone selector 350 selects the first, second, and fourth tones as the chord tones 810 for rhythm pattern 1, and the third, fifth, and sixth tones as non-chord tones ( 820) is selected.

도 7의 첫 번째 예(710)의 1~3번째 마디는 모두 동일한 마디(즉, A에 해당)이므로, 톤선택부(350)는 세 마디 모두의 리듬패턴에 대해 동일한 형태로 코드톤 및 논코드톤을 선택한다. 다시 말해, 세 마디 모두, 1,2,4번째 음은 코드톤(810), 3,5,6번째 음은 논코드톤(820)으로 선택한다. Since the first to third measures of the first example 710 of FIG. 7 are all the same measures (that is, corresponding to A), the tone selector 350 performs the chord tone and non-chord tones in the same form with respect to the rhythm patterns of all three measures. Choose a code tone. In other words, in all three measures, the 1st, 2nd, and 4th notes are selected as the chord tone 810 and the 3rd, 5th, and 6th notes are selected as the non-code tone 820 .

톤선택부(350)는 음이 코드톤이면 해당 마디에 할당된 코드음을 기초로 음 높이를 선택한다. 예를 들어, 도 7의 예에서, 첫 번째 마디에 할당된 코드1이 C 코드이면, 톤선택부(350)는 1,2,4번째 음의 높이를 C코드음 '도,미,솔' 중에서 임의 선택한다. 톤선택부(350)는 첫 번째 음을 '도', 두 번째 음을 '솔', 세 번째 음을 한 옥타브 높은 '미'로 선택할 수 있다. 두 번째 마디에 할당된 코드4가 D코드이면, 톤선택부(350)는 1,2,4번째 음의 높이를 D코드음 '레,파,라' 중에서 임의 선택한다. If the tone is a chord tone, the tone selector 350 selects a pitch based on the chord tone assigned to the corresponding measure. For example, in the example of FIG. 7 , if the code 1 assigned to the first measure is the C code, the tone selector 350 sets the height of the 1st, 2nd, and 4th notes to the C chord sound 'do, mi, sol'. randomly select from The tone selector 350 may select the first tone as 'do', the second tone as 'sol', and the third tone as 'mi' one octave higher. If the code 4 assigned to the second measure is the D code, the tone selector 350 arbitrarily selects the height of the 1st, 2nd, and 4th notes from among the D chord sounds 're, par, la'.

톤선택부(3500는 음이 논코드톤이면 코드와 무관하게 음의 높이를 선택한다. 다만, 논코드톤이 코드톤 다음에 위치하는 경우에 부적합한 소리가 나오지 않도록 화성학 관점에서 적절하게 음 높이를 선택하는 것이 바람직하다. 예를 들어, 리듬패턴1(510)의 3번째 음은 코드톤 다음에 위치한 논코드톤이므로, 톤선택부(350)는 경과음, 보조음, 계류음, 전타음, 선행음, 이탈음, 지속음 중에 어느 하나를 3번째 음의 높이로 결정한다.The tone selector 3500 selects the pitch regardless of the chord if the note is a non-chord tone. However, if the non-chord tone is located after the chord tone, the tone selector 3500 adjusts the pitch appropriately from the harmonics point of view so that an inappropriate sound does not come out. For example, since the third note of the rhythm pattern 1 510 is a non-chord tone located next to the chord tone, the tone selector 350 sets the transition tone, auxiliary tone, mooring tone, pre-beating tone, and preceding tone. , a breakout sound, or a continuous sound, is determined as the third note.

도 7의 첫 번째 예(710)에서 A'에 해당하는 네 번째 마디는 A에 해당하는 마디와 일부 다르게 만들어져야 한다. 따라서 톤선택부(350)는 1~3번째 마디의 각 리듬패턴의 음 높이 선택방법과 동일한 방법(즉, 코드톤과 논코드톤을 동일 형태로 적용)으로 4번째 마디의 리듬패턴의 음 높이를 선택한 후 기 설정된 개수(예를 들어, 1 또는 2개)의 음 높이를 추가 변형한다. A' 마디를 위해 추가 변형되는 음의 위치는 임의로 선택될 수 있다.In the first example 710 of FIG. 7 , the fourth node corresponding to A' must be made partially different from the node corresponding to A. Accordingly, the tone selection unit 350 uses the same method as the method for selecting the pitch of each rhythm pattern of the first to third measures (that is, the chord tone and the non-chord tone are applied in the same form) to the pitch of the rhythm pattern of the fourth bar. After selecting , the preset number (eg, 1 or 2) of the pitch is further modified. The position of the note to be further modified for the A' measure can be chosen arbitrarily.

도 7의 두 번째 예(720)에서 B가 배치된 네 번째 마디의 리듬패턴은 앞의 세 마디의 리듬패턴과 다르다. 즉, A 마디에는 리듬패턴1(510)이 배치되고 B 마디에는 리듬패턴2(520)가 배치되어 있다. 톤선택부(350)는 A 마디와 B 마디에 대해 서로 다른 형태로 코드톤과 논코드톤을 부여한다. 예를 들어, A에 해당하는 1~3번째 마디의 리듬패턴1(510)에 대해 톤선택부(350)는 도 8과 같이 1,2,4번째 음을 코드톤으로 지정하고, 3,5,6번째 음을 논코드톤으로 지정하는 반면, B에 해당하는 4번째 마디의 리듬패턴2에 대해서는 1,3,4,5번째 음을 코드톤, 2,6번째 음을 논코드톤으로 지정할 수 있다. 즉, 반복구조패턴(620)의 서로 다른 마디(즉, A와 B)에 대해, 톤선택부(350)는 코드톤과 논코드톤의 지정 위치 또는 지정 개수를 서로 다르게 할 수 있다.In the second example 720 of FIG. 7 , the rhythm pattern of the fourth measure in which B is arranged is different from the rhythm pattern of the previous three measures. That is, the rhythm pattern 1 (510) is arranged in the A node, and the rhythm pattern 2 (520) is arranged in the B node. The tone selector 350 assigns code tones and non-code tones to bars A and B in different forms. For example, for the rhythm pattern 1 510 of the 1st to 3rd measures corresponding to A, the tone selector 350 designates the 1st, 2nd, and 4th notes as code tones as shown in FIG. 8, and 3, 5 ,The 6th note is designated as a non-chord tone, whereas for the rhythm pattern 2 of the 4th bar corresponding to B, the 1st, 3rd, 4th, and 5th notes are designated as chord tones and 2nd and 6th notes as non-chord tones. can That is, for different nodes (ie, A and B) of the repeating structure pattern 620 , the tone selector 350 may set the designated positions or the designated number of code tones and non-code tones differently from each other.

도 9는 본 발명의 실시 예에 따른 코드반주를 위한 작곡 방법의 일 예를 도시한 도면이다.9 is a diagram illustrating an example of a composition method for chord accompaniment according to an embodiment of the present invention.

도 9를 참조하면, 코드리듬패턴 데이터베이스(332)는 코드반주 위치를 나타내는 다양한 코드리듬패턴(910,920)을 포함한다. 코드리듬패턴(910,920)은 한 마디를 16등분하고 코드리듬의 연주 위치를 '1'로 표시한다. 코드의 연주 위치를 표시하는 방법은 본 실시 예에 한정되지 아니하고 다양하게 변형 가능하다. 또한, 한 마디를 몇 등분으로 나눌지도 실시 예에 다라 다양하게 변형 가능하다. 또한, 본 실시 예는, 한 마디의 코드리듬패턴을 도시하고 있으나, 실시 예에 따라 2마디, 4마디 등 코드리듬패턴의 길이를 다양하게 변형 가능하다. Referring to FIG. 9 , the chord rhythm pattern database 332 includes various chord rhythm patterns 910 and 920 indicating chord accompaniment positions. In the chord rhythm patterns 910 and 920, a measure is divided into 16 equal parts, and the playing position of the chord rhythm is indicated by '1'. The method of displaying the playing position of the chord is not limited to the present embodiment and can be variously modified. In addition, the number of divisions of a word may be variously modified according to an embodiment. In addition, although this embodiment shows a one-bar chord rhythm pattern, the length of the chord rhythm pattern, such as two bars or four bars, can be variously modified according to an embodiment.

패턴배치부(340)는 코드리듬패턴 데이터베이스(332)에서 코드리듬패턴(910,920)을 임의로 선택한다(930). 패턴배치부(340)는 선택한 코드리듬패턴을 반복구조패턴(940)에 따라 배치하고, 또한, 각 마디에 할당된 코드패턴(950)에 따라 코드음을 배치한다. 코드반주를 위한 코드리듬패턴의 배치에 대한 일 예가 도 10에 도시되어 있다.The pattern arrangement unit 340 randomly selects chord rhythm patterns 910 and 920 from the chord rhythm pattern database 332 ( 930 ). The pattern arrangement unit 340 arranges the selected chord rhythm pattern according to the repetition structure pattern 940 and also arranges the chord sound according to the chord pattern 950 assigned to each measure. An example of the arrangement of a chord rhythm pattern for chord accompaniment is shown in FIG. 10 .

패턴배치부(340)는 코드리듬패턴에 코드 보이싱(voicing)(960)을 적용할 수 있다. 코드리듬패턴 데이터베이스(332)는 코드 보이싱 패턴을 더 저장하고 있을 수 있으며, 패턴배치부(340)는 코드 보이싱 패턴을 임의 선택한 후 코드 보이싱 패턴에 따라 코드 보이싱을 적용할 수 있다. 또는, 패턴배치부(340)는 코드 보이싱을 무작위로 적용할 수 있다.The pattern arrangement unit 340 may apply chord voicing 960 to the chord rhythm pattern. The chord rhythm pattern database 332 may further store chord voicing patterns, and the pattern arrangement unit 340 may arbitrarily select a chord voicing pattern and then apply chord voicing according to the chord voicing pattern. Alternatively, the pattern arrangement unit 340 may randomly apply the code voicing.

코드리듬패턴 데이터베이스(332)의 코드리듬패턴(910,920)은 패드 반주를 위한 리듬 패턴으로 이용될 수 있다. 패드반주는 코드가 바뀌기 전까지 코드의 구성음을 동시에 길에 끌어 연주하여 은은하게 음악을 채우는 역할을 수행한다. The chord rhythm patterns 910 and 920 of the chord rhythm pattern database 332 may be used as rhythm patterns for pad accompaniment. Pad accompaniment plays the role of filling the music subtly by dragging and playing the chord components to the road at the same time until the chord is changed.

도 10은 본 발명의 실시 예에 따른 코드리듬패턴의 배치 방법의 일 예를 도시한 도면이다.10 is a diagram illustrating an example of a method of disposing a chord rhythm pattern according to an embodiment of the present invention.

도 10을 참조하면, 반복구조패턴 및 코드패턴이 도 7의 첫 번째 예(710)와 동일한 경우이다. 도 9의 코드리듬패턴 데이터베이스(332)에서 코드리듬패턴1(910)이 선택되면, 패턴배치부(340)는 코드리듬패턴1(910)을 4마디에 모두 배치한다. Referring to FIG. 10 , the repeating structure pattern and the code pattern are the same as those of the first example 710 of FIG. 7 . When the chord rhythm pattern 1 910 is selected from the chord rhythm pattern database 332 of FIG. 9 , the pattern arrangement unit 340 arranges the chord rhythm pattern 1 910 on all four bars.

4번째 마디는 A를 일부 변형한 마디 A'이므로, 패턴배치부(340)는 코드리듬패턴1(910)의 일부를 변경한다. 예를 들어, 패턴배치부(340)는 코드리듬패턴1(910)의 일부에 대한 연주 위치 변경(1020), 연주 위치 삭제(1022), 또는 연주 위치 추가 등을 수행한다. A'마디를 위해 코드리듬패턴1(910)을 변경되는 위치 및 개수는 미리 정의되어 있으나 임의로 선택될 수 있다.Since the fourth node is a node A' that is partially modified from A, the pattern arrangement unit 340 changes a part of the chord rhythm pattern 1 910 . For example, the pattern arrangement unit 340 performs a play position change (1020), a play position deletion (1022), or a play position addition for a part of the chord rhythm pattern 1 (910). The position and number of changing the chord rhythm pattern 1 (910) for the A' node is predefined, but may be arbitrarily selected.

톤선택부(350)는 첫 번째 마디에 코드1의 코드음을 코드리듬패턴에 맞추어 배치하고, 두 번째 마디에 코드4의 코드음을 코드리듬패턴에 맞추어 배치한다. 이와 같은 방법으로 전체 마디에 코드반주를 위한 코드음을 배치한다. The tone selector 350 arranges the chord sound of chord 1 in the first bar according to the chord rhythm pattern, and arranges the chord sound of chord 4 in the second bar according to the chord rhythm pattern. In this way, the chord notes for chord accompaniment are arranged in all measures.

도 11은 본 발명의 실시 예에 따른 아르페지오 리듬패턴과 베이스 리듬패턴의 일 예를 도시한 도면이다.11 is a diagram illustrating an example of an arpeggio rhythm pattern and a base rhythm pattern according to an embodiment of the present invention.

도 11을 참조하면, 아르페지오 리듬패턴 데이터베이스(336)와 베이스 리듬패턴 데이터베이스(334)는 각 연주 위치를 나타내는 패턴(1102,1112)을 포함한다. 아르페지오 리듬패턴(1102)은 연주 위치를 '1'로 나타내고, 베이스 리듬패턴(1112)은 연주 위치를 '1' 이상의 정수로 나타낸다. 아르페지오 리듬패턴(1102)과 베이스 리듬패턴(1112)은 한 마디를 8등분하고 연주위치를 나타내고 있으나 실시 예에 따라 한 마디를 몇 등분할지 다양하게 변형 가능하다. Referring to FIG. 11 , the arpeggio rhythm pattern database 336 and the bass rhythm pattern database 334 include patterns 1102 and 1112 indicating respective performance positions. In the arpeggio rhythm pattern 1102, the playing position is indicated by '1', and in the bass rhythm pattern 1112, the playing position is indicated by an integer greater than or equal to '1'. Although the arpeggio rhythm pattern 1102 and the bass rhythm pattern 1112 divide a measure into eight equal parts and indicate a performance position, it is possible to variously modify how many equal parts a measure is divided according to an embodiment.

베이스 패턴(1112)에서 숫자 크기는 음의 상대적 높이를 나타낸다. 예를 들어, '1'은 코드의 시작음을 나타내고, '5'는 코드의 시작음으로부터 상대적으로 5도 높은 음을 나타낸다. In the base pattern 1112, the number size indicates the relative height of the sound. For example, '1' indicates the start note of the chord, and '5' indicates a relatively higher 5th note from the beginning of the chord.

아르페지오 리듬패턴(1102)과 베이스 리듬패턴(1112)은 도 9 및 도 10에서 살핀 코드리듬패턴과 동일한 방법으로 각 마디에 배치될 수 있다. 예를 들어, 도 10과 같이 반복구조패턴이 AAAA'(610)이면, 아르페지오 리듬패턴(1102)과 베이스 리듬패턴(1112)을 4마디에 동일하게 배치하되, A'마디에 속한 아르페지오 리듬패턴과 베이스 리듬패턴은 그 일부를 변형한다. 예를 들어, A'마디에 속한 아르페지오 리듬패턴(1102)과 베이스 리듬패턴(1112)의 일부의 연주위치의 변경, 추가, 삭제를 통해 변형할 수 있다.The arpeggio rhythm pattern 1102 and the base rhythm pattern 1112 may be arranged in each bar in the same manner as the salpin chord rhythm pattern in FIGS. 9 and 10 . For example, if the repeating structure pattern is AAAA' 610 as shown in FIG. 10, the arpeggio rhythm pattern 1102 and the base rhythm pattern 1112 are equally arranged on 4 bars, but the arpeggio rhythm pattern belonging to the A' bar and the The bass rhythm pattern transforms some of it. For example, a part of the arpeggio rhythm pattern 1102 and the bass rhythm pattern 1112 belonging to bar A' may be modified by changing, adding, or deleting the playing positions.

톤선택부(350)는 아르페지오 리듬패턴(1102)에서 연주되는 위치의 음을 주로 코드톤으로 배치한다. 일부 음은 코드톤과 반음관계로 부딪히지 않는 조성 내의 논코드톤인 경과음으로 배치한다. 논코드톤으로 배치되는 음의 위치 및 개수는 미리 정의되거나 임의로 선택될 수 있다.The tone selector 350 arranges the notes played in the arpeggio rhythm pattern 1102 mainly as chord tones. Some notes are arranged as transitions, which are non-chord tones within a tonality that do not collide in a semitone relationship with the chord tone. The position and number of sounds arranged as non-code tones may be predefined or arbitrarily selected.

도 12는 본 발명의 실시 예에 따른 자동작곡방법의 일 예를 도시한 흐름도이다.12 is a flowchart illustrating an example of an automatic composition method according to an embodiment of the present invention.

도 12를 참조하면, 자동작곡장치(200)는 복수 개의 반복구조패턴 중 어느 하나를 무작위 선택한다(S1200). 자동작곡장치(200)는 코드패턴을 무작위 선택하고 또한 선택된 반복구조패턴에 필요한 서로 다른 마디의 개수만큼 리듬패턴을 무작위 선택한다(S1210). Referring to FIG. 12 , the automatic composition apparatus 200 randomly selects any one of a plurality of repeating structure patterns ( S1200 ). The automatic composition apparatus 200 randomly selects a chord pattern and also randomly selects a rhythm pattern as many as the number of different measures required for the selected repetition structure pattern (S1210).

자동작곡장치(200)는 선택한 코드패턴 및 리듬패턴을 반복구조패턴에 따라 복수의 마디에 배치한다(S1220). 그리고 자동작곡장치(200)는 각 마디의 리듬패턴의 음 높이를 코드톤 또는 논코드톤으로 선택한다(S1230). The automatic composition apparatus 200 arranges the selected chord pattern and rhythm pattern in a plurality of measures according to the repetition structure pattern (S1220). And the automatic composition apparatus 200 selects the pitch of the rhythm pattern of each measure as a chord tone or a non-chord tone (S1230).

이와 같은 방법으로 작곡 템플릿의 멜로디 부분의 작곡이 완료되면, 자동작곡장치는 실시 예에 따라 반주부분 등을 위한 작곡을 추가적으로 수행할 수 있다. 반주부분 등의 작곡 방법은 도 9 내지 도 11에서 살펴본 바와 같다.In this way, when the composition of the melody part of the composition template is completed, the automatic composition apparatus may additionally perform composition for the accompaniment part or the like according to an embodiment. The method of composing the accompaniment part and the like is the same as described with reference to FIGS. 9 to 11 .

작곡 템플릿(100)의 각 요소(110,120,130,140)에 대한 작곡이 완료되면, 자동작곡장치(200)는 악기 샘플음을 이용하여 자동 작곡된 각 음의 길이 및 높이에 맞도록 악기음을 생성하고 배치한다(S1240). 악기음의 생성에 대해서는 도 13 및 도 14에서 다시 살펴본다.When the composition for each element 110 , 120 , 130 , and 140 of the composition template 100 is completed, the automatic composer 200 generates and arranges the musical instrument sound to match the length and height of each automatically composed note using the instrument sample sound. (S1240). The generation of musical instrument sounds will be described again with reference to FIGS. 13 and 14 .

도 13은 본 발명의 실시 예에 따른 악기음생성부의 상세 구성의 일 예를 도시한 도면이다.13 is a diagram illustrating an example of a detailed configuration of a musical instrument sound generator according to an embodiment of the present invention.

도 13을 참조하면, 악기음생성부(230)는 샘플음데이터베이스(13000, 악보해석부(1310), 음변형부(1320), 출력부(1330)를 포함한다.Referring to FIG. 13 , the musical instrument sound generation unit 230 includes a sample tone database 13000 , a music score analysis unit 1310 , a sound transformation unit 1320 , and an output unit 1330 .

샘플음데이터베이스(1300)는 적어도 하나 이상 악기의 적어도 하나 이상의 음을 녹음한 샘픔음을 포함한다. 예를 들어, 샘플음데이터베이스(1300)는 피아노, 베이스기타 등 다양한 악기의 한 음(예를 들어, '도')을 녹음한 샘플음을 저장할 수 있다. The sample sound database 1300 includes sample sounds in which at least one or more sounds of at least one or more musical instruments are recorded. For example, the sample sound database 1300 may store a sample sound obtained by recording one note (eg, 'do') of various musical instruments, such as a piano and a bass guitar.

악보해석부(1310)는 자동작곡부(210)에 의해 작곡된 음의 길이 및 높이를 파악한다. 또한, 악보해석부(1310)는 멜로디, 코드반주 등에 사용할 악기 등을 선택할 수 있다. 악보해석부(1310)는 멜로디, 코드반주 등에 사용할 기본 악기의 설정정보를 포함하고 있을 수 있으며, 사용자로부터 멜로디나 코드반주 등에 사용할 악기를 선택 받을 수도 있다.The music score analysis unit 1310 detects the length and height of the notes composed by the automatic composing unit 210 . Also, the music score analysis unit 1310 may select a musical instrument to be used for melody, chord accompaniment, and the like. The music score analysis unit 1310 may include setting information of a basic instrument to be used for melody and chord accompaniment, and may receive a selection of an instrument to be used for melody or chord accompaniment from the user.

음변형부(1320)는 작곡된 음을 연주하기 위하여 각 음의 길이 및 높이에 맞도록 악기 샘플음의 길이 및 높이를 변형한 악기음을 생성한다. 샘플음데이터베이스(1300)는 악기 소리를 일정한 샘플레이트(sample rate)로 추출하여 시간순의 디지털 값으로 변환한 값을 샘플음으로 저장할 수 있다. 샘픔음을 추출할 때의 샘플레이트(이하, 기준 샘플레이트)로 샘플음을 재생하면, 녹음할 때의 원래 음이 출력된다. 기준 샘플레이트보다 더 높은 샘플레이트로 샘플음을 재생하면, 샘플음의 주파수가 높아져 음 높이가 높아지는 반면 길이는 줄어든다. 반대로 기준 샘플레이트보다 더 낮은 샘플레이트로 샘플음을 재생하면 주파수가 낮아져 음 높이가 낮아지는 반면 길이는 늘어난다. 따라서 음변형부(1320)는 샘플레이트를 조정하여 각 음의 높이에 맞는 악기음을 생성할 수 있다. The sound modifying unit 1320 generates musical instrument sounds by changing the length and height of the instrument sample sound to match the length and height of each note in order to play the composed sound. The sample sound database 1300 may extract a sound of an instrument at a constant sample rate and store a value converted into a digital value in chronological order as a sample sound. If the sample sound is reproduced at the sample rate at which the sample sound is extracted (hereinafter, referred to as the reference sample rate), the original sound at the time of recording is output. If the sampled sound is reproduced at a higher sample rate than the reference sample rate, the frequency of the sampled sound is increased to increase the pitch while decreasing the length. Conversely, if a sample sound is reproduced at a sample rate lower than the reference sample rate, the frequency is lowered, resulting in a lower pitch while increasing the length. Accordingly, the sound modifying unit 1320 may adjust the sample rate to generate musical instrument sounds suitable for the height of each note.

샘플레이트의 변경에 따라 샘플음의 길이도 함께 변화하므로, 음변형부(1320)는 샘플레이트를 변형하여 생성한 악기음의 길이를 변형한다. 예를 들어, 샘플레이트를 낮추어 악기음을 생성한 경우에 악기음의 길이가 원 샘플음의 길이보다 길어지므로, 음변형부(1320)는 음 길이에 맞도록 악기음의 일부를 잘라 낸다. 반대로, 샘플레이트를 높여 악기음을 생성한 경우에, 악기음의 길이가 원 샘플음의 길이보다 짧아지므로, 음변형부(1320)는 줄어든 악기음의 일부를 반복하여 음 길이에 맞도록 길이를 늘인다. 악기음의 길이를 조절하는 방법의 일 예가 도 14에 도시되어 있다.Since the length of the sample sound also changes according to the change of the sample rate, the sound modifying unit 1320 transforms the length of the instrument sound generated by changing the sample rate. For example, when an instrument sound is generated by lowering the sample rate, since the length of the instrument sound is longer than the length of the original sample sound, the sound modifying unit 1320 cuts a part of the instrument sound to match the length of the sound. Conversely, when an instrument sound is generated by increasing the sample rate, since the length of the instrument sound is shorter than the length of the original sample sound, the sound modifying unit 1320 repeats a part of the reduced instrument sound to adjust the length to match the length of the note. stretch An example of a method of adjusting the length of a musical instrument is shown in FIG. 14 .

출력부(1330)는 작곡된 음을 위해 생성된 각 악기음을 배치하고 이를 순서대로 재생하여 출력한다. 예를 들어, 출력부(1330)는 작곡 템플릿의 멜로디, 코드반주 등의 각 음을 위한 악기음이 생성되면 이를 각 음의 순서에 맞추어 재생한다. The output unit 1330 arranges each musical instrument sound generated for the composed sound, reproduces them in order, and outputs them. For example, when a musical instrument sound for each note, such as a melody or chord accompaniment of the composition template, is generated, the output unit 1330 reproduces it according to the order of each note.

도 14는 본 발명의 실시 예에 따른 악기음의 길이를 조절하는 방법의 일 예를 도시한 도면이다.14 is a diagram illustrating an example of a method of adjusting the length of a musical instrument according to an embodiment of the present invention.

도 14를 참조하면, 모든 악기음은 어택(attach)(A), 디케이(decay)(B), 서스테인(sustain)(C), 릴리즈(D)의 네 부분으로 구성된다(1400). 샘플레이트의 증감과 악기음의 길이는 비례 관계가 존재한다. 따라서 샘플레이트의 증감율에 따른 길이의 증감율을 알 수 있다.Referring to FIG. 14 , all musical instruments are composed of four parts: an attack (A), a decay (B), a sustain (C), and a release (D) ( 1400 ). There is a proportional relationship between the increase and decrease of the sample rate and the length of the instrument sound. Accordingly, it is possible to know the increase/decrease rate of the length according to the increase/decrease rate of the sample rate.

샘플레이트의 증가로 악기음의 길이가 줄어드는 경우에, 악기음생성부는 샘플레이트 증가로 줄어드는 길이를 고려하여 음 길이에 맞도록 미리 서스테인(C) 부분을 복사하여 늘려준다(1410). 즉, 악기음생성부(230)는 샘플레이트 증가로 줄어든 길이가 원하는 음 길이가 될 수 있도록 샘플레이트 증간 전에 미리 서스테인 부분(C)을 미리 늘려준다(l1->l2). 반대로 샘플레이트를 감소하는 경우, 악기음생성부(230)는 샘플레이트 감소 후 늘어난 서스테인 부분(C)을 잘라내어 원하는 음 길이로 만든다. When the length of an instrumental sound is reduced due to an increase in the sample rate, the musical instrument sound generator copies and extends the sustain portion (C) in advance to match the length of the note in consideration of the length reduced due to the increase in the sample rate ( 1410 ). That is, the musical instrument sound generator 230 pre-extends the sustain portion C before the increase in the sample rate so that the length reduced due to the increase in the sample rate becomes the desired note length (l 1 -> l 2 ). Conversely, when the sample rate is reduced, the musical instrument sound generator 230 cuts off the extended sustain portion C after the sample rate is reduced to make the desired note length.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be implemented as computer-readable codes on a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data readable by a computer system is stored. Examples of the computer-readable recording medium include ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device. In addition, the computer-readable recording medium is distributed in a network-connected computer system so that the computer-readable code can be stored and executed in a distributed manner.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, with respect to the present invention, the preferred embodiments have been looked at. Those of ordinary skill in the art to which the present invention pertains will understand that the present invention can be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments are to be considered in an illustrative rather than a restrictive sense. The scope of the present invention is indicated in the claims rather than the foregoing description, and all differences within the scope equivalent thereto should be construed as being included in the present invention.

Claims (9)

코드패턴을 포함하는 코드패턴 데이터베이스;
리듬패턴을 포함하는 리듬패턴 데이터베이스;
복수의 드럼패턴에 대한 드럼 악기소리를 녹음한 데이터를 포함하는 드럼패턴데이터베이스;
반복구조패턴을 임의 선택하고, 적어도 하나 이상의 코드패턴과 리듬패턴을 상기 코드패턴 데이터베이스 및 리듬패턴 데이터베이스에서 임의 선택하고, 선택한 코드패턴과 리듬패턴을 상기 반복구조패턴에 따라 복수의 마디에 배치하는 패턴배치부;
각 마디의 리듬패턴의 일부는 해당 마디에 부여된 코드를 기초로 음 높이를 가지는 코드톤으로 선택하고, 나머지는 코드와 무관한 음 높이를 가지는 논코드톤으로 선택하는 톤선택부;
적어도 하나 이상의 악기의 적어도 한 음이 녹음된 샘플음을 작곡된 음의 길이 또는 높이에 따라 변형하여 악기음을 생성하고 배치하고, 배치된 악기음을 순서대로 재생하여 출력하는 악기음생성부; 및
사용자인터페이스를 통해 재생 중인 음악에 대한 선호도를 입력받으면 재생 중인 음악의 작곡에 사용된 코드패턴 또는 리듬패턴을 선호도 정보와 함께 맵핑하여 저장하는 피드백부;를 포함하고,
상기 패턴배치부는 상기 반복구조패턴에 포함된 서로 다른 마디의 개수만큼 상기 리듬패턴 데이터베이스에서 상기 선호도를 기초로 리듬패턴을 선택하고,
상기 패턴배치부는 상기 반복구조패턴에 포함된 서로 다른 마디의 개수만큼 상기 드럼패턴 데이터베이스에서 드럼패턴을 선택하되, 상기 반복구조패턴에서 마디와 마디의 일부를 변형한 마디에 대해서는 하나의 드럼패턴을 선택하고,
상기 악기음생성부는 샘플레이트 변경을 기초로 상기 샘플음의 음 높이를 변경하되, 상기 샘플레이트 증가로 줄어드는 음 길이를 고려하여 샘플레이트 변경 전에 상기 샘플음의 서스테인 구간을 복사하여 상기 샘플음의 길이를 늘이고,
상기 악기음생성부는 드럼의 경우 상기 드럼패턴데이터베이스에서 선택한 드럼패턴의 녹음 데이터를 곡에 배치하는 것을 특징으로 하는 자동작곡장치.
a code pattern database including code patterns;
a rhythm pattern database including rhythm patterns;
a drum pattern database including data recorded with drum instrument sounds for a plurality of drum patterns;
A pattern in which a repeating structure pattern is randomly selected, at least one or more chord patterns and rhythm patterns are arbitrarily selected from the chord pattern database and the rhythm pattern database, and the selected chord pattern and rhythm pattern are arranged in a plurality of measures according to the repeating structure pattern placement unit;
a tone selector that selects a part of the rhythm pattern of each bar as a chord tone having a pitch based on the chord assigned to the corresponding bar, and selects the rest as a non-chord tone having a pitch irrelevant to the chord;
an instrument sound generator for generating and arranging instrument sounds by transforming sample sounds in which at least one note of at least one or more musical instruments are recorded according to the length or height of the composed notes, and sequentially reproducing and outputting the arranged instrument sounds; and
and a feedback unit for mapping and storing a chord pattern or rhythm pattern used for composing the playing music together with the preference information when a preference for the music being reproduced is input through the user interface;
The pattern arrangement unit selects a rhythm pattern based on the preference from the rhythm pattern database by the number of different measures included in the repeating structure pattern,
The pattern arrangement unit selects a drum pattern from the drum pattern database as many as the number of different bars included in the repeating structure pattern, and selects a single drum pattern for a bar in the repeating structured pattern and a bar in which a part of the bar is modified. and,
The musical instrument sound generator changes the pitch of the sampled sound based on the change in the sample rate, and copies the sustain section of the sampled sound before changing the sample rate in consideration of the length of the note that is reduced due to the increase in the sample rate, so that the length of the sampled sound increase,
and the musical instrument sound generator arranges, in the case of a drum, the recorded data of the drum pattern selected from the drum pattern database in the song.
제 1항에 있어서,
상기 반복구조패턴은 동일 마디의 반복 배치, 일부 변형 마디의 배치 또는 서로 다른 마디의 배치를 포함하고,
상기 패턴배치부는, 상기 반복구조패턴에 정의된 서로 다른 마디의 개수만큼 상기 리듬패턴 데이터베이스에서 서로 다른 개수의 리듬패턴을 선택하고,
상기 톤선택부는, 상기 일부 변형 마디에 속한 리듬패턴에 대해 일부 음의 높이를 추가 변형하는 것을 특징으로 하는 자동작곡장치.
The method of claim 1,
The repeating structure pattern includes repeated arrangement of the same node, arrangement of some modified nodes, or arrangement of different nodes,
The pattern arrangement unit selects a different number of rhythm patterns from the rhythm pattern database by the number of different measures defined in the repeating structure pattern,
and the tone selection unit additionally modifies the height of a part of the tone with respect to the rhythm pattern belonging to the part of the modified measure.
제 1항에 있어서, 상기 톤선택부는,
상기 코드톤과 상기 논코드톤이 연속하여 위치하는 경우에, 경과음, 보조음, 계류음, 전타음, 선행음, 이탈음, 지속음 중 어느 하나를 상기 논코드톤에 적용하는 것을 특징으로 하는 자동작곡장치.
The method of claim 1, wherein the tone selector,
Automatic composition, characterized in that when the chord tone and the non-chord tone are consecutively located, any one of a transitional sound, an auxiliary sound, a mooring sound, a pre-beating sound, a preceding sound, a breakout sound, and a continuous sound is applied to the non-code tone Device.
제 1항에 있어서,
연주 위치를 나타내는 코드리듬패턴, 베이스리듬패턴 또는 아르페지오리듬패턴을 저장하는 데이터베이스;를 더 포함하고,
상기 패턴배치부는 상기 반복구조패턴에 따라 코드리듬패턴, 베이스패턴 또는 아프레지오패턴을 반복 배치, 일부 변형 배치 또는 서로 다르게 배치하는 것을 특징으로 하는 자동작곡장치.
The method of claim 1,
A database for storing a chord rhythm pattern, a bass rhythm pattern, or an arpeggiation rhythm pattern indicating a performance position; further comprising,
The automatic composition apparatus, characterized in that the pattern arrangement unit repeatedly arranges the chord rhythm pattern, the base pattern, or the apregio pattern according to the repeating structure pattern, arranges some modifications, or arranges differently from each other.
삭제delete 삭제delete 반복구조패턴을 선택하는 단계;
코드패턴과 리듬패턴을 포함하는 데이터베이스로부터 적어도 하나 이상의 코드패턴과 리듬패턴을 임의 선택하고, 선택한 코드패턴과 리듬패턴을 상기 반복구조패턴에 따라 복수의 마디에 배치하는 단계;
각 마디의 리듬패턴의 일부는 해당 마디에 부여된 코드에 따라 음 높이를 선택하고, 나머지는 코드와 무관한 음 높이를 선택하는 단계;
적어도 하나 이상의 악기의 적어도 한 음이 녹음된 샘플음을 작곡된 음의 길이 또는 높이에 따라 변형하여 악기음을 생성하고 배치하고, 배치된 악기음을 순서대로 재생하여 출력하는 단계; 및
사용자인터페이스를 통해 재생 중인 음악에 대한 선호도를 입력받으면 재생 중인 음악의 작곡에 사용된 코드패턴 또는 리듬패턴을 선호도 정보와 함께 맵핑하여 저장하는 단계;를 포함하고,
상기 배치하는 단계는, 상기 반복구조패턴에 포함된 서로 다른 마디의 개수만큼 상기 리듬패턴 데이터베이스에서 상기 선호도를 기초로 리듬패턴을 선택하고, 상기 반복구조패턴에 포함된 서로 다른 마디의 개수만큼 드럼패턴데이터베이스에서 드럼패턴을 선택하되, 상기 반복구조패턴에서 마디와 마디의 일부를 변형한 마디에 대해서는 하나의 드럼패텀을 선택하고,
상기 출력하는 단계는, 샘플레이트 변경을 기초로 상기 샘플음의 음 높이를 변경하되, 상기 샘플레이트 증가로 줄어드는 음 길이를 고려하여 샘플레이트 변경 전에 상기 샘플음의 일정 구간을 복사하여 상기 샘플음의 길이를 늘이고, 드럼의 경우 상기 드럼패턴 데이터베이스에서 선택한 드럼패턴의 녹음 데이터를 곡에 배치하는 것을 특징으로 하는 자동작곡방법.
selecting a repeating structure pattern;
randomly selecting at least one or more chord patterns and rhythm patterns from a database including chord patterns and rhythm patterns, and arranging the selected chord patterns and rhythm patterns in a plurality of measures according to the repeating structure pattern;
selecting a pitch of a part of the rhythm pattern of each bar according to a chord assigned to the corresponding bar, and selecting a pitch that is not related to the chord for the rest;
generating and arranging an instrumental sound by transforming a sample sound in which at least one sound of at least one instrument is recorded according to the length or height of the composed sound, and sequentially reproducing and outputting the arranged instrument sound; and
When a preference for the music being reproduced is input through the user interface, mapping and storing the chord pattern or rhythm pattern used for composing the music being reproduced together with the preference information;
The disposing includes selecting a rhythm pattern based on the preference from the rhythm pattern database by the number of different measures included in the repeating structure pattern, and selecting a drum pattern equal to the number of different measures included in the repeating structure pattern. A drum pattern is selected from the database, but one drum pattern is selected for a bar in the repeating structure pattern and a bar in which a part of the bar is transformed,
The outputting step may include changing the pitch of the sampled sound based on the sample rate change, and copying a certain section of the sampled sound before changing the sample rate in consideration of the note length that is reduced due to the increase in the sample rate, so that the sample sound is reproduced. An automatic composition method, characterized in that the length is increased, and in the case of drums, the recorded data of the drum pattern selected from the drum pattern database is arranged in the song.
삭제delete 제 7항에 기재된 방법을 수행하기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체. A computer-readable recording medium in which a program for performing the method according to claim 7 is recorded.
KR1020180129339A 2018-10-26 2018-10-26 Apparatus and method for automatically composing music KR102269591B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180129339A KR102269591B1 (en) 2018-10-26 2018-10-26 Apparatus and method for automatically composing music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180129339A KR102269591B1 (en) 2018-10-26 2018-10-26 Apparatus and method for automatically composing music

Publications (2)

Publication Number Publication Date
KR20200047198A KR20200047198A (en) 2020-05-07
KR102269591B1 true KR102269591B1 (en) 2021-06-24

Family

ID=70733823

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180129339A KR102269591B1 (en) 2018-10-26 2018-10-26 Apparatus and method for automatically composing music

Country Status (1)

Country Link
KR (1) KR102269591B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102390950B1 (en) * 2020-06-09 2022-04-27 주식회사 크리에이티브마인드 Method for generating user engagement music and apparatus therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2689257B2 (en) * 1988-05-25 1997-12-10 カシオ計算機株式会社 Automatic composer
KR100368046B1 (en) * 1995-01-18 2003-03-15 아이브이엘 테크놀로지즈 엘티디. Method and apparatus for changing the tone and / or pitch of an audio signal
WO2018002650A1 (en) * 2016-06-30 2018-01-04 Lifescore Limited Apparatus and methods for cellular compositions

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161267A (en) * 1997-11-26 1999-06-18 Yamaha Corp Automatic music composing device, and recording medium
KR20160121879A (en) * 2015-04-13 2016-10-21 성균관대학교산학협력단 Automatic melody composition method and automatic melody composition system
KR101854706B1 (en) 2017-01-20 2018-05-08 한성대학교 산학협력단 Method and recording medium for automatic composition using artificial neural network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2689257B2 (en) * 1988-05-25 1997-12-10 カシオ計算機株式会社 Automatic composer
KR100368046B1 (en) * 1995-01-18 2003-03-15 아이브이엘 테크놀로지즈 엘티디. Method and apparatus for changing the tone and / or pitch of an audio signal
WO2018002650A1 (en) * 2016-06-30 2018-01-04 Lifescore Limited Apparatus and methods for cellular compositions

Also Published As

Publication number Publication date
KR20200047198A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
KR100658869B1 (en) Music generating device and operating method thereof
JP3365354B2 (en) Audio signal or tone signal processing device
US6528715B1 (en) Music search by interactive graphical specification with audio feedback
JP3541706B2 (en) Automatic composer and storage medium
US7094962B2 (en) Score data display/editing apparatus and program
JP6565530B2 (en) Automatic accompaniment data generation device and program
US9536508B2 (en) Accompaniment data generating apparatus
JP2000514571A (en) Automatic improvisation system and method
CN1750116A (en) Automatic rendition style determining apparatus and method
JP3637775B2 (en) Melody generator and recording medium
JP3698057B2 (en) Automatic arrangement apparatus and method
JP6175812B2 (en) Musical sound information processing apparatus and program
KR102269591B1 (en) Apparatus and method for automatically composing music
JP2011118218A (en) Automatic arrangement system and automatic arrangement method
JP3239897B1 (en) Songwriting device and program
JP6596843B2 (en) Music generation apparatus and music generation method
KR102240872B1 (en) Method for composing music based on surrounding environment and apparatus therefor
JP7419830B2 (en) Accompaniment sound generation device, electronic musical instrument, accompaniment sound generation method, and accompaniment sound generation program
CN114005424A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113870817A (en) Automatic song editing method, automatic song editing device and computer program product
KR20200048717A (en) Method and apparatus for composing bridge music that connect two music
JP2019179277A (en) Automatic accompaniment data generation method and device
JP4978177B2 (en) Performance device, performance realization method and program
KR100762079B1 (en) Automatic musical composition method and system thereof
JP2004171019A (en) Automatic composing device and memory medium

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right