KR20080086787A - Audio reproducing device and control method - Google Patents

Audio reproducing device and control method Download PDF

Info

Publication number
KR20080086787A
KR20080086787A KR1020070028918A KR20070028918A KR20080086787A KR 20080086787 A KR20080086787 A KR 20080086787A KR 1020070028918 A KR1020070028918 A KR 1020070028918A KR 20070028918 A KR20070028918 A KR 20070028918A KR 20080086787 A KR20080086787 A KR 20080086787A
Authority
KR
South Korea
Prior art keywords
level
audio
audio signal
output
data
Prior art date
Application number
KR1020070028918A
Other languages
Korean (ko)
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 KR1020070028918A priority Critical patent/KR20080086787A/en
Publication of KR20080086787A publication Critical patent/KR20080086787A/en

Links

Images

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/10009Improvement or modification of read or write signals
    • G11B20/10018Improvement or modification of read or write signals analog processing for digital recording or reproduction
    • G11B20/10027Improvement or modification of read or write signals analog processing for digital recording or reproduction adjusting the signal strength during recording or reproduction, e.g. variable gain amplifiers
    • 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/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • G11B2020/10555Audio or video recording specifically adapted for audio data wherein the frequency, the amplitude, or other characteristics of the audio signal is taken into account
    • G11B2020/10574Audio or video recording specifically adapted for audio data wherein the frequency, the amplitude, or other characteristics of the audio signal is taken into account volume or amplitude

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

An audio reproducing device and a control method are provided to detect an audio signal by forming a level control part for automatically controlling the level of an output audio signal in a predetermined range. An audio reproducing device comprises a level judge part(210) and a level control part(220). The level judge part judges the output propriety of an audio signal level by comparing the level of a reproducing audio signal with a set reference level. The level control part automatically controls the level of an output audio signal in a predetermined range according to the result from the level judge part.

Description

오디오 재생장치와 제어방법{Audio Reproducing Device And Control Method}Audio Reproducing Device And Control Method

도1은 본 발명에 따른 오디오 재생장치의 블럭 구성도1 is a block diagram of an audio playback apparatus according to the present invention.

도2는 본 발명의 실시예에 따른 오디오 재생장치의 블럭 구성도2 is a block diagram of an audio playback apparatus according to an embodiment of the present invention.

도3은 본 발명의 실시예에 따른 오디오 재생 제어방법의 플로우차트3 is a flowchart of an audio reproduction control method according to an embodiment of the present invention;

본 발명은 오디오(Audio) 재생장치와 오디오 재생 제어방법에 관한 것이다.The present invention relates to an audio reproduction apparatus and an audio reproduction control method.

휴대용 오디오 재생장치는 디지털 오디오 재생 기능을 탑재한 이동통신 단말기를 비롯하여 휴대용 디지털 오디오 재생기기에 이르기까지 다양한 형태로 제공되고 있다. 디지털 오디오 데이터를 재생하는 휴대용 오디오 재생장치는 기기에 구비된 저장매체로부터 오디오 데이터를 재생하는 경우 뿐만 아니라, 기기에 구비된 저장매체로부터 영상과 오디오 데이터를 함께 재생하는 경우, 이동형 방송 시스템으로부터 제공되는 스트리밍 방식의 디지털 오디오 데이터를 실시간으로 재생하는 경우에 이르기 까지 매우 다양한 방식이 구현되고 있다.Portable audio playback devices are provided in various forms, ranging from mobile communication terminals equipped with digital audio playback functions to portable digital audio playback devices. The portable audio player for reproducing digital audio data is provided from a mobile broadcasting system when not only playing audio data from a storage medium provided in the device, but also playing back images and audio data from the storage medium provided in the device. A wide variety of methods have been implemented, ranging from streaming digital audio data to real time playback.

휴대용 오디오 재생장치는 휴대성을 전제로 하기 때문에 다양하고 예측하기 어려운 사용 환경에 노출된다. 휴대용 오디오 재생장치가 사용되는 대부분의 환경 은 이동 간에 이루어지며, 실내외를 막론하고 주변의 소음에 민감한 영향을 받는다. 예를 들어 대중교통을 이용하는 경우, 청취되는 오디오 신호의 레벨(음량)은 주변의 소음에 의해서 청각적인 인지 정도가 크게 영향을 받게 된다. 같은 레벨의 오디오 신호가 재생된다고 하더라도 기기 주변의 소음이 상대적으로 큰 경우에는 인지하게 어렵게 되고, 반대의 경우는 낮은 레벨로 재생하여도 인지하기 쉽게 된다. 더구나, 대부분의 휴대용 오디오 재생장치 사용자는 스피커 출력보다는 이어폰이나 헤드폰과 같은 출력장치를 이용해서 오디오 청취를 수행하게 되므로, 주변 소음의 정도에 따라 사용자가 청각적으로 인지할 수 있는 오디오 레벨은 큰 편차를 갖게 된다. 특히, 원음의 레벨이 작은 경우에는 작은 주변 소음으로도 오디오 인지에 장애를 겪게 된다.Portable audio playback devices are exposed to various and unpredictable usage environments because of their portability. Most environments where portable audio playback devices are used are mobile and are sensitive to ambient noise, both indoors and outdoors. For example, when using public transportation, the level (volume) of the audio signal to be heard is greatly affected by the degree of auditory perception by ambient noise. Even if the audio signal of the same level is reproduced, it is difficult to recognize when the noise around the device is relatively high, and vice versa, even when the audio signal is played at a low level. Moreover, most portable audio player users listen to audio using output devices such as earphones or headphones rather than speaker outputs. Therefore, the audio level that can be perceived by the user can vary greatly depending on the amount of ambient noise. Will have In particular, when the level of the original sound is small, even small ambient noise may interfere with audio recognition.

대부분의 사용자는 주변 소음이 커서 오디오 청취에 장애를 받게 될 경우 인위적으로 재생 레벨(음량)을 증가시킴으로써 이 문제를 해결하게 된다. 그렇지만, 이와 같이 오디오 재생 레벨을 과도하게 증가시키는 경우에는 청각에 적지않은 악영향을 끼치게 되며, 과도한 레벨의 오디오 신호가 주변의 다른 사람들에게 또 다른 소음으로서의 피해를 주게 되는 경우도 간과하기 어렵다.Most users solve this problem by artificially increasing the playback level (volume) when the ambient noise is so great that it interferes with audio listening. However, excessively increasing the audio reproduction level has a detrimental effect on hearing, and it is difficult to overlook the case where the excessive level of the audio signal damages other people around as noise.

본 발명은 오디오 재생장치에서 재생 오디오 신호의 레벨에 따라 자동적으로 출력 레벨을 조절하여 재생하는 장치와 그 제어방법을 제공한다.The present invention provides an apparatus and method for controlling the same, which automatically adjust the output level according to the level of the reproduced audio signal in the audio reproducing apparatus.

본 발명은 오디오 재생장치에서 재생 오디오 신호의 레벨을 판단하여 설정된 레벨 이하의 작은 레벨인 경우에는 그 레벨을 증가시켜 출력해 줌으로써, 해당 오 디오 신호를 청각적으로 필요 충분하게 인지할 수 있도록 제어하는 장치와 그 방법을 제공한다.According to the present invention, the audio reproducing apparatus determines the level of the reproduced audio signal and, if the level is smaller than the set level, increases and outputs the level, thereby controlling the audio signal to be sufficiently recognized as necessary. An apparatus and a method thereof are provided.

본 발명은 오디오 재생장치에서 재생 오디오 신호의 레벨을 판단하여 설정된 레벨 이상의 큰 레벨인 경우에는 그 레벨의 최대값을 제한하여 출력해 줌으로써, 해당 오디오 신호를 청각적으로 필요 충분하게 인지할 수 있도록 제어하는 장치와 그 방법을 제공한다.According to the present invention, the audio playback apparatus determines the level of the reproduced audio signal, and when the level is greater than or equal to the set level, by limiting and outputting the maximum value of the level, the audio signal is controlled to recognize the audio signal sufficiently necessary. It provides a device and a method.

본 발명은 오디오 재생장치에서 재생 오디오 신호의 레벨을 판단하여 설정된 레벨 이하의 작은 레벨인 경우에는 그 레벨을 증가시켜 출력하고, 설정된 레벨 이상의 큰 레벨인 경우에는 그 레벨의 최대값을 제한하여 출력해 줌으로써, 주변 소음에도 불구하고 해당 오디오 신호를 청각적으로 필요 충분하게 인지할 수 있도록 제어하는 장치와 그 방법을 제공한다.According to the present invention, the audio playback apparatus determines the level of the reproduced audio signal and increases the output level when the level is smaller than or equal to the set level, and limits the maximum value of the level when the level is smaller than the set level. In addition, the present invention provides an apparatus and method for controlling the audio signal so that the audio signal can be sufficiently perceived in an audible manner despite the ambient noise.

본 발명에 따른 오디오 재생장치는, 오디오 신호의 레벨을 판단하는 레벨 판단부; 상기 판단 결과에 따라 출력 오디오 신호 레벨을 조절하는 레벨 조절부; 를 포함하는 것을 특징으로 한다.An audio reproducing apparatus according to the present invention comprises: a level determining unit which determines a level of an audio signal; A level adjusting unit adjusting an output audio signal level according to the determination result; Characterized in that it comprises a.

상기 본 발명에 따른 오디오 재생장치에서, 상기 오디오 신호 레벨의 판단은 재생되는 오디오 신호의 레벨을 측정하고, 측정된 레벨을 설정된 레벨과 비교한 결과에 근거하여 이루어지는 것을 특징으로 한다.In the audio reproducing apparatus according to the present invention, the audio signal level is determined based on a result of measuring the level of the audio signal to be reproduced and comparing the measured level with a set level.

상기 본 발명에 따른 오디오 재생장치에서, 상기 오디오 신호 레벨의 판단에 따른 출력 오디오 신호 레벨의 조절은 상대적으로 작은 레벨의 오디오 신호에 대해 서 그 레벨을 증가시켜 주고, 상대적으로 큰 레벨의 오디오 신호에 대해서 그 레벨의 최대값을 제한하는 것을 특징으로 한다.In the audio reproducing apparatus according to the present invention, the adjustment of the output audio signal level according to the determination of the audio signal level increases the level of the audio signal of the relatively small level, and the audio signal of the relatively large level. The maximum value of the level is limited.

상기 본 발명에 따른 오디오 재생장치에서, 상기 출력 오디오 신호 레벨의 조절을 위하여 오디오 샘플 값 조절을 위한 데이터 저장부를 더 포함하는 것을 특징으로 한다.In the audio reproducing apparatus according to the present invention, the apparatus further comprises a data storage for adjusting an audio sample value for adjusting the output audio signal level.

본 발명에 따른 오디오 재생 제어방법은, 재생되는 오디오 신호의 레벨을 판별하는 단계; 상기 판별된 오디오 신호 레벨을 설정된 기준 레벨과 비교하는 단계; 상기 비교 결과, 오디오 신호 레벨이 설정 레벨 보다 작은 경우에는 출력 오디오 신호의 레벨을 증가시켜 출력하는 단계; 를 포함하는 것을 특징으로 한다.An audio reproduction control method according to the present invention comprises the steps of: determining a level of an audio signal to be reproduced; Comparing the determined audio signal level with a set reference level; Increasing the level of the output audio signal when the audio signal level is smaller than the set level as a result of the comparison; Characterized in that it comprises a.

상기 본 발명에 따른 오디오 재생 제어방법에서, 오디오 데이터 재생 기능을 탑재한 기기에서 주변 소음에 따라 적응적으로 출력 레벨을 제어하는 방법에 있어서, 저장 매체에 저장된 오디오 파일이나 스트리밍 방식으로 전송되는 오디오 데이터를 재생할 때, 재생되는 원음 데이터의 레벨을 측정하는 단계; 상기 측정된 원음 데이터의 레벨을 설정된 제 1 기준 레벨과 비교하는 단계; 상기 측정된 원음 데이터의 레벨이 제 1 기준 레벨 이하이면 원음 데이터의 레벨을 적어도 제 1 기준 레벨 보다 큰 값으로 조절하는 단계; 상기 측정된 원음 데이터의 레벨이나 조절된 레벨을 제 2 기준 레벨과 비교하는 단계; 상기 레벨이 제 2 기준 레벨 이상이면 그 출력 레벨의 최대 값을 제 2 기준 레벨 이하로 제한하여 출력하는 단계; 를 포함하여 이루어지는 것을 특징으로 하는 한다.In the audio reproduction control method according to the present invention, a method for adaptively controlling an output level according to ambient noise in a device equipped with an audio data reproduction function, the audio data stored in a storage medium or audio data transmitted by a streaming method Measuring the level of the original sound data to be reproduced when reproducing; Comparing the measured level of the original sound data with a set first reference level; Adjusting the level of the original sound data to a value greater than at least a first reference level if the measured level of the original sound data is equal to or less than a first reference level; Comparing the measured level or adjusted level of the original sound data with a second reference level; If the level is greater than or equal to the second reference level, limiting and outputting the maximum value of the output level to be less than or equal to the second reference level; It characterized by comprising a.

상기 본 발명에 따른 오디오 재생 제어방법에서, 상기 재생되는 오디오 신호 의 레벨은 오디오 프레임의 최대 값이나 평균 값에 근거하여 판별하는 것을 특징으로 한다.In the audio reproduction control method according to the present invention, the level of the reproduced audio signal is determined based on the maximum value or the average value of the audio frame.

상기 본 발명에 따른 오디오 재생 제어방법에서, 사용자에 의해 출력 오디오 신호의 레벨이 조절되면 이에 연동하여 상기 기준 레벨을 가변하여 재설정하는 것을 특징으로 한다.In the audio reproduction control method according to the present invention, when the level of the output audio signal is adjusted by the user, the reference level is variably reset in conjunction with this.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따른 오디오 재생장치와 그 제어방법을 설명하면 다음과 같다.Hereinafter, an audio reproducing apparatus and a control method thereof according to an embodiment of the present invention will be described with reference to the accompanying drawings.

도1은 본 발명에 따른 오디오 재생장치의 구성을 보여준다. 도1을 참조하면 본 발명에 따른 오디오 재생장치는, 오디오 입력부(100), 제어부(200), 오디오 출력부(300)를 포함한다.1 shows a configuration of an audio reproducing apparatus according to the present invention. Referring to FIG. 1, an audio reproducing apparatus according to the present invention includes an audio input unit 100, a control unit 200, and an audio output unit 300.

오디오 입력부(100)는 다양한 형식과 종류의 오디오 신호를 입력받는 부분이다. 예를 들면, 저장매체에 저장된 압축 오디오 파일을 재생하여 입력받거나, 스트리밍 방식으로 유선 혹은 무선 통신망을 통해서 제공되는 오디오 데이터를 재생하여 입력받는 부분이다. 저장매체로부터 재생되는 오디오 파일의 경우에는 그 압축 형식에 따라 해당 디코더를 이용해서 디코딩하여 입력받게 되며, 디지털 방송 시스템을 기반으로 제공되는 오디오 데이터의 경우에는 해당 방송 데이터의 수신기와 수신된 데이터 중에서 오디오 방송 데이터를 디코딩하여 입력받게 되며, 동영상 파일과 함께 제공되는 오디오 데이터인 경우에는 해당 디코더에 의해서 디코딩된 오디오/비디오 데이터 중에서 오디오 데이터를 입력받게 된다.The audio input unit 100 is a part for receiving audio signals of various formats and types. For example, a portion of a compressed audio file stored in a storage medium is reproduced and inputted, or a portion of the audio data provided through a wired or wireless communication network is input by streaming. In case of an audio file played back from a storage medium, it is decoded and inputted using a corresponding decoder according to its compression format.In case of audio data provided based on a digital broadcasting system, audio is output from a receiver of the broadcast data and received data. The broadcast data is decoded and received, and in the case of audio data provided with a video file, audio data is received from audio / video data decoded by the corresponding decoder.

제어부(200)는 입력된 오디오 데이터의 레벨, 즉 음량을 판단하고, 판단된 레벨에 따라 출력 오디오 데이터의 레벨, 즉 출력 음량을 조절하는 부분이다. 여기서는, 레벨 판단부(210)와 레벨 조절부(220)를 구분하여 표현하였다. 레벨 판단부(210)는 입력 오디오 데이터의 레벨을 판단하는데, 오디오 데이터 레벨을 판단하는 방법으로는 오디오 프레임의 샘플 최대 값(peak value)에 근거하여 그 레벨을 판단하는 방법을 사용하거나, 오디오 프레임의 평균 값(average power value)에 근거하여 그 레벨을 판단하는 방법을 사용한다.The controller 200 determines a level of the input audio data, that is, a volume, and adjusts the level of the output audio data, that is, the output volume, according to the determined level. Here, the level determiner 210 and the level adjuster 220 are expressed separately. The level determination unit 210 determines the level of the input audio data. The method of determining the audio data level may be performed by using the method of determining the level based on the peak value of the sample of the audio frame or the audio frame. A method of determining the level based on the average power value of is used.

레벨 조절부(220)는 오디오 데이터 레벨의 판단 결과에 근거하여 해당 오디오 데이터의 출력 레벨(즉, 스피커나 이어폰, 헤드폰 등으로 출력되는 음량)을 조절한다. 오디오 데이터 출력 레벨을 조절하는 방법으로는, 판단된 오디오 데이터 레벨을 미리 설정해 놓은 기준 값(기준 레벨)과 비교하여 그 비교 결과에 따라 해당 오디오 데이터 값(또는 오디오 샘플 값)을 높여주거나 낮춰주는 방법을 사용할 수 있다.The level adjusting unit 220 adjusts the output level of the audio data (ie, the volume output to the speaker, earphone, headphone, etc.) based on the determination result of the audio data level. The audio data output level may be adjusted by comparing the determined audio data level with a preset reference value (reference level) and increasing or decreasing the corresponding audio data value (or audio sample value) according to the comparison result. Can be used.

예를 들어, 재생 오디오 데이터의 레벨, 즉 원음의 음량이 설정된 기준 레벨 보다 작은 값이면 이는 상대적으로 작은 소리에 해당하므로, 주변 소음이 심한 환경에서는 청각적으로 인지하기가 어렵기 때문에, 이러한 경우에는 원음의 레벨을 적어도 상기 설정된 기준 레벨 이상의 크기로 증가시켜 준다. 이와 같이 출력 레벨을 조절해 주면 주변 소음이 있더라도 작은 소리의 원음도 청각적으로 인지 가능한 수준으로 자동 조절되어 청취 가능하게 된다. 한편, 이러한 경우, 과도하게 큰 레벨로 출력될 가능성도 있으므로, 원음의 레벨 혹은 조절된 레벨을 또 다른 기준 레벨과 비교하고, 기준 레벨 보다 큰 레벨로 출력될 가능성이 있는 오디오 신호에 대 해서는 그 최대 출력 레벨을 적어도 상기 설정된 다른 기준 레벨 이하가 되도록 제한해 줌으로써, 과도하게 큰 레벨의 오디오 신호가 불필요하게 출력되는 문제를 극복한다.For example, if the level of the reproduced audio data, that is, the volume of the original sound is smaller than the set reference level, it is a relatively small sound. The level of the original sound is increased to at least a magnitude greater than the set reference level. If you adjust the output level in this way, even if there is ambient noise, even the original sound of the small sound is automatically adjusted to the level that can be audibly recognized to hear. On the other hand, in such a case, the output may be output at an excessively large level. Therefore, the maximum or maximum level of an audio signal that may be output at a level higher than the reference level may be compared with another reference level. By limiting the output level to be at least below the other reference level set above, the problem of unnecessarily outputting an audio signal of an excessively large level is overcome.

오디오 출력부(300)는 제어부(200)에 의해서 레벨이 자동 조절된 오디오 데이터를 출력해 주는데, 여기서는 디지털 오디오 데이터에 대해서 예시하고 있으므로, 디지털 오디오 데이터를 아날로그 오디오 신호로 변환하고, 변환된 아날로그 오디오 신호에 대한 일반적인 후처리 과정(예: 필터링, 이퀄라이져, 증폭 등)을 수행하여 이를 스피커나 이어폰, 혹은 헤드폰 등의 출력장치를 통해서 출력해 주는 부분이다.The audio output unit 300 outputs audio data whose level is automatically adjusted by the control unit 200. Here, since the digital audio data is illustrated, the audio output unit 300 converts the digital audio data into an analog audio signal and converts the converted analog audio. This part performs general post-processing (eg filtering, equalizer, amplification, etc.) on a signal and outputs it through an output device such as a speaker, earphone, or headphone.

도2는 본 발명의 실시예에 따른 오디오 재생장치의 구성을 보여준다. 여기에 나타낸 오디오 재생장치는 휴대형 오디오 재생장치를 보여주고 있으며, 파일 형식의 오디오 데이터, 디지털 방송(Digital Multimedia Broadcasting)에 기반하여 수신되는 오디오 데이터, 동영상 파일로부터 재생되는 오디오 데이터를 처리하는 모바일 기기에 적용한 예를 보여주고 있다. 그렇지만, 도2에 나타낸 오디오 재생장치는 하나의 실시예에 불과하며, 파일 형식의 오디오 데이터를 재생하는 소위 MP3 플레이어, 디지털 방송 수신 단말기, (오디오를 포함하는) 동영상 재생기기(예: Portable Multimedia Player), 적어도 오디오 데이터 재생 기능을 탑재한 이동 통신 단말기(예: 핸드폰) 각각에 대해서도 적용 가능함은 당업자에 의하여 자명한 수준에 해당된다.2 shows a configuration of an audio playback apparatus according to an embodiment of the present invention. The audio player shown here shows a portable audio player, which is used for mobile devices that process audio data in file format, audio data received based on digital multimedia broadcasting, and audio data played back from video files. The application example is shown. However, the audio reproducing apparatus shown in Fig. 2 is just one embodiment, so-called MP3 player for reproducing audio data in a file format, a digital broadcast receiving terminal, and a video reproducing apparatus (including audio) (e.g., Portable Multimedia Player). ) Is applicable to each mobile communication terminal (eg, mobile phone) equipped with at least audio data reproduction function, which is obvious to those skilled in the art.

도2에서는 PCM(Pulse Coded Modulation) 방식으로 형성된 오디오 데이터를 처리하는 경우를 예로 나타내고 있다. MP3 디코더(MP3 Decoder)(110)는 입력되는 MP3 오디오 파일(MP3 file)을 디코딩하여 오디오 PCM 데이터 x(n)를 출력하며, DMB 수신기(DMB Receiver)(120)는 디지털 방송(DMB)의 특정 채널을 선국하고 이를 수신하며, 수신된 채널의 방송 데이터는 DMB 디코더(DMB Decoder)(130)에 의해서 디코딩되어 해당 오디오 PCM 데이터 x(n)를 출력한다. 동영상 디코더(Decoder)(140)는 동영상 파일을 디코딩하여 해당 오디오 PCM 데이터 x(n)를 출력한다.2 illustrates an example of processing audio data formed by a PCM (Pulse Coded Modulation) method. The MP3 decoder 110 decodes an input MP3 audio file and outputs audio PCM data x (n), and the DMB receiver 120 specifies a digital broadcast (DMB). The channel is tuned and received, and the broadcast data of the received channel is decoded by the DMB decoder 130 to output corresponding audio PCM data x (n). The video decoder 140 decodes the video file and outputs the corresponding audio PCM data x (n).

각각의 리소스(resource)로부터 제공되는 오디오 데이터는 스위칭부(S/W)에 의해서 선택될 수 있다. 여기서 스위칭부(S/W)는 적어도 2개 이상의 오디오 신호원에 근거하여 오디오 데이터가 제공되는 기기에서 필요한 부분이며, 단일 오디오 데이터만 지원되는 기기라면 스위칭부(S/W)는 그 구성이 배제되어도 무방하다.Audio data provided from each resource may be selected by the switching unit S / W. Here, the switching unit (S / W) is a necessary part in a device where audio data is provided based on at least two audio signal sources. If the device supports only single audio data, the switching unit (S / W) excludes its configuration. It may be.

오디오 PCM 데이터 x(n)는 레벨 측정부(Level measurement)(211)에 입력된다. 레벨 측정부(211)는 디코딩되어 입력되는 오디오 프레임(PCM Frame)의 최대 절대 값(peak value) 또는 평균 값(average power value)을 측정한다. 즉, 원음 데이터의 음량 값을 측정하는 것이다. 레벨 측정부(211)를 피이크 검출기(Peak Detector)로 구성하였다면, 여기서는 PCM 프레임의 샘플 값(Sample Value: 16bit PCM의 경우 -32768 ~ 32767)을 관측하여 그 최대 절대 값(절대 값의 범위: 0 ~ 32768)을 찾는 것을 예로 들 수 있다.The audio PCM data x (n) is input to a level measurement 211. The level measuring unit 211 measures the maximum absolute value or average power value of the decoded and input audio frame. That is, the volume value of the original sound data is measured. If the level measuring unit 211 is configured as a peak detector, the maximum absolute value (absolute value range: 0) is observed by observing the sample value of the PCM frame (Sample Value: -32768 to 32767 for 16-bit PCM). For example, find (~ 32768).

레벨 측정부(211)에서 구한 최대 값을 후단의 룩업 테이블 LUT(Lookup Table)(221)의 인덱스(LUT Index)로 삼아서 각 PCM 프레임의 PCM 샘플 값을 조절하기 위한 계수 값 g(n)을 구한다. 룩업 테이블(LUT)(211)은 저장장치이며, 오디오 PCM 데이터 x(n)의 샘플 값을 조절하기 위한 계수 값 g(n)이 사전에 저장되어 있다.The coefficient value g (n) for adjusting the PCM sample value of each PCM frame is obtained by using the maximum value obtained by the level measurer 211 as the index of the lookup table LUT (LUT) 221 at the next stage. . The lookup table (LUT) 211 is a storage device, and a coefficient value g (n) for adjusting a sample value of the audio PCM data x (n) is stored in advance.

룩업 테이블(221)에서 출력되는 계수 값 g(n)은 승산기(222)에 입력된다. 승산기(222)는 앞서 설명한, 원음 PCM 데이터 x(n)의 각 샘플 값에 상기 계수 값 g(n)을 곱셈하여 줌으로써 출력 PCM 데이터 y(n)을 조절하게 된다. 즉, 레벨 측정부(211)에 의해서 선택된 룩업 테이블 LUT(221)의 엔트리(Entry)를 참조하여 오디오 PCM 프레임의 샘플 값을 조정하는 것이다. 이와 같이 조정된 오디오 데이터는 디지털/아날로그 변환 과정과, 필요한 후처리 과정을 거쳐서 스피커, 이어폰, 헤드폰 등의 출력장치를 통해서 출력된다.The coefficient value g (n) output from the lookup table 221 is input to the multiplier 222. The multiplier 222 adjusts the output PCM data y (n) by multiplying the coefficient value g (n) by each sample value of the original sound PCM data x (n) described above. That is, the sample value of the audio PCM frame is adjusted by referring to an entry of the lookup table LUT 221 selected by the level measuring unit 211. The adjusted audio data is output through an output device such as a speaker, earphone, headphone, etc. through a digital / analog conversion process and necessary post-processing.

도3은 본 발명의 실시예에 따른 오디오 재생 제어방법을 나타낸 플로우차트이다. 도3에서는 오디오 레벨 자동 조절을 위하여 2개의 기준 레벨 T1, T2를 사용하고 있다. 여기서 T1 < T2의 관계이다. 기준 레벨 T1, T2는 사전에 고정된 값으로 미리 설정(저장)될 수도 있겠지만, 사용자가 청취를 희망하는 레벨에 연동하여 재설정될 수도 있다. 제 1 기준 레벨 T1은 적어도 원음 오디오 데이터의 레벨이 증가되어야 할 최소한의 레벨을 결정하며, 제 2 기준 레벨 T2는 조절되는 레벨을 제한할 최대 값을 결정한다.3 is a flowchart showing an audio reproduction control method according to an embodiment of the present invention. In FIG. 3, two reference levels T1 and T2 are used for automatic audio level adjustment. Where T1 <T2. The reference levels T1 and T2 may be preset (stored) to a fixed value in advance, but may be reset in conjunction with the level at which the user wishes to listen. The first reference level T1 determines at least the minimum level at which the level of the original audio data should be increased, and the second reference level T2 determines the maximum value to limit the level to be adjusted.

제 1 단계(S10)는 오디오 레벨을 측정하는 단계이다. 즉, 원음의 음량을 측정하는 단계이며, 오디오 레벨의 측정은 레벨 측정부(211)에 의해서 입력되는 원음 오디오 데이터의 레벨을 측정함으로써 이루어진다.The first step S10 is measuring audio levels. That is, the volume of the original sound is measured, and the audio level is measured by measuring the level of the original audio data input by the level measuring unit 211.

제 2 단계(S20)는 측정된 원음 오디오 레벨을 제 1 기준 레벨(T1)과 비교하 는 단계이다. 즉, 측정된 원음의 음량이 얼마나 작은 소리인지의 여부를 판단하는 단계이며, 이는 레벨 측정부(211)에서 측정된 값을 룩업 테이블 LUT(211)의 인덱스로 하여 룩업 테이블 LUT(221)로부터 조정을 위한 정보(조정 계수 g(n))를 출력함으로써 이루어진다.The second step S20 is a step of comparing the measured original audio level with the first reference level T1. That is, it is a step of determining whether the volume of the measured original sound is small, which is adjusted from the lookup table LUT 221 by using the value measured by the level measuring unit 211 as an index of the lookup table LUT 211. By outputting information (adjustment coefficient g (n)).

상기 제 2 단계(S20)에서 오디오 레벨이 제 1 기준 레벨(T1) 보다 작은 경우에는 제 3 단계(S30)로 이행하고, 그렇지 않은 경우에는 제 4 단계(S40)로 이행한다.If the audio level is smaller than the first reference level T1 in the second step S20, the process proceeds to the third step S30, and if not, the process proceeds to the fourth step S40.

제 3 단계(S30)는 오디오 레벨을 증가시키는 단계이다. 즉, 원음의 음량이 너무 작아서 주변 소음에 의해 해당 음의 청취가 어려운 경우에 해당하므로, 이러한 경우에 승산기(222)에서 오디오 PCM 데이터 x(n)을 계수 g(n)를 이용해서 해당 데이터 (샘플) 레벨을 증가시켜 주는 것이다. 오디오 레벨(원음의 음량)의 증가는 적어도 제 1 기준 레벨(T1) 이상의 값이 되도록 제어해 주는 것이 바람직하다.The third step S30 is to increase the audio level. That is, since the volume of the original sound is too small to hear the sound due to ambient noise, the multiplier 222 uses the coefficient g (n) to convert the audio PCM data x (n) into the corresponding data ( Increase the level of sample). It is preferable to control the increase of the audio level (volume of the original sound) to be a value of at least the first reference level T1.

제 4 단계(S40)는 원음의 레벨 또는 상기 조절된 레벨이 제 2 기준 레벨(T2) 이상인지의 여부를 판별하는 단계이다. 이 단계에서 오디오 레벨이 제 2 기준 레벨(T2) 이하이면 제 6 단계(S60)로 이행하고, 제 2 기준 레벨(T2) 이상이면 제 5 단계(S50)로 이행한다.The fourth step S40 is a step of determining whether the level of the original sound or the adjusted level is greater than or equal to the second reference level T2. In this step, if the audio level is less than or equal to the second reference level T2, the process proceeds to the sixth step S60, and if it is greater than or equal to the second reference level T2, the process proceeds to the fifth step S50.

제 5 단계(S50)는 오디오 레벨을 제한하는 단계이며, 이는 승산기(222)에 제공되는 조정 계수 g(n)에 의한 오디오 PCM 데이터 x(n)의 최대 증가분을 제한함으로써 이루어진다. 오디오 레벨을 제 2 기준 레벨(T2) 이하로 제한하는 이유는 과도하게 증가된 레벨로 최종 오디오 출력이 이루어지지 않도록 하기 위한 것이며, 이 와 같이 그 최대 레벨을 제한 함으로써, 불필요한 과대 레벨의 오디오 출력을 방지한다.The fifth step S50 is to limit the audio level, which is done by limiting the maximum increment of the audio PCM data x (n) by the adjustment factor g (n) provided to the multiplier 222. The reason for limiting the audio level below the second reference level T2 is to prevent the final audio output from being excessively increased. By limiting the maximum level in this way, unnecessary excessive level audio output is prevented. prevent.

한편, 사용자가 청취 레벨을 증가시킨다면 이에 따라 제 1 기준 레벨(T1) 및 제 2 기준 레벨(T2)을 함께 증가시켜 줄 수도 있다. 혹은 그 반대의 경우나, 다른 조합도 가능하다. 예를 들면, 기준 레벨의 조절에 의한 재설정(저장)은 룩업 테이블(221)의 인덱스에 대해서 일종의 옵셋(offset) 데이터로 작용하게 함으로써, 조정된 기준 레벨이 원음 레벨에 대한 상기 자동 조절 과정에 자연스럽게 연동되도록 한다.Meanwhile, if the user increases the listening level, the first reference level T1 and the second reference level T2 may be increased accordingly. Or vice versa, or other combinations. For example, resetting (storing) by adjusting the reference level acts as a kind of offset data for the index of the lookup table 221, so that the adjusted reference level naturally occurs in the automatic adjustment process for the original sound level. Make it work.

본 발명에 따르면 소음 환경에서도 휴대용 오디오 재생장치의 오디오 출력 레벨을 크게 조절하지 않고도 작은 소리와 큰 소리를 모두 적절한 레벨로 청취할 수 있다. 또한, 작은 소리를 듣기 위해서 오디오 출력 레벨을 과도하게 증가시켜 주변 사람들에게 불쾌감을 주는 경우를 방지할 수 있고, 오디오 출력 레벨을 과도하게 증가시킬 필요가 없기 때문에 휴대용 오디오 재생장치를 장시간 사용해도 사용자의 청각에 줄 수 있는 생리학적 충격이나 이로 인한 장애 유발의 위험성으로부터 벗어날 수 있는 기반을 제공한다.According to the present invention, both a small sound and a loud sound can be listened to at an appropriate level even in a noisy environment without greatly adjusting the audio output level of the portable audio playback device. In addition, the audio output level can be increased excessively in order to listen to the small sound, thereby preventing discomfort to those around them, and the audio output level does not need to be excessively increased. It provides a basis for escaping the risk of hearing impaired physiological shocks and its disability.

Claims (10)

재생 오디오 신호의 레벨과 설정된 기준 레벨을 비교하여 오디오 신호 레벨의 출력 적정성을 판단하는 레벨 판단부; 상기 판단 결과에 따라 출력 오디오 신호의 레벨을 설정된 범위 내로 출력되도록 자동 조절하는 레벨 조절부; 를 포함하는 것을 특징으로 하는 오디오 재생장치.A level determining unit which compares the level of the reproduction audio signal with the set reference level to determine an output adequacy of the audio signal level; A level adjusting unit for automatically adjusting a level of an output audio signal within a set range according to the determination result; Audio playback device comprising a. 제 1 항에 있어서, 상기 오디오 신호 레벨의 판단은 재생되는 오디오 신호의 레벨을 측정하고, 측정된 레벨을 설정된 레벨과 비교한 결과에 근거하여 이루어지는 것을 특징으로 하는 오디오 재생장치.The audio reproducing apparatus according to claim 1, wherein the determination of the audio signal level is performed based on a result of measuring the level of the audio signal to be reproduced and comparing the measured level with a set level. 제 1 항에 있어서, 상기 오디오 신호 레벨의 판단에 따른 출력 오디오 신호 레벨의 조절은 상대적으로 작은 레벨의 오디오 신호에 대해서 그 레벨을 증가시켜 주고, 상대적으로 큰 레벨의 오디오 신호에 대해서 그 레벨의 최대값을 제한하는 것을 특징으로 하는 오디오 재생장치.2. The method of claim 1, wherein the adjustment of the output audio signal level according to the determination of the audio signal level increases the level for an audio signal of a relatively small level, and the maximum of that level for an audio signal of a relatively large level. Audio playback apparatus, characterized in that the value is limited. 제 1 항에 있어서, 상기 출력 오디오 신호 레벨의 조절을 위하여 오디오 샘플 값 조절을 위한 데이터 저장부를 더 포함하는 것을 특징으로 하는 오디오 재생장치.The audio reproducing apparatus according to claim 1, further comprising a data storage for adjusting an audio sample value for adjusting the output audio signal level. 재생되는 오디오 신호의 레벨을 판별하는 단계; 상기 판별된 오디오 신호 레벨을 설정된 기준 레벨과 비교하는 단계; 상기 비교 결과, 오디오 신호 레벨이 설정 레벨 보다 작은 경우에는 출력 오디오 신호의 레벨을 증가시켜 출력하는 단계; 를 포함하는 것을 특징으로 하는 오디오 재생 제어방법.Determining a level of an audio signal to be reproduced; Comparing the determined audio signal level with a set reference level; Increasing the level of the output audio signal when the audio signal level is smaller than the set level as a result of the comparison; Audio playback control method comprising a. 제 5 항에 있어서, 상기 출력 오디오 신호 레벨의 최대 값을 제한하는 것을 특징으로 하는 오디오 재생 제어방법.6. The method of claim 5, wherein the maximum value of the output audio signal level is limited. 제 5 항에 있어서, 상기 비교 기준이 되는 설정 레벨은 사용자에 의해서 조정되는 것을 특징으로 하는 오디오 재생 제어방법.The audio reproduction control method according to claim 5, wherein the setting level which becomes the comparison reference is adjusted by a user. 제 5 항에 있어서, 상기 재생되는 오디오 신호의 레벨은 오디오 프레임의 최대 값이나 평균 값에 근거하여 판별하는 것을 특징으로 하는 오디오 재생 제어방법.The audio reproduction control method according to claim 5, wherein the level of the reproduced audio signal is determined based on a maximum value or an average value of the audio frame. 오디오 데이터 재생 기능을 탑재한 기기에서 주변 소음에 따라 적응적으로 출력 레벨을 제어하는 방법에 있어서,In a method of adaptively controlling the output level according to the ambient noise in a device equipped with an audio data playback function, 저장 매체에 저장된 오디오 파일이나 스트리밍 방식으로 전송되는 오디오 데이터를 재생할 때, 재생되는 원음 데이터의 레벨을 측정하는 단계; 상기 측정된 원음 데이터의 레벨을 설정된 제 1 기준 레벨과 비교하는 단계; 상기 측정된 원음 데이터의 레벨이 제 1 기준 레벨 이하이면 원음 데이터의 레벨을 적어도 제 1 기준 레벨 보다 큰 값으로 조절하는 단계; 상기 측정된 원음 데이터의 레벨이나 조절된 레벨을 제 2 기준 레벨과 비교하는 단계; 상기 레벨이 제 2 기준 레벨 이상이면 그 출력 레벨의 최대 값을 제 2 기준 레벨 이하로 제한하여 출력하는 단계; Measuring the level of the original sound data to be reproduced when playing the audio file stored in the storage medium or the audio data transmitted by the streaming method; Comparing the measured level of the original sound data with a set first reference level; Adjusting the level of the original sound data to a value greater than at least a first reference level if the measured level of the original sound data is equal to or less than a first reference level; Comparing the measured level or adjusted level of the original sound data with a second reference level; If the level is greater than or equal to the second reference level, limiting and outputting the maximum value of the output level to be less than or equal to the second reference level; 를 포함하여 이루어지는 것을 특징으로 하는 오디오 재생 제어방법.Audio playback control method comprising a. 제 9 항에 있어서, 사용자에 의해 출력 오디오 신호의 레벨이 조절되면 이에 연동하여 상기 제 1 기준 레벨과 제 2 기준 레벨을 가변하여 재설정하는 것을 특징으로 하는 오디오 재생 제어방법.10. The audio reproduction control method according to claim 9, wherein when the level of the output audio signal is adjusted by the user, the first reference level and the second reference level are variably reset in association with the level of the output audio signal.
KR1020070028918A 2007-03-23 2007-03-23 Audio reproducing device and control method KR20080086787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070028918A KR20080086787A (en) 2007-03-23 2007-03-23 Audio reproducing device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070028918A KR20080086787A (en) 2007-03-23 2007-03-23 Audio reproducing device and control method

Publications (1)

Publication Number Publication Date
KR20080086787A true KR20080086787A (en) 2008-09-26

Family

ID=40025928

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070028918A KR20080086787A (en) 2007-03-23 2007-03-23 Audio reproducing device and control method

Country Status (1)

Country Link
KR (1) KR20080086787A (en)

Similar Documents

Publication Publication Date Title
US11727948B2 (en) Efficient DRC profile transmission
KR101599535B1 (en) A method and an apparatus for processing an audio signal
US11791789B2 (en) Audio signal processing method and device for controlling loudness level
JP2008521028A (en) How to normalize recording volume
JP2001188599A (en) Audio signal decoding device
KR20210116274A (en) Method for controll loudness level of audio signl using metadata and apparatus using the same
KR20080086787A (en) Audio reproducing device and control method
KR20100067251A (en) Apparatus and method for automatic volume control
KR20220071954A (en) Method for performing normalization of audio signal and apparatus therefor
FI100839B (en) A method for adjusting the frequency response in audio playback

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination