KR100504817B1 - Monotony melody playing method for mobile communication terminal - Google Patents

Monotony melody playing method for mobile communication terminal Download PDF

Info

Publication number
KR100504817B1
KR100504817B1 KR10-2003-0010488A KR20030010488A KR100504817B1 KR 100504817 B1 KR100504817 B1 KR 100504817B1 KR 20030010488 A KR20030010488 A KR 20030010488A KR 100504817 B1 KR100504817 B1 KR 100504817B1
Authority
KR
South Korea
Prior art keywords
melody
sound
task
sound source
tone
Prior art date
Application number
KR10-2003-0010488A
Other languages
Korean (ko)
Other versions
KR20040074853A (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-2003-0010488A priority Critical patent/KR100504817B1/en
Publication of KR20040074853A publication Critical patent/KR20040074853A/en
Application granted granted Critical
Publication of KR100504817B1 publication Critical patent/KR100504817B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits

Abstract

본 발명은 이동 통신 단말기의 단음 멜로디 재생 방법에 관한 것으로, 종래에는 기존의 키-지속 쌍으로 이루어진 단음 멜로디의 구조는 멜로디 음원부의 자체 시퀀서에서 지원하는 구조와 상이함으로 인해 지원되지 않아 음질이 떨어지는 문제점이 있었다. 이러한 문제점을 감안한 본 발명은 사용자 인터페이스 태스크에서 사용자에 의해 선택된 단음 멜로디의 사운드 식별자를 호출하여 사운드 생성 명령을 출력하고 사용자의 종료 명령을 전달하는 단계와; 사운드 태스크에서 상기 사운드 생성 명령을 입력받아 멜로디 음원부를 초기화한 후 단음 멜로디의 키-지속 쌍을 멜로디 음원부의 실시간 미디 메시지로 디코딩하여 출력하고 단음 멜로디의 재생 종료를 결정하는 단계와; 단음 멜로디의 드라이버에서 상기 사운드 태스크의 초기화에 의해 멜로디 음원부를 초기화하고 단음 멜로디 처리에 따른 실시간 재생 디바이스 드라이버를 로딩하여 상기 사운드 태스크로부터 전달되는 미디 메시지를 처리하는 단계로 이루어져 야마하의 음원칩을 이용하는 이동 통신 단말기에서 미려한 음색의 128가지의 악기음을 이용하여 단음 멜로디를 재생하므로 음질이 높아지고 하드웨어적으로 링거가 불필요하므로 회로가 간결해지고 제품 구현이 용이해지는 효과가 있다.The present invention relates to a method for reproducing a single tone melody of a mobile communication terminal. In the related art, the structure of a single tone melody composed of a conventional key-persistent pair is not supported due to a structure different from the structure supported by a sequencer of the melody sound source, thereby degrading sound quality. There was this. In view of the above problems, the present invention provides a method comprising: calling a sound identifier of a single melody selected by a user in a user interface task, outputting a sound generation command, and delivering a user end command; Initializing a melody sound source by receiving the sound generation command from a sound task, decoding a key-continuous pair of single melody into a real-time MIDI message of the melody sound source, and determining the end of playback of the melody; Initializing the melody source unit by initializing the sound task in the driver of the single melody and loading a real-time playback device driver according to the single melody processing to process a MIDI message transmitted from the sound task. As the single terminal melody is reproduced using 128 kinds of musical instruments of beautiful tone in the communication terminal, the sound quality is high and the ringer is unnecessary in hardware, so the circuit is simplified and the product is easily implemented.

Description

이동 통신 단말기의 단음 멜로디 재생 방법{MONOTONY MELODY PLAYING METHOD FOR MOBILE COMMUNICATION TERMINAL}MONOTONY MELODY PLAYING METHOD FOR MOBILE COMMUNICATION TERMINAL}

본 발명은 이동 통신 단말기의 단음 멜로디 재생 방법에 관한 것으로, 특히 이동 통신 단말기에 내장된 멜로디 음원부의 멜로디 음원을 이용하여 단음 멜로디를 재생하여 음질을 높일 수 있게 한 이동 통신 단말기의 단음 멜로디 재생 방법에 관한 것이다.The present invention relates to a method for reproducing a single tone melody of a mobile communication terminal, and more particularly, to a method for reproducing a single tone melody of a mobile communication terminal by using a melody sound source of a melody sound source unit embedded in a mobile communication terminal to improve sound quality. It is about.

종래 이동 통신 단말기의 사운드 처리부는 도 1에 도시된 바와 같이, 보코더와 타이머에 의해 벨소리 음원을 재생하여 출력하는 단말기 모뎀(11)과; 상기 단말기 모뎀(11)으로부터 출력되는 벨소리를 입력받아 외부로 출력하는 벨신호기(12)와; 상기 단말기 모뎀(11)에 의해 복조된 상대방 음성을 출력하는 스피커(13)와 헤드셋(14)으로 구성된다.As shown in FIG. 1, the sound processor of the conventional mobile communication terminal includes: a terminal modem 11 for reproducing and outputting a ringtone sound source by a vocoder and a timer; A ring signal receiver 12 for receiving a ring tone output from the terminal modem 11 and outputting it to the outside; And a speaker 13 and a headset 14 for outputting the voice of the other party demodulated by the terminal modem 11.

단말기 모뎀(11)은 내부의 보코더와 타이머를 이용하여 벨소리 음원을 재생하여 벨신호기(12)를 통해 외부로 출력한다. 스피커(13)와 헤드셋(14)은 상기 단말기 모뎀(11)에 의해 선택되어 복조된 상대방 음성을 출력한다.The terminal modem 11 reproduces the ringtone sound source using an internal vocoder and a timer and outputs it to the outside through the bell signal signal 12. The speaker 13 and the headset 14 output the voice of the other party selected and demodulated by the terminal modem 11.

여기서, 상기 벨소리 음원을 재생하는 단말기 모뎀의 동작을 상세히 설명하면 다음과 같다.Herein, the operation of the terminal modem for reproducing the ringtone sound source will be described in detail.

멜로디 음원부를 내장하지 않은 단말기 모뎀은 사운드를 생성하기 위해 아래와 같이 동작한다.A terminal modem without a built-in melody source operates as follows to produce sound.

먼저, 사용자 인터페이스는 사운드 태스크에 프로세스 통신을 위한 규칙에 따라 소리 데이터를 전달하는데 필요한 정보와 함께 사운드 발생 명령을 전달한다.First, the user interface delivers a sound generation command to the sound task along with information needed to deliver sound data according to rules for process communication.

상기 사운드 태스크는 사용자 인터페이스로부터 소리 발생에 대한 명령을 수신하면서 어떤 소리 생성기를 선택할 것인지를 결정하고 각 생성기에 따른 사운드 발생 프로세스를 밟는다.The sound task determines which sound generator to select while receiving a command for sound generation from the user interface and follows the sound generation process according to each generator.

퀄컴의 단말기 모뎀은 사운드를 발생하는 기본 단위로 톤(snd_compact_tone_type)을 사용한다. 각 톤은 소리의 높낮이를 나타내는 키값과 지속시간을 나타내는 지속값으로 구성된다.Qualcomm's terminal modem uses tone (snd_compact_tone_type) as the basic unit for generating sound. Each tone consists of a key value representing the height of the sound and a duration value representing the duration.

사운드 태스크는 각 멜로디에 대한 정보를 상기에서 설명한 톤들의 조합으로 구성된 멜로디 테이블로 갖고 있으며 사용자 인터페이스 태스크는 이러한 멜로디에 부여된 식별자를 호출함으로써 사운드를 발생시킨다.The sound task has information about each melody as a melody table composed of combinations of the tones described above, and the user interface task generates a sound by calling an identifier assigned to this melody.

사운드 태스크는 기본 프로세스 명령에 포함된 식별자를 매칭시켜 사운드 데이터베이스에 포함된 각 톤들을 요구되는 시간마다 톤을 에이징하며 해당되는 사운드 생성기를 통하여 사운드를 발생시킨다. 각 사운드 생성기에 요구되는 형태의 에이징은 해당되는 사운드 생성기의 에이징 함수를 통해서 수행된다.The sound task matches the identifiers included in the basic process instructions to age each tone in the sound database at the required time and to generate sound through the corresponding sound generator. The type of aging required for each sound generator is performed through the aging function of the corresponding sound generator.

기존의 단문 메시지를 통해서 다운로드되었던 멜로디 다운로드 기능에 포함된 멜로디 포맷은 퀄컴의 컴팩트 톤 타입과 매칭이 될 수 있는 키-지속 쌍으로 나열되어 있다.The melody format included in the melody download feature, which was downloaded via a short message, is listed as a key-persistent pair that can match Qualcomm's compact tone type.

도 2는 종래 멜로디 음원부를 내장한 이동 통신 단말기의 사운드 처리부의 구성을 보인 블록도로서, 이에 도시된 바와 같이 상대방의 음성 신호와 음악 신호를 아날로그 라인을 통해 출력하고 음악파일 데이터를 데이터 라인을 통해 출력하는 단말기 모뎀(21)과; 상기 아날로그 라인을 통해 전달되는 음성 신호와 음악 신호를 스위칭하여 출력하는 제1다중화기(22)와; 상기 제1다중화기(22)에 의해 분리된 음악 신호와 상기 데이터 라인을 통해 입력되는 음악파일 데이터를 입력받아 파일 단위의 데이터 시퀀서를 로딩하여 멜로디 처리하여 출력하는 멜로디 음원부(23)와; 상기 멜로디 음원부(23)의 스피커 출력과 상기 제1다중화기(22)의 출력을 스위칭하여 출력하는 제2다중화기(24)와; 상기 단말기 모뎀(21)의 헤드셋 출력과 상기 멜로디 음원부(23)의 헤드셋 출력을 입력받아 외부로 출력하는 헤드셋(26)으로 구성된다.2 is a block diagram showing the configuration of a sound processing unit of a mobile communication terminal incorporating a conventional melody sound source. As shown in FIG. 2, a voice signal and a music signal of a counterpart are output through an analog line, and music file data is transmitted through a data line. A terminal modem 21 for outputting; A first multiplexer 22 for switching and outputting a voice signal and a music signal transmitted through the analog line; A melody sound source unit 23 which receives a music signal separated by the first multiplexer 22 and music file data input through the data line, loads a data sequencer in a file unit, and processes the melody and outputs the data sequencer; A second multiplexer (24) for switching and outputting the speaker output of the melody sound source unit (23) and the output of the first multiplexer (22); The headset 26 is configured to receive the headset output of the terminal modem 21 and the headset output of the melody sound source 23 to be output to the outside.

단말기 모뎀(21)은 리시버 단자를 통해 아날로그 신호인 음성 신호와 음악 신호를 출력하고 헤드셋 단자를 통해 음성 신호를 출력하고 데이터 단자를 통해 음악파일 데이터를 출력한다.The terminal modem 21 outputs an audio signal and a music signal, which are analog signals, through a receiver terminal, outputs a voice signal through a headset terminal, and outputs music file data through a data terminal.

제1다중화기(22)는 상기 리시버 단자를 통해 출력되는 음성 신호와 음악 신호를 분리하여 출력한다.The first multiplexer 22 separates and outputs a voice signal and a music signal output through the receiver terminal.

멜로디 음원부(23)는 상기 단말기 모뎀(21)의 데이터 단자를 통해 출력되는 음악파일 데이터와 상기 제1다중화기(22)에 의해 분리된 음악 신호를 입력받아 파일 단위의 데이터 시퀀서를 로딩하여 멜로디 처리하여 스피커 출력이나 헤드셋 출력에 출력한다.The melody sound source unit 23 receives the music file data output through the data terminal of the terminal modem 21 and the music signal separated by the first multiplexer 22 and loads a data sequencer in units of files to perform a melody. Process them and output them to the speaker output or headset output.

제2다중화기(24)는 상기 멜로디 음원부(23)의 스피커 출력과 상기 제1다중화기(22)의 스피커 출력을 다중화하여 스피커(25)에 전달한다.The second multiplexer 24 multiplexes the speaker output of the melody sound source unit 23 and the speaker output of the first multiplexer 22 and transmits the same to the speaker 25.

헤드셋(26)은 상기 멜로디 음원부(23)의 헤드셋 출력과 상기 단말기 모뎀(21)의 헤드셋 출력과 연결되어 사운드를 출력한다.The headset 26 is connected to the headset output of the melody sound source unit 23 and the headset output of the terminal modem 21 to output sound.

스피커 출력은 제1다중화기(22)와 제2다중화기(24)의 두 스위치에 의해 선택된 경로에 의해 결정되며 이 두 다중화기(22, 24)는 단말기 모뎀(21)의 제어를 받는다. 상기 두 다중화기(22, 24)는 개별적으로 개폐가 가능하여 이를 통해 단말기 모뎀(21)의 음악 신호와 멜로디 음원부(23)의 음악 신호를 하나의 스피커(25)에 출력한다.The speaker output is determined by the path selected by the two switches of the first multiplexer 22 and the second multiplexer 24, which are controlled by the terminal modem 21. The two multiplexers 22 and 24 can be opened and closed individually, thereby outputting the music signal of the terminal modem 21 and the music signal of the melody sound source unit 23 to one speaker 25.

