KR100264389B1 - Computer music cycle with key change function - Google Patents

Computer music cycle with key change function Download PDF

Info

Publication number
KR100264389B1
KR100264389B1 KR1019980015746A KR19980015746A KR100264389B1 KR 100264389 B1 KR100264389 B1 KR 100264389B1 KR 1019980015746 A KR1019980015746 A KR 1019980015746A KR 19980015746 A KR19980015746 A KR 19980015746A KR 100264389 B1 KR100264389 B1 KR 100264389B1
Authority
KR
South Korea
Prior art keywords
data
tempo
key
conversion
unit
Prior art date
Application number
KR1019980015746A
Other languages
Korean (ko)
Other versions
KR19990081689A (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 KR1019980015746A priority Critical patent/KR100264389B1/en
Publication of KR19990081689A publication Critical patent/KR19990081689A/en
Application granted granted Critical
Publication of KR100264389B1 publication Critical patent/KR100264389B1/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
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • 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/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
    • G10H1/06Circuits for establishing the harmonic content of tones, or other arrangements for changing the tone colour
    • G10H1/08Circuits for establishing the harmonic content of tones, or other arrangements for changing the tone colour by combining tones
    • G10H1/10Circuits for establishing the harmonic content of tones, or other arrangements for changing the tone colour by combining tones for obtaining chorus, celeste or ensemble effects
    • 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
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/011Files or data streams containing coded musical information, e.g. for transmission
    • G10H2240/046File format, i.e. specific or non-standard musical file format used in or adapted for electrophonic musical instruments, e.g. in wavetables
    • G10H2240/061MP3, i.e. MPEG-1 or MPEG-2 Audio Layer III, lossy audio compression

Abstract

PURPOSE: A computer music accompaniment device is provided to convert a tempo and a key of MIDI(Musical Instrument Digital Interface) music at the same time in response to a key convert command while playing the MIDI music. CONSTITUTION: A pre-encoding unit(100) stores data and parameter about key and tempo for a tempo converting decoding unit(108) and a key convert decoding unit(110) to decoding data in real time. The tempo converting deciding unit included in an MPEG(Moving Picture Expert Group) decoder(106) receives a tempo convert encoder data from a data store unit(102) for reproducing a waveform of a converted tempo. The key convert decoding unit in the MPEG decoder receives tempo converted data from the tempo convert decoding unit for reproducing in real time by synthesizing with a key convert signal.

Description

키변환 기능을 갖는 컴퓨터 음악반주기Computer music cycle with key change function

본 발명은 컴퓨터 음악반주기에 관한 것으로서, 특히 보이스 코러스 데이터에 대한 키변환 기능을 구현할 수 있는 컴퓨터 음악반주기에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer music cycle, and more particularly, to a computer music cycle that can implement a key conversion function for voice chorus data.

제1도는 종래 기술에 따른 컴퓨터 음악반주기의 구성을 도시한 블럭도로서, 보이스 코러스(Voice Chrous)를 출력부 24에 출력을 하기 위해서는 시스템 제어부 14에서 컨트롤러(Controller) 12에 컨트롤 데이터(Control Data)를 출력하고, 상기 컨트롤러 12는 데이터 저장부 10에 데이터 출력 요청 명령을 출력한다. 상기 데이터 저장부 10은 오디오 엠팩 디코더(Audio MPEG Encoded Data)를 엠팩 디코더(이하“MPEG 디코더”라 칭함) 18에 내 보낸다. 상기 MPEG디코더 18은 오디오 엠팩 디코더 데이터를 디코딩(Decoding)하여 내부에 있는 버퍼(Buffer)에 저장한다. 시스템 제어부 14는 미디 제어신호를 미디(MIDI) 제어부 16으로 출력하고, 미디 제어신호와 동기가 맞도록 컨트롤러 12에 명령(Command)을 출력한다. 상기 컨트롤러 12는 시스템 제어부 14로부터 받은 명령에 따라 동기제어(SYNC Control) 신호를 MPEG 디코더 18에 출력한다. 이때, 상기 MPEG디코더 18은 컨트롤러 12로부터 동기 제어신호를 받으면 버퍼 내에 있는 오디오 엠팩 디코더 데이터를 키 변환부 20에 출력한다. 그리고 상기 키 변환부 20은 컨트롤러 12로부터 키변환 명령을 받은 경우에만 키 변환처리를 하고 그렇지 않은 경우는 바이패스(Bypass)시킨다. 또한 상기 키 변환부 20은 PCM 데이터를 출력하며, D/A(Digital to Analog) 변환부 22는 상기 PCM 데이터를 아날로그(Analog) 신호로 변환시켜 출력부 24로 출력한다.FIG. 1 is a block diagram showing the configuration of a computer music cycle according to the prior art. In order to output a voice chorus to an output unit 24, a control data is transmitted from a system controller 14 to a controller 12. The controller 12 outputs a data output request command to the data storage unit 10. The data storage unit 10 exports the audio MPEG encoded data to the MPEG decoder 18 (hereinafter referred to as "MPEG decoder"). The MPEG decoder 18 decodes the audio MPEG decoder data and stores it in a buffer therein. The system control unit 14 outputs the MIDI control signal to the MIDI control unit 16 and outputs a command to the controller 12 in synchronization with the MIDI control signal. The controller 12 outputs a SYNC control signal to the MPEG decoder 18 according to a command received from the system controller 14. At this time, the MPEG decoder 18 outputs the audio MPEG decoder data in the buffer to the key converting unit 20 when receiving the synchronous control signal from the controller 12. The key converting unit 20 performs the key converting process only when the key converting command is received from the controller 12, and bypasses the key converting process. The key converting unit 20 outputs PCM data, and the D / A converting unit 22 converts the PCM data into an analog signal and outputs the analog signal to the output unit 24.

하지만, 상기와 같이 구성된 종래의 컴퓨터 음악반주기는 MPEG디코더가 템포 변환부 및 키 변환부를 내장하고 있지 않기 때문에 많은 문제점들을 야기시키고 있다. 즉, 상기 MPEG디코더가 템포 변환부를 내장하고 있지 않음으로 인해 보이스 코러스가 템포 가변이 요구되는 시점에 템포 가변이 되지 않고 뮤트(MUTE) 현상을 유발시켰다. 그리고 상기 키 변환부를 MPEG디코더의 외부에 별도로 설치함으로써 하드웨어가 복잡해질 뿐만 아니라 원가가 상승되며, 또한 신호간의 상관관계(Cross Correlation)를 고려하지 않고 신호처리를 하기 때문에 키 변환이 일어난 경우 음질손실(잡음)이 많아지는 문제점을 유발시켰다.However, the conventional computer music musical cycle constructed as described above causes many problems because the MPEG decoder does not have a tempo converter and a key converter. That is, since the MPEG decoder does not have a built-in tempo converter, the voice chorus does not become tempo variable when a tempo variable is required, causing a mute phenomenon. In addition, since the key converting unit is separately installed outside the MPEG decoder, the hardware is not only complicated, the cost is increased, and signal processing is performed without considering the cross correlation, so that the sound quality loss may occur when the key conversion occurs. Noise caused a lot of problems.

따라서, 이와 같은 문제를 해결하기 위하여 MPEG디코더 내부에 템포 변환부를 내장한 컴퓨터 음악반주기가 개발되었으며, 이는 국내 출원번호: 97-82680호(명칭: TEMPO변환 기능을 갖는 컴퓨터 음악반주기)(이하“선행기술”이라 함)에 상세하게 개시되어 있다.Therefore, in order to solve such a problem, a computer music cycle having a tempo conversion unit built in an MPEG decoder has been developed, which is a domestic application number: 97-82680 (name: computer music cycle having a TEMPO conversion function) (hereinafter referred to as “preceding”). Technology ”.

그러나, 상기와 같은 선행기술은 MPEG디코더 내부에 템포 변환부만 내장되어 있기 때문에 키 변환부를 별도로 설치해야 하며, 이는 원가상승, 하드웨어의 복잡성 및 음질손실일 발생하였다.However, the prior art as described above has to install a key converting part separately because only the tempo converting part is embedded in the MPEG decoder, which causes cost increase, hardware complexity, and sound quality loss.

따라서, 본 발명의 목적은 미디 음악 연주중에 키변환이 요청된 경우 미디음악의 템포 변환 및 키 변환을 동시에 구현할 수 있는 컴퓨터 음악반주기를 제공함에 있다.Accordingly, an object of the present invention is to provide a computer music cycle that can simultaneously implement the tempo conversion and key conversion of the MIDI music when the key conversion is requested while playing the MIDI music.

본 발명의 다른 목적은 미디 음악 연주중에 키변환이 요청된 경우 보이스 코러스의 템포 변환 및 키 변환을 동시에 구현할 수 있는 컴퓨터 음악반주기를 제공함에 있다.Another object of the present invention is to provide a computer music cycle that can simultaneously implement the tempo conversion and key conversion of the voice chorus when a key conversion is requested during MIDI music performance.

상기와 같은 목적을 달성하기 위하여 본 발명의 키 변환 기능을 갖는 컴퓨터 음악반주기는 템포변환 및 키변환을 위한 엔코더 데이터를 저장하는 프리-엔코딩장치와; 상기 엔코더 데이터 및 보이스 코러스 데이터를 저장하는 데이터 저장부와; 시스템 제어부로부터 출력되는 키변환 요구 명령에 응답하여 보이스 코러스 요청 신호를 출력하는 컨트롤러와; 상기 엔코더 데이터 및 보이스 코러스 데이터를 저장하며, 상기 보이스 코러스 요청 신호에 응답하여 키 및 템포 엔코더 데이터를 전송하는 데이터 제어부와; 상기 데이터 저장부로부터 오디오 엠팩 디코더 데이터를 입력받아 내부의 버퍼에 저장하는 엠팩 디코더부와; 상기 엠팩 디코더의 내부에 설치되며, 템포 변환을 위해 상기 데이터 저장부로부터의 템포변환 엔코더 데이터를 입력받아 변환된 템포의 파형을 실시간으로 재생시키는 템포변환 디코딩부와; 상기 엠팩 디코더의 내부에 설치되며, 키 변환을 위해 상기 템포변환 디코딩부로부터 템포 변환된 데이터를 입력받아 키 변환신호로 합성하여 실시간으로 재생시키는 키변환 디코딩부로 구성된 것을 특징으로 한다.In order to achieve the above object, a computer music repeating cycle having a key converting function of the present invention comprises: a pre-encoding device for storing encoder data for tempo conversion and key conversion; A data storage unit for storing the encoder data and voice chorus data; A controller for outputting a voice chorus request signal in response to a key conversion request command output from the system controller; A data controller which stores the encoder data and voice chorus data and transmits key and tempo encoder data in response to the voice chorus request signal; An MPEG decoder unit for receiving audio MPEG decoder data from the data storage unit and storing the audio MPEG decoder data in an internal buffer; A tempo conversion decoding unit installed inside the MPEG decoder and receiving tempo conversion encoder data from the data storage unit for tempo conversion and reproducing a waveform of the converted tempo in real time; It is installed inside the MPEG decoder, and the key conversion decoding unit for receiving the tempo-converted data from the tempo conversion decoding unit for the key conversion to synthesize the key conversion signal to reproduce in real time.

제1도는 종래 기술에 따른 컴퓨터 음악반주기의 구성을 나타낸 블럭도.1 is a block diagram showing the configuration of a computer music cycle in accordance with the prior art.

제2도는 본 발명의 바람직한 일실시예에 따라 템포 변환 및 키 변환 기능을 갖는 컴퓨터 음악반주기의 구성을 나타낸 블럭도.2 is a block diagram showing the configuration of a computer music cycle having tempo conversion and key conversion functions in accordance with a preferred embodiment of the present invention.

제3도는 본 발명의 컴퓨터 음악반주기에서 키 및 템포 변환 프리-엔코딩 장치의 구성을 나타낸 블럭도.3 is a block diagram showing the configuration of a key and tempo conversion pre-encoding device in a computer music cycle.

제4도는 본 발명의 컴퓨터 음악반주기에서 템포변환 디코딩부를 통해 변환된 템포의 파형을 실시간으로 재생시키는 상태를 나타낸 그래프.4 is a graph showing a state in which the waveform of the tempo converted by the tempo conversion decoding unit in the computer music half cycle of the present invention in real time.

제5도는 본 발명의 컴퓨터 음악반주기에서 키변환 디코딩부를 통해 변환된 키 신호의 파형을 나타낸 그래프.5 is a graph showing the waveform of the key signal converted by the key conversion decoding unit in the computer music cycle period of the present invention.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 그리고, 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흐트리지 않도록 생략될 것이라는 것을 유의하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, it should be noted that only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts will be omitted so as not to obscure the subject matter of the present invention.

제1도는 본 발명의 일실시예에 따라 템포 변환 및 키 변환 기능을 갖는 컴퓨터 음악반주기의 구성을 도시한 블럭도이다. 도면에서, 참조번호 100은 프리-엔코딩(Pre-Encoding) 장치로서 MPEG디코더 106에 내장된 템포변환 디코딩부 108 및 키변환 디코딩부 110이 실시간(Real Time)으로 데이터를 디코딩하도록 키 및 템포 변환에 관련된 데이터 및 파라미터(Parameter)를 저장하는 장치이다. 즉, 상기 프리-엔코딩 장치 100은 항상 외부에서 키(Key)값이 변하는 것을 예상하여 임의의 값을 설정해 놓은 곳이다. 이때 상기 프리-엔코딩 장치 100은 음악반주기와 분리하여 사용하며, 혹은 음악반주기에 직접 붙여서 사용할 수도 있다. 참조번호 102는 상기 프리-엔코딩 장치 100으로부터 출력되는 키 및 템포변환을 위한 엔코더 데이터(Encoded Data) 및 보이스 코러스 데이터를 저장하는 데이터 저장부이다. 참조번호 116은 시스템 제어부로서 미디 제어신호를 미디 제어부 118로 출력하고 상기 미디제어신호와 동기가 맞도록 커맨드(Command)를 출력하는 장치이며, 118은 미디 제어부로서 상기 미디 제어신호를 아날로그 신호로 변환시켜 출력부 114로 출력한다. 참조번호 104는 상기 시스템 제어부 116으로부터 받은 명령에 따라 동기 제어신호를 출력하고, 또한 상기 시스템 제어부 116으로부터 출력되는 키변환 요구 명령에 응답하여 보이스 코러스 요청 신호를 출력하는 컨트롤러이다. 참조번호 106은 상기 데이터 저장부 102로부터 오디오 엠팩 디코더 데이터를 입력받아 내부의 버퍼에 저장하며, 상기 컨트롤러 104로부터의 동기 제어신호에 응답하여 버퍼내에 있는 오디오 엠팩 디코더 데이터를 출력하는 MPEG디코더이다. 참조번호 108은 상기 MPEG디코더 106에 내장되어 있는 템포변환 디코딩부로서 템포변환을 위해 상기 데이터 저장부 102로부터의 템포변환 엔코더 데이터를 입력받아 변환된 템포의 파형을 실시간으로 재생시키는 장치이다. 참조번호 110은 상기 MPEG디코더 106의 내부에 설치되며, 키 변환을 위해 상기 템포변환 디코딩부로부터 템포 변환된 데이터를 입력받아 키 변환신호로 합성하여 실시간으로 재생시키는 키변환 디코딩부이다. 끝으로 참조번호 112는 상기 MPEG디코더 106으로부터 출력되는 디지털 신호를 아날로그 신호로 변환시켜 출력부 114로 출력시키는 D/A 변환부이다. 여기서, 상기 키변환 및 템포변환 프리-엔코딩(Pre-Encoding) 장치 100의 구성을 제3도를 참조하여 상세히 설명하면 하기와 같다.1 is a block diagram showing the configuration of a computer music cycle having tempo conversion and key conversion functions according to an embodiment of the present invention. In the drawing, reference numeral 100 denotes a pre-encoding device, which is used to convert the key and tempo conversion so that the tempo conversion decoding unit 108 and the key conversion decoding unit 110 built in the MPEG decoder 106 decode the data in real time. It is a device that stores related data and parameters. That is, the pre-encoding device 100 is a place where an arbitrary value is set in anticipation of a key value being changed from the outside at all times. In this case, the pre-encoding device 100 may be used separately from the music half cycle, or may be directly attached to the music half cycle. Reference numeral 102 is a data storage unit for storing the encoder data (Encoded Data) and voice chorus data for tempo conversion and key output from the pre-encoding device 100. Reference numeral 116 denotes a system control unit which outputs a MIDI control signal to the MIDI control unit 118 and outputs a command to be synchronized with the MIDI control signal. 118 denotes a MIDI control unit which converts the MIDI control signal into an analog signal. Output to the output unit 114. Reference numeral 104 denotes a controller that outputs a synchronous control signal in accordance with a command received from the system control unit 116 and outputs a voice chorus request signal in response to a key conversion request command output from the system control unit 116. Reference numeral 106 denotes an MPEG decoder which receives the audio MPEG decoder data from the data storage 102 and stores the audio MPEG decoder data in an internal buffer and outputs the audio MPEG decoder data in the buffer in response to a synchronous control signal from the controller 104. Reference numeral 108 denotes a tempo conversion decoding unit built in the MPEG decoder 106, which receives tempo conversion encoder data from the data storage 102 for tempo conversion and reproduces the converted tempo waveform in real time. Reference numeral 110 is a key conversion decoding unit installed in the MPEG decoder 106 to receive tempo-converted data from the tempo conversion decoding unit for key conversion, synthesize them into key conversion signals, and reproduce them in real time. Finally, reference numeral 112 denotes a D / A converter which converts the digital signal output from the MPEG decoder 106 into an analog signal and outputs the analog signal to the output unit 114. Here, the configuration of the key conversion and tempo conversion pre-encoding device 100 will be described in detail with reference to FIG.

제3도는 본 발명의 컴퓨터 음악반주기에서 키변환 및 템포변환을 위한 엔코더 데이터를 저장하는 프리-엔코디 장치의 블럭도를 도시한 도면으로서, 코러스 데이터 입력부 120, 분석구간 분류부 130, 합성구간 분류부 140 및 상관값 계산부 150으로 구성된다. 즉, 상기 코러스 데이터(Chorus Data) 입력부 120은 변환되는 키(Key)값에 해당하는 원래의 음성 신호를 일정한 간격으로 샘플링한 데이터를 저장하며, 상기 코러스 데이터 분석구간 분류부 130은 상기 코러스 데이터 입력부 120으로부터 입력된 신호를 일정한 분석구간 간격으로 잘라내어 템포 변환의 기본데이터를 만드는 장치이다. 상기 코러스 데이터 합성구간 분류부 140은 상기 코러스 데이터 분석구간 분류부 130에서 분류된 분석구간 데이터 각각에 대해 정해진 키 및 템포 가변 단계에 따라 해당비율을 곱한 합성구간 데이터를 만드는 장치이다. 상기 코러스 데이터 상관값(Maximum-Correlation) 계산부 150은 상기 코러스 데이터 합성구간 분류부 140에서 구한 각각의 합성구간에 대해 최대 상관값을 구하는 장치이다.3 is a block diagram of a pre-encoder for storing encoder data for key conversion and tempo conversion in a computer music cycle according to the present invention. The chorus data input unit 120, analysis section classification unit 130, and synthesis section classification are shown in FIG. And a correlation value calculation section 150. That is, the chorus data input unit 120 stores data obtained by sampling the original voice signal corresponding to the converted key value at regular intervals, and the chorus data analysis section classifier 130 is the chorus data input unit. It is a device that creates basic data of tempo conversion by cutting signals input from 120 at regular intervals. The chorus data synthesizing section classifying unit 140 is a device for generating the synthesis section data multiplied by a corresponding ratio according to a predetermined key and tempo variable step for each analysis section data classified by the chorus data analysis section classifying unit 130. The chorus data correlation value calculation unit 150 calculates a maximum correlation value for each synthesis section obtained by the chorus data synthesis section classification unit 140.

이하, 상기와 같이 구성된 컴퓨터 음악반주기에서 미디음악 연주중에 키변환이 요청될 때 음악미디의 키 및 보이스 코러스의 키를 변환시키는 방법을 상세히 설명하면 하기와 같다.Hereinafter, a method of converting a key of a music MIDI and a key of a voice chorus when key conversion is requested during MIDI music playing in the computer music cycle configured as described above will be described in detail.

우선, 제3도를 참조하여 프리-엔코팅 장치 100의 동작 상태 즉, 키변환 및 템포변환을 엔코딩(Encoding)하는 방법을 설명하면, 코러스 데이터 입력부 120으로 부터 일정한 간격으로 샘플링된 PCM 데이터를 코러스 데이터 분석구간 분류부 130에서 일정한 분석구간(이하 기호“S_a”라 약칭함) 간격으로 잘라내어 템포변환의 기본 데이터를 만든다. 이때 키변환은 템포 변환된 데이터를 재합성하여 이루어진다. 이어서 코러스 데이터 분석구간 분류부 140은 상기 분석구간“S_a”각각에 대하여 정해진 키(즉, 키 변화부에서 키값을 변화시키는 것을 예상해서 설정해 놓은 키값을 말함) 및 템포가변 단계에 따라 해당비율을 곱하여 합성구간(이하 기호“S_s”로 약칭함) 데이터를 만든다. 이후 상관값 계산부 150은 상기 코러스 데이터 합성구간 분류부 140에서 구한 각각의“S_s”에 대하여 앞, 뒤 일정구간의 교차 상관값(Cross-Correlation)을 구하여 그 값이 최대가 되는 값을 구한다. 즉, 최대 상관값(Maximum-Correlation)(이하 기호“K”로 약칭함)을 구한다. 이때 상기 최대 상관값“K”는 두 개의“S_s”가 있을 때 그 구간 사이의 동기가 일치되는 점으로 합성 구간을 재배치시키기 위한 값이다.First, referring to FIG. 3, a method of encoding the operating state of the pre-encoding device 100, that is, the key conversion and the tempo conversion, will be described. A chorus of PCM data sampled at a predetermined interval from the chorus data input unit 120 is described. The data analysis section classification unit 130 cuts the data at regular analysis sections (hereinafter, abbreviated as “S_a”) to generate basic data of tempo conversion. The key conversion is performed by resynthesizing the tempo converted data. Subsequently, the chorus data analysis section classifying unit 140 multiplies the corresponding ratio according to the key (i.e., the key value set in anticipation of changing the key value in the key changing section) for each analysis section “S_a” and the tempo variable step. Create a composite section (abbreviated as "S_s") data. Thereafter, the correlation calculation unit 150 obtains a cross-correlation of the front and rear predetermined sections for each “S_s” obtained by the chorus data synthesis section classification unit 140, and calculates a maximum value. That is, the maximum correlation value (abbreviated as "K" hereinafter) is obtained. At this time, the maximum correlation value "K" is a value for relocating the synthesis section to the point that the synchronization between the intervals when there are two "S_s".

여기서, 상기의 과정을 예를 들어 설명하면, 지금 기준 키를 1/2키(반음)를 높게 올리려고 할 경우에는 먼저 코러스 데이터 분석구간 분류부 120에서“S_s”를 구한 다음, 코러스 데이터 합성구간 분류부 140에서“S_s/S_a”=1.06이 되는“S_s”를 구한 다음, 상관값 계산부 150이“K”를 구한다. 이때 상기“S_s”는 “S_a”보다 긴 간격으로 분할된다. 여기서 상기“S_a”,“S_s”, “K”를 활용하여 합성구간을 재배치하면 106%로 템포가 가변된 신호를 합성할 수 있으며, 합성된 신호에서 다시 1/2 키를 높일 수 있도록 길이는 원래 신호의 길이와 같게 되며 키값은 1/2 키만큼 높아진 신호로 합성된다. 이때 상기 과정은 템포변환 디코딩부 108 및 키변환 디코딩부 110이 수행한다.In this case, the above-described process will be described by way of example. In the case where the standard key is to be increased by 1/2 key (semitone), first, “S_s” is obtained from the chorus data analysis section classification unit 120, and then the chorus data synthesis section is performed. The classification unit 140 obtains "S_s" which becomes "S_s / S_a" = 1.06, and then the correlation calculation unit 150 obtains "K". At this time, the "S_s" is divided into intervals longer than "S_a". Here, by rearranging the synthesis section by using the “S_a”, “S_s”, and “K”, the signal having a variable tempo of 106% can be synthesized, and the length of the synthesized signal can be increased by 1/2. The length of the original signal is the same, and the key value is synthesized by the signal as high as 1/2 key. In this case, the process is performed by the tempo transform decoding unit 108 and the key transform decoding unit 110.

다음, MPEG 디코더 106에 내장되어 있는 템포변환 디코딩부 108 및 키변환 디코딩부 110의 동작 과정을 제2도를 참조하여 상세히 설명하면, 프리-엔코딩 장치 100의 전체값은 항상 데이터 저장부 102에 입력되며, 외부에서 키값이 MPEG디코더 112로 입력되면 상기 데이터 저장부 102에 저장된 엔코더 데이터 중에서 상기 해당 키값에 맞는 값이 입력된다. 예를 들어, 외부에서 입력되는 키값이 4스텝이면 4스텝의 엔코더 데이터가 템포변환 디코딩부 108에 입력된다. 즉, 시스템 제어부 116이 키변환 요구 커맨드(Command)를 컨트롤러 104에 내 보내면 상기 컨트롤러 104는 보이스 코러스 데이터 요청 신호를 출력한다. 이어서 데이터 저장부 102는 상기 보이스 코러스 데이터 요청 신호에 응답하여 오디오 엠팩(Audio MPEG), 키(Key) 및 템포 엔코드 데이터(Tempo Encoded Data)를 MPEG디코더 106으로 전송한다. 이때 상기 컨트롤러 104는 키 컨트롤 시그널(Key Control Singal)을 MPEG디코더 106에 전송하며, 상기 MPEG디코더 106은 MPEG디코더에 내장되어 있는 템포변환 디코딩부 108에 키변환을 하기 위한 전단계로 키 변환비율에 해당하는 키 제어 신호를 전달해 주고 키변환 디코딩부 110에 키 제어신호를 전송한다. 이후 상기 템포변환 대코딩부 108은 상기 MPEG디코더 106으로부터의 템포 제어신호를 기준으로 템포변환 요구단계를 파악한다. 여기서 상기 템포변환 디코딩부 108로부터 파악된 템포변환 요구단계에 따라 MPEG디코더 106이 데이터 저장부 102로부터 입력받은 오디오 엠팩, 키 및 템포 엔코더 데이터 내에서 해당 템포의 파라미터와 데이터를 읽어 템포가 변환된 신호를 1차 합성한다. 이어서 키변환 디코딩부 110은 상기 템포변환 디코딩부 108로부터 1차 합성된 신호를 입력받아 키 가변비율에 비례하는 만큼 잘라내고 합성하는 과정을 수행하여 2차 합성된 신호를 만든다. 이때 상기 1차 합성된 신호는 원래의 신호에서 키변환을 하기에 필요한 만큼의 길이변환이 이루어진 신호이며, 상기 2차 합성된 신호는 길이가 변환된 1차 합성신호에서 키가변비율 만큼 신호를 잘라 내거나 신호를 더한 신호이다.Next, an operation process of the tempo conversion decoding unit 108 and the key conversion decoding unit 110 built in the MPEG decoder 106 will be described in detail with reference to FIG. 2. The entire value of the pre-encoding device 100 is always input to the data storage 102. When the key value is input to the MPEG decoder 112 from the outside, a value corresponding to the key value is input from the encoder data stored in the data storage 102. For example, if the key value input from the outside is 4 steps, the encoder data of 4 steps is input to the tempo conversion decoding unit 108. That is, when the system controller 116 issues a key conversion request command to the controller 104, the controller 104 outputs a voice chorus data request signal. Subsequently, the data storage 102 transmits the audio MPEG, the key, and the tempo encoded data to the MPEG decoder 106 in response to the voice chorus data request signal. At this time, the controller 104 transmits a key control signal (Key Control Singal) to the MPEG decoder 106, the MPEG decoder 106 corresponds to the key conversion ratio as a previous step for key conversion to the tempo conversion decoding unit 108 built in the MPEG decoder. The key control signal is transmitted, and the key control signal is transmitted to the key conversion decoding unit 110. Thereafter, the tempo conversion large coding unit 108 determines a tempo conversion request step based on the tempo control signal from the MPEG decoder 106. The tempo-converted signal is read by the MPEG decoder 106 by reading the parameters and data of the tempo in the audio MPEG, key, and tempo encoder data received from the data storage 102 according to the tempo conversion request step identified by the tempo conversion decoding unit 108. First synthesize. Subsequently, the key transform decoding unit 110 receives the first synthesized signal from the tempo transform decoding unit 108 and cuts and synthesizes the signal as proportional to the key variable ratio to generate a second synthesized signal. In this case, the first synthesized signal is a signal whose length conversion is necessary to perform key conversion from the original signal, and the second synthesized signal is cut by a key variable ratio from the length-converted primary synthesized signal. It is a signal that is added or signaled.

이후, 상기 템포변환 디코딩부 108에서 구한“S_s”값과“K”값(K값의 개수는 S_s개수와 동일함)을 가지고 1×S_s+K1, 2×S_s+K2, 3×S_s+K3, ……의 방법으로 신호를 합성한다. 즉, 제4도에 도시한 바와 같이 (c), (d), (e)의 과정을 거쳐 (f)와 같은 템포가 가변된 합성 신호를 얻게된다. 다음, 키값은 가변하지 않고 신호의 길이만 길게 하거나 혹은 짧게 한 신호(즉, 템포가 가변된 합성신호)는 상기 템포변환 디코딩부 108에 의해 키변환 디코딩부 110으로 입력되며, 상기 키변환 디코딩부 110은 상기 합성신호를 다시 키가 가변된 신호로 만든다. 즉, 제5도에 도시한 바와 같이 원래의 신호 (a)를 템포변환 디코딩부 108이 키값은 가변하지 않고 신호의 길이만 가변시켜 (b)와 같은 신호로 변환시키며, 이어서 상기 키변환 디코딩부 110은 상기 신호(b)를 일정율로 잘라 내거나 신호를 더하여 신호의 길이는 원래의 신호와 동일하게 하고 키값만 변환시켜 (c)와 같은 신호를 만든다.After that, the S_s value and the K value (the number of K values is equal to the number of S_s) obtained by the tempo conversion decoding unit 108 are 1 × S_s + K1, 2 × S_s + K2, and 3 × S_s + K3. ,… … The signal is synthesized by the method of. That is, as shown in FIG. 4, through the process of (c), (d) and (e), a synthesized signal having a variable tempo such as (f) is obtained. Next, a signal whose length is shortened or shortened (ie, a synthesized signal having a variable tempo) is not inputted to the key conversion decoding unit 110 by the tempo conversion decoding unit 108. 110 converts the synthesized signal back into a key variable signal. That is, as shown in FIG. 5, the tempo conversion decoding unit 108 converts the original signal (a) into a signal as shown in (b) by varying only the length of the signal without changing the key value. 110 cuts the signal (b) at a constant rate or adds the signal to make the signal length the same as the original signal and converts only the key value to produce a signal as shown in (c).

여기서, 상기와 같은 과정을 수행하는 템포변환 디코딩부 108 및 키변환 디코딩부 110의 동작과정을 예를 들어 설명하면 다음과 같다.Here, an operation process of the tempo transform decoding unit 108 and the key transform decoding unit 110 performing the above process will be described as an example.

첫번째로 키(Key)를 높이고자 할 때는, 먼저 프리-엔코딩 장치 100은 엔코더 데이터를 MPEG 디코더 106으로 출력하며, 템포변환 디코딩부 108은 컨트롤러 104로 부터 입력된 키변환 신호를 엔코더 데이터의 신호(원래의 신호)보다 길게 합성시킨다. 그러면 상기 합성된 신호는 원래의 신호길이보다 길어지나 키값은 변화되지 않는다. 이어서 1차 합성된 신호에서 키 가변비율에 비례하는 만큼 잘라내어 합성하며, 이때 상기 합성된 신호는 원래의 신호 길이와 같아지고 키값만 높아지게 된다. 이어서 상기 데이터 저장부 102로부터 입력된 오디오 엠팩 데이터 내의 최대 상관 값을 이용하여 원래의 신호길이를 약 6% 정도 늘인다. 이렇게 하면 키값은 변화되지 않고 신호의 길이만 늘어난 1차 합성신호가 만들어진다. 이후 상기 1차 합성신호를 다시 일정한 비율(키를 반음 높게 하기 위한 비율) 만큼 신호를 잘라내면 신호의 길이는 원래의 신호와 동일하게 되고 신호의 키값만 1/2(반음) 만큼 높아지게 된다.First, when the key is to be increased, the pre-encoding device 100 outputs the encoder data to the MPEG decoder 106, and the tempo conversion decoding unit 108 converts the key conversion signal input from the controller 104 into the signal of the encoder data. Longer than the original signal). The synthesized signal then becomes longer than the original signal length but the key value does not change. Subsequently, the first synthesized signal is cut and synthesized as much as the proportion of the key variable ratio, wherein the synthesized signal is equal to the original signal length and only the key value is increased. Subsequently, the original signal length is increased by about 6% using the maximum correlation value in the audio MPEG data input from the data storage 102. This creates a first order composite signal with only the length of the signal unchanged. Then, when the primary synthesized signal is cut out by a predetermined ratio (a ratio for increasing the key semitones), the length of the signal becomes the same as the original signal, and only the key value of the signal is increased by 1/2 (half tone).

두 번째로 키(Key)를 내리고자 할 때는, 우선 프리-엔코딩 장치 100은 엔코더 데이터를 MPEG 디코더 106으로 출력하며, 템포변환 디코딩부 108은 컨트롤러 104로부터 입력된 키변환 신호를 엔코더 데이터의 신호(원래의 신호)보다 짧게 합성시킨다. 그러면 상기 합성된 신호는 원래의 신호 길이보다 짧아지나 키값은 변화되지 않는다. 이어서 1차 합성된 신호에서 키 가변비율에 비례하는 만큼 더하여 합성하며, 이때 상기 합성된 신호는 원래의 신호 길이와 같아지고 키값만 낮아지게 된다. 이어서 상기 데이터 저장부 102로부터 입력된 오디오 엠팩 데이터 내의 최대 상관값을 이용하여 원래의 신호길이를 약 6% 정도 줄인다. 이렇게 하면 키값은 변화되지 않고 신호의 길이만 줄어든 1차 합성신호가 만들어진다. 이후 상기 1차 합성신호를 다시 일정한 비율(키를 반음 낮게 하기 위한 비율) 만큼 신호를 더하면 신호의 길이는 원래의 신호와 동일하게 되고 신호의 키값만 1/2(반음) 만큼 낮아지게 된다.When the second key is to be lowered, the pre-encoding device 100 first outputs the encoder data to the MPEG decoder 106, and the tempo conversion decoding unit 108 converts the key conversion signal input from the controller 104 into the signal of the encoder data. Shorter than the original signal). The synthesized signal is then shorter than the original signal length but the key value does not change. Subsequently, in the first synthesized signal, the synthesized signal is added in proportion to the key variable ratio, where the synthesized signal is equal to the original signal length and only the key value is lowered. Subsequently, the original signal length is reduced by about 6% using the maximum correlation value in the audio MPEG data input from the data storage 102. This produces a first order composite signal with only the length of the signal reduced without changing the key value. Subsequently, when the primary synthesized signal is added to the signal again by a certain ratio (a ratio for lowering the key halftone), the length of the signal becomes the same as the original signal, and only the key value of the signal is reduced by 1/2 (halftone).

