JP2013074358A - Communication device, voice processing method, and program - Google Patents

Communication device, voice processing method, and program Download PDF

Info

Publication number
JP2013074358A
JP2013074358A JP2011210154A JP2011210154A JP2013074358A JP 2013074358 A JP2013074358 A JP 2013074358A JP 2011210154 A JP2011210154 A JP 2011210154A JP 2011210154 A JP2011210154 A JP 2011210154A JP 2013074358 A JP2013074358 A JP 2013074358A
Authority
JP
Japan
Prior art keywords
signal
audio
unit
adjustment mode
adjustment
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2011210154A
Other languages
Japanese (ja)
Inventor
Hideo Sano
英雄 佐野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Casio Mobile Communications Ltd
Original Assignee
NEC Casio Mobile Communications Ltd
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 NEC Casio Mobile Communications Ltd filed Critical NEC Casio Mobile Communications Ltd
Priority to JP2011210154A priority Critical patent/JP2013074358A/en
Publication of JP2013074358A publication Critical patent/JP2013074358A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Noise Elimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve voice quality of a data portion where a communication error has occurred in a communication device having a voice level adjusting function.SOLUTION: A communication device comprises: a receiving unit 10 for receiving a signal; a voice decoding unit 12 for decoding a voice signal from the received signal; a voice level adjusting unit 14 for adjusting the voice level of the decoded voice signal by either one of a first adjustment mode and a second adjustment mode; and a transmission state determination unit 15 for determining the reception state of the received signal. The voice level adjusting unit 14 switches the adjustment mode on the basis of the signal reception state determined by the transmission state determination unit 15. This structure allows for optimal voice level adjustment even if the reception state is determined to be a communication error, and improves voice quality of a data portion where a communication error has occurred.

Description

本発明は、通信装置、音声処理方法及びプログラムに関する。特に、本発明は、音声レベルを調整する機能を有する通信装置、音声レベルを調整する音声処理方法、及びそのプログラムに関する。   The present invention relates to a communication device, a voice processing method, and a program. In particular, the present invention relates to a communication device having a function of adjusting a sound level, a sound processing method for adjusting a sound level, and a program thereof.

音声信号を受信して再生する通信装置において、例えば、携帯電話では、無線通信における電波環境の劣化による伝送エラーで再生音声が劣化し、IP(Internet Protocol)電話では、インターネット経由で伝送する過程で生じるパケットロスで再生音声が劣化するという問題がある。近年、これらの問題を解消するため、伝送時の通信エラーを検出し、通信エラーが発生した部分の音声信号をエラー隠蔽処理により補正することが提案されている。また、通信エラーを検出した場合に、音声ミュートをかけることにより受信音声を聞き易い状態にすることも提案されている。   In a communication device that receives and reproduces an audio signal, for example, in a cellular phone, the reproduced audio deteriorates due to a transmission error due to radio environment deterioration in wireless communication, and in an IP (Internet Protocol) phone, in the process of transmitting via the Internet. There is a problem that the reproduced voice is deteriorated due to the packet loss. In recent years, in order to solve these problems, it has been proposed to detect a communication error during transmission and correct an audio signal of a portion where the communication error has occurred by error concealment processing. It has also been proposed that when a communication error is detected, the received sound is made easy to hear by applying sound mute.

特許文献1には、通信エラー状態に応じて適正な音声ミュートレベル制御を行う通信端末機が開示されている。図10は、特許文献1に記載された通信端末機の制御動作を説明するための図である。図10に示すように、この通信端末機は、通信エラー状態に応じて、連続エラー時ミュートレベル制御、複数レベルの間欠エラー時ミュートレベル制御(ミュートレベル制御1〜4)を切り替え制御している。このように、通信エラー状態に応じて、受話音声のミュートレベルを可変的に制御することにより、受話音声の改善を実現している。   Patent Document 1 discloses a communication terminal that performs appropriate audio mute level control according to a communication error state. FIG. 10 is a diagram for explaining a control operation of the communication terminal described in Patent Document 1. As shown in FIG. 10, this communication terminal switches and controls mute level control at the time of continuous error and mute level control at the time of intermittent error (mute level controls 1 to 4) according to the communication error state. . In this way, the received voice is improved by variably controlling the mute level of the received voice according to the communication error state.

特開2000−59243号公報JP 2000-59243 A

「みんなに使いやすいケータイ「らくらくホン」シリーズ」、NTTドコモレポート No.59、2007.9.14、[平成23年9月19日検索]、インターネットURL http://www.nttdocomo.co.jp/binary/pdf/info/news_release/report/070914.pdf“Easy-to-use mobile phone“ Easy Phone Series ”, NTT Docomo Report No. 59, 2007.9.14, [Search September 19, 2011], Internet URL http://www.nttdocomo.co.jp/binary/pdf/info/news_release/report/070914.pdf

以下の分析は、本発明により与えられる。   The following analysis is given by the present invention.

また、近年、非特許文献1に記載された「らくらくホン」に代表されるように、ご年配の方や騒音化でも受話音声が聞き易くなるように音声復号化処理の後に音声レベル調整機能を具備した携帯電話が商品化されている。非特許文献1に記載された「音声受話量アップ」機能は、相手が話す声が小さいときには相手の音声の音量レベルを感知して、自動的に受話音量を大きくするものである。   In recent years, as represented by “Raku Raku Phone” described in Non-Patent Document 1, a speech level adjustment function is provided after speech decoding processing to make it easy to hear the received speech even for elderly people or noise. Mobile phones equipped are commercialized. The “speech volume increase” function described in Non-Patent Document 1 senses the volume level of the other party's voice when the other party speaks low, and automatically increases the received volume.

しかしながら、非特許文献1に記載された音声レベル調整機能を有する携帯電話で、特許文献1に記載された音声ミュートレベル制御を行う場合に、以下のような弊害が生じる。それは、無線通信の電波環境の劣化で通信エラーが発生した場合に、エラー隠蔽処理後にミュートレベル制御で段階的にミュート処理を行うが、ミュート処理で抑制された音声が音声レベル調整機能により自動的に増幅されてしまう。このとき、再生音声にレベル変動の違和感が生じたり、エラー復帰直後の音声レベルが過負荷となり音割れ等の異音が発生したりすることがある。   However, when the mobile phone having the sound level adjustment function described in Non-Patent Document 1 is used to perform the sound mute level control described in Patent Document 1, the following adverse effects occur. When a communication error occurs due to deterioration of the radio wave environment of wireless communication, mute processing is performed step by step with mute level control after error concealment processing, but the audio suppressed by the mute processing is automatically performed by the audio level adjustment function. Will be amplified. At this time, there may be a sense of incongruity in the level fluctuation in the reproduced sound, or the sound level immediately after the error is overloaded and an abnormal sound such as sound cracking may occur.

一般に、エラー隠蔽処理は、音声レベル変動がある場合の音声品質に関して考慮されておらず、そのため、エラー隠蔽処理された音声に対して、上記したミュート処理による抑制と音声レベル調整機能による増幅が同時に行われると、再生した音声に、レベル変動の違和感や音割れ等の異音が発生し、音声品質が劣化する弊害が生じる。   In general, the error concealment process does not take into account the sound quality when there is a change in the sound level. Therefore, for the sound subjected to the error concealment process, the suppression by the mute process and the amplification by the sound level adjustment function are simultaneously performed. If this is done, the reproduced sound will have an unpleasant level fluctuation or a strange sound such as sound cracking, resulting in a problem that the sound quality deteriorates.

そこで本発明の目的は、音声レベル調整機能を有する通信装置において、通信エラーが生じているデータ部分の音声品質を良化する通信装置を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a communication apparatus having a sound level adjustment function, which improves the sound quality of a data portion where a communication error has occurred.

本発明の第1の視点による通信装置は、信号を受信する受信部と、前記受信部が受信した前記信号から音声信号を復号する音声復号部と、前記復号した音声信号の音声レベルを第1の調整モードと第2の調整モードのいずれかの調整モードにより調整する音声レベル調整部と、前記受信した信号の受信状態を判定する伝送状態判定部と、を備え、前記音声レベル調整部は、前記伝送状態判定部が判定した前記信号の受信状態に基づいて、前記調整モードを切り替える。   A communication apparatus according to a first aspect of the present invention includes a receiving unit that receives a signal, a voice decoding unit that decodes a voice signal from the signal received by the receiving unit, and a first voice level of the decoded voice signal. An audio level adjustment unit that adjusts in accordance with any one of the adjustment mode and the second adjustment mode, and a transmission state determination unit that determines a reception state of the received signal, and the audio level adjustment unit includes: The adjustment mode is switched based on the reception state of the signal determined by the transmission state determination unit.

本発明の第2の視点による音声処理方法は、音声情報を含む信号を受信し、前記信号を復号して音声信号に変換した後、前記音声信号の音声レベルの調整を行う音声処理方法であって、前記受信した信号の受信状態を判定する受信状態判定ステップと、前記受信状態判定ステップで判定した受信状態がエラー状態である場合に、前記音声レベルの調整を停止するステップと、を含む。   An audio processing method according to a second aspect of the present invention is an audio processing method for receiving a signal including audio information, decoding the signal and converting it into an audio signal, and adjusting the audio level of the audio signal. A reception state determination step for determining a reception state of the received signal, and a step of stopping the adjustment of the audio level when the reception state determined in the reception state determination step is an error state.

