KR100483346B1 - System and Method for Ordering Goods Using Mobile Terminal - Google Patents

System and Method for Ordering Goods Using Mobile Terminal Download PDF

Info

Publication number
KR100483346B1
KR100483346B1 KR10-2002-0013285A KR20020013285A KR100483346B1 KR 100483346 B1 KR100483346 B1 KR 100483346B1 KR 20020013285 A KR20020013285 A KR 20020013285A KR 100483346 B1 KR100483346 B1 KR 100483346B1
Authority
KR
South Korea
Prior art keywords
frame
speed
encoded
converted
file
Prior art date
Application number
KR10-2002-0013285A
Other languages
Korean (ko)
Other versions
KR20030073629A (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 KR10-2002-0013285A priority Critical patent/KR100483346B1/en
Publication of KR20030073629A publication Critical patent/KR20030073629A/en
Application granted granted Critical
Publication of KR100483346B1 publication Critical patent/KR100483346B1/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/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1866Error detection or correction; Testing, e.g. of drop-outs by interleaving
    • 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/00007Time or data compression or expansion
    • 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/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10037A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof
    • 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/00007Time or data compression or expansion
    • G11B2020/00014Time or data compression or expansion the compressed signal being an audio signal
    • G11B2020/00057MPEG-1 or MPEG-2 audio layer III [MP3]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2545CDs

Abstract

본 발명은 속도 변환 재생이 가능한 오디오 신호 압축 파일 생성 방법 및 오디오 신호 압축 파일 재생 방법에 관한 것으로서, 본 발명에 따른 오디오 신호 압축 파일 생성 방법은 정상 속도로 신호를 엔코딩하는 단계(a); 변환된 속도로 신호를 엔코딩하는 단계(b); 상기 단계 (a)의 정상 속도로 엔코딩한 오디오 신호 압축 데이터와 상기 단계(b)의 변환된 속도로 엔코딩한 오디오 신호 압축 데이터를 인터리브하는 단계(c)를 포함하는 것을 특징으로 한다. 본 발명에 따르면, 음색이 변하지 않고 속도를 변환하여 재생할 수 있으며, 또한 데이터가 프레임별로 인터리브되어 있기 때문에 정상 속도 재생과 속도 변환 재생이 실시간으로 스위칭될 수 있는 장점이 있다. The present invention relates to a method for generating an audio signal compressed file and a method for reproducing an audio signal compressed file, wherein the method for generating an audio signal compressed file according to the present invention comprises: (a) encoding a signal at a normal speed; (B) encoding the signal at the converted rate; And interleaving (c) the audio signal compressed data encoded at the normal speed of step (a) and the audio signal compressed data encoded at the converted speed of step (b). According to the present invention, it is possible to convert and reproduce the speed without changing the timbre, and there is an advantage that the normal speed reproduction and the speed conversion reproduction can be switched in real time because the data are interleaved for each frame.

Description

속도 변환 재생이 가능한 오디오 신호 압축 파일 생성 방법 및 파일 재생 방법{System and Method for Ordering Goods Using Mobile Terminal} How to create an audio signal compressed file with speed conversion playback and file playback {System and Method for Ordering Goods Using Mobile Terminal}

본 발명은 속도 변환 재생이 가능한 오디오 신호 압축 파일 생성 방법 및 MP3 파일 재생 방법에 관한 것으로서, 더욱 상세하게는 정상 속도로 엔코딩한 프레임 데이터와 변환된 속도로 엔코딩한 프레임 데이터를 하나의 파일에 포함시키고 이를 재생하는 방법에 관한 것이다. The present invention relates to a method for generating an audio signal compressed file and a method for reproducing an MP3 file. The present invention relates to a frame data encoded at a normal speed and a frame data encoded at a converted speed. It is about how to play it.

도 1은 종래의 MP3 파일을 디코딩하는 방법의 흐름을 도시한 순서도이다. 1 is a flowchart illustrating a flow of a method of decoding a conventional MP3 file.

도 1에 도시된 바와 같이, 우선 메모리에 저장되어 있는 MP3 파일을 읽어들인다(S100). As shown in FIG. 1, first, an MP3 file stored in a memory is read (S100).

MP3 파일을 읽어들인 후에는, 프레임 동기 정보를 검색하고(S102), 프레임의 헤더 정보를 디코딩한다(S104). 프레임의 헤더 정보에는 샘플링 주파수 정보, 비트 레이트 정보와 채널에 대한 정보가 포함된다.After reading the MP3 file, the frame synchronization information is retrieved (S102), and the header information of the frame is decoded (S104). The header information of the frame includes sampling frequency information, bit rate information and channel information.

헤더 디코딩 결과 에러가 없으면 해당 프레임을 디코딩하며(S108), 에러가 있으면, 다음 프레임의 동기를 검색하는 단계로 회귀한다(S102). If there is no error as a result of the header decoding, the frame is decoded (S108). If there is an error, the process returns to the step of searching for synchronization of the next frame (S102).

프레임 디코딩 결과 에러가 없으면 디코딩한 프레임의 PCM 데이터를 출력하고(S112), 에러가 있으면 다음 프레임의 동기를 검색하는 단계로 회귀한다(S102). If there is no error as a result of the frame decoding, PCM data of the decoded frame is output (S112). If there is an error, the process returns to the step of searching for synchronization of the next frame (S102).

이상과 같은 단계는 MP3 파일의 끝에 도달할 때 까지 반복되어 수행된다. The above steps are repeated until the end of the MP3 file is reached.

상기한 바와 같은 방법에 의해 재생되는 MP3의 재생 속도는 디지털 음원 데이터를 D/A 컨버터로 보내는 데이터의 전송 속도에 의하여 결정되며, 이 속도는 MP3 파일을 샘플링할 때 사용되는 샘플링 주파수와 동일하다. The reproduction speed of the MP3 reproduced by the method as described above is determined by the transmission rate of data that sends digital sound source data to the D / A converter, and this rate is the same as the sampling frequency used when sampling the MP3 file.

종래에는 재생 속도를 가변시키기 위해, 상기 D/A 컨버터에서 음원 데이터를 보내는 주파수를 조정하였다. 즉 샘플링 주파수에 의해 결정된 주파수보다 높이면 재생 속도가 빨라지고, 낮추면 재생 속도가 느려지게 된다. Conventionally, in order to change the reproduction speed, the frequency at which sound source data is sent from the D / A converter is adjusted. In other words, if the frequency is higher than the frequency determined by the sampling frequency, the playback speed is faster, and if it is lower, the playback speed is slow.

이 경우, 속도는 가변되어 재생되지만 동시에 주파수도 가변되어 음색이 심하게 변하게 된다. 이와 같은 현상은 카세트 테이프에서 테이브를 빨리 돌리거나 느리게 돌리면 나타나는 음의 변조와 유사한 현상이다. In this case, the speed is variable and reproduced, but at the same time the frequency is also variable, causing the timbre to be severely changed. This is a phenomenon similar to the modulation of sound that appears when the tape is rotated quickly or slowly on the cassette tape.

따라서, 이러한 현상을 방지하기 위해 음색의 고유 주파수를 계산하여 그 주파수를 반복시켜 데이터를 늘림으로써 재생 속도를 늦추는 방법이 사용되기도 하였으나, 이 방법은 계산량이 너무 많아 실시간으로 처리하기에 현실적으로 불가능한 문제점이 있었다. Therefore, in order to prevent such a phenomenon, a method of slowing down the playback speed by calculating the natural frequency of the timbre and repeating the frequency to increase the data has been used, but this method has a large amount of calculation, which is not practically possible to process in real time. there was.

본 발명에서는 상기한 바와 같은 종래 기술의 문제점을 해결하기 위해, 음색이 변하지 않고 속도가 변환되어 재생될 수 있는 오디오 신호 압축 파일 생성 방법을 제안하고자 한다. In order to solve the problems of the prior art as described above, an object of the present invention is to propose a method of generating an audio signal compressed file that can be reproduced by changing the speed without changing the timbre.

본 발명의 또 다른 목적은 정상 속도로 엔코딩된 데이터와 변환된 속도로 엔코딩된 데이터를 함께 포함하는 오디오 신호 압축 파일 생성 방법을 제안하는 것이다. Another object of the present invention is to propose a method of generating an audio signal compression file including data encoded at a normal rate and data encoded at a converted rate.

본 발명의 또 다른 목적은 정상 속도로 엔코딩된 데이터와 변환된 속도로 엔코딩된 데이터가 포함된 MP3 파일을 사용자가 요청한 속도에 맞게 재생할 수 있는 오디오 신호 압축 파일 재생 방법을 제안하는 것이다. Another object of the present invention is to propose a method for reproducing an audio signal compressed file that can reproduce an MP3 file including data encoded at a normal speed and data encoded at a converted speed, at a speed requested by a user.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명은 속도를 변화하여 재생할 수 있는 오디오 신호 압축 파일을 생성하는 방법에 있어서, 정상 속도로 신호를 엔코딩하는 단계(a); 변환된 속도로 신호를 엔코딩하는 단계(b); 상기 단계 (a)의 정상 속도로 엔코딩한 오디오 신호 압축 데이터와 상기 단계(b)의 변환된 속도로 엔코딩한 오디오 신호 압축 데이터를 인터리브하는 단계(c)를 포함할 수 있다. In order to achieve the above object, the present invention provides a method for generating an audio signal compressed file that can be reproduced by varying the speed, comprising the steps of: (a) encoding a signal at a normal speed; (B) encoding the signal at the converted rate; And interleaving (c) the audio signal compressed data encoded at the normal speed of step (a) and the audio signal compressed data encoded at the converted speed of step (b).

또한 본 발명은 상기 단계(a)의 정상 속도로 엔코딩한 오디오 신호 압축 데이터와 상기 단계(b)의 변환된 속도로 엔코딩한 오디오 신호 압축 데이터의 프레임 데이터 바이트를 일치시키는 단계를 더 포함할 수 있다. The present invention may further include matching the audio signal compressed data encoded at the normal speed of the step (a) with the frame data bytes of the audio signal compressed data encoded at the converted speed of the step (b). .

상기 단계(b)에서 변환되는 속도가 저속일 경우, 상기 단계(c)의 인터리빙 단계는, 상기 단계(a)에서 정상 속도로 엔코딩한 프레임에 대응되는 저속 엔코딩된 복수의 프레임을 판단하는 단계; 상기 대응되는 복수의 저속 엔코딩된 프레임을 상기 정상 속도로 엔코딩한 프레임의 전 또는 후에 인터리브하는 단계를 포함할 수 있다. When the speed converted in step (b) is a low speed, the interleaving step of (c) may include: determining a plurality of low-speed encoded frames corresponding to the frames encoded at the normal speed in step (a); And interleaving the corresponding plurality of low-speed encoded frames before or after the frame encoded at the normal speed.

상기 단계(b)에서 변환되는 속도가 고속일 경우, 상기 단계(c)의 인터리빙 단계는, 상기 단계(b)에서 고속으로 엔코딩한 프레임에 대응되는 정상 속도로 엔코딩된 복수의 프레임을 판단하는 단계; 상기 대응되는 복수의 정상 속도로 엔코딩한 프레임을 상기 고속으로 엔코딩한 프레임의 전 또는 후에 인터리브하는 단계를 포함할 수 있다. When the speed converted in the step (b) is a high speed, the interleaving step of the step (c) is a step of determining a plurality of frames encoded at a normal speed corresponding to the frame encoded at a high speed in the step (b) ; And interleaving the frames encoded at the corresponding plurality of normal speeds before or after the frames encoded at the high speeds.

또한, 본 발명은 상기 단계 (a) 및 (b)에서의 엔코딩 시, 각 프레임에 정상 속도로 엔코딩한 프레임인지 변환된 속도로 엔코딩한 프레임인지 여부를 알리는 헤더 정보를 삽입하는 단계를 더 포함할 수 있다. The present invention may further include inserting header information indicating whether each frame is encoded at a normal speed or a frame encoded at a converted speed when encoding in the above steps (a) and (b). Can be.

상기 단계(b)의 변환된 속도로 신호를 엔코딩하는 단계는, 변환된 속도가 저속일 경우, 주파수 영역에서 정상 속도 신호의 패턴을 분석하는 단계; 저속 비율만큼 상기 분석된 패턴이 반복되도록 신호를 변환하는 단계; 상기 변환된 신호를 엔코딩하는 단계를 포함할 수 있다. Encoding the signal at the converted speed of step (b) comprises: analyzing the pattern of the normal speed signal in the frequency domain when the converted speed is low; Converting the signal to repeat the analyzed pattern by a slow rate; The method may include encoding the converted signal.

상기 단계(b)의 변환된 속도로 신호를 엔코딩하는 단계는, 변환된 속도가 저속일 경우, 주파수 영역에서 정상 속도 신호의 패턴을 분석하는 단계; 고속 비율만큼 상기 분석된 패턴의 반복 횟수가 줄어들도록 신호를 변환하는 단계; 상기 변환된 신호를 엔코딩하는 단계를 포함할 수 있다.Encoding the signal at the converted speed of step (b) comprises: analyzing the pattern of the normal speed signal in the frequency domain when the converted speed is low; Converting the signal to reduce the number of repetitions of the analyzed pattern by a high rate; The method may include encoding the converted signal.

한편, 본 발명은 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 방법에 있어서, 오디오 신호 압축 파일을 읽어들이는 단계(a); 사용자가 선택한 재생 속도에 맞도록 프레임 스킵 넘버를 설정하는 단계(b); 상기 단계(b)에 설정된 프레임 스킵 넘버에 따라 프레임을 스킵하고, 사용자가 선택한 재생 속도에 맞는 프레임을 디코딩하는 단계(c); 사용자가 선택한 재생 속도에 맞도록 프레임 스킵 넘버를 다시 설정하는 단계(d); 및 상기 단계(a) 내지 (d)를 오디오 신호 압축 파일의 끝까지 반복하는 단계를 포함할 수 있다. On the other hand, the present invention provides a method for reproducing an audio signal compressed file having a frame encoded at a normal speed and a frame encoded with a converted speed, the method comprising: reading an audio signal compressed file (a); (B) setting a frame skip number to match the playback speed selected by the user; (C) skipping the frame according to the frame skip number set in the step (b), and decoding the frame corresponding to the playback speed selected by the user; Resetting the frame skip number to match the playback speed selected by the user (d); And repeating steps (a) to (d) to the end of the audio signal compressed file.

한편, 본 발명은 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 방법에 있어서, 오디오 신호 압축 파일을 읽어들이는 단계(a); 프레임의 헤더 정보를 분석하여 프레임이 사용자가 요청한 재생 속도에 맞는 프레임일 경우 해당 프레임을 디코딩하고, 사용자가 요청한 재생 속도에 맞지 않는 프레임일 경우 해당 프레임을 스킵하는 단계(b)를 포함할 수 있다.On the other hand, the present invention provides a method for reproducing an audio signal compressed file having a frame encoded at a normal speed and a frame encoded with a converted speed, the method comprising: reading an audio signal compressed file (a); Analyzing the header information of the frame and decoding the frame if the frame is a frame suitable for the playback rate requested by the user, and skipping the frame if the frame is not suitable for the frame rate requested by the user. .

또한, 본 발명은 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 장치에 있어서, 오디오 신호 압축 파일이 저장되는 메모리; 상기 메모리로부터 오디오 신호 압축 파일을 읽어들이는 파일 리딩부; 상기 파일리딩부로부터 오디오 신호 압축 파일의 프레임 데이터를 수신하여 디코딩하는 디코더; 상기 파일 리딩부에서 상기 디코더로 프레임 전송 시, 사용자가 요청한 재생 속도에 맞는 프레임을 디코딩하도록, 상기 파일 리딩부에 프레임 전송 제어 신호를 제공하는 속도 변환 제어부; 및 상기 디코더의 출력 신호를 아날로그 신호로 변환하는 D/A 컨버터를 포함할 수 있다. In addition, the present invention provides an apparatus for reproducing an audio signal compressed file in which a frame encoded at a normal rate and a frame at which a rate is converted and encoded are present, comprising: a memory in which the audio signal compressed file is stored; A file reading unit for reading an audio signal compressed file from the memory; A decoder for receiving and decoding frame data of an audio signal compression file from the file reading unit; A rate conversion control unit providing a frame transmission control signal to the file reading unit to decode a frame corresponding to a playback rate requested by a user when transmitting the frame from the file reading unit to the decoder; And a D / A converter for converting an output signal of the decoder into an analog signal.

상기 속도 변환 제어부는 상기 프레임 리딩부에 프레임 스킵 넘버 정보를 포함하는 프레임 전송 제어 신호를 제공할 수 있다. The rate conversion control unit may provide a frame transmission control signal including frame skip number information to the frame reading unit.

상기 속도 변환 제어부는 상기 파일 리딩부에서 읽어들인 프레임 데이터의 헤더 정보를 분석하여 사용자가 선택한 재생 속도에 맞는 프레임만을 상기 디코더록 전송하도록 하는 프레임 전송 제어 신호를 제공할 수 있다.The rate conversion controller may provide a frame transmission control signal for analyzing the header information of the frame data read from the file reading unit to transmit only the frame corresponding to the playback speed selected by the user to the decoder lock.

이하에서 첨부된 도면을 참조하여 본 발명에 따른 속도 변환 재생이 가능한 오디오 신호 압축 파일 생성 방법 및 오디오 신호 압축 파일 재생 방법의 바람직한 실시예를 상세하게 설명한다. Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the audio signal compression file generation method and audio signal compression file reproduction method capable of speed conversion reproduction according to the present invention.

본 발명은 오디오 신호를 압축 저장하고 있는 모든 파일에 적용될 수 있으나, 설명의 편의를 위해 MP3 파일을 예로 하여 설명하기로 한다. The present invention can be applied to all files that compress and store an audio signal, but for the convenience of description, an MP3 file will be described as an example.

도 2는 본 발명의 바람직한 일 실시예에 따른 1/2배속으로 저속 재생을 하기 위한 MP3 데이터 포맷 구조를 도시한 도면이다. 2 is a diagram illustrating an MP3 data format structure for low speed playback at 1/2 times according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 바람직한 일 실시예에 따른 MP3 데이터는 정속으로 인코딩된 프레임(200)과 1/2배속으로 인코딩된 프레임(202, 204)이 인터리브(interleave) 된 형태가 반복되는 구조이다. 위와 같은 데이터 구조는 정상 속도로 변환된 데이터와 1/2배속으로 변환된 데이터를 미리 MP3 포맷으로 만든 후, 두 파일의 각 프레임 속도의 비율에 맞추어 인터리브함으로써 만들어질 수 있을 것이다. As shown in FIG. 2, the MP3 data according to the preferred embodiment of the present invention has a form in which the frame 200 encoded at a constant speed and the frames 202 and 204 encoded at a half speed are interleaved. It is a repeating structure. The above data structure can be created by preliminarily converting the data converted at the normal speed and the data converted at the 1 / 2x speed into the MP3 format, and then interleaving them at the ratio of the frame rates of the two files.

도 2에는 1/2 배속으로 재생되는 경우의 데이터 구조만이 도시되어 있으나, 본 발명이 1/2배속으로 재생하는 MP3 데이터 구조에 한정되는 것은 아니며, 다른 속도로 재생 되도록 하는 경우도 본 발명의 범주의 범주에 속한다는 것은 당업자에게 있어 자명할 것이다. In FIG. 2, only the data structure in the case of reproduction at 1 / 2x speed is shown, but the present invention is not limited to the MP3 data structure in reproduction at 1 / 2x speed. It will be apparent to those skilled in the art that they belong to the category of categories.

도 2에서 하나의 정속 프레임(202)에 포함된 MP3 데이터는 두 개의 1/2배속 프레임(202, 204)에 포함되어 있는 MP3 데이터와 동일하다. 즉 정속 프레임(200)을 재생할 경우에 출력되는 신호와 두 개의 1/2 배속 프레임(202, 204)을 재생할 경우에 출력되는 신호의 속성은 동일하며, 단지 재생 시간이 정속 프레임의 경우보다 2배로 늘어가는 것이다. In FIG. 2, the MP3 data included in one constant speed frame 202 is the same as the MP3 data included in two 1 / 2x frames 202 and 204. That is, the attributes of the signal output when the fixed frame 200 is reproduced and the signal output when the two 1 / 2x frames 202 and 204 are reproduced are the same, and the reproduction time is twice that of the constant frame. It is growing.

정속 프레임(200)에 대응하는 두 개의 1/2배속 프레임(202, 204)은 원 신호의 주파수 속성을 유지하면서 재생 시간만 2배가 되도록 인코딩된 데이터이기 때문에 재생을 하더라도 음색이 가변되지 않는다. Since the two 1 / 2x frames 202 and 204 corresponding to the constant frame 200 are encoded data so that the playback time is doubled while maintaining the frequency property of the original signal, the tone is not changed even when the playback is performed.

따라서, 도 2와 같이 MP3 데이터를 형성할 경우, 데이터의 양은 늘어나지만 음색이 바뀌지 않으면서 저속으로 재생할 수 있으며, 이는 저속 재생이 요구되는 어학 학습 등에 효과적으로 활용될 수 있다. Therefore, when the MP3 data is formed as shown in FIG. 2, the amount of data is increased, but the tone can be reproduced at low speed without changing the tone, which can be effectively utilized for language learning requiring low speed reproduction.

1/3 배속으로 재생 되도록 MP3 데이터를 형성하려면, MP3 데이터는 하나의 정속 프레임 다음에 3개의 1/3 배속 프레임이 인터리브되는 형태로 구성될 것이다. To form MP3 data to be reproduced at 1 / 3x speed, the MP3 data will be configured in such a way that three 1 / 3x frames are interleaved after one constant frame.

도 3은 본 발명의 바람직한 일 실시예에 따른 2배속으로 가속 재생을 하기 위한 MP3 데이터 포맷 구조를 도시한 도면이다. 3 is a diagram illustrating an MP3 data format structure for accelerated reproduction at double speed according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 바람직한 일 실시예에 따른 2배속 재생을 위한 MP3 데이터는 2개의 정상 속도 프레임(300, 302)에 하나의 2배속 프레임(304)이 인터리브된 형태가 반복되는 구조이다. 도 2의 경우와 마찬가지로 위와 같은 데이터 구조는 정상 속도로 변환된 데이터와 2배속으로 변환된 데이터를 미리 만들어 MP3 포맷으로 만든 후, 두 파일의 각 프레임 속도의 비율에 맞추어 인터리브함으로써 만들어질 수 있을 것이다. As shown in FIG. 3, MP3 data for double speed playback according to an exemplary embodiment of the present invention repeats a form in which one double speed frame 304 is interleaved in two normal speed frames 300 and 302. It is a structure. As in the case of FIG. 2, the above data structure may be made by pre-creating the data converted at the normal speed and the data converted at the double speed, making the MP3 format, and interleaving at the ratio of the frame rates of the two files. .

도 3에는 2배속으로 가속 재생되는 MP3 데이터 포맷을 도시하였으나, 2배속이 아닌 3배속 또는 4배속으로 가속 재생하는 MP3 데이터 포맷도 본 발명의 범주에 속한다는 것은 당업자에게 있어 자명할 것이다. Although FIG. 3 illustrates the MP3 data format accelerated and reproduced at 2X speed, it will be apparent to those skilled in the art that the MP3 data format accelerated and reproduced at 3X or 4X speed, not 2X, also belongs to the scope of the present invention.

두 개의 정속 프레임(300, 302)에 대응하는 2배속 프레임(304)은 정상 속도 신호의 속성을 유지하면서 재생시간을 1/2로 단축한 데이터이므로 속도는 가변되지만 음색이 달라지지는 않는다. Since the double speed frame 304 corresponding to the two constant frames 300 and 302 is data obtained by reducing the playback time to 1/2 while maintaining the property of the normal speed signal, the speed is variable but the tone is not changed.

도 4는 본 발명의 바람직한 실시예에 따른 속도 변환 재생을 위한 MP3 데이터 생성 방법의 흐름을 도시한 순서도이다. 4 is a flowchart illustrating a flow of a method of generating MP3 data for speed conversion reproduction according to a preferred embodiment of the present invention.

도 4에 도시된 바와 같이, 우선 MP3 데이터를 생성하고자 하는 자로부터 변환 재생할 속도 비율 정보를 수신한다(S400). 본 발명은 정속 프레임에 가변된 속도의 프레임을 인터리브하는 방법을 사용하므로, 상기 변환되는 속도 비율은 정상 속도의 정수배인 것이 바람직하다. As shown in FIG. 4, first, rate rate information for conversion and reproduction is received from a person who wants to generate MP3 data (S400). Since the present invention uses a method of interleaving a frame having a variable speed to a constant speed frame, the converted speed ratio is preferably an integer multiple of the normal speed.

속도 비율 정보를 수신한 후에는, 신호를 정상 속도로 엔코딩한 MP3 파일을 생성한다(S402). 정상 속도 MP3 데이터의 생성 방법에 대해서는 후술하기로 한다. After receiving the rate ratio information, an MP3 file encoding the signal at a normal speed is generated (S402). The method of generating the normal speed MP3 data will be described later.

정상 속도에 대한 MP3 파일을 만든 후에는 변환된 속도로 엔코딩한 MP3 파일을 생성한다(S404). 저속 또는 가속으로 재생되도록 MP3 엔코딩을 하는 방법에 대해서는 후술하기로 한다. After the MP3 file is generated at the normal speed, the MP3 file encoded at the converted speed is generated (S404). The method of MP3 encoding to reproduce at low speed or acceleration will be described later.

정상 속도로 엔코딩된 MP3 파일 및 변환된 속도로 엔코딩된 MP3 파일이 생성되면, 정상 속도로 엔코딩된 파일 및 변환된 속도로 엔코딩된 파일의 각 프레임 바이트수를 일치시킨다(S506). When the MP3 file encoded at the normal speed and the MP3 file encoded at the converted speed are generated, the number of frame bytes of the file encoded at the normal speed and the file encoded at the converted speed are matched (S506).

MP3 파일은 한 프레임에서 생성할 수 있는 PCM(Pulse Code Modulation) 데이터량이 정해져 있다. 또한, BPS 단위로 파일 데이터가 엔코딩되므로 파일의 특정한 시간으로 정확하게 서치(Search)가 가능하다. The amount of PCM (Pulse Code Modulation) data that an MP3 file can generate in one frame is determined. In addition, since the file data is encoded in units of BPS, it is possible to accurately search for a specific time of the file.

단, 파일 전체의 BPS를 맞추기 위하여 패딩(Padding) 비트가 정의 되어 있어, 엔코딩을 한 후에 프레임에 한 바이트를 더미로 추가할지 여부를 결정하는데, 한 바이트를 추가할지 여부는 전체 BPS가 맞는가에 따라 결정된다. 따라서, 평균 BPS를 맞추게 되면, 어떤 프레임은 다른 프레임보다 데이터량이 1 바이트가 많을 수도 있다. However, since the padding bit is defined to fit the BPS of the whole file, it decides whether to add one byte to the frame after encoding, depending on whether the entire BPS is correct. Is determined. Therefore, if the average BPS is met, one frame may have 1 byte more data than another frame.

위와 같은 MP3 데이터 구조는 정상 속도의 프레임만으로 이루어진 일반적인 MP3 파일을 재생할 경우에는 전혀 문제가 되지 않는다. 하지만 본 발명와 같이 정상 속도의 프레임과 속도가 변환된 프레임이 함께 인터리브된 데이터 구조에서는 문제가 될 수 있다. 이는 본 발명의 경우, 정상 속도로 사용자가 재생을 요청할 경우 정상 속도로 엔코딩된 프레임만 재생을 하며, 변환된 속도로 사용자가 재생을 요청할 경우, 변환된 속도로 엔코딩된 프레임만을 재생하여야 하는데, 프레임의 데이터량이 동일하지 않으면, 요청한 속도에 해당하는 프레임의 위치를 정확히 계산할 수 없기 때문이다. The above MP3 data structure is not a problem at all when playing a general MP3 file consisting of frames of normal speed only. However, as in the present invention, there may be a problem in a data structure in which a frame having a normal speed and a frame whose speed is converted are interleaved together. In the present invention, when a user requests playback at a normal speed, only the frame encoded at the normal speed is played. When a user requests playback at the converted speed, only the frame encoded at the converted speed should be played. If the data amounts of are not the same, the position of the frame corresponding to the requested rate cannot be calculated accurately.

따라서, 본 발명에서는 정상 속도로 엔코딩된 프레임과 변환된 속도로 엔코딩된 프레임에 패팅 비트를 추가하는 방식으로 모든 프레임의 바이트 수를 일치시키도록 하는 것이다. Therefore, in the present invention, the padding bits are added to the frame encoded at the normal speed and the frame encoded at the converted speed so that the byte counts of all the frames are matched.

모든 프레임의 바이트 수를 일치시킨 후에는 상기 단계(S400)에서 수신한 속도 비율에 맞게 변환된 속도로 엔코딩된 파일을 정상 속도로 엔코딩된 파일에 인터리브한다(S408). After matching the byte counts of all the frames, the file encoded at the speed converted according to the speed ratio received in step S400 is interleaved with the file encoded at the normal speed (S408).

예를 들어, 3배 감속을 한 속도로 재생할 수 있는 MP3 데이터를 요청한 경우, 하나의 정상 속도 프레임 이후에 3개의 3배 감속 프레임이 인터리브되는 구조가 반복될 것이다. 또한, 4배 가속을 한 속도로 재생할 수 있는 MP3 데이터를 요청한 경우, 4개의 정상 속도 프레임 이후에 하나의 4배 가속 프레임이 인터리브 되는 구조가 반복될 것이다. For example, in the case of requesting MP3 data that can reproduce 3 times deceleration at one speed, a structure in which three triple deceleration frames are interleaved after one normal speed frame will be repeated. In addition, in the case of requesting MP3 data capable of reproducing 4x acceleration at one speed, a structure in which one 4x acceleration frame is interleaved after 4 normal speed frames will be repeated.

도 5은 본 발명의 바람직한 실시예에 따른 감속 재생되는 MP3 파일을 생성하는 방법의 흐름을 도시한 순서도이다. 5 is a flowchart illustrating a flow of a method of generating an MP3 file to be decelerated and reproduced according to a preferred embodiment of the present invention.

감속 재생되는 파일을 생성하기 위해, 우선 원 신호, 즉 정상 속도 신호의 주파수 영역을 분석한다(S500). 전술한 바와 같이, 주파수 영역은 신호에 퓨리어 트랜스폼을 적용하거나 기타 주파수 성분을 분석하는 장치에 의해 파악될 수 있을 것이다. In order to generate the file to be slowed down and reproduced, first, the frequency domain of the original signal, that is, the normal speed signal is analyzed (S500). As mentioned above, the frequency domain may be identified by a device that applies a Fourier transform to the signal or analyzes other frequency components.

신호의 주파수 성분을 파악한 후에는 정상 속도 신호가 주파수 도메인에서 어떠한 패턴을 가지고 있는가를 분석한다(S502). 일반적인 오디오 신호는 특정 주기를 가지고 패턴이 반복이 된다. 본 단계에서는 이러한 주기를 가지고 반복되는 패턴 정보를 분석하는 것이다. After determining the frequency components of the signal, it is analyzed what pattern the normal speed signal has in the frequency domain (S502). The general audio signal has a specific period and the pattern is repeated. In this step, the pattern information that is repeated with this period is analyzed.

정상 속도 신호의 패턴 정보를 분석한 후에는, 상기 분석된 패턴이 저속 비율만큼 반복되도록 오디오 신호를 변환한다(S504). 예를 들어, 일정 시간에 정상 속도에서 상기 분석된 패턴이 2번 반복이 된다면, 1/2배로 감속을 하고자 하는 경우에 똑같은 패턴이 4번 반복되도록 오디오 신호를 변환하는 것이다. 이와 같이, 동일한 패턴이 저속 비율만큼 더 반복되도록 신호를 변환하면, 원 신호의 속성이 유지되므로 음색이 변화되지 않으며 재생 시간만이 저속 비율만큼 늘어나게 된다. After analyzing the pattern information of the normal speed signal, the audio signal is converted so that the analyzed pattern is repeated by a low speed ratio (S504). For example, if the analyzed pattern is repeated two times at a normal speed at a predetermined time, the audio signal is converted so that the same pattern is repeated four times in case of deceleration by 1/2 times. In this way, if the signal is converted so that the same pattern is repeated further by the low speed ratio, the tone of the original signal is maintained so that the timbre does not change and only the reproduction time is increased by the low speed ratio.

저속 비율에 맞게 오디오 신호를 변환하면, 변환된 신호를 엔코딩한다(S606). When the audio signal is converted according to the low speed ratio, the converted signal is encoded (S606).

도 5에서는, 저속으로 재생되는 MP3 데이터를 생성하는 경우만을 도시하였으나, 고속으로 재생되는 MP3 데이터도 도 5에 도시된 절차와 유사한 원리를 적용하여 생성될 수 있을 것이다. In FIG. 5, only the case of generating MP3 data reproduced at low speed is illustrated, but MP3 data reproduced at high speed may be generated by applying a principle similar to that of FIG. 5.

구체적으로, 고속으로 재생되는 MP3 데이터는 도 5에 도시된 단계 (S504)를 변형하여 생성될 수 있을 것이다. 고속 재생의 경우에는, 고속 비율만큼 패턴의 반복 횟수가 줄어들도록 오디오 신호를 변환한다. 예를 들어, 2배의 비율로 고속 재생을 하고자 하는 경우, 정상 속도 신호에서 일정 시간에 분석되는 패턴이 2번 반복되는 경우, 상기 패턴이 한번만 반복이 되도록 오디오 신호를 변형하는 것이다. 신호를 변환한 후의 절차는 도 5에 도시된 절차와 동일하다. Specifically, MP3 data reproduced at high speed may be generated by modifying step S504 shown in FIG. 5. In the case of high speed reproduction, the audio signal is converted so that the number of repetitions of the pattern is reduced by the high speed ratio. For example, when a high speed reproduction is to be performed at twice the rate, when a pattern analyzed at a predetermined time is repeated twice in a normal speed signal, the audio signal is modified so that the pattern is repeated only once. The procedure after converting the signal is the same as that shown in FIG.

도 6은 본 발명의 바람직한 일 실시예에 따른 MP3 데이터 속도 변환 재생 방법의 흐름을 도시한 순서도이다. 6 is a flowchart showing the flow of the MP3 data rate conversion reproduction method according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 우선 도 2 또는 도 3에 도시된 바와 같은 구조의 MP3 파일을 읽어들인다(S600). As shown in FIG. 6, first, an MP3 file having a structure as shown in FIG. 2 or 3 is read (S600).

MP3 데이터를 읽어들인 후, 재생 모드에 따라 프레임 스킵(Skip) 넘버를 설정한다(S602). 여기서 프레임 스킵 넘버는 프레임을 스킵할 개수에 대한 정보를 말한다. 본 발명의 일 실시예에 따르면, 도 2와 같이 정상 속도 프레임과 1/2 배속 프레임이 인터리브 되어 있고 사용자가 정상 속도 재생을 선택한 경우에, 2 프레임씩 스킵하면서 정상 속도로 엔코딩된 프레임만을 재생하도록 한다. 도 2와 같은 데이터 구조에서, 반대로 사용자가 1/2배속 재생을 선택한 경우, 첫 번째 프레임 재생 후에는 프레임을 스킵하지 않고 그 다음 프레임 재생 후에는 프레임을 스킵하는 과정이 반복되도록 하여 1/2배속으로 엔코딩된 프레임만을 재생하도록 할 수 있을 것이다. After the MP3 data is read, a frame skip number is set according to the playback mode (S602). Here, the frame skip number refers to information on the number of skip frames. According to an embodiment of the present invention, when the normal speed frame and the 1 / 2x frame are interleaved as shown in FIG. 2 and the user selects the normal speed playback, only the frames encoded at the normal speed while skipping by two frames are played. do. In the data structure as shown in FIG. 2, in contrast, when the user selects 1 / 2x playback, the process of skipping a frame is repeated after the first frame is played and the frame is skipped after the next frame is played. It will be possible to play only the frames encoded with.

이와 같이, 재생 속도에 따라 프레임을 스킵하면서 MP3 파일을 디코딩하도록 하면, 프레임 스킵 넘버를 설정하는 모듈이 필요하기는 하나, 각 프레임의 헤더에 정상 속도로 엔코딩된 프레임인지 변환된 속도로 엔코딩된 프레임인지를 식별하는 오버헤드가 필요 없는 장점이 있다. As described above, if the MP3 file is decoded while skipping frames according to the playback speed, a module for setting a frame skip number is required, but a frame encoded at a normal speed or a frame encoded at a converted speed in the header of each frame The advantage is that no overhead for identifying cognition is required.

도 2와 같은 MP3 데이터 구조에서, 사용자가 정상 속도 재생을 선택하면, 최초의 프레임 스킵 넘버는 0으로 설정될 것이며, 사용자가 1/2 배속 재생을 선택하면, 프레임 스킵 넘버는 1로 설정될 것이다. In the MP3 data structure as shown in Fig. 2, if the user selects normal speed playback, the first frame skip number will be set to 0, and if the user selects 1 / 2x playback, the frame skip number will be set to 1. .

프레임 스킵 넘버가 설정되면, 설정된 넘버만큼 디코딩할 프레임을 스킵한다(S604). If the frame skip number is set, the frame to be decoded is skipped by the set number (S604).

설정 넘버만큼 프레임을 스킵한 후, 디코딩할 프레임의 헤더 정보를 디코딩한다(S606). 프레임의 헤더 정보에는 샘플링 주파수 정보, 비트 레이트 정보와 채널에 대한 정보가 포함된다. 전술한 바와 같이, 도 7과 같은 방식으로 재생되는 MP3 데이터의 프레임 헤더에는 엔코딩 속도에 관한 정보가 포함될 필요는 없을 것이다. After skipping the frame by the set number, the header information of the frame to be decoded is decoded (S606). The header information of the frame includes sampling frequency information, bit rate information and channel information. As described above, the frame header of the MP3 data reproduced in the same manner as in FIG. 7 may not need to include information regarding an encoding speed.

헤더 정보를 디코딩한 결과, 헤더 정보에 에러가 없으면(S608) 해당 프레임을 디코딩한다(S610). 그러나, 헤더 정보에 에러가 있는 경우에는 해당 프레임을 디코딩하지 않고 다음 단계로 넘어간다. As a result of decoding the header information, if there is no error in the header information (S608), the corresponding frame is decoded (S610). However, if there is an error in the header information, the process proceeds to the next step without decoding the corresponding frame.

하나의 프레임을 디코딩한 후에는 재생 모드에 따라 프레임 스킵 넘버를 다시 설정한다(S612). 예를 들어, 도 2와 같은 프레임 구조에서 사용자가 정상 속도 재생을 선택한 경우에는 프레임 스킵 넘버가 2로 설정될 것이고, 사용자가 1/2 배속 재생을 선택한 경우에는 프레임 스킵 넘버를 0으로 설정할 것이다. After decoding one frame, the frame skip number is set again according to the reproduction mode (S612). For example, in the frame structure shown in FIG. 2, when the user selects normal speed playback, the frame skip number is set to 2, and when the user selects 1 / 2x playback, the frame skip number is set to 0. FIG.

프레임 스킵 넘버를 다시 설정한 후에는 디코딩한 데이터인 PCM(Pulse Code Modultaion) 데이터를 출력한다(S614). After the frame skip number is set again, pulse code modulation (PCM) data, which is decoded data, is output (S614).

파일의 끝이 아니라면(S616), 프레임 스킵 넘버만큼 프레임을 스킵하는 단계(S604)로 회귀한다. 도 2와 같은 프레임 구조에서, 상기한 바와 같이 프레임 스킵 넘버가 다시 2로 설정되기 때문에 다음 단계의 프레임을 디코딩하지 않고 2개의 프레임을 스킵한 프레임에 대해 디코딩한다. If it is not the end of the file (S616), the process returns to the step (S604) to skip the frame by the frame skip number. In the frame structure as shown in FIG. 2, since the frame skip number is set back to 2 as described above, the frame skipped is decoded for two frames without decoding the next frame.

도 7은 본 발명의 또 다른 실시예에 따른 MP3 데이터 속도 변환 재생 방법의 흐름을 도시한 순서도이다. 7 is a flow chart showing the flow of a method of MP3 data rate conversion reproduction according to another embodiment of the present invention.

도 7에 도시된 바와 같이, 우선 도 2 또는 도 3과 같은 구조를 가진 MP3 파일을 읽어들인다(S700). As shown in FIG. 7, first, an MP3 file having the structure as shown in FIG. 2 or 3 is read (S700).

파일을 읽어들인 후, 해당 프레임의 헤더 정보를 디코딩한다(S702). 전술한 바와 같이, 헤더 정보에는 샘플링 주파수 정보, 비트 레이트 정보와 채널에 대한 정보 등이 포함되며, 도 7과 같은 방식으로 재생되는 MP3 파일의 헤더 정보에는 엔코딩 속도에 관한 정보가 더 포함된다. After reading the file, the header information of the frame is decoded (S702). As described above, the header information includes sampling frequency information, bit rate information, channel information, and the like, and the header information of the MP3 file reproduced in the same manner as in FIG. 7 further includes information about an encoding speed.

헤더 정보를 디코딩한 결과, 에러가 있는지 여부를 검출한다(S704). 에러가 있는 경우, 해당 프레임을 디코딩하지 않고 프레임을 스킵하며(S706), 다음 프레임의 헤더 정보를 디코딩하는 단계를 진행한다. As a result of decoding the header information, it is detected whether there is an error (S704). If there is an error, the frame is skipped without decoding the frame (S706), and the header information of the next frame is decoded.

헤더 정보에 에러가 있는 지 여부를 검출한 후, 헤더 정보를 분석하여 디코딩하려는 프레임이 사용자가 요청한 재생 속도에 맞는 프레임인지 여부를 판단한다(S708). After detecting whether there is an error in the header information, the header information is analyzed to determine whether the frame to be decoded is a frame corresponding to the playback rate requested by the user (S708).

예를 들어, 도 2와 같은 프레임 구조에서, 사용자가 정상 속도 재생을 선택하고 첫 번째 프레임을 디코딩하는 단계에 있는 경우, 첫 번째 프레임의 헤더정보에는 정상 속도로 엔코딩된 프레임이라는 정보가 저장되어 있으므로 사용자가 요청한 재생 속도에 맞는 프레임이라고 판단한다. 그러나, 사용자가 1/2배속 재생을 선택한 경우에는 첫 번째 프레임의 헤더 정보를 통해 사용자가 요청한 재생 속도에 맞지 않는 프레임이라고 판단한다. For example, in the frame structure as shown in FIG. 2, when the user selects normal speed play and decodes the first frame, the header information of the first frame stores information as a frame encoded at normal speed. It is determined that the frame corresponds to the playback speed requested by the user. However, if the user selects 1 / 2x playback, it is determined that the frame does not match the playback speed requested by the user through the header information of the first frame.

재생 모드에 맞지 않는 프레임이라고 판단되면, 해당 프레임을 스킵하고(S706), 다음 프레임의 헤더 정보를 디코딩하는 단계(S708)를 진행한다.If it is determined that the frame does not match the playback mode, the frame is skipped (S706), and the header information of the next frame is decoded (S708).

재생 모드에 맞는 프레임이라고 판단되면, 해당 프레임을 디코딩한다(S710). 프레임이 디코딩되면, 디코딩의 결과 데이터인 PCM 데이터를 출력한다(S712). 파일의 끝인지 여부를 판단하여(S714), 파일의 끝이 아니면, 다음 프레임의 헤더 정보를 디코딩하는 단계(S702)를 진행하면 파일의 끝인 경우에는 디코딩 작업을 종료한다. If it is determined that the frame matches the playback mode, the frame is decoded (S710). When the frame is decoded, PCM data which is the result data of decoding is output (S712). If it is the end of the file (S714), and if it is not the end of the file, the process of decoding the header information of the next frame (S702) proceeds to the end of the file.

도 8은 본 발명의 바람직한 실시예에 따른 속도 변환이 가능한 MP3 재생 장치의 구성을 도시한 블록도이다.  8 is a block diagram showing the configuration of an MP3 playback apparatus capable of speed conversion according to a preferred embodiment of the present invention.

도 8에 도시된 바와 같이, 본 발명의 바람직한 실시예에 따른 MP3 재생 장치는 메모리(800), 파일 리딩부(802), 디코더(804), 속도 변환 제어부(806) 및 D/A 컨버터(808)를 포함할 수 있다. As shown in FIG. 8, the MP3 player according to the preferred embodiment of the present invention includes a memory 800, a file reading unit 802, a decoder 804, a speed conversion control unit 806, and a D / A converter 808. ) May be included.

도 8에서 메모리(800)는 MP3 파일 데이터를 저장하는 기능을 한다. 메모리는 하드 디스크, 램 등으로 구현될 수 있으며, 당업자라면 파일을 저장하는 메모리가 다양한 형태로 구현할 수 있다는 것을 용이하게 이해할 수 있을 것이다. In FIG. 8, the memory 800 functions to store MP3 file data. The memory may be implemented as a hard disk, a RAM, or the like, and one of ordinary skill in the art will readily understand that the memory storing the file may be implemented in various forms.

파일 리딩부(802)는 사용자가 요청한 MP3 파일을 상기 메모리(800)에서 읽어들여 디코더(804)로 전송하는 기능을 한다. 파일 리딩부(802)는 읽어들인 MP3 파일의 프레임 헤더 정보 등을 분석하고 디코더(804)에 프레임 데이터를 제공하며, 파일에 에러가 없는지 여부를 검출한다. 이러한 파일 리딩은 일반적으로 CPU의 어느 한 모듈을 통해 이루어질 수 있을 것이다. The file reading unit 802 reads the MP3 file requested by the user from the memory 800 and transmits the MP3 file to the decoder 804. The file reading unit 802 analyzes frame header information and the like of the read MP3 file, provides frame data to the decoder 804, and detects whether or not the file has no error. This file reading will generally be accomplished via either module of the CPU.

속도 변환 제어부(806)는 사용자가 선택한 재생 속도에 맞는 프레임을 디코딩하도록 제어 신호를 파일 리딩부(802)에 제공하는 기능을 한다(S804). The speed conversion control unit 806 functions to provide a control signal to the file reading unit 802 to decode a frame corresponding to a playback speed selected by the user (S804).

본 발명의 일 실시예에 따르면, 속도 변환 제어부(806)는 각 프레임을 재생할때마다 상기 도 7에서 설명한 프레임 스킵 넘버를 제공한다. 파일 리딩부(802)는 프레임 스킵 넘버에 따라 스킵한 프레임 데이터를 디코더에 제공하여 사용자가 선택한 재생 속도에 맞게 MP3 파일이 디코딩되도록 한다. According to an embodiment of the present invention, the speed conversion control unit 806 provides the frame skip number described with reference to FIG. 7 each time each frame is played. The file reading unit 802 provides the frame data skipped according to the frame skip number to the decoder so that the MP3 file is decoded according to the playback speed selected by the user.

본 발명의 또 다른 실시예에 따르면, 상기 속도 변환 제어부(806)는 파일 리딩부에서 읽어들이는 MP3 파일 프레임의 헤더 정보를 분석하고 사용자가 요청한 재생 속도에 맞는 프레임인지 판단하여 해당 프레임을 디코딩할지 여부를 지시하는 신호를 생성하여 파일 리딩부(802)에 제공한다. 파일 리딩부(802)는 상기 속도 변환 제어부(806)가 디코딩 지시 신호를 생성하는 프레임에 대해서만 디코더로 프레임을 제공한다. According to another embodiment of the present invention, the speed conversion control unit 806 analyzes the header information of the MP3 file frame read by the file reading unit, and determines whether to decode the corresponding frame by determining whether the frame corresponds to the playback speed requested by the user. A signal indicating whether or not is generated and provided to the file reading unit 802. The file reading unit 802 provides the frame to the decoder only for the frame in which the speed conversion control unit 806 generates the decoding instruction signal.

디코더(804)는 상기 파일 리딩부(802)로부터 제공되는 MP3 프레임 데이터를 디코딩하는 기능을 한다. 전술한 바와 같이, 다양한 MP3 디코딩 방식이 사용될 수 있으며, 디코딩 작업이 본 발명의 특징은 아니므로 상세한 설명은 생략한다. The decoder 804 functions to decode the MP3 frame data provided from the file reading unit 802. As described above, various MP3 decoding schemes may be used, and a detailed description thereof will be omitted since the decoding operation is not a feature of the present invention.

D/A 컨버터(808)는 상기 디코더(804)로부터 출력되는 PCM 데이터를 아날로그 신호로 변환하여 본래의 신호가 재생될 수 있도록 한다. The D / A converter 808 converts the PCM data output from the decoder 804 into an analog signal so that the original signal can be reproduced.

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention. Additions should be considered to be within the scope of the following claims.

이상에서 설명한 바와 같이, 본 발명에 따른 속도 변환 재생이 가능한 오디오 신호 압축 파일 생성 방법 및 오디오 신호 압축 파일 재생 방법에 의하면, 음색이 변하지 않고 속도를 변환하여 재생할 수 있는 장점이 있다. As described above, the audio signal compression file generation method and the audio signal compression file reproduction method capable of speed-converting reproduction according to the present invention have the advantage that the tone can be changed and reproduced without changing the tone.

또한, 또한 데이터가 프레임별로 인터리브되어 있기 때문에 정상 속도 재생과 속도 변환 재생이 실시간으로 스위칭될 수 있으며, 특히 MP3 씨디 플레이어와 같이 씨디 디스크에서 데이터를 읽어들여 재생할 경우 재생 모드 스위칭 시 해당 데이터를 다시 찾기 위해 다시 서치할 필요가 없기 때문에 재생이 간단한 장점이 있다.In addition, since the data is interleaved frame by frame, normal speed playback and speed conversion playback can be switched in real time, especially when reading and playing back data from a CD disc such as an MP3 CD player. There is a simple advantage to playback because you do not need to search again.

아울러, 모든 프레임의 크기를 동일하게 맞추어서 파일 내 특정 위치에 정확하게 찾아갈 수 있게 하여 어학용의 핵심 기능인 패스트 서치가 가능하도록 하였다. In addition, all frames are equally sized so that they can be precisely located at a specific location within the file, enabling fast search, a key feature for language use.

도 1은 종래의 MP3 파일을 디코딩하는 방법의 흐름을 도시한 순서도.1 is a flow chart showing the flow of a method of decoding a conventional MP3 file.

도 2는 본 발명의 바람직한 일 실시예에 따른 1/2배속으로 저속 재생을 하기 위한 MP3 데이터 포맷 구조를 도시한 도면.2 is a diagram showing an MP3 data format structure for low speed playback at 1/2 times according to an embodiment of the present invention.

도 3은 본 발명의 바람직한 일 실시예에 따른 2배속으로 가속 재생을 하기 위한 MP3 데이터 포맷 구조를 도시한 도면.3 is a diagram illustrating an MP3 data format structure for accelerated reproduction at double speed according to an embodiment of the present invention.

도 4는 본 발명의 바람직한 실시예에 따른 속도 변환 재생을 위한 MP3 데이터 생성 방법의 흐름을 도시한 순서도.4 is a flow chart showing the flow of a method of generating MP3 data for speed conversion reproduction according to a preferred embodiment of the present invention.

도 5는 본 발명의 바람직한 실시예에 따른 감속 재생되는 MP3 파일을 생성하는 방법의 흐름을 도시한 순서도.Figure 5 is a flow chart showing the flow of a method for generating a slow playback MP3 file according to a preferred embodiment of the present invention.

도 6은 본 발명의 바람직한 일 실시예에 따른 MP3 데이터 속도 변환 재생 방법의 흐름을 도시한 순서도.6 is a flow chart showing the flow of the MP3 data rate conversion reproduction method according to an embodiment of the present invention.

도 7은 본 발명의 또 다른 실시예에 따른 MP3 데이터 속도 변환 재생 방법의 흐름을 도시한 순서도.7 is a flow chart showing the flow of the MP3 data rate conversion reproduction method according to another embodiment of the present invention.

도 8은 본 발명의 바람직한 실시예에 따른 속도 변환이 가능한 MP3 재생 장치의 구성을 도시한 블록도.8 is a block diagram showing the configuration of an MP3 playback apparatus capable of speed conversion according to a preferred embodiment of the present invention.

Claims (12)

속도를 변화하여 재생할 수 있는 오디오 신호 압축 파일을 생성하는 방법에 있어서,In a method for generating an audio signal compressed file that can be played at varying speeds, 정상 속도로 신호를 엔코딩하는 단계(a);Encoding a signal at a normal speed (a); 변환된 속도로 신호를 엔코딩하는 단계(b);(B) encoding the signal at the converted rate; 상기 단계 (a)의 정상 속도로 엔코딩한 오디오 신호 압축 데이터와 상기 단계(b)의 변환된 속도로 엔코딩한 오디오 신호 압축 데이터 중에서 저속으로 엔코딩된 압축 데이터를 고속으로 엔코딩된 압축데이터에 상기 상기 변환된 속도의 비율에 따라 인터리브하는 단계(c)를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. The conversion of the encoded low-speed encoded data into the compressed data encoded at high speed among the audio signal compressed data encoded at the normal speed of step (a) and the encoded audio signal compressed data at the converted speed of step (b) (C) interleaving according to the ratio of the speeds. 제1항에 있어서,The method of claim 1, 상기 단계(a)의 정상 속도로 엔코딩한 오디오 신호 압축 데이터와 상기 단계(b)의 변환된 속도로 엔코딩한 오디오 신호 압축 데이터의 프레임 데이터 바이트를 일치시키는 단계를 더 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. And matching the frame data bytes of the audio signal compressed data encoded at the normal speed of step (a) with the audio signal compressed data encoded at the converted speed of step (b). How to create a compressed file. 제1항에 있어서, The method of claim 1, 상기 단계(b)에서 변환되는 속도가 저속일 경우,If the speed converted in step (b) is a low speed, 상기 단계(c)의 인터리빙 단계는, The interleaving step of step (c), 상기 단계(a)에서 정상 속도로 엔코딩한 프레임에 대응되는 저속 엔코딩된 복수의 프레임을 판단하는 단계;Determining a plurality of low-speed encoded frames corresponding to the frames encoded at the normal speed in the step (a); 상기 대응되는 복수의 저속 엔코딩된 프레임을 상기 정상 속도로 엔코딩한 프레임의 전 또는 후에 인터리브하는 단계를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법.And interleaving the corresponding plurality of low speed encoded frames before or after the frames encoded at the normal speed. 제1항에 있어서,The method of claim 1, 상기 단계(b)에서 변환되는 속도가 고속일 경우,If the speed converted in the step (b) is a high speed, 상기 단계(c)의 인터리빙 단계는, The interleaving step of step (c), 상기 단계(b)에서 고속으로 엔코딩한 프레임에 대응되는 정상 속도로 엔코딩된 복수의 프레임을 판단하는 단계;Determining a plurality of frames encoded at a normal speed corresponding to the frame encoded at a high speed in the step (b); 상기 대응되는 복수의 정상 속도로 엔코딩한 프레임을 상기 고속으로 엔코딩한 프레임의 전 또는 후에 인터리브하는 단계를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. And interleaving the frames encoded at the corresponding plurality of normal speeds before or after the frames encoded at the high speeds. 제1항에 있어서,The method of claim 1, 상기 단계 (a) 및 (b)에서의 엔코딩 시, 각 프레임에 정상 속도로 엔코딩한 프레임인지 변환된 속도로 엔코딩한 프레임인지 여부를 알리는 헤더 정보를 삽입하는 단계를 더 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. When encoding in the steps (a) and (b), the audio information further comprises the step of inserting header information indicating whether each frame is a frame encoded at a normal speed or a frame encoded at a converted speed How to create a signal archive. 제1항에 있어서,The method of claim 1, 상기 단계(b)의 변환된 속도로 신호를 엔코딩하는 단계는, 변환된 속도가 저속일 경우,Encoding the signal at the converted speed of step (b), if the converted speed is a low speed, 주파수 영역에서 정상 속도 신호의 패턴을 분석하는 단계;Analyzing a pattern of steady speed signals in the frequency domain; 저속 비율만큼 상기 분석된 패턴이 반복되도록 신호를 변환하는 단계;Converting the signal to repeat the analyzed pattern by a slow rate; 상기 변환된 신호를 엔코딩하는 단계를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. And encoding the converted signal. 제1항에 있어서,The method of claim 1, 상기 단계(b)의 변환된 속도로 신호를 엔코딩하는 단계는, 변환된 속도가 고속일 경우,Encoding the signal at the converted speed of step (b), if the converted speed is a high speed, 주파수 영역에서 정상 속도 신호의 패턴을 분석하는 단계;Analyzing a pattern of steady speed signals in the frequency domain; 고속 비율만큼 상기 분석된 패턴의 반복 횟수가 줄어들도록 신호를 변환하는 단계;Converting the signal to reduce the number of repetitions of the analyzed pattern by a high rate; 상기 변환된 신호를 엔코딩하는 단계를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 생성 방법. And encoding the converted signal. 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 방법에 있어서,In a method of playing an audio signal compressed file in which a frame encoded at a normal rate and a frame at which the rate is converted and existed together exist, 오디오 신호 압축 파일을 읽어들이는 단계(a);(A) reading an audio signal compressed file; 사용자가 선택한 재생 속도에 맞도록 프레임 스킵 넘버를 설정하는 단계(b);(B) setting a frame skip number to match the playback speed selected by the user; 상기 단계(b)에 설정된 프레임 스킵 넘버에 따라 프레임을 스킵하고, 사용자가 선택한 재생 속도에 맞는 프레임을 디코딩하는 단계(c);(C) skipping the frame according to the frame skip number set in the step (b), and decoding the frame corresponding to the playback speed selected by the user; 사용자가 선택한 재생 속도에 맞도록 프레임 스킵 넘버를 다시 설정하는 단계(d); 및Resetting the frame skip number to match the playback speed selected by the user (d); And 상기 단계(a) 내지 (d)를 오디오 신호 압축 파일의 끝까지 반복하는 단계를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 재생 방법. Repeating steps (a) to (d) to the end of the audio signal compressed file. 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 방법에 있어서,In a method of playing an audio signal compressed file in which a frame encoded at a normal rate and a frame at which the rate is converted and existed together exist, 오디오 신호 압축 파일을 읽어들이는 단계(a);(A) reading an audio signal compressed file; 프레임의 헤더 정보를 분석하여 프레임이 사용자가 요청한 재생 속도에 맞는 프레임일 경우 해당 프레임을 디코딩하고, 사용자가 요청한 재생 속도에 맞지 않는 프레임일 경우 해당 프레임을 스킵하는 단계(b); 및Analyzing the header information of the frame to decode the frame if the frame is a frame suitable for the playback rate requested by the user, and skipping the frame if the frame is not suitable for the frame rate requested by the user; And 디코딩된 상기 해당 프레임의 데이터를 디지털 아날로그 변환하여 재생하는 단계(c)를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 재생 방법. And (c) playing the decoded data of the corresponding frame by digital analog conversion. 정상 속도로 엔코딩한 프레임과 속도가 변환되어 엔코딩한 프레임이 함께 존재하는 오디오 신호 압축 파일을 재생하는 장치에 있어서,In an apparatus for playing an audio signal compressed file in which a frame encoded at a normal speed and a frame encoded with a converted speed exist together, 오디오 신호 압축 파일이 저장되는 메모리;A memory in which an audio signal compressed file is stored; 상기 메모리로부터 오디오 신호 압축 파일을 읽어들이는 파일 리딩부;A file reading unit for reading an audio signal compressed file from the memory; 상기 파일 리딩부로부터 오디오 신호 압축 파일의 프레임 데이터를 수신하여 디코딩하는 디코더;A decoder for receiving and decoding frame data of an audio signal compression file from the file reading unit; 상기 파일 리딩부에서 상기 디코더로 프레임 전송 시, 사용자가 요청한 재생 속도에 맞는 프레임을 디코딩하도록, 상기 파일 리딩부에 프레임 전송 제어 신호를 제공하는 속도 변환 제어부; 및A rate conversion control unit providing a frame transmission control signal to the file reading unit to decode a frame corresponding to a playback rate requested by a user when transmitting the frame from the file reading unit to the decoder; And 상기 디코더의 출력 신호를 아날로그 신호로 변환하는 D/A 컨버터를 포함하는 것을 특징으로 하는 오디오 신호 압축 파일 재생 장치. And a D / A converter for converting the output signal of the decoder into an analog signal. 제10항에 있어서,The method of claim 10, 상기 속도 변환 제어부는 상기 프레임 리딩부에 프레임 스킵 넘버 정보를 포함하는 프레임 전송 제어 신호를 제공하는 것을 특징으로 하는 오디오 신호 압축 파일 재생 장치. And the rate conversion control unit provides a frame transmission control signal including frame skip number information to the frame reading unit. 제10항에 있어서,The method of claim 10, 상기 속도 변환 제어부는 상기 파일 리딩부에서 읽어들인 프레임 데이터의 헤더 정보를 분석하여 사용자가 선택한 재생 속도에 맞는 프레임만을 상기 디코더록 전송하도록 하는 프레임 전송 제어 신호를 제공하는 것을 특징으로 하는 오디오 신호 압축 파일 재생 장치. The rate converting control unit analyzes the header information of the frame data read from the file reading unit and provides a frame transmission control signal for transmitting only the frame corresponding to the playback speed selected by the user to the decoder lock. Playback device.
KR10-2002-0013285A 2002-03-12 2002-03-12 System and Method for Ordering Goods Using Mobile Terminal KR100483346B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0013285A KR100483346B1 (en) 2002-03-12 2002-03-12 System and Method for Ordering Goods Using Mobile Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0013285A KR100483346B1 (en) 2002-03-12 2002-03-12 System and Method for Ordering Goods Using Mobile Terminal

Publications (2)

Publication Number Publication Date
KR20030073629A KR20030073629A (en) 2003-09-19
KR100483346B1 true KR100483346B1 (en) 2005-04-15

Family

ID=32224437

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0013285A KR100483346B1 (en) 2002-03-12 2002-03-12 System and Method for Ordering Goods Using Mobile Terminal

Country Status (1)

Country Link
KR (1) KR100483346B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182788A (en) * 1993-12-24 1995-07-21 Matsushita Electric Ind Co Ltd Low speed reproducing device for audio data
KR960020551A (en) * 1994-11-26 1996-06-17 구자홍 VCD's Variable Speed Regeneration Device for Digital Etch Deactivation
JPH09139910A (en) * 1995-11-15 1997-05-27 Sony Corp Video data processing method, video data processor and video data recording and reproducing device
KR100362734B1 (en) * 1999-02-06 2002-11-27 주식회사 멀티채널랩스 Playback speed controller with audio pitch compensation in digital audio system for language study

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182788A (en) * 1993-12-24 1995-07-21 Matsushita Electric Ind Co Ltd Low speed reproducing device for audio data
KR960020551A (en) * 1994-11-26 1996-06-17 구자홍 VCD's Variable Speed Regeneration Device for Digital Etch Deactivation
JPH09139910A (en) * 1995-11-15 1997-05-27 Sony Corp Video data processing method, video data processor and video data recording and reproducing device
KR100362734B1 (en) * 1999-02-06 2002-11-27 주식회사 멀티채널랩스 Playback speed controller with audio pitch compensation in digital audio system for language study

Also Published As

Publication number Publication date
KR20030073629A (en) 2003-09-19

Similar Documents

Publication Publication Date Title
US8363521B2 (en) Adaptive high fidelity reproduction system
US7479594B2 (en) Sound data encoding apparatus and sound decoding apparatus
KR100483346B1 (en) System and Method for Ordering Goods Using Mobile Terminal
JP4649901B2 (en) Method and apparatus for coded transmission of songs
KR20040055802A (en) Digital audio with parameters for real-time time scaling
RU2219655C2 (en) Device and method for transmitting digital information signal, record medium, and signal receiving device
JP2000148193A (en) Voice encoding device, optical recording medium, voice decoding device and voice transmitting method
JP3173482B2 (en) Recording medium and audio decoding device for audio data recorded on recording medium
JP4151020B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP3228474B2 (en) Audio encoding device and audio decoding method
JP3196775B1 (en) Audio encoding method and audio decoding method
JP3173608B1 (en) Audio encoding device and audio decoding device
JP2004234014A (en) Transmitting method and decoding device for speech signal
JP3346400B2 (en) Audio coding device
JP3346406B2 (en) Audio encoding method and audio decoding method
JP4151018B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP3228475B2 (en) Audio transmission method and computer program recording medium
JP3346404B2 (en) Audio coding device
JP4399833B2 (en) Speech coding method, speech decoding method, and speech signal transmission method
JP3196777B1 (en) Recording medium and audio decoding device for audio data recorded on recording medium
JP4399819B2 (en) Speech encoding method and speech decoding method
JP3876823B2 (en) Speech coding method and speech decoding apparatus
JP4151019B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP3228473B2 (en) Recording medium and audio decoding device for audio data recorded on recording medium
JP3173609B1 (en) Audio encoding method and audio decoding method

Legal Events

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

Payment date: 20130408

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20140407

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160323

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20170221

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 14