이상으로 살펴본 바와 같이, 본 발명의 컴퓨터 음악반주기는 프리-엔코드 보이스 코러스 데이터를 활용하여 보이스 코러스의 템포변환 및 키변환을 실시간(Real Time)으로 구현시킬 수 있다. 그리고 MPEG 디코더에 키변환 칩(Chip)을 별도로 부착하지 않고 템포 변환된 신호를 활용하여 간단히 키를 변환시킬 수 있기 때문에 제품의 원가를 절감할 수 있고, 또한 키변환시에도 잡음이 전혀 발생하지 않는 잇점이 있다.As described above, the computer music half cycle of the present invention can implement the tempo conversion and the key conversion of the voice chorus in real time by utilizing the pre-encoded voice chorus data. In addition, since the key can be simply converted using a tempo-converted signal without attaching a key conversion chip to the MPEG decoder, the cost of the product can be reduced and no noise is generated even when the key is converted. There is this.

Claims (2)

컴퓨터 음악반주기에 있어서, 템포변환 및 키변환을 위한 엔코더 데이터를 저장하는 프리-엔코딩 장치와, 상기 엔코더 데이터 및 보이스 코러스 데이터를 저장하는 데이터 저장부와, 시스템 제어부로부터 출력되는 키변환 요구 명령에 응답하여 보이스 코러스 요청 신호를 출력하는 컨트롤러와, 상기 엔코더 데이터 및 보이스 코러스 데이터를 저장하며, 상기 보이스 코러스 요청 신호에 응답하여 키 및 템포 엔코더 데이터를 전송하는 데이터 제어부와, 상기 데이터 저장부로부터 오디오 엠팩 디코더 데이터를 입력받아 내부의 버퍼에 저장하는 엠팩 디코더부와, 상기 엠팩 디코더에 내장되며, 템포 변환을 위해 상기 데이터 저장부로부터의 템포변환 엔코더 데이터를 입력받아 변환된 템포의 파형을 실시간으로 재생시키는 템포변환 디코딩부와, 상기 엠팩 디코더에 내장되며, 키 변환을 위해 상기 템포변환 디코딩부로부터 템포 변환된 데이터를 입력받아 키 변환신호로 합성하여 실시간으로 재생시키는 키변환 디코딩부를 포함하여 구성함을 특징으로 하는 키 변환 기능을 갖는 컴퓨터 음악반주기.A computer music cycle, comprising: a pre-encoding device for storing encoder data for tempo conversion and key conversion, a data storage for storing the encoder data and voice chorus data, and a key conversion request command output from a system controller A controller for outputting a voice chorus request signal, a data controller for storing the encoder data and voice chorus data, and transmitting key and tempo encoder data in response to the voice chorus request signal, and an audio amplifier decoder from the data storage unit. An MPEG decoder unit for receiving data and storing the data in an internal buffer, and a tempo that is embedded in the MPEG decoder and receives tempo conversion encoder data from the data storage unit for tempo conversion and reproduces the converted tempo waveform in real time. A transform decoding unit, It is built in the pack decoder, and has a key conversion function comprising a key conversion decoding unit for receiving the tempo converted data from the tempo conversion decoding unit for key conversion, synthesized into a key conversion signal and reproduced in real time Computer music class cycle. 제1항에 있어서, 상기 프리-엔코딩 장치는 원래의 음성 신호를 일정한 간격으로 샘플링한 데이터를 저장하는 코러스 데이터 입력부와, 상기 코러스 데이터 입력장치로부터 입력된 신호를 일정한 분석구간 간격으로 잘라내어 템포 변환의 기본 데이터를 만드는 코러스 데이터 분석구간 분류부와, 상기 코러스 데이터 분석구간 분류부에서 분류된 분석구간 데이터 각각에 대해 정해진 키 및 템포 가변 단계에 따라 해당비율을 곱한 합성구간 데이터를 만드는 코러스 데이터 합성구간 분류부와, 상기 코러스 데이터 합성구간 분류부에서 구한 각각의 합성구간에 대해 최대 상관값을 구하는 최대 상관값 계산부로 구성됨을 특징으로 하는 키 변환 기능을 갖는 컴퓨터 음악반주기.The apparatus of claim 1, wherein the pre-encoding device comprises: a chorus data input unit for storing data sampled from the original speech signal at regular intervals, and a signal input from the chorus data input apparatus at a predetermined analysis interval to cut out a tempo conversion. Chorus data analysis section classification unit for generating basic data and chorus data analysis section classification unit for generating composite section data by multiplying the corresponding ratio according to the key and tempo variable step for each analysis section data classified by the chorus data analysis section classification unit And a maximum correlation value calculating unit for obtaining a maximum correlation value for each synthesis period obtained by the chorus data synthesis period classification unit.
KR1019980015746A 1998-04-20 1998-04-20 Computer music cycle with key change function KR100264389B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980015746A KR100264389B1 (en) 1998-04-20 1998-04-20 Computer music cycle with key change function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980015746A KR100264389B1 (en) 1998-04-20 1998-04-20 Computer music cycle with key change function