本発明の第3の視点による音声処理方法は、音声情報を含む信号を受信し、前記信号を復号して音声信号に変換した後、前記音声信号の音声レベルの調整を行う音声処理方法であって、前記受信した信号の受信状態を判定する受信状態判定ステップと、前記受信状態判定ステップで判定した受信状態がエラー状態である場合に、前記音声レベルの調整の応答速度を遅くするステップと、を含む。   An audio processing method according to a third aspect of the present invention is an audio processing method for receiving a signal including audio information, decoding the signal and converting it into an audio signal, and then adjusting an audio level of the audio signal. A reception state determination step for determining a reception state of the received signal, and a step of slowing a response speed of the audio level adjustment when the reception state determined in the reception state determination step is an error state; including.

本発明の第4の視点によるプログラムは、受信した信号の受信状態を判定する処理と、前記信号を復号した音声信号に対して、第1の調整モードと第2の調整モードのいずれかの調整モードで音声レベルの調整を行う処理と、前記受信状態に基づいて、前記調整モードを切り替える処理と、をコンピュータに実行させる。   According to a fourth aspect of the present invention, there is provided a program for determining a reception state of a received signal, and adjusting one of a first adjustment mode and a second adjustment mode for an audio signal obtained by decoding the signal. The computer executes a process for adjusting the audio level in the mode and a process for switching the adjustment mode based on the reception state.

本発明の通信装置によれば、音声レベル調整機能を有する通信装置において、通信エラーが生じているデータ部分の音声品質を良化する通信装置を提供することができる。その理由は、本発明の通信装置では、受信した信号の受信状態に基づいて調整モードを切り替えるようにしたから、各受信状態に応じて最適な音声レベル調整が可能になるためである。そのため、通信エラーが生じているデータ部分に対しても、最適な音声レベル調整にすることが可能になる。   According to the communication apparatus of the present invention, it is possible to provide a communication apparatus that improves the audio quality of a data portion in which a communication error occurs in a communication apparatus having an audio level adjustment function. The reason is that the communication apparatus according to the present invention switches the adjustment mode based on the reception state of the received signal, so that the optimum audio level adjustment can be performed according to each reception state. For this reason, it is possible to make an optimum audio level adjustment even for a data portion in which a communication error occurs.

本発明の一実施形態に係る通信装置の受信部と受信音声処理部を示すブロック図である。It is a block diagram which shows the receiving part and received audio | voice processing part of the communication apparatus which concern on one Embodiment of this invention. 本発明の実施形態1に係る通信装置の受信部と受信音声処理部を示すブロック図である。It is a block diagram which shows the receiving part and reception audio | voice processing part of the communication apparatus which concern on Embodiment 1 of this invention. 図2の音声レベル調整部を示すブロック図である。It is a block diagram which shows the audio | voice level adjustment part of FIG. 図2のエラー隠蔽処理部の動作を説明するための図である。It is a figure for demonstrating operation | movement of the error concealment process part of FIG. 本発明の実施形態1に係る通信装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication apparatus which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る通信装置を示すブロック図である。It is a block diagram which shows the communication apparatus which concerns on Embodiment 1 of this invention. 本発明の実施形態1の変形例に係る通信装置の音声レベル調整部を示すブロック図である。It is a block diagram which shows the audio | voice level adjustment part of the communication apparatus which concerns on the modification of Embodiment 1 of this invention. 本発明の実施形態2に係る通信装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication apparatus which concerns on Embodiment 2 of this invention. 本発明の実施形態2に係る通信装置を示すブロック図である。It is a block diagram which shows the communication apparatus which concerns on Embodiment 2 of this invention. 特許文献1に記載された通信端末機の制御動作を説明するための図である。6 is a diagram for explaining a control operation of a communication terminal described in Patent Document 1. FIG.

まず、本発明の実施形態の概要について、必要に応じて図面を参照して説明する。なお、実施形態の概要の説明において引用する図面及び図面の符号は実施形態の一例として示すものであり、それにより本発明による実施形態のバリエーションを制限するものではない。   First, the outline | summary of embodiment of this invention is demonstrated with reference to drawings as needed. It should be noted that the drawings cited in the description of the outline of the embodiments and the reference numerals of the drawings are shown as examples of the embodiments, and do not limit the variations of the embodiments according to the present invention.

本発明の一実施形態における通信装置は、図1に示すように、信号S1を受信する受信部10と、受信部10が受信した信号S1から音声信号S2を復号する音声復号部12と、復号した音声信号S2の音声レベルを第1の調整モードと第2の調整モードのいずれかの調整モードにより調整する音声レベル調整部14と、受信した信号S1の受信状態を判定する伝送状態判定部15と、を備え、音声レベル調整部14は、伝送状態判定部15が判定した信号S1の受信状態に基づいて、調整モードを切り替える。このような構成により、伝送状態判定部15が判定する各受信状態に対して、それぞれ最適な音声レベル調整を行うようにすることができる。   As shown in FIG. 1, the communication device according to an embodiment of the present invention includes a receiving unit 10 that receives a signal S1, a speech decoding unit 12 that decodes a speech signal S2 from the signal S1 received by the receiving unit 10, and a decoding A sound level adjustment unit 14 that adjusts the sound level of the sound signal S2 in accordance with one of the first adjustment mode and the second adjustment mode, and a transmission state determination unit 15 that determines the reception state of the received signal S1. The audio level adjustment unit 14 switches the adjustment mode based on the reception state of the signal S1 determined by the transmission state determination unit 15. With such a configuration, it is possible to perform optimum audio level adjustment for each reception state determined by the transmission state determination unit 15.

伝送状態判定部15が信号S1の受信状態をエラー状態であると判定した場合に、調整モードを第2の調整モードとし、それ以外の場合に、調整モードを第1の調整モードとするようにしてもよい。それにより、信号S1がエラー状態である場合に、調整モードを第2の調整モードとすることにより、エラー状態の信号S1の音声品質を良化することができる。   When the transmission state determination unit 15 determines that the reception state of the signal S1 is an error state, the adjustment mode is set to the second adjustment mode, and in other cases, the adjustment mode is set to the first adjustment mode. May be. Thereby, when the signal S1 is in an error state, the sound quality of the signal S1 in the error state can be improved by setting the adjustment mode to the second adjustment mode.

伝送状態判定部15が信号S1の受信状態を連続して所定回数以上、エラー状態であると判定した場合に、調整モードを第2の調整モードとし、それ以外の場合に、調整モードを第1の調整モードとするようにしてもよい。   When the transmission state determination unit 15 continuously determines that the reception state of the signal S1 is an error state for a predetermined number of times or more, the adjustment mode is set to the second adjustment mode. In other cases, the adjustment mode is set to the first adjustment mode. The adjustment mode may be selected.

第2の調整モードは、音声レベル調整部14による音声レベルの調整を停止するようにしてもよい。それにより、伝送状態判定部15が信号S1の受信状態をエラー状態であると判定した場合に、音声レベル調整部14の増幅による弊害をなくすことができる。     In the second adjustment mode, the audio level adjustment by the audio level adjustment unit 14 may be stopped. Thereby, when the transmission state determination unit 15 determines that the reception state of the signal S1 is an error state, it is possible to eliminate the adverse effects caused by the amplification of the audio level adjustment unit 14.

第2の調整モードの応答速度を、第1の調整モードの応答速度よりも遅くするようにしてもよい。それにより、伝送状態判定部15が信号S1の受信状態をエラー状態であると判定した場合に、音声レベル調整部14の増幅による弊害を低減することができる。   You may make it make the response speed of 2nd adjustment mode slower than the response speed of 1st adjustment mode. Thereby, when the transmission state determination unit 15 determines that the reception state of the signal S1 is an error state, it is possible to reduce the adverse effects caused by the amplification of the audio level adjustment unit 14.

図2に示すように、信号S1の受信状態がエラー状態である場合に、信号S1を補正するエラー隠蔽処理部20を更に備えるようにしてもよい。   As shown in FIG. 2, when the reception state of the signal S1 is an error state, an error concealment processing unit 20 that corrects the signal S1 may be further provided.

また、図2に示すように、エラー隠蔽処理部20による補正に応じて信号S1の音声レベルを抑制するミュート部22と、音声レベル調整部14aの調整モードを切り替える制御を行う音声レベル調整制御部18と、を更に備え、音声レベル調整制御部18は、伝送状態判定部16が判定した信号S1の受信状態、及びミュート部22による抑制動作に応じて、調整モードを切り替える制御を行うようにしてもよい。それにより、ミュート部22による抑制動作と音声レベル調整制御部18による増幅動作が同時に行われないようにすることができる。   Further, as shown in FIG. 2, a mute unit 22 that suppresses the audio level of the signal S1 in accordance with correction by the error concealment processing unit 20, and an audio level adjustment control unit that performs control to switch the adjustment mode of the audio level adjustment unit 14a. The audio level adjustment control unit 18 performs control to switch the adjustment mode according to the reception state of the signal S1 determined by the transmission state determination unit 16 and the suppression operation by the mute unit 22. Also good. Thereby, it is possible to prevent the suppression operation by the mute unit 22 and the amplification operation by the audio level adjustment control unit 18 from being performed simultaneously.

本発明の一実施形態における音声処理方法は、音声情報を含む信号S1を受信し、信号S1を復号して音声信号S2に変換した後、音声信号S2の音声レベルの調整を行う音声処理方法であって、受信した信号S1の受信状態を判定する受信状態判定ステップ(図5のステップS12)と、受信状態判定ステップで判定した受信状態がエラー状態である場合に、音声レベルの調整を停止するステップ(図5のステップS15)と、を含む。   An audio processing method according to an embodiment of the present invention is an audio processing method in which a signal S1 including audio information is received, the signal S1 is decoded and converted into an audio signal S2, and then the audio level of the audio signal S2 is adjusted. If the reception state determined in the reception state determination step (step S12 in FIG. 5) for determining the reception state of the received signal S1 and the reception state determined in the reception state determination step is an error state, the adjustment of the audio level is stopped. Step (step S15 in FIG. 5).

本発明の一実施形態における音声処理方法は、音声情報を含む信号S1を受信し、信号を復号して音声信号S2に変換した後、音声信号S2の音声レベルの調整を行う音声処理方法であって、受信した信号S1の受信状態を判定する受信状態判定ステップ(図5のステップS12)と、受信状態判定ステップで判定した受信状態がエラー状態である場合に、音声レベルの調整の応答速度を遅くするステップと、を含む。   The audio processing method according to an embodiment of the present invention is an audio processing method that receives a signal S1 including audio information, decodes the signal and converts the signal into an audio signal S2, and then adjusts the audio level of the audio signal S2. If the reception state determined in the reception state determination step (step S12 in FIG. 5) for determining the reception state of the received signal S1 and the reception state determined in the reception state determination step is an error state, the response speed of the sound level adjustment is set. Slowing down.

本発明の一実施形態におけるプログラムは、受信した信号S1の受信状態を判定する処理と、信号S1を復号した音声信号S2に対して、第1の調整モードと第2の調整モードのいずれかの調整モードで音声レベルの調整を行う処理と、受信状態に基づいて、調整モードを切り替える処理と、をコンピュータに実行させる。ここで、上記プログラムは、記憶部(図6の58、図9の86)に格納され、制御部(図6の52、図9の80)が備えるコンピュータによって実行される。   The program according to the embodiment of the present invention is a program for determining a reception state of the received signal S1, and for either the first adjustment mode or the second adjustment mode for the audio signal S2 obtained by decoding the signal S1. The computer causes the computer to execute a process for adjusting the audio level in the adjustment mode and a process for switching the adjustment mode based on the reception state. Here, the program is stored in the storage unit (58 in FIG. 6 and 86 in FIG. 9) and is executed by a computer provided in the control unit (52 in FIG. 6 and 80 in FIG. 9).

以下、本発明の各実施形態について、図面を参照して詳しく説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

実施形態1Embodiment 1

[実施形態1の構成]
図6は、実施形態1に係る通信装置101を示すブロック図である。通信装置101は無線通信による通話機能を有する携帯電話端末機である。図6に示すように、携帯電話端末機(通信装置)101は、電波を送受信するアンテナ1と、信号を変調しアンテナ1を介して基地局(不図示)へ無線電波を送信する送信部40と、基地局からの無線電波を受信し信号に復調する受信部42と、送信する音声信号を処理する送信音声処理部44と、受信した信号を復号し所定の音声処理を行う受信音声処理部46と、使用者の音声を集音し送信音声処理部44へ供給するマイク48と、受信音声処理部46で処理された音声信号を音声として出力するスピーカ50と、使用者が種々の操作を行う操作部56と、種々の情報を使用者に対して表示する表示部54と、携帯電話端末機101の全体の制御を行う制御部52と、各種プログラムと各種データを記憶する記憶部58とを備えている。
[Configuration of Embodiment 1]
FIG. 6 is a block diagram illustrating the communication apparatus 101 according to the first embodiment. The communication device 101 is a mobile phone terminal having a call function by wireless communication. As shown in FIG. 6, a mobile phone terminal (communication device) 101 includes an antenna 1 that transmits and receives radio waves, and a transmission unit 40 that modulates signals and transmits radio waves to a base station (not shown) via the antenna 1. A reception unit 42 that receives radio waves from the base station and demodulates the signal, a transmission audio processing unit 44 that processes an audio signal to be transmitted, and a reception audio processing unit that decodes the received signal and performs predetermined audio processing 46, a microphone 48 that collects the user's voice and supplies it to the transmission voice processing unit 44, a speaker 50 that outputs the voice signal processed by the reception voice processing unit 46 as voice, and the user performs various operations. An operation unit 56 to perform, a display unit 54 that displays various information to the user, a control unit 52 that performs overall control of the mobile phone terminal 101, and a storage unit 58 that stores various programs and various data. It has.

次に、図2は、図6の受信部42と受信音声処理部46を示し、特に受信音声処理部46について、より詳細な構成を示したブロック図である。図2に示すように、受信音声処理部46は、音声復号部12と、エラー隠蔽処理部20と、フレームバッファ24と、ミュート部22と、音声レベル調整部14aと、伝送状態判定部16と、音声レベル調整制御部18により構成される。   Next, FIG. 2 shows the reception unit 42 and the reception voice processing unit 46 of FIG. 6, and is a block diagram showing a more detailed configuration especially regarding the reception voice processing unit 46. As shown in FIG. 2, the received voice processing unit 46 includes a voice decoding unit 12, an error concealment processing unit 20, a frame buffer 24, a mute unit 22, a voice level adjustment unit 14a, and a transmission state determination unit 16. The voice level adjustment control unit 18 is configured.

まず、受信部42で受信した信号S1は、3GPPで規定されたAMRやITU−Tで規定されたG.729の符号化アルゴリズムで符号化されているので、音声復号部12は符号化された信号を復号し、音声信号S2を出力する。   First, the signal S1 received by the receiving unit 42 is an AMR or ITU-T specified by 3GPP. Since it is encoded by the encoding algorithm 729, the audio decoding unit 12 decodes the encoded signal and outputs the audio signal S2.

次に、エラー隠蔽処理部20は、音声信号S2に伝送時の電波環境の劣化等に起因したエラーが含まれている場合に、エラーが発生している部分のフレームを補正する処理を行う。図4はエラー隠蔽処理部20が行うエラー隠蔽処理を説明するための図である。エラー隠蔽処理には、幾つかの方法が考えられ、そのうちの代表的な方法を、図4(a)〜(c)に示す。   Next, the error concealment processing unit 20 performs a process of correcting a frame of a portion where an error has occurred when the audio signal S2 includes an error due to deterioration of a radio wave environment at the time of transmission. FIG. 4 is a diagram for explaining error concealment processing performed by the error concealment processing unit 20. Several methods are conceivable for error concealment processing, and typical methods are shown in FIGS. 4 (a) to 4 (c).

図4(a)において、受信した複数の音声フレームのうち、フレーム2、及びフレーム3がエラー状態である場合を示している。図4(a)に示す方法では、エラー状態のフレームを無音に置き換える処理を行う。これにより、エラー状態を含む音声信号S2を再生した際に発生する異音を削除することができる。しかしながら、エラー隠蔽処理後の音声信号は、t1、t2のタイミングで不連続となるため、再生した音声に不自然さが生ずる。   FIG. 4A shows a case where frames 2 and 3 are in an error state among a plurality of received audio frames. In the method shown in FIG. 4A, a process of replacing a frame in an error state with silence is performed. Thereby, it is possible to delete the abnormal sound generated when the audio signal S2 including the error state is reproduced. However, since the audio signal after the error concealment process is discontinuous at timings t1 and t2, unnaturalness occurs in the reproduced audio.

また、図4(b)において、受信した複数の音声フレームのうち、フレーム4、及びフレーム5がエラー状態である場合を示している。図4(b)に示す方法では、エラー状態のフレームを直前のエラーでないフレーム3により置き換える処理を行う。このような処理を行うには、エラーでないフレームの信号を一時保存しておくことが必要であるため、フレームバッファ24を使用している。これにより、エラー状態を含む音声信号S2を再生した際に発生する異音を削除することができる。しかしながら、エラー隠蔽処理後の音声信号は、t3のタイミングで不連続となるため、再生した音声に不自然さが生ずる。   FIG. 4B shows a case where frames 4 and 5 are in an error state among a plurality of received audio frames. In the method shown in FIG. 4B, a process of replacing a frame in an error state with a frame 3 that is not the previous error is performed. In order to perform such processing, the frame buffer 24 is used because it is necessary to temporarily store a frame signal that is not an error. Thereby, it is possible to delete the abnormal sound generated when the audio signal S2 including the error state is reproduced. However, since the audio signal after the error concealment process is discontinuous at the timing t3, unnaturalness occurs in the reproduced audio.

また、図4(c)において、受信した複数の音声フレームのうち、フレーム3、及びフレーム4がエラー状態である場合を示している。図4(c)に示す方法では、エラー状態のフレームを、前後のエラーでないフレーム(フレーム2、5)で置き換える処理を行う。この場合も、前後のエラーでないフレームを一時保存するため、フレームバッファ24を使用する。これにより、エラー状態を含む音声信号S2を再生した際に発生する異音を削除することができる。しかしながら、エラー隠蔽処理後の音声信号は、t4のタイミングで不連続となるため、再生した音声に不自然さが生ずる。   FIG. 4C shows a case where frames 3 and 4 are in an error state among a plurality of received audio frames. In the method shown in FIG. 4C, a process of replacing an errored frame with frames before and after the error (frames 2 and 5) is performed. In this case as well, the frame buffer 24 is used to temporarily store frames that are not error before and after. Thereby, it is possible to delete the abnormal sound generated when the audio signal S2 including the error state is reproduced. However, since the audio signal after the error concealment process is discontinuous at the timing t4, unnaturalness occurs in the reproduced audio.

ここで、エラー隠蔽処理部20におけるエラー状態の判定は、後述する伝送状態判定部16で判定した結果を使用してもよいし、エラー隠蔽処理部20で公知のFEC(Forward Error Correction;前方誤り訂正)技術を利用して、エラー状態を判定するようにしてもよい。   Here, the determination of the error state in the error concealment processing unit 20 may use the result determined by the transmission state determination unit 16 described later, or the error concealment processing unit 20 may use a well-known FEC (Forward Error Correction; forward error). A correction) technique may be used to determine the error state.

次に、ミュート部22は、音声レベルを抑制する機能を有し、音声信号の不連続性(図4のt1〜t4タイミング)に起因した音声の不自然さを軽減する。具体的には、エラー隠蔽処理部20でエラー隠蔽処理をしている期間において、ミュート部22が音声レベルの抑制を行うように制御する。このように、エラー隠蔽処理部20とミュート部22を連動させることにより、不自然さのない音声が得られる。   Next, the mute unit 22 has a function of suppressing the sound level, and reduces the unnaturalness of the sound due to the discontinuity of the sound signal (timing t1 to t4 in FIG. 4). Specifically, control is performed so that the mute unit 22 suppresses the sound level during the period in which the error concealment processing unit 20 performs the error concealment processing. In this way, by linking the error concealment processing unit 20 and the mute unit 22, a sound without unnaturalness can be obtained.

次に、伝送状態判定部16は、受信部42で受信した信号S1の受信状態を判定している。具体的には、公知のFEC技術を利用してエラー検出を行い、正常状態(エラー状態でない)とエラー状態のいずれかを判定出力する。さらに、伝送状態判定部16は連続するエラー状態をカウントするカウンタを有し、連続するエラー状態がN回(但し、Nは予め設定する所定の回数で、自然数)になった場合に、受信状態の判定結果C1をHighレベルにし、それ以外の場合はLowレベルにして、受信状態の判定結果C1を音声レベル調整制御部18に出力する。   Next, the transmission state determination unit 16 determines the reception state of the signal S1 received by the reception unit 42. Specifically, error detection is performed using a known FEC technique, and either a normal state (not an error state) or an error state is determined and output. Furthermore, the transmission state determination unit 16 has a counter that counts consecutive error states. When the number of consecutive error states reaches N (where N is a predetermined number set in advance and is a natural number), the reception state The determination result C1 is set to the High level, otherwise it is set to the Low level, and the reception state determination result C1 is output to the audio level adjustment control unit 18.

次に、音声レベル調整部14aについて説明する。図3は、音声レベル調整部14aの詳細を示すブロック図である。まず、図3に示すように、音声レベル調整部14aは、増幅器26と、第1のゲイン制御部28と、スイッチ30により構成される。   Next, the audio level adjustment unit 14a will be described. FIG. 3 is a block diagram showing details of the audio level adjustment unit 14a. First, as shown in FIG. 3, the audio level adjustment unit 14 a includes an amplifier 26, a first gain control unit 28, and a switch 30.

図3において、増幅器26と第1のゲイン制御部28は、オートゲインコントロールアンプとして動作し、ミュート処理された音声信号S3を所定の音声レベルになるように自動調整している。具体的には、第1のゲイン制御部28はミュート処理された音声信号S3の音声レベルを取得し、所定の音声レベルになるように、増幅器26のゲインを自動調整し、音声レベルが自動調整された音声信号S3’を出力する。   In FIG. 3, an amplifier 26 and a first gain control unit 28 operate as an auto gain control amplifier, and automatically adjust the audio signal S3 that has been subjected to mute processing to a predetermined audio level. Specifically, the first gain control unit 28 acquires the sound level of the mute-processed sound signal S3, automatically adjusts the gain of the amplifier 26 so that the sound level becomes a predetermined sound level, and the sound level is automatically adjusted. The audio signal S3 ′ thus output is output.

また、スイッチ30の2つの入力端子には、ミュート処理された音声信号S3と、音声レベルが自動調整された音声信号S3’が接続され、音声レベル調整制御部18より供給される調整モード切替信号C2により切替制御される。具体的には、調整モード切替信号C2がLowレベルの場合には、スイッチ30は音声レベルが自動調整された音声信号S3’を選択出力し、調整モード切替信号C2がHighレベルの場合には、スイッチ30はミュート処理された音声信号S3をそのまま選択出力する。   Also, the two input terminals of the switch 30 are connected to the mute-processed audio signal S3 and the audio signal S3 ′ whose audio level is automatically adjusted, and the adjustment mode switching signal supplied from the audio level adjustment control unit 18 Switching control is performed by C2. Specifically, when the adjustment mode switching signal C2 is at the low level, the switch 30 selects and outputs the audio signal S3 ′ whose audio level is automatically adjusted, and when the adjustment mode switching signal C2 is at the high level, The switch 30 selects and outputs the muted audio signal S3 as it is.

このように、音声レベル調整部14aは、2つの調整モードを有し、調整モード切替信号C2により切り替え可能に構成されている。ここで、スイッチ30が音声レベルが自動調整された音声信号S3’を選択出力する調整モードを第1の調整モード、スイッチ30がミュート処理された音声信号S3をそのまま選択出力する調整モードを第2の調整モードという。第1の調整モードは、非特許文献1に記載された「らくらくホン」の「音声受話量アップ」機能に相当し、音声信号がある場合に平均的な音声レベルが所定の音声レベルになるように自動調整がなされる。例えば、所定の音声レベルを−3dBmと設定すると、相手が小声で話した聞き取りにくい音声が自動的に平均して−3dBmに増幅され、聞き易い音声となる。一方、第2の調整モードは、第1の調整モードにおける自動調整をオフにする調整モードである。   As described above, the audio level adjustment unit 14a has two adjustment modes and is configured to be switched by the adjustment mode switching signal C2. Here, the adjustment mode in which the switch 30 selects and outputs the audio signal S3 ′ whose audio level is automatically adjusted is the first adjustment mode, and the adjustment mode in which the switch 30 selects and outputs the mute-processed audio signal S3 as it is is the second. This is called the adjustment mode. The first adjustment mode corresponds to the “voice volume increase” function of “Raku-Raku Phone” described in Non-Patent Document 1, and when there is a voice signal, the average voice level becomes a predetermined voice level. Automatic adjustment is made. For example, if the predetermined sound level is set to -3 dBm, the unintelligible sound spoken by the other party is automatically averaged and amplified to -3 dBm, and the sound becomes easy to hear. On the other hand, the second adjustment mode is an adjustment mode for turning off automatic adjustment in the first adjustment mode.

次に、音声レベル調整制御部18について説明する。音声レベル調整制御部18は、伝送状態判定部16が出力する受信状態の判定結果C1を入力し、その受信状態の判定結果C1に基づいて、音声レベル調整部14に調整モード切替信号C2を出力する。具体的には、受信状態の判定結果C1がLowレベルの場合は、調整モード切替信号C2をLowレベルにして音声レベル調整制御部18を第1の調整モードにする。一方、受信状態の判定結果C1がHighレベルの場合は、調整モード切替信号C2をHighレベルにして音声レベル調整制御部18を第2の調整モードにする。   Next, the audio level adjustment control unit 18 will be described. The audio level adjustment control unit 18 receives the reception state determination result C1 output from the transmission state determination unit 16, and outputs the adjustment mode switching signal C2 to the audio level adjustment unit 14 based on the reception state determination result C1. To do. Specifically, when the reception state determination result C1 is at the low level, the adjustment mode switching signal C2 is set to the low level, and the audio level adjustment control unit 18 is set to the first adjustment mode. On the other hand, when the reception state determination result C1 is at the high level, the adjustment mode switching signal C2 is set to the high level, and the audio level adjustment control unit 18 is set to the second adjustment mode.

以上、図2に示す受信音声処理部46の構成により、受信部42で受信した信号S1の受信状態がN回以上連続したエラー状態である場合には、第2の調整モードとなり、音声レベルの自動調整はオフされ、それ以外の場合には、第1の調整モードにより音声レベルの自動調整がなされる。   As described above, when the reception state of the signal S1 received by the reception unit 42 is an error state continuous N times or more by the configuration of the reception voice processing unit 46 shown in FIG. The automatic adjustment is turned off. In other cases, the audio level is automatically adjusted in the first adjustment mode.

[実施形態1の動作]
次に図2、図5を参照しながら、実施形態1の動作について詳細に説明する。図5は、実施形態1に係る通信装置(携帯端末装置)101の動作を示すフローチャートである。図5において、初期状態では、音声レベル調整部14aの調整モードは第1の調整モードで動作しているとする。まず、受信部42が信号S1を受信する(ステップS11)。次に、伝送状態判定部16のFECにより、信号S1の受信状態を判定する(ステップS12)。
[Operation of Embodiment 1]
Next, the operation of the first embodiment will be described in detail with reference to FIGS. FIG. 5 is a flowchart showing the operation of the communication apparatus (mobile terminal apparatus) 101 according to the first embodiment. In FIG. 5, in the initial state, it is assumed that the adjustment mode of the sound level adjustment unit 14a is operating in the first adjustment mode. First, the receiving unit 42 receives the signal S1 (step S11). Next, the reception state of the signal S1 is determined by the FEC of the transmission state determination unit 16 (step S12).

次に、伝送状態判定部16において、受信状態がエラー状態であると判定された場合、N回以上連続したエラー状態であるか否かを判定する(ステップS13)。ステップS13でNOと判定された場合は、音声レベル調整制御部18は、音声レベル調整部14aの調整モードを第1の調整モードに設定する(ステップS14)。一方、ステップS13でYESと判定された場合には、音声レベル調整制御部18は、音声レベル調整部14aの調整モードを第2の調整モードに設定する(ステップS15)。その後、ステップS11に戻り処理を繰り返す。   Next, when the transmission state determination unit 16 determines that the reception state is an error state, it is determined whether or not the transmission state is an error state that has continued N times or more (step S13). When it is determined NO in step S13, the audio level adjustment control unit 18 sets the adjustment mode of the audio level adjustment unit 14a to the first adjustment mode (step S14). On the other hand, when it is determined YES in step S13, the audio level adjustment control unit 18 sets the adjustment mode of the audio level adjustment unit 14a to the second adjustment mode (step S15). Then, it returns to step S11 and repeats a process.

以上が、図5のフローチャートで示した実施形態1の動作である。以下に、実施形態1におけるミュート部22の動作と、音声レベル調整制御部18が制御する音声レベル調整部14aの動作の関連について、さらに詳細に説明する。ミュート部22の抑制動作と、音声レベル調整部14aの調整モードを第2の調整モードに切り替える動作は、連動させることが好ましい。前述したように、エラー隠蔽処理部20で補正を行う場合、ミュート部22により音声レベルを抑制動作させるが、その期間において音声レベル調整部14aによる自動調整で増幅動作が行われないようにするためである。   The above is the operation of the first embodiment shown in the flowchart of FIG. Hereinafter, the relationship between the operation of the mute unit 22 in Embodiment 1 and the operation of the audio level adjustment unit 14a controlled by the audio level adjustment control unit 18 will be described in more detail. The suppression operation of the mute unit 22 and the operation of switching the adjustment mode of the audio level adjustment unit 14a to the second adjustment mode are preferably interlocked. As described above, when correction is performed by the error concealment processing unit 20, the sound level is suppressed by the mute unit 22, but the amplification operation is not performed by automatic adjustment by the sound level adjustment unit 14a during that period. It is.

ここで、ミュート部22の抑制動作と、音声レベル調整部14aの調整モードを第2の調整モードに切り替える動作とを、連動させる方法として以下のような方法を用いることができる。第1の方法として、伝送状態判定部16が判定した受信状態に基づいて、音声レベル調整制御部18が、ミュート部22の抑制動作を予測し、ミュート部22の抑制動作に連動させて、音声レベル調整部14aの調整モードを第2の調整モードに切り替える制御を行う方法である。実施形態1ではこの第1の方法を用いている。具体的には、伝送状態判定部16がエラー状態をN回以上連続して検出した場合に、ミュート部22の抑制動作が抑制状態になっていると予測する。このような理由から、図5のステップS13では、エラー状態がN回以上連続しているか否かを判定している。   Here, the following method can be used as a method of linking the suppression operation of the mute unit 22 and the operation of switching the adjustment mode of the audio level adjustment unit 14a to the second adjustment mode. As a first method, based on the reception state determined by the transmission state determination unit 16, the audio level adjustment control unit 18 predicts the suppression operation of the mute unit 22, and synchronizes with the suppression operation of the mute unit 22. This is a method for performing control to switch the adjustment mode of the level adjustment unit 14a to the second adjustment mode. The first method is used in the first embodiment. Specifically, when the transmission state determination unit 16 detects an error state continuously N times or more, it is predicted that the suppression operation of the mute unit 22 is in the suppression state. For this reason, it is determined in step S13 in FIG. 5 whether or not the error state continues N times or more.

第2の方法として、図2に示すように、ミュート部22がミュート状態C3を音声レベル調整部18に供給し(図2に破線で表示)、音声レベル調整部18は、伝送状態判定部16が判定した受信状態だけでなく、ミュート状態C3の情報も使用して、音声レベル調整部14aの調整モードを第2の調整モードに切り替える制御を行う方法である。実施形態1では第1の方法を用いているが、第2の方法を用いるようにしてもよい。   As a second method, as shown in FIG. 2, the mute unit 22 supplies the mute state C3 to the audio level adjustment unit 18 (indicated by a broken line in FIG. 2), and the audio level adjustment unit 18 transmits the transmission state determination unit 16. This is a method for performing control to switch the adjustment mode of the audio level adjustment unit 14a to the second adjustment mode using not only the reception state determined by the above but also the information of the mute state C3. Although the first method is used in the first embodiment, the second method may be used.

また、ステップS13において、エラーがN回以上連続しているか否かを判定している理由として、以下に示す別の理由が存在する。もし、N=1とした場合は、1回でもエラー状態であると判定されると、調整モードが第1の調整モードから第2の調整モードに切り替わり、その後、すぐに正常状態に戻った場合には、第2の調整モードから第1の調整モードに切り替わることとなり、調整モードがハンチングし、聞きにくい音声になってしまう。そこで、エラー状態がN回以上連続した場合にのみ、第2の調整モードに切り替わるようにし、ハンチングを回避したほうが好ましい。   In Step S13, there is another reason as described below as the reason for determining whether or not the error has continued N times or more. If N = 1, if it is determined that the error state has occurred even once, the adjustment mode switches from the first adjustment mode to the second adjustment mode, and then immediately returns to the normal state. In this case, the second adjustment mode is switched to the first adjustment mode, and the adjustment mode hunts, resulting in a sound that is difficult to hear. Therefore, it is preferable to switch to the second adjustment mode only when the error state continues N times or more to avoid hunting.

尚、実施形態1では、図2に示すように、音声レベル調整制御部18を設けているが、上記ミュート状態C3の情報を使用しない場合には、図1に示すように音声レベル調整制御部18を設けずに、伝送状態判定部15が直接、調整モード切替信号C2を出力し、音声レベル調整部14の調整モードを切り替えるように構成してもよい。   In the first embodiment, as shown in FIG. 2, the audio level adjustment control unit 18 is provided. However, when the information of the mute state C3 is not used, the audio level adjustment control unit as shown in FIG. 18 may be configured such that the transmission state determination unit 15 directly outputs the adjustment mode switching signal C2 and switches the adjustment mode of the audio level adjustment unit 14.

尚、図5のフローチャートで示したステップS12、S13、S14、S15の各処理は、記憶部58にプログラムとして格納され、制御部52が備えたコンピュータによって呼び出されて実行される。また、そのプログラムは、ネットワークを介してダウンロードするか、或いは、プログラムを記憶した記憶媒体を用いて、更新することができる。   5 is stored in the storage unit 58 as a program, and is called and executed by a computer provided in the control unit 52. The steps S12, S13, S14, and S15 shown in the flowchart of FIG. The program can be downloaded via a network or updated using a storage medium storing the program.

以下に、実施形態1の効果について述べる。実施形態1に係る携帯端末機101によれば、受信した信号S1の受信状態が正常状態の場合には、非特許文献1に記載された「らくらくホン」の「音声受話量アップ」機能のように、音声レベルの自動調整が可能である。一方、受信した信号S1の受信状態がエラー状態である場合には、音声レベルの自動調整をオフすることにより、音声レベル調整機能を有する通信装置において、受信状態がエラー状態である部分の音声品質を良化することができる。即ち、受信状態がエラー状態である部分の音声信号に対してエラー隠蔽処理、及びミュート処理を行う期間と連動させて、音声レベルの自動調整をオフすることにより、音声レベルが増幅される弊害を避けることができる。これにより、再生音声に、レベル変動の違和感や、エラー復帰直後の音割れ等の異音の発生を防止することができる。   Hereinafter, effects of the first embodiment will be described. According to the mobile terminal 101 according to the first embodiment, when the received state of the received signal S1 is normal, the “voice volume increase” function of “Easy phone” described in Non-Patent Document 1 In addition, the audio level can be automatically adjusted. On the other hand, when the reception state of the received signal S1 is an error state, by turning off the automatic adjustment of the sound level, the voice quality of the part whose reception state is the error state in the communication device having the sound level adjustment function Can be improved. In other words, the voice level is amplified by turning off the automatic adjustment of the voice level in conjunction with the period during which the error concealment process and the mute process are performed on the voice signal of the part whose reception state is the error state. Can be avoided. As a result, it is possible to prevent the reproduced sound from generating strange sounds such as level fluctuations and sound cracks immediately after error recovery.

また、図5に示した実施形態1における音声処理方法によれば、音声レベル調整の調整モードを適宜切り替えることにより受信状態がエラー状態である部分の音声品質を良化することが可能な音声処理方法を提供することができる。   In addition, according to the audio processing method in the first embodiment shown in FIG. 5, the audio processing capable of improving the audio quality of the portion in which the reception state is in the error state by appropriately switching the adjustment mode of the audio level adjustment. A method can be provided.

尚、近年、周囲雑音をマイクから入力することにより、使用環境のノイズレベルに応じて、受話音声レベルを自動調整するように構成された携帯電話端末機も発売されている。このような携帯電話端末機においても、実施形態1の音声レベル調整部14a、音声レベル調整制御部18と同様の制御を行い、実施形態1で示したのと同様の効果を得ることができる。   In recent years, mobile phone terminals configured to automatically adjust the received voice level according to the noise level of the usage environment by inputting ambient noise from a microphone have been released. Even in such a cellular phone terminal, the same control as that of the voice level adjustment unit 14a and the voice level adjustment control unit 18 of the first embodiment can be performed, and the same effect as that shown in the first embodiment can be obtained.

[実施形態1の変形例]
次に、実施形態1の変形例に係る通信装置(携帯端末機)について説明する。実施形態1の変形例の実施形態1に対する構成の違いは、実施形態1の音声レベル調整部14aを、図7に示す音声レベル調整部14bに置き換えた点である。
[Modification of Embodiment 1]
Next, a communication device (portable terminal) according to a modification of the first embodiment will be described. A difference of the configuration of the first embodiment from the first embodiment is that the sound level adjustment unit 14a of the first embodiment is replaced with a sound level adjustment unit 14b shown in FIG.

図7は、実施形態1の変形例の音声レベル調整部14bを示すブロック図である。図7において、音声レベル調整部14bは、増幅器26と、第1のゲイン制御部28と、第2のゲイン制御部32と、スイッチ34で構成される。図7において、図3と実質的に同じ機能を有する構成要素には同じ参照符号を付している。図7の第1のゲイン制御部28は、実施形態1の音声レベル調整部14aの第1のゲイン制御部28と同じである。実施形態1の変形例では、第1のゲイン制御部28よりも、応答速度を遅らせた第2のゲイン制御部32を設ける。そして、スイッチ34の2つの入力端子に、第1のゲイン制御部28の出力、第2のゲイン制御部32の出力をそれぞれ接続する。スイッチ34は、調整モード切替信号C2により上記の2つの入力を選択可能に構成する。具体的には、調整モード切替信号C2がLowレベルのとき、スイッチ34において第1のゲイン制御部28が選択され、音声レベル調整部14bは第1の調整モードとなる。一方、調整モード切替信号C2がHighレベルのとき、スイッチ34において第2のゲイン制御部32が選択され、音声レベル調整部14bは第2の調整モードとなる。   FIG. 7 is a block diagram illustrating an audio level adjustment unit 14b according to a modification of the first embodiment. In FIG. 7, the audio level adjustment unit 14 b includes an amplifier 26, a first gain control unit 28, a second gain control unit 32, and a switch 34. In FIG. 7, components having substantially the same functions as those in FIG. The first gain control unit 28 of FIG. 7 is the same as the first gain control unit 28 of the audio level adjustment unit 14a of the first embodiment. In the modification of the first embodiment, a second gain control unit 32 with a response speed delayed from that of the first gain control unit 28 is provided. The output of the first gain control unit 28 and the output of the second gain control unit 32 are connected to the two input terminals of the switch 34, respectively. The switch 34 is configured so that the above two inputs can be selected by the adjustment mode switching signal C2. Specifically, when the adjustment mode switching signal C2 is at the low level, the first gain control unit 28 is selected in the switch 34, and the sound level adjustment unit 14b enters the first adjustment mode. On the other hand, when the adjustment mode switching signal C2 is at the high level, the second gain control unit 32 is selected in the switch 34, and the sound level adjustment unit 14b is in the second adjustment mode.

第2のゲイン制御部32は、オートゲインアンプにおいて応答速度を遅らせる公知の方法を適用したものである。それにより、第2の調整モードにおいて、自動調整の応答速度を遅らせることができる。   The second gain control unit 32 applies a known method of delaying the response speed in the auto gain amplifier. Thereby, the response speed of the automatic adjustment can be delayed in the second adjustment mode.

実施形態1の変形例によれば、受信した信号S1の受信状態がエラー状態である場合には、音声レベルの自動調整の応答速度を遅らせることにより、受信状態がエラー状態である部分の音声品質を良化することができる。即ち、受信状態がエラー状態である部分の音声信号に対してエラー隠蔽処理、及びミュート処理を行う期間と連動させて、音声レベルの自動調整の応答速度を遅らせることにより、音声レベルが増幅される弊害を低減させることができる。これにより、再生音声に、レベル変動の違和感や、エラー復帰直後の音割れ等の異音の発生を防止することができる。   According to the modification of the first embodiment, when the reception state of the received signal S1 is an error state, the voice quality of the portion where the reception state is an error state is delayed by delaying the response speed of the automatic adjustment of the sound level. Can be improved. That is, the audio level is amplified by delaying the response speed of the automatic adjustment of the audio level in conjunction with the period during which the error concealment process and the mute process are performed on the audio signal of the part whose reception state is the error state. Detrimental effects can be reduced. As a result, it is possible to prevent the reproduced sound from generating strange sounds such as level fluctuations and sound cracks immediately after error recovery.

実施形態2Embodiment 2

図9は、実施形態2に係る通信装置102を示すブロック図である。通信装置102はインターネット1を介した通話機能を有するIP電話端末機である。図9に示すように、IP電話端末機(通信装置)102は、送信部64と受信部66を含む回線接続部62と、送受信するパケットを処理するパケット処理部68と、受信パケットのジッタに対応するためのジッタバッファ70と、送信する音声信号を処理する送信音声処理部72と、受信した信号を復号し所定の音声処理を行う受信音声処理部74等を備えている。尚、図9において、マイク76、スピーカ78、制御部80、表示部82、操作部84、記憶部86は、図6におけるマイク48、スピーカ50、制御部52、表示部54、操作部56、記憶部58と同様の機能を有しているため、説明を省略する。   FIG. 9 is a block diagram illustrating the communication apparatus 102 according to the second embodiment. The communication device 102 is an IP telephone terminal having a call function via the Internet 1. As shown in FIG. 9, the IP telephone terminal (communication device) 102 includes a line connection unit 62 including a transmission unit 64 and a reception unit 66, a packet processing unit 68 that processes a packet to be transmitted and received, and a jitter of the received packet. A jitter buffer 70 for handling, a transmission voice processing unit 72 for processing a voice signal to be transmitted, a reception voice processing unit 74 for decoding a received signal and performing predetermined voice processing, and the like are provided. In FIG. 9, the microphone 76, the speaker 78, the control unit 80, the display unit 82, the operation unit 84, and the storage unit 86 are the microphone 48, the speaker 50, the control unit 52, the display unit 54, the operation unit 56, Since it has the same function as the storage unit 58, the description thereof is omitted.

IP電話ではRTP(Real-time Transport Protocol)により、インターネット2を介したパケットの送受信が行われる。IP電話では、インターネット経由でRTPパケットが伝送される過程でパケットロスが生じるという問題がある。ここで、IP電話で使用されるRTPは音声のリアルタイム性を重視したプロトコルであり、TCPのようにパケットロスに対応した再送の仕組みを持っていない。そのため、パケットロスを検出して音声信号を補正することにより、音声品質を良化させることが特に重要である。   In the IP phone, packets are transmitted / received via the Internet 2 by RTP (Real-time Transport Protocol). IP telephones have a problem that packet loss occurs in the process of transmitting RTP packets via the Internet. Here, RTP used in IP telephone is a protocol that emphasizes the real-time nature of voice and does not have a retransmission mechanism corresponding to packet loss unlike TCP. Therefore, it is particularly important to improve the voice quality by detecting the packet loss and correcting the voice signal.

図9において、インターネット2を介して回線接続部62の受信部66が音声情報を含むパケットを受信する。受信したパケットは、一時的にジッタバッファ70に保存され、パケット処理部68でパケット順序の入れ替わりに対応する処理等を行う。そして、パケット処理部68で処理されたパケットの内、音声データに関連した信号S1が取り出され、受信音声処理部74に入力される。   In FIG. 9, the receiving unit 66 of the line connecting unit 62 receives a packet including voice information via the Internet 2. The received packet is temporarily stored in the jitter buffer 70, and the packet processing unit 68 performs processing corresponding to the switching of the packet order. The signal S 1 related to the audio data is extracted from the packets processed by the packet processing unit 68 and input to the received audio processing unit 74.

受信音声処理部74の構成は、実施形態1で説明した携帯電話端末機101における受信音声処理部46の構成と同様であるため、受信音声処理部74の構成を、図2を参照しながら、説明する。音声復号部12により、受信した信号S1を復号して音声信号S2を出力する。次に、エラー隠蔽処理部20は、音声信号S2にパケットロスに対応したエラーが含まれている場合に、エラーが発生している部分のフレームを補正する処理を行う。エラー隠蔽処理部20の処理アルゴリズムは、実施形態1と同様である。ここで、エラー隠蔽処理部20におけるエラー状態の判定は、後述する伝送状態判定部16で判定した結果を使用してもよいし、エラー隠蔽処理部20で行ってもよい。エラー隠蔽処理部20の内部でエラー状態の判定を行う場合、受信したRTPパケットのタイムスタンプによる方法や、ジッタバッファ70でのアンダーフローを監視する方法を使用することができる。後者の方法では、ジッタバッファ70が枯渇することによるアンダーフローをパケット処理部68で行い、パケット処理部68がその結果をエラー隠蔽処理部20に供給する。   Since the configuration of the reception voice processing unit 74 is the same as the configuration of the reception voice processing unit 46 in the mobile phone terminal 101 described in the first embodiment, the configuration of the reception voice processing unit 74 will be described with reference to FIG. explain. The audio decoding unit 12 decodes the received signal S1 and outputs an audio signal S2. Next, the error concealment processing unit 20 performs processing for correcting a frame of a portion where an error has occurred when an error corresponding to the packet loss is included in the audio signal S2. The processing algorithm of the error concealment processing unit 20 is the same as that in the first embodiment. Here, the determination of the error state in the error concealment processing unit 20 may use a result determined by the transmission state determination unit 16 described later, or may be performed by the error concealment processing unit 20. When an error state is determined inside the error concealment processing unit 20, a method based on the time stamp of the received RTP packet or a method of monitoring underflow in the jitter buffer 70 can be used. In the latter method, the packet processing unit 68 performs underflow due to the depletion of the jitter buffer 70, and the packet processing unit 68 supplies the result to the error concealment processing unit 20.

次に、伝送状態判定部16では、エラー隠蔽処理部20と同様にパケットロスを検出する。伝送状態判定部16においても、前述したRTPパケットのタイムスタンプによる方法や、ジッタバッファ70でのアンダーフローを監視する方法を使用する。   Next, the transmission state determination unit 16 detects packet loss in the same manner as the error concealment processing unit 20. The transmission state determination unit 16 also uses the above-described method based on the time stamp of the RTP packet and the method of monitoring underflow in the jitter buffer 70.

また、ミュート部22、音声レベル調整部14a、及び音声レベル調整制御部18は、実施形態1と同じであるため、説明は省略する。以上のように、実施形態2の受信音声処理部74の構成は、実施形態1の受信音声処理部46において、エラー隠蔽処理部20、及び伝送状態判定部16において、受信状態を判定する際に、RTPパケットロスを検出するように変更した点が異なるだけである。   Further, the mute unit 22, the audio level adjustment unit 14a, and the audio level adjustment control unit 18 are the same as those in the first embodiment, and thus the description thereof is omitted. As described above, the configuration of the reception voice processing unit 74 of the second embodiment is the same as that of the reception voice processing unit 46 of the first embodiment when the error concealment processing unit 20 and the transmission state determination unit 16 determine the reception state. The only difference is that the RTP packet loss is changed to be detected.

次に、図8を参照しながら、実施形態2の通信装置(IP電話端末機)102の動作について説明する。図8は、実施形態2のIP電話端末機102の動作を示すフローチャートである。   Next, the operation of the communication apparatus (IP telephone terminal) 102 according to the second embodiment will be described with reference to FIG. FIG. 8 is a flowchart showing the operation of the IP telephone terminal 102 according to the second embodiment.

図8において、初期状態では、音声レベル調整部14aの調整モードは第1の調整モードで動作しているとする。まず、受信部66が信号S1を受信する(ステップS21)。次に、伝送状態判定部16により、信号S1の受信状態を判定する。すなわち、パケットロスの有無を判定する(ステップS22)。信号S1の受信状態には、前述したRTPパケットのタイムスタンプによる方法、又はジッタバッファ70のアンダーフローを監視する方法が用いられる。   In FIG. 8, it is assumed that the adjustment mode of the audio level adjustment unit 14a is operating in the first adjustment mode in the initial state. First, the receiving unit 66 receives the signal S1 (step S21). Next, the transmission state determination unit 16 determines the reception state of the signal S1. That is, the presence / absence of packet loss is determined (step S22). As the reception state of the signal S1, the above-described method based on the time stamp of the RTP packet or the method of monitoring the underflow of the jitter buffer 70 is used.

次に、伝送状態判定部16において、受信状態がエラー状態であると判定された場合、N回以上連続したエラー状態であるか否かを判定する(ステップS23)。ステップS23でNOと判定された場合は、音声レベル調整制御部18は、音声レベル調整部14aの調整モードを第1の調整モードに設定する(ステップS24)。一方、ステップS23でYESと判定された場合には、音声レベル調整制御部18は、音声レベル調整部14aの調整モードを第2の調整モードに設定する(ステップS25)。その後、ステップS21に戻り処理を繰り返す。   Next, when the transmission state determination unit 16 determines that the reception state is an error state, it is determined whether or not the transmission state is an error state that has continued N times or more (step S23). When it is determined NO in step S23, the audio level adjustment control unit 18 sets the adjustment mode of the audio level adjustment unit 14a to the first adjustment mode (step S24). On the other hand, if it is determined as YES in step S23, the audio level adjustment control unit 18 sets the adjustment mode of the audio level adjustment unit 14a to the second adjustment mode (step S25). Then, it returns to step S21 and repeats a process.

尚、図8のフローチャートで示したステップS22、S23、S24、S25の各処理は、記憶部86にプログラムとして格納され、制御部80が備えたコンピュータによって呼び出されて実行される。また、そのプログラムは、ネットワークを介してダウンロードするか、或いは、プログラムを記憶した記憶媒体を用いて、更新することができる。   8 is stored in the storage unit 86 as a program, and is called and executed by a computer provided in the control unit 80. The processes in steps S22, S23, S24, and S25 shown in the flowchart of FIG. The program can be downloaded via a network or updated using a storage medium storing the program.

以下に、実施形態2の効果について述べる。実施形態2に係るIP電話端末機101によれば、受信した信号S1の受信状態を、RTPパケットロスを検出することにより判定し、実施形態1と同様の処理を行うようにしたから、実施形態1と同様の効果が得られる。また、実施形態2の音声レベル調整部14aを、音声レベル調整部14bに置き換えることも可能であり、その場合、実施形態1の変形例と同様の効果が得られる。   The effects of the second embodiment will be described below. According to the IP telephone terminal 101 according to the second embodiment, the reception state of the received signal S1 is determined by detecting the RTP packet loss, and the same processing as in the first embodiment is performed. The same effect as 1 is obtained. Further, the sound level adjustment unit 14a of the second embodiment can be replaced with the sound level adjustment unit 14b, and in this case, the same effect as that of the modification of the first embodiment can be obtained.

本発明の通信装置は、非特許文献1に示された「らくらくホン」のように音声レベルを自動調整する機能を有する携帯電話端末機や、音声レベルを自動調整する機能を有するIP電話端末機に適用可能である。   The communication apparatus of the present invention is a mobile phone terminal having a function of automatically adjusting a voice level, such as “Raku-Raku Phone” disclosed in Non-Patent Document 1, or an IP phone terminal having a function of automatically adjusting a voice level. It is applicable to.

なお、本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   Note that, within the scope of the entire disclosure (including claims) of the present invention, the embodiment or the embodiment can be changed or adjusted based on the basic technical concept. Various combinations and selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

1:アンテナ
2:インターネット
10、42、66:受信部
12:音声復号部
14、14a、14b:音声レベル調整部
15、16:伝送状態判定部
18:音声レベル調整制御部
20:エラー隠蔽処理部
22:ミュート部
24:フレームバッファ
26:増幅器
28:第1のゲイン制御部
30、34:スイッチ
32:第2のゲイン制御部
40、64:送信部
44、72:送信音声処理部
46、74、100:受信音声処理部
48、76:マイク
50、78:スピーカ
52、80:制御部
54、82:表示部
56、84:操作部
58、86:記憶部
62:回線接続部
68:パケット処理部
70:ジッタバッファ
101:携帯電話端末機(通信装置)
102:IP電話端末機(通信装置)
C1:受信状態の判定結果
C2:調整モード切替信号
C3:ミュート状態信号
S1:信号
S2:音声信号
S3:ミュート処理された音声信号
S3’:音声レベルが自動調整された音声信号
S4:音声レベル調整後の音声信号
1: Antenna 2: Internet 10, 42, 66: Reception unit 12: Audio decoding unit 14, 14a, 14b: Audio level adjustment unit 15, 16: Transmission state determination unit 18: Audio level adjustment control unit 20: Error concealment processing unit 22: mute unit 24: frame buffer 26: amplifier 28: first gain control unit 30, 34: switch 32: second gain control unit 40, 64: transmission unit 44, 72: transmission audio processing units 46, 74, 100: received voice processing unit 48, 76: microphone 50, 78: speaker 52, 80: control unit 54, 82: display unit 56, 84: operation unit 58, 86: storage unit 62: line connection unit 68: packet processing unit 70: Jitter buffer 101: Mobile phone terminal (communication device)
102: IP telephone terminal (communication device)
C1: Reception state determination result C2: Adjustment mode switching signal C3: Mute state signal S1: Signal S2: Audio signal S3: Mute-processed audio signal S3 ': Audio signal with automatically adjusted audio level S4: Audio level adjustment After audio signal

Claims (10)

信号を受信する受信部と、
前記受信部が受信した前記信号から音声信号を復号する音声復号部と、
前記復号した音声信号の音声レベルを第1の調整モードと第2の調整モードのいずれかの調整モードにより調整する音声レベル調整部と、
前記受信した信号の受信状態を判定する伝送状態判定部と、を備え、
前記音声レベル調整部は、前記伝送状態判定部が判定した前記信号の受信状態に基づいて、前記調整モードを切り替えることを特徴とする通信装置。
A receiver for receiving the signal;
An audio decoding unit that decodes an audio signal from the signal received by the receiving unit;
An audio level adjustment unit that adjusts an audio level of the decoded audio signal in an adjustment mode of either the first adjustment mode or the second adjustment mode;
A transmission state determination unit for determining a reception state of the received signal,
The audio level adjustment unit switches the adjustment mode based on the reception state of the signal determined by the transmission state determination unit.
前記伝送状態判定部が前記信号の受信状態をエラー状態であると判定した場合に、前記調整モードを前記第2の調整モードとし、
それ以外の場合に、前記調整モードを前記第1の調整モードとすることを特徴とする請求項1に記載の通信装置。
When the transmission state determination unit determines that the signal reception state is an error state, the adjustment mode is the second adjustment mode,
The communication apparatus according to claim 1, wherein the adjustment mode is the first adjustment mode in other cases.
前記伝送状態判定部が前記信号の受信状態を連続して所定回数以上、エラー状態であると判定した場合に、前記調整モードを前記第2の調整モードとし、
それ以外の場合に、前記調整モードを前記第1の調整モードとすることを特徴とする請求項1に記載の通信装置。
When the transmission state determination unit determines that the reception state of the signal is an error state continuously for a predetermined number of times or more, the adjustment mode is set as the second adjustment mode,
The communication apparatus according to claim 1, wherein the adjustment mode is the first adjustment mode in other cases.
前記第2の調整モードは、前記音声レベル調整部による前記音声レベルの調整を停止することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   4. The communication apparatus according to claim 1, wherein in the second adjustment mode, the adjustment of the audio level by the audio level adjustment unit is stopped. 5. 前記第2の調整モードの応答速度を、前記第1の調整モードの応答速度よりも遅くすることを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   4. The communication apparatus according to claim 1, wherein a response speed in the second adjustment mode is made slower than a response speed in the first adjustment mode. 5. 前記信号の受信状態がエラー状態である場合に、前記信号を補正するエラー隠蔽処理部を更に備えたことを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising an error concealment processing unit that corrects the signal when the reception state of the signal is an error state. 前記エラー隠蔽処理部による補正に応じて前記信号の音声レベルを抑制するミュート部と、前記音声レベル調整部の前記調整モードを切り替える制御を行う音声レベル調整制御部と、を更に備え、
前記音声レベル調整制御部は、前記伝送状態判定部が判定した前記信号の受信状態、及び前記ミュート部による抑制動作に応じて、前記調整モードを切り替えることを特徴とする請求項6に記載の通信装置。
A mute unit that suppresses the audio level of the signal in accordance with correction by the error concealment processing unit, and an audio level adjustment control unit that performs control to switch the adjustment mode of the audio level adjustment unit,
The communication according to claim 6, wherein the audio level adjustment control unit switches the adjustment mode according to a reception state of the signal determined by the transmission state determination unit and a suppression operation by the mute unit. apparatus.
音声情報を含む信号を受信し、前記信号を復号して音声信号に変換した後、前記音声信号の音声レベルの調整を行う音声処理方法であって、
前記受信した信号の受信状態を判定する受信状態判定ステップと、
前記受信状態判定ステップで判定した受信状態がエラー状態である場合に、前記音声レベルの調整を停止するステップと、
を含むことを特徴とする音声処理方法。
An audio processing method for receiving a signal including audio information, decoding the signal and converting it into an audio signal, and adjusting an audio level of the audio signal,
A reception state determination step of determining a reception state of the received signal;
Stopping the adjustment of the audio level when the reception state determined in the reception state determination step is an error state;
A speech processing method comprising:
音声情報を含む信号を受信し、前記信号を復号して音声信号に変換した後、前記音声信号の音声レベルの調整を行う音声処理方法であって、
前記受信した信号の受信状態を判定する受信状態判定ステップと、
前記受信状態判定ステップで判定した受信状態がエラー状態である場合に、前記音声レベルの調整の応答速度を遅くするステップと、
を含むことを特徴とする音声処理方法。
An audio processing method for receiving a signal including audio information, decoding the signal and converting it into an audio signal, and adjusting an audio level of the audio signal,
A reception state determination step of determining a reception state of the received signal;
When the reception state determined in the reception state determination step is an error state, slowing down the response speed of the audio level adjustment;
A speech processing method comprising:
受信した信号の受信状態を判定する処理と、
前記信号を復号した音声信号に対して、第1の調整モードと第2の調整モードのいずれかの調整モードで音声レベルの調整を行う処理と、
前記受信状態に基づいて、前記調整モードを切り替える処理と、
をコンピュータに実行させることを特徴とするプログラム。
A process for determining the reception state of the received signal;
A process of adjusting the audio level in the adjustment mode of either the first adjustment mode or the second adjustment mode for the audio signal obtained by decoding the signal;
A process of switching the adjustment mode based on the reception state;
A program that causes a computer to execute.
JP2011210154A 2011-09-27 2011-09-27 Communication device, voice processing method, and program Withdrawn JP2013074358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011210154A JP2013074358A (en) 2011-09-27 2011-09-27 Communication device, voice processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011210154A JP2013074358A (en) 2011-09-27 2011-09-27 Communication device, voice processing method, and program

Publications (1)

Publication Number Publication Date
JP2013074358A true JP2013074358A (en) 2013-04-22

Family

ID=48478529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011210154A Withdrawn JP2013074358A (en) 2011-09-27 2011-09-27 Communication device, voice processing method, and program

Country Status (1)

Country Link
JP (1) JP2013074358A (en)

Similar Documents

Publication Publication Date Title
KR101311028B1 (en) Intelligibility control using ambient noise detection
US8385325B2 (en) Method of transmitting data in a communication system
US7860458B2 (en) Audio transmitting apparatus and mobile communication terminal
RU2370896C2 (en) Communication method, transmission method and device, and reception method and device
JPH11284694A (en) Portable terminal device
US20110300874A1 (en) System and method for removing tdma audio noise
JP5169059B2 (en) Voice communication device
US8634770B2 (en) Portable terminal device
JP2013074358A (en) Communication device, voice processing method, and program
JP5852311B2 (en) Audio frame timing correction method and radio
JP4249756B2 (en) Portable information terminal and audio playback method
US20080056206A1 (en) Power savings method and apparatus in a communication system
JP2008028828A (en) Radio communication terminal device
JP4731457B2 (en) Communication device
JP3718448B2 (en) Mobile phone
JP2009206616A (en) Mobile phone terminal, volume control method, program and recording medium
JP6529473B2 (en) Wireless communication apparatus, wireless communication system, and noise reduction method
WO2011001578A1 (en) Communication apparatus
JPH0774733A (en) Digital radio telephone set
JP6775162B2 (en) Calling device and calling system using it
JPH09130453A (en) Voice signal transmitter/receiver and receiving speech volume controlling method
JP2000101460A (en) Digital radio telephone device
JP2006270528A (en) Voice signal gain control circuit
US20080279149A1 (en) Method for Outputting a Useful Data Stream and Communications Terminal for Receiving and for Outputting a Useful Data Stream
JP2005051629A (en) Voice transmitter-receiver

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141202