멜로디 음원부(23)도 스피커(25)와 헤드셋(26)의 개별 경로 설정이 가능하며 이 경우 내부 회로의 구성으로 인해 음악파일 데이터와 단말기 모뎀(21)으로부터 입력받은 음악 신호를 두 경로로 동시에 출력하지 못한다.The melody sound source unit 23 can also set the individual paths of the speaker 25 and the headset 26. In this case, due to the configuration of the internal circuit, the music file data and the music signal received from the terminal modem 21 can be simultaneously routed in two paths. It does not print.

이동 통신 단말기에 사용되는 멜로디 음원부(23)는 야마하의 음원칩이 사용되며 상기 음원칩은 단말기 모뎀(21)의 디바이스를 이용하는 것과 달리 야마하 포맷에 맞는 파일을 데이터 형식으로 입력받아 멜로디를 생성한다.As a melody sound source unit 23 used in a mobile communication terminal, a Yamaha sound source chip is used, and the sound source chip generates a melody by receiving a file conforming to a Yamaha format in a data format, unlike using a device of the terminal modem 21. .

야마하의 음원칩은 외부로부터 클럭을 공급받아 자체의 시퀀서를 가지고 동작하므로 퀄컴 사운드의 에이징 과정과 디바이스 선별 과정이 필요없다.Yamaha's sound source chip is clocked from the outside and operates with its own sequencer, eliminating the need for Qualcomm's aging process and device selection.

따라서, 사용자 인터페이스 태스크나 사운드 태스크는 야마하의 음원칩으로 음악파일 데이터를 데이터 라인을 통하여 전달하는 동작을 할뿐이다.Therefore, the user interface task or the sound task only carries the music file data to the Yamaha sound source chip through the data line.

그러나, 상기와 같은 종래 기술에 있어서, 기존의 키-지속 쌍으로 이루어진 단음 멜로디의 구조는 멜로디 음원부의 자체 시퀀서에서 지원하는 구조와 상이함으로 인해 지원되지 않아 음질이 떨어지는 문제점이 있다.However, in the prior art as described above, the structure of the single-tone melody consisting of the existing key-continuous pair is not supported due to the structure different from the structure supported by the own sequencer of the melody sound source unit, and thus there is a problem in that sound quality is degraded.

따라서, 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 단음 멜로디의 포맷을 멜로디 음원부에 맞는 포맷으로 디코딩하여 멜로디 음원부에 의해 단음 멜로디가 재생될 수 있도록 한 이동 통신 단말기의 단음 멜로디 재생 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above problems, and the single tone melody of the mobile communication terminal is decoded into a format suitable for the melody sound source so that the single sound melody can be reproduced by the melody sound source. The purpose is to provide a method.

상기와 같은 목적을 달성하기 위한 본 발명은, 사용자 인터페이스 태스크에서 사용자에 의해 선택된 단음 멜로디의 사운드 식별자를 호출하여 사운드 생성 명령을 출력하고 사용자의 종료 명령을 전달하는 단계와; 사운드 태스크에서 상기 사운드 생성 명령을 입력받아 멜로디 음원부를 초기화한 후 단음 멜로디의 키-지속 쌍을 멜로디 음원부의 실시간 미디 메시지로 디코딩하여 출력하고 단음 멜로디의 재생 종료를 결정하는 단계와; 단음 멜로디의 드라이버에서 상기 사운드 태스크의 초기화에 의해 멜로디 음원부를 초기화하고 단음 멜로디 처리에 따른 실시간 재생 디바이스 드라이버를 로딩하여 상기 사운드 태스크로부터 전달되는 미디 메시지를 처리하는 단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method for generating a sound generation command by calling a sound identifier of a single melody selected by a user in a user interface task, and transmitting a user end command; Initializing a melody sound source by receiving the sound generation command from a sound task, decoding a key-continuous pair of single melody into a real-time MIDI message of the melody sound source, and determining the end of playback of the melody; Initializing the melody sound source by the initialization of the sound task in the driver of the single-tone melody, and loading the real-time playback device driver according to the single-tone melody processing characterized in that it comprises a MIDI message delivered from the sound task.

이하, 본 발명에 따른 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 종래 멜로디 음원부를 내장한 이동 통신 단말기의 사운드 처리부의 구성과 동일한 장치에서 동작하며 일체의 하드웨어 변경이 필요하지 않고 하드웨어적으로 멜로디 음원부, 그리고, 소프트웨어적으로 디바이스 드라이버와 함께 제공되는 오디오 시퀀서가 필요하다.The present invention operates in the same device as that of the sound processing unit of a mobile communication terminal incorporating a conventional melody sound source, and does not require any hardware change, and is provided with a melody sound source in hardware and a device driver in software. You need a sequencer.

또한, 멜로디 음원부의 실시간 미디를 이용하기 위해서는 기존 퀄컴 기반의 사운드 시스템을 변경하는 것이 필수적이다.In addition, it is essential to change the existing Qualcomm-based sound system in order to use real-time MIDI of the melody source.

도 3은 본 발명에 따른 이동 통신 단말기의 단음 멜로디 재생 방법의 동작 흐름도로서, 이에 도시된 바와 같이 사용자 인터페이스 태스크에서 사용자에 의해 선택된 단음 멜로디의 사운드 식별자를 호출하여 사운드 생성 명령을 출력하고 사용자의 종료 명령을 전달하는 단계(S10)와; 사운드 태스크에서 상기 사운드 생성 명령을 입력받아 멜로디 음원부를 초기화한 후 단음 멜로디의 키-지속 쌍을 멜로디 음원부의 실시간 미디 메시지로 디코딩하여 출력하고 단음 멜로디의 재생 종료를 결정하는 단계(S20)와; 단음 멜로디의 드라이버에서 상기 사운드 태스크의 초기화에 의해 멜로디 음원부를 초기화하고 단음 멜로디 처리에 따른 실시간 재생 디바이스 드라이버를 로딩하여 상기 사운드 태스크로부터 전달되는 미디 메시지를 처리하는 단계(S40)로 이루어진다.3 is an operation flowchart of a method for reproducing a single melody of a mobile communication terminal according to the present invention. As shown in FIG. 3, a user interface task calls a sound identifier of a single melody selected by a user to output a sound generation command and terminate the user. Transmitting a command (S10); Receiving a sound generation command from a sound task, initializing a melody sound source unit, deciphering and outputting a key-continuous pair of single melody into a real-time MIDI message of the melody sound source unit, and determining the end of playback of the single melody; In step S40, the melody sound source is initialized by the initialization of the sound task in the driver of the single melody and the MIDI message transmitted from the sound task is processed by loading the real-time playback device driver according to the single melody process.

상기 사운드 태스크의 사운드 생성 단계(S20)는 사용자 인터페이스 태스크(S10)로부터 사운드 생성 명령을 전달받아 사운드 식별자를 분석하여 단음 멜로디 처리를 위한 아이템으로 판단하면 멜로디 음원부의 드라이버에 단음 멜로디 처리를 위한 인식자를 세팅하는 단계(S21)와; 기존에 설정된 볼륨 값을 참조하여 멜로디 음원부의 드라이버를 통하여 전원 제어, 볼륨 제어 등 멜로디 음원부를 초기화하는 단계(S22)와; 상기 멜로디 음원부의 초기화가 끝나면 사운드를 생성하기 위한 일련의 동작을 수행하면서 각 톤의 키와 지속 시간을 계산하는 단계(S23)와; 상기 키 값을 참조하여 해당하는 실시간 미디의 메시지로 디코딩하여 멜로디 음원부에 전달하고 상기 지속 시간만큼 타이머를 세팅하여 지속 시간을 결정하는 단계(S24)와; 톤 테이블의 인식자가 멜로디 종료를 나타내거나 사용자가 종료를 요청하면 사운드 생성을 종료하는 단계(S25)로 이루어진 것을 특징으로 한다.The sound generation step (S20) of the sound task receives a sound generation command from the user interface task (S10) and analyzes the sound identifier to determine the item for single melody processing, and recognizes the recognizer for single melody processing to the driver of the melody sound source unit. Setting step (S21); Initializing the melody sound source by power control, volume control, etc. through the driver of the melody sound source by referring to the previously set volume value (S22); Calculating a key and a duration of each tone while performing a series of operations to generate a sound when the melody sound source is initialized (S23); Determining a duration by decoding the message into a corresponding real-time MIDI message with reference to the key value and transmitting the melody to a melody sound source, and setting a timer by the duration (S24); If the recognizer of the tone table indicates the end of the melody or if the user requests termination, the sound generation is terminated (S25).