Publications (2)

Publication Number Publication Date
KR19990081689A KR19990081689A (en) 1999-11-15
KR100264389B1 true KR100264389B1 (en) 2000-08-16

Family

ID=19536972

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980015746A KR100264389B1 (en) 1998-04-20 1998-04-20 Computer music cycle with key change function

Country Status (1)

Country Link
KR (1) KR100264389B1 (en)

Also Published As

Publication number Publication date
KR19990081689A (en) 1999-11-15

Similar Documents

Publication Publication Date Title
US6281424B1 (en) Information processing apparatus and method for reproducing an output audio signal from midi music playing information and audio information
US5834670A (en) Karaoke apparatus, speech reproducing apparatus, and recorded medium used therefor
CN101479785B (en) Method for encoding and decoding object-based audio signal and apparatus thereof
KR20090082927A (en) A method and an apparatus for decoding an audio signal
US7945446B2 (en) Sound processing apparatus and method, and program therefor
WO2003010752A1 (en) Speech bandwidth extension apparatus and speech bandwidth extension method
JP2003248479A (en) Multimedia information encoding device, multimedia information reproducing device, multimedia information encoding processing program, multimedia information reproduction processing program, and multimedia encoding data
JP2004046179A (en) Audio decoding method and device for decoding high frequency component by small calculation quantity
JP2584185B2 (en) Method and apparatus for generating audio signal
KR100256718B1 (en) Sound pitch converting apparatus
CN101116135B (en) Sound synthesis
KR100509700B1 (en) Voice signal processing device
KR970060199A (en) Sound reproducing apparatus
KR20010111630A (en) Device and method for converting time/pitch
JPS6262399A (en) Highly efficient voice encoding system
KR100264389B1 (en) Computer music cycle with key change function
CN100533551C (en) Generating percussive sounds in embedded devices
JPS642960B2 (en)
US6300552B1 (en) Waveform data time expanding and compressing device
JP3246012B2 (en) Tone signal generator
KR100283802B1 (en) Computer music cycle with TEMPO conversion
JPH09190198A (en) Method and device for transmitting sound by narrow band width channel, and method for receiving sound digitized from narrow band width channel
JPH02192259A (en) Output device for digital music information
KR100891669B1 (en) Apparatus for processing an medium signal and method thereof
JPH08305393A (en) Reproducing device

Legal Events

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

Payment date: 20130429

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20140508

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20150513

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20160512

Year of fee payment: 17

FPAY Annual fee payment

Payment date: 20170424

Year of fee payment: 18

EXPY Expiration of term