KR950010336B1 - Compression and reproducing method of music data - Google Patents

Compression and reproducing method of music data Download PDF

Info

Publication number
KR950010336B1
KR950010336B1 KR1019930015885A KR930015885A KR950010336B1 KR 950010336 B1 KR950010336 B1 KR 950010336B1 KR 1019930015885 A KR1019930015885 A KR 1019930015885A KR 930015885 A KR930015885 A KR 930015885A KR 950010336 B1 KR950010336 B1 KR 950010336B1
Authority
KR
South Korea
Prior art keywords
data
music data
repeating
series
music
Prior art date
Application number
KR1019930015885A
Other languages
Korean (ko)
Other versions
KR950006813A (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 KR1019930015885A priority Critical patent/KR950010336B1/en
Publication of KR950006813A publication Critical patent/KR950006813A/en
Application granted granted Critical
Publication of KR950010336B1 publication Critical patent/KR950010336B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/02Analogue recording or reproducing

Abstract

The device provides music data compression/expansion method for the Karaoke system by substituting the repeated part into a specialized symbol. The method comprises the steps of extracting the repeated music data interval as a first repeating part; assigning a specialized symbol to the first repeating part; assigning a different symbol to the repeating part if the music data forms another repeated part; and recording the start address and the number of repetition.

Description

음악 데이타의 압축방법과 재생 방법Compression and Playback Method of Music Data

제1도는 일반적인 노래반주 시스템의 블록구성도.1 is a block diagram of a general song accompaniment system.

제2도는 종래 노래반주 시스템내의 MIDI화일 데이타 구성도.2 is a schematic diagram of MIDI file data in a conventional song accompaniment system.

제3도는 본 발명 노래반주 시스템내의 반복부 트랙 데이타 구성도.3 is a block diagram of repeating track data in the song accompaniment system of the present invention.

제4a도 는 본 발명 반복부 트랙의 데이타 추출 과정을 나타낸 도표, 제4b도는 본 발명의 추출된 반복부 트랙의 데이타 작성의 예를 나타낸 도면.4A is a diagram showing a data extraction process of the repeat track of the present invention, and FIG. 4B is a diagram showing an example of data creation of the extracted repeat track of the present invention.

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

1 : 데이타 저장부 2 : 데이타 해석부1: data storage unit 2: data analysis unit

3 : 음발생부3: sound generator

본 발명은 음악 데이타의 압축방법과 압축된 데이타의 재생 방법에 관한 것으로, 특히 노래반주 시스템에서와 같이 많은 분량의 음악 데이타를 저장시킬 경우, 음악 연주시 반복되는 부분을 압축 부호로 대체하여 음악 데이타의 크기를 감축시킬 수 있도록 한 음악 데이타와 압축 방법과 재생 방법에 관한 것이다.The present invention relates to a method of compressing music data and a method of reproducing compressed data. In particular, when a large amount of music data is stored as in a song accompaniment system, the music data is replaced by a compression code that replaces a repeated portion during music performance. The present invention relates to music data, a compression method, and a playback method, which can reduce the size of the music.

일반적인 노래반주 시스템은 제1도에 도시된 바와같이, 음악 데이타가 저장된 데이타 저장부(1)와, 데이타 저장부(1)에 저장된 음악 데이타를 해석하여 MIDI(Musical Instrument Digital Interface)신호로 변환시키는 데이타 해석부(2)와, 변환 출력된 MIDI신호를 입력받아 음악 신호를 발생하는 음발생부(3)로 구성된 것으로, 상기 제1도를 참고로 하여 종래 노래반주 시스템의 음악 데이타 저장과 재생 방법을 설명하면 다음과 같다.A general song accompaniment system, as shown in FIG. 1, converts music data stored in the data storage unit 1 and music data stored in the data storage unit 1 into MIDI (Musical Instrument Digital Interface) signals. A data generator (2) and a sound generator (3) for receiving a converted MIDI signal and generating a music signal, and with reference to FIG. 1, music data storage and reproducing method of the conventional song accompaniment system. This is as follows.

먼저, 롬이나 디스크 등이 사용되는 데이타 저장부(1)에 보통 표준 MIDI화일이라고 지정된 규격에 맞추어 음악 데이타를 저장할 때, 상기 표준 MIDI화일에는 도돌이표와 같은 반복부 설정을 위한 명령이 없기 때문에, 드럼이나 베이스와 같이 일정한 패턴이 자주 반복되는 경우, 또는 1,2절 반복과 같이 거의 유사한 데이타들이 반복될 때 이를 반복해서 상기 데이타 저장부(1)에 저장시켜야 한다.First, when music data is stored in a data storage unit 1 in which a ROM, a disc, or the like is used in accordance with a standard designated as a standard MIDI file, since the standard MIDI file does not have a command for setting a repeating unit such as a dodol table, When a certain pattern is frequently repeated, such as a base or a base, or when almost similar data are repeated, such as section 1 and 2, it must be repeatedly stored in the data storage unit 1.

표준 MIDI화일의 규격은 제2도에 도시된 바와같이, 시간 데이타와, MIDI데이타로 나뉘는 데이타들의 연속적인 집합으로 이루어진 것으로, 상기 시간 데이타의 값은 바로 이전의 MIDI이벤트로부터 현재 이벤트(Event)까지의 시간을 일정한 분해능(각 곡마다 활용되는 템포와 분석에 의해 결정)에 따라 주어지는 값이다.The standard MIDI file specification consists of a contiguous set of time data and data divided into MIDI data, as shown in FIG. 2. The value of the time data is from the previous MIDI event to the current event. This value is given by a constant resolution (determined by the tempo and analysis used for each song).

따라서, 데이타 저장부(1)에 저장된 데이타는 데이타 해석부(2)에서 상기와 같은 시간값을 계산한 후, 음발생부(3)에 MIDI데이타를 인가하므로서, 음악이 연주되는 것이다.Therefore, the data stored in the data storage unit 1 is calculated by applying the MIDI data to the sound generating unit 3 after calculating the time value as described above in the data analysis unit 2, so that music is played.

그러나, 종래 노래반주 시스템의 음악 데이타 저장과 재생 방법은 데이타 저장부(1)에 보통 표준 MIDI화일이라고 지정된 규격에 맞추어 음악 데이타를 저장할 때, 상기 MIDI화일에는 도돌이표와 같은 반복부 설정을 위한 명령이 없기 때문에 드럼이나 베이스와 같은 일정한 패턴이 자주 반복되는 경우, 또는 1,2절 반복과 같이 거의 유사한 데이타들이 반복될 때 이를 반복해서 데이타 저장부에 저장시킴으로써, 상기 저장할 데이타의 분량이 많아져 많은 수의 곡을 저장시킬 때, 저장할 공간이 부족하거나, 저장시킬 매체의 크기가 커지는 문제점이 있었다.However, in the conventional music accompaniment system, the music data storage and reproducing method stores the music data in the data storage unit 1 in accordance with a standard designated as a standard MIDI file, and the MIDI file has instructions for setting a repeating unit such as a dodol table. If a certain pattern such as a drum or a bass is frequently repeated, or when almost similar data such as a section 1 or 2 is repeated, it is repeatedly stored in the data storage, thereby increasing the amount of data to be stored. When storing songs, there is a problem that there is insufficient space to store or the size of the medium to be stored increases.

본 발명은 이와같은 종래의 문제점을 해결하기 위하여, 데이타 저장부에 보통 표준 MIDI화일이라고 지정된 규격에 맞추어 음악 데이타를 저장할 때, 상기 데이타 저장부에 반복 기능을 구비하여, 음악을 연주할때 반복되는 부분을 간단한 부호로 대체하여 상기 데이타 저장부에 저장할 수 있도록 함으로써, 많은 분량의 곡을 압축하여 저장할 수 있으며, 각 MIDI채널별로 MIDI데이타를 압축 저장할 수 있도록 하는데 그 목적이 있는 것이다.In order to solve such a conventional problem, the present invention is provided with a repeating function in the data storage unit, when the music data is stored in a data storage unit in accordance with a standard designated as a standard MIDI file. By replacing parts with simple codes and storing them in the data storage unit, a large amount of songs can be compressed and stored, and its purpose is to be able to compress and store MIDI data for each MIDI channel.

상기의 목적을 달성하는 본 발명의 음악 데이타의 압축방법은, 일련의 음악 데이타 중에서 반복되는 특정 데이타를 제1반복부로서 추출하는 제1과정과; 상기 제1과정에서 추출된 제1반복부에 특정 기호를 대체 부여하는 제2과정과; 상기 제2과정에서 부여된 특정 기호가 포함된 상기 일련의 음악 데이타가 또다른 제2의 반복부를 형성할 경우에는 그 반복부를 추출하고 또다른 특정 기호를 부여하는 제3과정과; 상기 제1과정 및 제3과정에서의 반복부가 시작되는 주소와 각 반복부의 수를 기록하는 제4과정으로 이루어지는 것을 특징으로 하는 음악 데이타의 압축방법이다.A compression method of music data of the present invention which achieves the above object comprises: a first step of extracting, as a first repeating unit, specific data repeated from a series of music data; A second process of substituting a specific symbol to the first repeater extracted in the first process; A third step of extracting the repeating part and giving another specific sign when the series of musical data including the specific sign given in the second step forms another second repeating part; And a fourth step of recording an address at which the repetition part starts and a number of each repetition part in the first and third steps.

여기서, 상기의 일련의 음악 데이타는 MIDI데이타이다.Here, the series of music data is MIDI data.

그리고, 상기 목적을 달성하는 본 발명의 음악 데이타 재생 방법은 일련의 음악 데이타의 반복의 수를 독취하는 제1과정과; 상기 일련의 음악 데이타의 반복부가 시작되는 주소를 독취하는 제2과정과; 상기 제1과정 및 제2과정의 반복부에 해당하는 데이타를 독취하는 제3과정과; 상기 모든 과정으로부터 원래의 음악 데이타를 복원하여 재생하는 제4과정으로 이루어지는 것을 특징으로 하는 음악 데이타의 재생 방법이다.The music data reproducing method of the present invention which achieves the above object comprises the steps of: reading a number of repetitions of a series of music data; A second step of reading an address at which the repeat of the series of music data starts; A third process of reading data corresponding to the repeating portions of the first process and the second process; And a fourth process of restoring and reproducing the original music data from all the above processes.

여기서, 상기 일련의 음악 데이타는 MIDI데이타이다.Here, the series of music data is MIDI data.

이하, 첨부된 도면 제1도 내지 제4도를 참조하여 본 발명의 음악 데이타의 압축 방법과 재생 방법을 설명하면 다음과 같다.Hereinafter, a compression method and a reproduction method of music data of the present invention will be described with reference to FIGS. 1 to 4.

먼저, 제1도를 참고로 하면, 롬이나 디스크 등이 사용되는 데이타 저장부(1)는 반복부 트랙과 연주 트랙으로 구분되고, 반복부 트랙에는 추출된 반복부와 그에 관련된 정보들이 저장되고, 연주 트랙에는 실제 연주 데이타가 반복부를 사용하여 압축되어 저장된다.First, referring to FIG. 1, a data storage unit 1 using a ROM or a disc is divided into a repeating track and a playing track, and the extracted repeating section and related information are stored in the repeating track. In the performance track, actual performance data is compressed and stored using the repeater.

이때, 반복부 트랙에 저장되는 음악 데이타는 제3도에 도시된 바와같이, 먼저, 음악 연주시 사용되는 반복부의 수를 데이타 선두에 저장한 후, 각 반복부가 시작되는 데이타의 주소를 상기 반복부의 수만큼 저장하고, 각각의 해당 주소에 각각의 반복부를 저장시켜 연주 트랙의 데이타 연주시 사용가능하도록 한다.At this time, as shown in FIG. 3, the music data stored in the repeating track is stored in the head of the data, the number of repeating parts used when playing music, and then the address of the data at which each repeating part starts. Store as many as possible, and store each iteration at each corresponding address so that it can be used when playing data on a performance track.

반북부의 추출 과정은 다음과 같다. 전체 연주 데이타중 여러번 반복되는 부분을 추출하여 그 부분을 하나의 코드(특정 부호)로 대체하고, 이렇게 추출된 제1반복부가 코드로 대체된 연주 데이타에서 다시 반복되는 부분을 추출하여 코드로 대체하여 제2반복부를 만든다.The extraction process of the northern part is as follows. Extract the repeated part of the entire performance data and replace it with a single chord (specific code) Create a second repeat.

본 발명의 데이타 압축 예가 제4a도,제4b도에 도시되어 있다.An example of data compression of the present invention is shown in FIGS. 4A and 4B.

(ABC,ABC,ABCD,ABCD,ABC,ABC,ABCD,ABCD)와 같은 음악 데이타가 있을 경우, 우선 자주 반복되는 (ABC)를 제1반복부로 추출하여 코드 "X"로 대체한다.In the case of music data such as (ABC, ABC, ABCD, ABCD, ABC, ABC, ABCD, ABCD), first, the frequently repeated (ABC) is extracted to the first iteration and replaced with the code "X".

자주 반복되는 (ABC)를 코드 "1"로 대체하면 연주 데이타는 [XXXDXD,XXXDXD]로 되고, 이 데이타에서 또다시 반복되는 (XXXDXD)를 제2반복부로 추출하여 "Y"로 대체하면 연주 데이타는(YY)가 된다.If you replace frequently repeated (ABC) with chord "1", the performance data will be [XXXDXD, XXXDXD]. From this data, repeat (XXXDXD) with a second iteration and replace with "Y". Becomes (YY).

이렇게 하여 나온(YY)를 연주 트랙에 저장하고, 반복부 트랙에는 제4도의 (나)와 같은 형식으로 데이타를 저장한다.The resulting (YY) is stored in the performance track, and data is stored in the repeat track as shown in (b) in FIG.

데이타 저장부(1)에 저장된 음악 데이타를 재생시킬 경우에는 데이타 해석부(2)가 먼저 반복부에 해당하는 특정 신호를 포함한 음데이타 및 반복부의 수를 독취하여 저장한 후, 반복부의 수만큼 다시 음데이타의 각각의 반복부가 시작되는 주소를 찾아둔다.When reproducing music data stored in the data storage unit 1, the data analyzing unit 2 first reads and stores the number of sound data and the repeating unit including a specific signal corresponding to the repeating unit, and then repeats the number of repeating units. Find the address where each iteration of the note data begins.

그리고, 연주 트랙을 연주할 때 연주 데이타중에서 반복부를 지칭하는 반복부 코드(제4도의 예의 경우 "X" 또는 "Y")가 나왔을 경우 해당 반복부의 주소로부터 연주 데이타를 찾게 된다.When playing a performance track, if a repeating code ("X" or "Y" in the example of FIG. 4) that indicates a repeating part is found in the playing data, the playing data is found from the address of the repeating part.

즉, 제4도 예의 경우, 연주 데이타 중에서 반복부 코드 "Y"가 나왔을때 일단 반복부 "Y"의 주소[nnnn]에 들어있는 (XXXDXD)를 찾고, 다시 반복부 "X"의 주소 [mmmm]에 들어있는 (ABC)를 찾아서, 이것을 MIDI신호로 내보내면, 음발생부(3)는 이 MIDI신호를 사용하여 음을 발생시키게 된다.That is, in the case of the example of FIG. 4, when the repeating section code "Y" appears in the playing data, it finds (XXXDXD) contained in the address [nnnn] of the repeating section "Y", and again the address of the repeating section "X" [mmmm] If (ABC) contained is found and exported as a MIDI signal, the sound generator 3 generates a sound using the MIDI signal.

첫번째 반복부 "X"(ABC)가 끝나면 다시 반복부 "Y"의 다음 위치로 돌아가서 다음의 코드인 "X"→"X"→"X"→"D"→"X"의 순서로 연주하고 반복부 "X"의 연주가 끝나면 다시 연주 트랙으로 가서 다음에 나오는 반복부 "Y"의 연주를 하는 것이다.After the first iteration "X" (ABC) is finished, go back to the next position of the iteration "Y" and play the next chord "X" → "X" → "X" → "D" → "X" When you have finished playing the repeating "X", go back to the playing track and play the next repeating "Y".

이상에서 설명한 바와같이 음악을 연주할 때 반복되는 부분을 간단한 부호로 대체하여 데이타 저장부에 저장함으로써, 많은 수의 곡을 수록할 수 있는 효과가 있다.As described above, by replacing the repeated portion with a simple code when playing music and storing it in the data storage, a large number of songs can be recorded.

Claims (4)

일련의 음악 데이타 중에서 반복되는 특정 데이타를 제1반복부로서 추출하는 제1과정과; 상기 제1과정에서 추출된 제1반복부에 특정 기호를 대체 부여하는 제2과정과; 상기 제2과정에서 부여된 특정 기호가 포함된 상기 일련의 음악 데이타가 또다른 제2의 반복부를 형성할 경우에는 그 반복부를 추출하고 또다른 특정 기호를 부여하는 제3과정과; 상기 제1과정 및 제3과정에서의 반복부가 시작되는 주소와 각 반복부의 수를 기록하는 제4과정으로 이루어지는 것을 특징으로 하는 음악 데이타의 압축방법.A first step of extracting specific data repeated from the series of music data as a first repeating unit; A second process of substituting a specific symbol to the first repeater extracted in the first process; A third step of extracting the repeating part and giving another specific sign when the series of musical data including the specific sign given in the second step forms another second repeating part; And a fourth step of recording an address at which the repetition part starts and the number of each repetition part in the first step and the third step. 제1항에 있어서, 상기의 일련의 음악 데이타는 MIDI데이타인 것을 특징으로 하는 음악 데이타의 압축방법.The method of claim 1, wherein the series of music data is MIDI data. 일련의 음악 데이타의 반복부의 수를 독취하는 제1과정과; 상기 일련의 음악 데이타의 반복부가 시작되는 주소를 독취하는 제2과정과; 상기 제1과정 및 제2과정의 반복부에 해당하는 데이타를 독취하는 제3과정과; 상기 모든 과정으로부터 원래의 음악 데이타를 복원하여 재생하는 제4과정으로 이루어지는 것을 특징으로 하는 음악 데이타의 재생 방법.A first step of reading the number of repeat portions of the series of music data; A second step of reading an address at which the repeat of the series of music data starts; A third process of reading data corresponding to the repeating portions of the first process and the second process; And a fourth step of restoring and reproducing original music data from all the above steps. 제3항에 있어서, 상기 일련의 음악 데이타는 MIDI데이타인 것을 특징으로 하는 음악 데이타의 재생 방법.4. The method of claim 3, wherein the series of music data is MIDI data.
KR1019930015885A 1993-08-17 1993-08-17 Compression and reproducing method of music data KR950010336B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930015885A KR950010336B1 (en) 1993-08-17 1993-08-17 Compression and reproducing method of music data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930015885A KR950010336B1 (en) 1993-08-17 1993-08-17 Compression and reproducing method of music data

Publications (2)

Publication Number Publication Date
KR950006813A KR950006813A (en) 1995-03-21
KR950010336B1 true KR950010336B1 (en) 1995-09-14

Family

ID=19361371

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930015885A KR950010336B1 (en) 1993-08-17 1993-08-17 Compression and reproducing method of music data

Country Status (1)

Country Link
KR (1) KR950010336B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101424974B1 (en) * 2008-03-17 2014-08-04 삼성전자주식회사 Method and apparatus for reproducing the first part of the music data having multiple repeated parts

Also Published As

Publication number Publication date
KR950006813A (en) 1995-03-21

Similar Documents

Publication Publication Date Title
KR0133844B1 (en) Backing chorus mixing deivce and karaoke system thereof
US5925843A (en) Song identification and synchronization
JP2965330B2 (en) Information playback device
US4614144A (en) Music card system
KR0135839B1 (en) Video music accompaniment recording medium and reproducing apparatus
Davies A history of sampling
EP0847039B1 (en) Musical tone-generating method
GB2120441A (en) Electronic apparatus with magnetic recrding and reproducing device
KR20060051123A (en) Playback apparatus and playback method
US6864413B2 (en) Ensemble system, method used therein and information storage medium for storing computer program representative of the 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
KR970023246A (en) Music data recording method and playback apparatus thereof
JPH05257465A (en) Feature extraction and reproduction device for musical instrument player
EP0503978A2 (en) Musical data file recording method and reproducing system therefor
US5990406A (en) Editing apparatus and editing method
KR0138334B1 (en) Recording medium for a karaoke
KR950010336B1 (en) Compression and reproducing method of music data
JP3120675B2 (en) Performance information compression device
US4926736A (en) Electronic musical instrument with automatic performance apparatus
JP3219150B2 (en) Performance information compression method
JP3322763B2 (en) Performance information compression method
CA1122448A (en) Dynamically adaptive player piano roll to magnetic tape formating system and playback
TW594670B (en) A performance information recording device, performance information-compression equipment, and a telephone terminal unit
US7214869B2 (en) Method for generating and playing a musical file and a computer-readable media storing the musical file
JP3211646B2 (en) Performance information recording method and performance information reproducing apparatus

Legal Events

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

Payment date: 20000821

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee