摘要 |
PURPOSE: A method for reproducing a bell sound using a DTMF(Dual Tone Multi Frequency) generator of a mobile communication terminal is provided to embody various bell sounds by reproducing bell sounds of two channels. CONSTITUTION: Control variables are initialized(S1). It is determined whether a certain channel is changed(S2). If an A channel is changed, a frequency to be reproduced in a counter A is set(S3). If A and B channels are changed, frequencies to be reproduced in the counter A and a counter B are set(S4). If a B channel is changed, a frequency to be reproduced in the counter B is set(S5). In case that the frequency of the A channel is changed, a reproduction distance is accumulated from a bell sound reproduction time for calculating a time in which the frequency of the A channel is changed, and a frequency variable(i) is increased for designating the frequency of the A channel in the changed time(S6). In case that the frequencies of the A and B channels are changed, reproduction distances are accumulated from bell sound reproduction times for calculating a time in which the frequencies of the A and B channel are changed, and frequency variables(i,j) are increased for designating the frequencies of the A and B channels in the changed time(S7). In case that the frequency of the B channel is changed, a reproduction distance is accumulated from a bell sound reproduction time for calculating a time in which the frequency of the B channel is changed, and the frequency variable(j) is increased for designating the frequency of the B channel in the changed time(S8). A channel to be primarily changed is set centering around a primary reproducing time for grasping a time in which the frequency of the A channel, the B channel, or the A and B channel is changed(S9). In case that the A channel is primarily changed, a time from a current time to the time in which the A channel is changed is calculated for setting a timer(S10). In case that the B channel is primarily changed, a time from the current time to the time in which the B channel is changed is calculated for setting a timer(S11).
|