상기 멜로디 음원부의 드라이버의 멜로디 처리 단계(S40)는 사운드 태스크에 의해 전원 제어, 볼륨 제어 등 멜로디 음원부를 초기화하는 단계(S41)와; 상기 초기화가 끝나면 실시간 재생 디바이스 드라이버를 로딩하여 단음 멜로디 처리를 위한 스탠바이 상태에 머무르는 단계(S42, S43)와; 상기 스탠바이 상태에서 상기 사운드 태스크로부터 실시간 미디 메시지를 전달받아 단음 멜로디를 처리하는 단계(S44)로 이루어진 것을 특징으로 하며 이를 설명하면 다음과 같다.The melody processing step (S40) of the driver of the melody sound source unit may include initializing a melody sound source unit such as power control and volume control by a sound task (S41); When the initialization is completed, loading the real-time playback device driver and staying in a standby state for single-tone melody processing (S42 and S43); The step of receiving a real-time MIDI message from the sound task in the standby state to process a single tone melody (S44) will be described as follows.

사용자 인터페이스 태스크(S10)는 사운드 식별자를 호출하여 사운드 태스크(S20)에 사운드 생성 명령을 전달한다.The user interface task S10 calls a sound identifier to transmit a sound generation command to the sound task S20.

사운드 태스크는 상기 사운드 생성 명령을 전달받아 사운드 요청 루틴을 통해 명령 분석을 처리한다(S21).The sound task receives the sound generation command and processes command analysis through a sound request routine (S21).

상기 사운드 요청 루틴은 사운드 식별자를 분석하고 사용자의 단음 멜로디 처리를 위한 아이템인지를 판독한 후 단음 멜로디로 판단하면 사운드 하드웨어 및 멜로디 음원부의 드라이버에 단음 멜로디 처리를 위한 인식자를 세팅한다(S21).The sound request routine analyzes the sound identifier, reads whether the item is for the user's single tone melody processing, and if it is determined to be a single tone melody, sets a recognizer for single tone melody processing in the sound hardware and the driver of the melody sound source (S21).

그리고, 단음 멜로디 처리는 기존 사용되었던 볼륨 값을 참조하여 멜로디 음원부의 드라이버를 통해서 볼륨을 초기화한다(S22). 또한, 멜로디 음원부의 드라이버를 통하여 전원 제어, 볼륨 제어 등을 처리하여 멜로디 음원부를 초기화한다(S41).The single tone melody process initializes the volume through the driver of the melody sound source unit with reference to the previously used volume value (S22). In addition, the melody sound source unit is initialized by processing power control, volume control, etc. through the driver of the melody sound source unit (S41).

멜로디 음원부의 단음 멜로디 사용을 위한 초기화가 끝나면 멜로디 음원부는 파일 단위의 데이터 시퀀서를 로딩하지 않고 실시간 미디를 재생하기 위한 내부 디바이스 드라이버를 로딩한다(S42). 디바이스 드라이버 초기화 후 멜로디 음원부는 이미 전원이 인가되어 활성화된 상태에서 단음 멜로디 처리를 위한 스탠바이 상태에 머무르게 된다(S43).After the initialization for the single-tone melody of the melody source unit is completed, the melody source unit loads an internal device driver for reproducing real-time MIDI without loading a data sequencer in units of files (S42). After the device driver initialization, the melody sound source unit stays in the standby state for single-tone melody processing while the power is already activated and activated (S43).

이후, 단말기 모뎀의 사운드 태스크는 사운드를 생성하기 위한 일련의 동작을 수행하면서 에이징 함수를 통하여 각 톤의 키와 지속 시간을 계산하는 동작을 반복한다(S23, S24). 여기서, 멜로디 음원부의 단음 멜로디 처리 루틴은 기존 링거를 통한 단음 멜로디 처리 루틴과 동일하다.Thereafter, the sound task of the terminal modem repeats an operation of calculating a key and a duration of each tone through an aging function while performing a series of operations for generating a sound (S23 and S24). Here, the single melody processing routine of the melody sound source unit is the same as the single melody processing routine through the existing ringer.

사운드의 에이징 함수를 통해 사운드 생성기의 톤 발생 함수는 키 값을 참조하여 해당하는 실시간 미디의 메시지로 디코딩하여 멜로디 음원부에 전달한다.The tone generator function of the sound generator, through the aging function of the sound, decodes the message into a corresponding real-time MIDI message by referring to the key value and delivers it to the melody source.

각 톤의 지속 시간은 사운드 태스크의 사운드 전환 함수에 의해 정해지며 이것은 기존 사운드 생성 과정과 동일하다. 즉, 지속 시간을 계산하고 계산된 지속 시간만큼 타이머를 세팅함으로써 지속 시간을 결정한다(S24).The duration of each tone is determined by the sound task's sound transition function, which is the same as the conventional sound generation process. That is, the duration is determined by calculating the duration and setting the timer by the calculated duration (S24).

멜로디에서 톤의 지속과 단절 등은 각 톤의 키 값에 결정되며 톤의 유무와 침묵 등을 고려하여 단음 멜로디는 적절하게 멜로디 음원부의 실시간 미디 포맷으로 코딩된다.The duration and disconnection of the tone in the melody is determined by the key value of each tone, and the single tone melody is appropriately coded in the real-time MIDI format of the melody source in consideration of the presence or absence of the tone and the like.

단음 멜로디가 종료될 때에는 멜로디 종료를 나타내는 톤 테이블의 인식자나 사용자의 종료에 의해 수행되며 종료 시 멜로디 음원부도 함께 종료된다(S25). 이에 따라 멜로디 음원부는 전력 강하한다.When the single tone melody is terminated by the end of the recognizer or the user of the tone table indicating the end of the melody, the melody sound source unit is also terminated at the end (S25). Accordingly, the melody sound source drops in power.

이상에서 상세히 설명한 바와 같이, 본 발명은 야마하의 음원칩을 이용하는 이동 통신 단말기에서 미려한 음색의 128가지의 악기음을 이용하여 단음 멜로디를 재생하므로 음질이 높아지고 하드웨어적으로 링거가 불필요하므로 회로가 간결해지고 제품 구현이 용이해지는 효과가 있다.As described in detail above, the present invention reproduces a single tone melody using 128 kinds of musical instruments of a beautiful tone in a mobile communication terminal using a Yamaha sound source chip, so that the sound quality is high and hardware does not require a ringer, resulting in a simplified circuit. It is easy to implement the product.

도 1은 종래 이동 통신 단말기의 사운드 처리부의 구성을 보인 블록도.1 is a block diagram showing a configuration of a sound processing unit of a conventional mobile communication terminal.

도 2는 종래 멜로디 음원부를 내장한 이동 통신 단말기의 사운드 처리부의 구성을 보인 블록도.2 is a block diagram showing a configuration of a sound processing unit of a mobile communication terminal incorporating a conventional melody sound source;

도 3은 본 발명에 따른 이동 통신 단말기의 단음 멜로디 재생 방법의 동작 흐름도.3 is a flowchart illustrating a method for reproducing a single melody of a mobile communication terminal according to the present invention.

Claims (3)

사용자 인터페이스 태스크에서 사용자에 의해 선택된 단음 멜로디의 사운드 식별자를 호출하여 사운드 생성 명령을 출력하고 사용자의 종료 명령을 전달하는 단계와;Calling a sound identifier of a single melody selected by a user in a user interface task to output a sound generation command and to deliver a user end command; 사운드 태스크에서 상기 사운드 생성 명령을 입력받아 멜로디 음원부를 초기화한 후 단음 멜로디의 키-지속 쌍을 멜로디 음원부의 실시간 미디 메시지로 디코딩하여 출력하고 단음 멜로디의 재생 종료를 결정하는 단계와;Initializing a melody sound source by receiving the sound generation command from a sound task, decoding a key-continuous pair of single melody into a real-time MIDI message of the melody sound source, and determining the end of playback of the melody; 단음 멜로디의 드라이버에서 상기 사운드 태스크의 초기화에 의해 멜로디 음원부를 초기화하고 단음 멜로디 처리에 따른 실시간 재생 디바이스 드라이버를 로딩하여 상기 사운드 태스크로부터 전달되는 미디 메시지를 처리하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 단음 멜로디 재생 방법.Initializing the melody source unit by initializing the sound task in the driver of the single melody and loading a real-time reproducing device driver according to the single melody processing to process a MIDI message transmitted from the sound task. To play single note melody. 제1항에 있어서, 상기 사운드 태스크의 사운드 생성 단계는The method of claim 1, wherein the sound generation step of the sound task 사용자 인터페이스 태스크로부터 사운드 생성 명령을 전달받아 사운드 식별자를 분석하여 단음 멜로디 처리를 위한 아이템으로 판단하면 멜로디 음원부의 드라이버에 단음 멜로디 처리를 위한 인식자를 세팅하는 단계와;Receiving a sound generation command from a user interface task and analyzing a sound identifier to determine an item for single melody processing, setting an identifier for single melody processing in a driver of the melody sound source unit; 기존에 설정된 볼륨 값을 참조하여 멜로디 음원부의 드라이버를 통하여 멜로디 음원부를 초기화하는 단계와;Initializing the melody sound source through a driver of the melody sound source by referring to a previously set volume value; 상기 멜로디 음원부의 초기화가 끝나면 사운드를 생성하기 위한 일련의 동작을 수행하면서 각 톤의 키와 지속 시간을 계산하는 단계와;Calculating a key and a duration of each tone while performing a series of operations to generate a sound when the melody sound source is initialized; 상기 키 값을 참조하여 해당하는 실시간 미디의 메시지로 디코딩하여 멜로디 음원부에 전달하고 상기 지속 시간만큼 타이머를 세팅하여 지속 시간을 결정하는 단계와;Determining a duration by decoding the message into a corresponding real-time MIDI message by referring to the key value and transmitting the message to a melody sound source, and setting a timer for the duration; 톤 테이블의 인식자가 멜로디 종료를 나타내거나 사용자가 종료를 요청하면 사운드 생성을 종료하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 단음 멜로디 재생 방법.And ending the sound generation when the recognizer of the tone table indicates the end of the melody or the user requests the end of the melody. 제1항에 있어서, 상기 멜로디 음원부의 드라이버의 멜로디 처리 단계는The method of claim 1, wherein the melody processing step of the driver of the melody sound source unit 사운드 태스크에 의해 멜로디 음원부를 초기화하는 단계와;Initializing a melody sound source by a sound task; 상기 초기화가 끝나면 실시간 재생 디바이스 드라이버를 로딩하여 단음 멜로디 처리를 위한 스탠바이 상태에 머무르는 단계와;When the initialization is completed, loading the real-time playback device driver and staying in the standby state for the single tone melody processing; 상기 스탠바이 상태에서 상기 사운드 태스크로부터 실시간 미디 메시지를 전달받아 단음 멜로디를 처리하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 단음 멜로디 재생 방법.And receiving a real-time MIDI message from the sound task in the standby state to process a single tone melody.
KR10-2003-0010488A 2003-02-19 2003-02-19 Monotony melody playing method for mobile communication terminal KR100504817B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0010488A KR100504817B1 (en) 2003-02-19 2003-02-19 Monotony melody playing method for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0010488A KR100504817B1 (en) 2003-02-19 2003-02-19 Monotony melody playing method for mobile communication terminal

Publications (2)

Publication Number Publication Date
KR20040074853A KR20040074853A (en) 2004-08-26
KR100504817B1 true KR100504817B1 (en) 2005-08-01

Family

ID=37361472

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0010488A KR100504817B1 (en) 2003-02-19 2003-02-19 Monotony melody playing method for mobile communication terminal

Country Status (1)

Country Link
KR (1) KR100504817B1 (en)

Also Published As

Publication number Publication date
KR20040074853A (en) 2004-08-26

Similar Documents

Publication Publication Date Title
CN100452808C (en) Telephone terminal appts. and communication method
KR20020074503A (en) Portable telephone and music reproducing method
JP2000224269A (en) Telephone set and telephone system
KR101048021B1 (en) Apparatus and method for playing a portable wireless terminal
KR100477306B1 (en) Portable telephone
KR100504817B1 (en) Monotony melody playing method for mobile communication terminal
KR100705163B1 (en) portable termial and signal transmission method for service the background music
KR100468987B1 (en) Portable terminal device and effect applying method thereof and recording medium
KR20000053865A (en) Telecommunications switching office having the replay function of background music
JP4207343B2 (en) Mobile phone equipment
US20060211456A1 (en) Musical audible alert termination
KR101206113B1 (en) Apparatus and method for alarming live bell in mobile terminal
KR100695368B1 (en) Sound processing device of mobile terminal to output high quality sound
JP2005217614A (en) Telephone terminal and method for reproducing melody
JP3893894B2 (en) Mobile terminal device
JP2000330557A (en) Digital signal processing device having melody function
JPH1188211A (en) Portable radio equipment and its incoming call tone generating method
KR200289591Y1 (en) Voice information service system using a mobile terminal of voice recognition type
JP2001177605A (en) Portable telephone set
KR100455178B1 (en) A device and a method of setting ring signal for receiving call with use midi sequencing
KR100755526B1 (en) Apparatus for creation of bell sound and method thereof
KR20060073173A (en) Method for arranging music in portable terminal and terminal used for the same
JP2002118624A (en) Generation system for sounding effect sound in portable mobile terminal
JPH1155379A (en) Telephone terminal equipment
KR20060107711A (en) Method for servicing background sound in a mobile phone and system therefor

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: 20110620

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee