JPH1084595A - Method for recovering isdn d channel without losing signaling or packet data and its device - Google Patents

Method for recovering isdn d channel without losing signaling or packet data and its device

Info

Publication number
JPH1084595A
JPH1084595A JP23689096A JP23689096A JPH1084595A JP H1084595 A JPH1084595 A JP H1084595A JP 23689096 A JP23689096 A JP 23689096A JP 23689096 A JP23689096 A JP 23689096A JP H1084595 A JPH1084595 A JP H1084595A
Authority
JP
Japan
Prior art keywords
audio signal
speaker
coefficient
level
electronic device
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.)
Pending
Application number
JP23689096A
Other languages
Japanese (ja)
Inventor
Kazuhiko Ozawa
一彦 小沢
Hiroshi Fukuda
博 福田
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP23689096A priority Critical patent/JPH1084595A/en
Publication of JPH1084595A publication Critical patent/JPH1084595A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the sound quality of a speaker by providing a digital signal processor, converting the digital audio signal obtained from the processor into an analog signal and giving it to the speaker. SOLUTION: A digital audio signal from an A/D converter 4 is fed to a channel decode/error correction circuit 6, in which channel decoding and error correction are conducted. The digital audio signal from the circuit 6 is fed to a de-interleave/error correction circuit 7, in which the signal is de-interleaved and the error is corrected. The digital signal is fed to a D/A converter 10 as it is through the digital signal processor DSP 8, and converted into an analog signal, which is fed to a line-out terminal 14. Furthermore, the signal from the circuit 7 is converted into an analog signal by a D/A converter 11 whose characteristic is controlled by a characteristic control means 9 of the DSP 8 and the analog signal is fed to a small sized speaker 15.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はスピーカを内蔵する
電子機器及び小型スピーカを内蔵する携帯型電子機器に
関する。
The present invention relates to an electronic device having a built-in speaker and a portable electronic device having a built-in small speaker.

【0002】[0002]

【従来の技術】例えば、従来のビデオカメラ一体型のV
TRにおいては、再生音声信号の出力端子を有し、これ
よりの再生音声信号が他のVTRやテレビ受像機に供給
され、最終的には、特性の良いスピーカに供給されるの
で、何ら問題はなかった。
2. Description of the Related Art For example, a conventional video camera integrated type V
The TR has an output terminal for a reproduced audio signal, and the reproduced audio signal is supplied to another VTR or a television receiver, and finally supplied to a speaker having good characteristics. Did not.

【0003】しかし、ビデオカメラ一体型VTRにスピ
ーカを内蔵させようとする場合、昨今のビデオカメラ一
体型VTRの小型化に伴い、例えば、圧電式スピーカの
ように、かなり小型のスピーカを内蔵せざるを得なかっ
た。
However, in the case of incorporating a speaker in a video camera-integrated VTR, a very small speaker such as a piezoelectric speaker has to be built in with the recent miniaturization of the video camera-integrated VTR. Did not get.

【0004】[0004]

【発明が解決しようとする課題】しかし、小型スピーカ
は、音質があまり良くないという欠点があった。
However, a small speaker has a drawback that the sound quality is not so good.

【0005】そこで、小型スピーカに供給する音声信号
を何らかの形で制御してやれば、音質が向上することが
分かった。又、大型のスピーカであっても、これに供給
する音声信号を何らかの形で制御してやれば、その音質
が一層向上することも分かった。
Therefore, it has been found that the sound quality can be improved by controlling the audio signal supplied to the small speaker in some way. Also, it has been found that the sound quality of a large speaker can be further improved by controlling the audio signal supplied to the speaker in some way.

【0006】かかる点に鑑み、本発明は、スピーカを内
蔵する電子機器において、スピーカの音質を向上するこ
とのできるものを提案しようとするものである。
In view of the above, the present invention is to propose an electronic device having a built-in speaker that can improve the sound quality of the speaker.

【0007】又、本発明は、小型スピーカを内蔵する携
帯型電子機器において、小型スピーカの音質の悪さを、
改善することのできるものを提案しようとするものであ
る。
Further, the present invention relates to a portable electronic device having a built-in small loudspeaker.
They try to suggest things that can be improved.

【0008】[0008]

【課題を解決するための手段】第1の本発明は、音声信
号が供給されるスピーカを内蔵する電子機器において、
音声信号のデジタル化音声信号を、スピーカの特性に応
じた所定の特性に制御するデジタルシグナルプロセッサ
を設け、そのデジタルシグナルプロセッサより得られた
デジタル化音声信号をアナログ化して、スピーカに供給
するようにした、スピーカを内蔵する電子機器である。
According to a first aspect of the present invention, there is provided an electronic apparatus including a speaker to which an audio signal is supplied.
A digital signal processor for controlling the digitized audio signal of the audio signal to a predetermined characteristic according to the characteristics of the speaker is provided, and the digitized audio signal obtained from the digital signal processor is converted into an analog signal and supplied to the speaker. Electronic device with a built-in speaker.

【0009】かかる第1の本発明によれば、音声信号の
デジタル化音声信号を、デジタルシグナルプロセッサに
供給して、スピーカの特性に応じた所定の特性に制御さ
れたデジタル化音声信号を得、そのデジタル化音声信号
をアナログ化してスピーカに供給する。
According to the first aspect of the present invention, the digitized audio signal of the audio signal is supplied to the digital signal processor to obtain a digitized audio signal controlled to a predetermined characteristic according to the characteristic of the speaker. The digitized audio signal is converted into an analog signal and supplied to a speaker.

【0010】[0010]

【発明の実施の形態】以下に、図1を参照して、携帯型
電子機器、例えば、カメラ一体型デジタルVTR(ビデ
オテープレコーダ)に、本発明を適用した実施の形態を
説明する。図1は、そのVTRの再生系の音声回路を示
す。固定ドラム及び回転ドラムを備えたテープ案内ドラ
ム装置の回転ドラムに設けられた、例えば、180°の
角間隔を以て配された一対の回転磁気ヘッドHA、HB
によって、磁気テープTの傾斜トラックから再生された
再生信号の内のデジタル音声信号(矩形波が鈍って、正
弦波に近い波形を有する)は、切換えスイッチ1によっ
て、交互に切換えられた後、高周波増幅2を通じて、等
化回路3に供給されて等化される。この等化されたデジ
タル音声信号は、A/D変換器4及びPLL5に供給さ
れ、PLL5より得られたクロック信号をA/D変換器
4に供給することによって、A/D変換器4からデジタ
ル音声信号が得られる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a portable electronic device, for example, a digital VTR (video tape recorder) with a built-in camera, will be described below with reference to FIG. FIG. 1 shows an audio circuit of a reproduction system of the VTR. For example, a pair of rotary magnetic heads HA and HB provided on a rotary drum of a tape guiding drum device including a fixed drum and a rotary drum, and arranged at an angular interval of 180 °, for example.
Thus, a digital audio signal (a rectangular wave is dulled and has a waveform close to a sine wave) in the reproduction signal reproduced from the inclined track of the magnetic tape T is alternately switched by the changeover switch 1 and then changed to a high frequency. The signal is supplied to the equalizing circuit 3 through the amplifier 2 and equalized. The equalized digital audio signal is supplied to the A / D converter 4 and the PLL 5, and the clock signal obtained from the PLL 5 is supplied to the A / D converter 4 so that the digital signal is output from the A / D converter 4. An audio signal is obtained.

【0011】このA/D変換器4よりのデジタル音声信
号は、チャンネルデコード/エラー訂正回路6に供給さ
れることによって、チャンネルデコード及びエラー訂正
される。このチャンネルデコード/エラー訂正回路6か
らのデジタル音声信号は、デインターリーブ/エラー修
正回路7に供給されて、デインターリーブされると共
に、エラー修正される。
The digital audio signal from the A / D converter 4 is supplied to a channel decode / error correction circuit 6 to be subjected to channel decoding and error correction. The digital audio signal from the channel decode / error correction circuit 6 is supplied to a deinterleave / error correction circuit 7, where it is deinterleaved and error corrected.

【0012】このデインターリーブ/エラー修正回路7
からのデジタル音声信号(例えば、16ビットのデジタ
ル音声信号)は、DSP(デジタルシグナルプロセッ
サ)8を通じて、そのままD/A変換器10に供給され
てアナログ化されると共に、ラインアウト増幅器12を
通じてラインアウト出力端子14に供給される。尚、こ
の出力端子14よりの音声信号は、直接に、又は、他の
VTRを経て、モニタ受像機に供給されて、音質の良い
スピーカに供給される。
This deinterleave / error correction circuit 7
(For example, a 16-bit digital audio signal) is directly supplied to a D / A converter 10 through a DSP (digital signal processor) 8 to be converted into an analog signal. It is supplied to the output terminal 14. The audio signal from the output terminal 14 is supplied to the monitor receiver directly or via another VTR, and is supplied to a speaker having good sound quality.

【0013】又、デインターリーブ/エラー修正回路7
からのデジタル音声信号は、DSP8の特性制御手段9
によって、特性制御が行われた後、D/A変換器11に
供給されてアナログ音声信号に変換され、その音声信号
が低周波増幅機13を通じて、小型スピーカ(例えば、
圧電式スピーカ)15に供給される。
A deinterleave / error correction circuit 7
The digital audio signal from the DSP 8 is controlled by the characteristic control means 9 of the DSP 8.
After performing the characteristic control, the analog signal is supplied to the D / A converter 11 and converted into an analog audio signal. The audio signal is transmitted through the low-frequency amplifier 13 to a small speaker (for example,
(Piezoelectric speaker) 15.

【0014】圧電スピーカ(圧電発音体)は、薄型、軽
量で占有面積が小さく、又、機械的消耗部分がないた
め、長期間、高信頼性が保持される。圧電スピーカは、
電圧駆動のため、消費電力が少なく、長時間駆動が可能
である。圧電スピーカの一例の放音周波数特性は、周波
数が400Hzから徐々に高くなるにつれて、音圧が徐
々に上昇し、600Hzを過ぎたところで、音圧レベル
が山(約82dB)になり、その後周波数が高くなるに
つれて、音圧レベルが徐々に低下し、900Hzで谷
(63dB)になり、その後周波数が高くなるに連れて
音圧レベルが上昇し、2kHzを越えたところで山(9
3dB)になり、その後周波数が高くなるにつれて、音
圧レベルが低下し、4kHzを越えたところで谷(53
dB)になり、その後周波数が高くなるにつれて、10
kHz程度まで、音圧レベルが上昇する特性を有する。
この特性から、圧電スピーカは音質があまり良くないこ
とが分かる。
A piezoelectric speaker (piezoelectric sounding body) is thin, lightweight, occupies a small area, and has no mechanically worn parts, so that high reliability is maintained for a long period of time. The piezoelectric speaker is
Because of voltage driving, power consumption is low and driving for a long time is possible. The sound emission frequency characteristics of an example of a piezoelectric speaker are as follows: as the frequency gradually increases from 400 Hz, the sound pressure gradually increases, and after 600 Hz, the sound pressure level peaks (approximately 82 dB). As the frequency increases, the sound pressure level gradually decreases, reaches a valley (63 dB) at 900 Hz, and then increases as the frequency increases.
3 dB), and thereafter, as the frequency increases, the sound pressure level decreases, and the valley (53) exceeds 4 kHz.
dB) and then as the frequency increases, 10
It has the characteristic that the sound pressure level increases up to about kHz.
From this characteristic, it can be seen that the sound quality of the piezoelectric speaker is not so good.

【0015】図2は、本発明を適用して好適な、携帯型
テレビ受像機、携帯型通信端末等の小型スピーカを内蔵
する携帯型電子機器の音声回路を示すが、図1と対応す
る部分には、同一符号を付して重複説明を省略する。即
ち、入力端子Tinからのアナログ音声信号がA/D変換
器4に供給されてデジタル音声信号に変換された後、D
SP8に供給される。その他の構成は、図1と同様であ
る。
FIG. 2 shows an audio circuit of a portable electronic device incorporating a small speaker, such as a portable television receiver or a portable communication terminal, which is suitable for applying the present invention. Are denoted by the same reference numerals, and redundant description will be omitted. That is, after the analog audio signal from the input terminal Tin is supplied to the A / D converter 4 and converted into a digital audio signal,
It is supplied to SP8. Other configurations are the same as those in FIG.

【0016】次に、図3のフローチャートを参照して、
DSP8の特性制御手段9の一例としての自動利得制御
(AGC)手段を説明する。尚、このフローチャートで
示されるAGCは、DSP8によって、音声サンプリン
グ周期(1/32,000、1/44,100、又は、
1/48,000秒)毎に実行される。
Next, referring to the flowchart of FIG.
An automatic gain control (AGC) unit as an example of the characteristic control unit 9 of the DSP 8 will be described. Note that the AGC shown in this flowchart is processed by the DSP 8 in an audio sampling cycle (1 / 32,000, 1 / 44,100, or
(1 / 48,000 seconds).

【0017】ステップST−1では、左及び右チャンネ
ル音声信号(出力)をそれぞれL、R、nサンプル減衰
係数をA〔n〕、レベルアップ係数をAk(但し、Ak
はAk>1)としたとき、数1の式の演算を行って、こ
れをnサンプルのモノーラルデジタル出力Mとする。ス
テップST−1の演算を行う手段を第1の演算手段とす
る。
In step ST-1, the left and right channel audio signals (outputs) are L, R, and n sample attenuation coefficients are A [n], and the level up coefficient is Ak (where Ak is
When Ak> 1), the operation of Expression 1 is performed, and this is set as a monaural digital output M of n samples. The means for performing the calculation in step ST-1 is referred to as first calculation means.

【0018】[0018]

【数1】{(L+R)/2}×A〔n〕×Ak≡M[Equation 1] {(L + R) / 2} × A [n] × Ak≡M

【0019】この数1の式において、(L+R)/2を
Pと置くと、数1の式は数2の式のように表される。
In the equation (1), if (L + R) / 2 is set to P, the equation (1) is expressed as the equation (2).

【0020】[0020]

【数2】P×A〔n〕×Ak≡M## EQU2 ## P × A [n] × Ak≡M

【0021】数1の式で、L=Rの場合は、Pはモノー
ラル音声信号となる。
In the equation (1), when L = R, P is a monaural audio signal.

【0022】ステップST−1に続くステップST−2
では、数3に示す如く、数1の式を絶対値化演算し、そ
の演算結果を|S|と置く。ステップST−2の演算を
行う手段を第2の演算手段とする。
Step ST-2 following step ST-1
Then, as shown in Expression 3, the expression of Expression 1 is subjected to an absolute value operation, and the operation result is set as | S |. Means for performing the calculation in step ST-2 is referred to as second calculating means.

【0023】[0023]

【数3】|(L+R)×A〔n〕×Ak/2|≡|S|| (L + R) × A [n] × Ak / 2 | ≡ | S |

【0024】ステップST−2に続くステップST−3
では、システム全体のダイナミックレンジを考慮して決
定されたT/H(但し、T/HはT/H>0)をスレッ
シュホールド係数とするとき、数4に示す如く、|S|
をスレッシュホールド係数T/Hと比較し、
Step ST-3 following step ST-2
When T / H (T / H> 0) determined in consideration of the dynamic range of the entire system is used as a threshold coefficient, | S |
Is compared with a threshold coefficient T / H,

【0025】[0025]

【数4】|S|>T/H| S |> T / H

【0026】か、否かを判別する。ステップST−2に
よる比較を行う手段を、第2の比較手段とする。
It is determined whether or not it is. The means for performing the comparison in step ST-2 is referred to as second comparing means.

【0027】ステップST−3で、YESのとき、即
ち、数4の式が成立するときは、ステップST−4で、
Ka(但し、KaはKa≦1)をアタック係数とすると
き、数5の式に示す演算を行ってダイナミックレンジの
圧縮をして、
If the result of step ST-3 is YES, that is, if the equation (4) is satisfied, then in step ST-4,
When Ka (where Ka is Ka ≦ 1) is used as an attack coefficient, the dynamic range is compressed by performing the calculation shown in the equation (5).

【0028】[0028]

【数5】A〔n〕×Ka→A〔n+1〕## EQU5 ## A [n] × Ka → A [n + 1]

【0029】(n+1)サンプル減衰係数A〔n+1〕
を得る。ステップST−3による演算を行う手段を第3
の演算手段とする。
(N + 1) Sample attenuation coefficient A [n + 1]
Get. Means for performing the calculation in step ST-3 is a third
Calculation means.

【0030】ステップST−3でNO、即ち、数6の式
に示すように、
NO in step ST-3, that is, as shown in the equation (6),

【0031】[0031]

【数6】|S|≦T/H| S | ≦ T / H

【0032】のときは、以下のように、リカバリー係数
を用いて、徐々にレベル伸長を行って、デジタル音声信
号に歪みが生じないようにしている。即ち、ステップS
T−5で、Kcをリカバリーカウンタ係数、増分αを0
001h(16進数)として、数7の式に示す計数(カ
ウント)を行う。
In this case, as described below, the level is gradually expanded using the recovery coefficient so that the digital audio signal is not distorted. That is, step S
At T-5, Kc is a recovery counter coefficient, and increment α is 0.
As 001h (hexadecimal number), the counting shown in the equation (7) is performed.

【0033】[0033]

【数7】Kc+0001h→Kc[Mathematical formula 7] Kc + 0001h → Kc

【0034】ステップST−5の計数を行う手段を、第
1の計数手段とする。
The means for counting in step ST-5 is defined as first counting means.

【0035】ステップST−5に続く、ステップST−
6では、Krをリカバリー係数として、数8に示すく、
KcをKrと比較し、
After step ST-5, step ST-
In equation (6), Kr is used as a recovery coefficient as shown in equation (8).
Compare Kc with Kr,

【0036】[0036]

【数8】Kr>Kc[Expression 8] Kr> Kc

【0037】であるか否かを判断する。ステップST−
5の比較を行う手段を第2の比較手段とする。
It is determined whether or not it is. Step ST-
The means for performing the comparison of No. 5 is referred to as second comparing means.

【0038】ステップST−6で、YESのとき、即
ち、数8の式が成立するときは、ステップST−7で、
数9に示す如き演算を行って、(n+1)サンプル減衰
係数A〔n+1〕を得る。
If the result of step ST-6 is YES, that is, if the equation (8) is satisfied, then in step ST-7,
An operation as shown in Expression 9 is performed to obtain an (n + 1) sample attenuation coefficient A [n + 1].

【0039】[0039]

【数9】A〔n〕→A〔n+1〕[Equation 9] A [n] → A [n + 1]

【0040】ステップST−6の演算を行う手段を第4
の演算手段とする。
The means for performing the calculation in step ST-6 is a fourth means.
Calculation means.

【0041】ステップST−6で、NOのとき、即ち、
数10の式が成立するときは、
If NO in step ST-6, that is, if
When the equation of Expression 10 holds,

【0042】[0042]

【数10】Kr≦Kc[Formula 10] Kr ≦ Kc

【0043】ステップST−8で、リカバリーカウンタ
係数Kcに対し、数11の式に示すように、
In step ST-8, with respect to the recovery counter coefficient Kc, as shown in the equation (11),

【0044】[0044]

【数11】Kc=0000h の演算を行って、Kcを0にする。ステップST−8の
演算を行う手段を第5の演算手段とする。
[Mathematical formula-see original document] The operation of Kc = 0000h is performed to set Kc to 0. The means for performing the calculation in step ST-8 is referred to as fifth calculating means.

【0045】ステップST−8に続くステップST−9
で、をリカバリーカウンタ係数Kcに対し、増分αを0
001h(16進数)として、数12の式に示す計数
(カウント)を行って、
Step ST-9 following step ST-8
And the increment α is set to 0 with respect to the recovery counter coefficient Kc.
As 001h (hexadecimal number), the count shown in the equation 12 is performed.

【0046】[0046]

【数12】A〔n〕+0001h→A〔n+1〕A [n] + 0001h → A [n + 1]

【0047】(n+1)サンプル減衰係数A〔n+1〕
を得る。このステップST−9の計数を行う手段を第2
の計数手段とする。
(N + 1) Sample attenuation coefficient A [n + 1]
Get. The means for performing the counting in step ST-9 is a second means.
Counting means.

【0048】ステップST−4の第3の演算手段、ステ
ップST−7の第4の演算手段、又は、ステップST−
9の第2のカウンタ手段より得た(n+1)サンプル減
衰係数A〔n+1〕を用いて、ステップST−1の第1
の演算手段、ステップST−2の第2の演算手段、ステ
ップST−3の第1の比較手段、ステップST−4の第
3の演算手段、ステップST−5の第1のカウンタ手
段、ステップST−6の第2の比較手段、ステップST
−7の第4の演算手段、ステップST−8の第5の演算
手段及びステップST−9第2のカウンタ手段におい
て、各nに(n+1)を代入して、それぞれ(n+1)
サンプルの動作を行わせる。尚、nサンプル減衰係数A
〔n〕の初期値A
The third calculating means of step ST-4, the fourth calculating means of step ST-7, or the step ST-
9 using the (n + 1) sample attenuation coefficient A [n + 1] obtained from the second counter means in step ST-1.
, Second calculating means in step ST-2, first comparing means in step ST-3, third calculating means in step ST-4, first counter means in step ST-5, step ST -6 second comparing means, step ST
In the fourth arithmetic means of -7, the fifth arithmetic means of step ST-8, and the second counter means of step ST-9, (n + 1) is substituted for each n, and (n + 1)
Perform the sample operation. In addition, n sample attenuation coefficient A
Initial value A of [n]

〔0〕は予め所定の値を設定する。[0] sets a predetermined value in advance.

【0049】そして、上述の各係数A〔n〕の初期値A
Then, the initial value A of each coefficient A [n] described above is obtained.

〔0〕、Ak、T/H、Ka、Krを、図1及び図2の
小型スピーカ(例えば、圧電スピーカ)15の特性に合
わせて設定する。尚、Kcは0000h〜Kr(4桁の
16進数で表した所定値)までの範囲で自動的に決定さ
れる。
[0], Ak, T / H, Ka, and Kr are set in accordance with the characteristics of the small speaker (for example, piezoelectric speaker) 15 in FIGS. Note that Kc is automatically determined in a range from 0000h to Kr (predetermined value represented by a 4-digit hexadecimal number).

【0050】図4は、横軸を入力アナログ音声信号のレ
ベル(dB)、縦軸を出力アナログ音声信号のレベル
(dB)としたときの、AGCを行わない場合の、入出
力デジタル音声信号の非制御の場合の入出力静特性直線
aと、AGCを行った場合の、入出力デジタル音声信号
の入出力静特性曲線bを示す。T/Hは、図3のスレッ
シュホールド係数T/Hに対応する出力アナログ音声信
号のスレッシュホールド係数を示し、レベルアップ係数
は、図3のレベルアップ係数Akに対応するるアナログ
レベルアップ係数である。この特性曲線bによれば、入
力音声信号にレベルアップ係数を掛けた音声信号のレベ
ルをスレッシュホールド係数T/Hと比較し、スレッシ
ュホールド係数T/Hより大のときは、アタック係数K
aを掛けてレベル圧縮し、スレッシュホールド係数T/
Hより小のときは、リカバリ係数を用いて、徐々にレベ
ル伸長して、信号に歪みが生じないようにしている。
FIG. 4 shows the input / output digital audio signal without AGC when the horizontal axis represents the level of the input analog audio signal (dB) and the vertical axis represents the level (dB) of the output analog audio signal. The input / output static characteristic line a in the case of non-control and the input / output static characteristic curve b of the input / output digital audio signal in the case where AGC is performed are shown. T / H indicates a threshold coefficient of the output analog audio signal corresponding to the threshold coefficient T / H in FIG. 3, and the level-up coefficient is an analog level-up coefficient corresponding to the level-up coefficient Ak in FIG. . According to the characteristic curve b, the level of the audio signal obtained by multiplying the input audio signal by the level-up coefficient is compared with the threshold coefficient T / H, and when the level is larger than the threshold coefficient T / H, the attack coefficient K
multiplied by a to compress the level, and threshold coefficient T /
When the value is smaller than H, the level is gradually expanded by using the recovery coefficient so that no distortion occurs in the signal.

【0051】次に、DSP8の特性制御手段9の他の例
を説明する。図5は、DSP8の特性制御手段9の他の
例の特性を示し、これは特性が図4に近似しているAG
C特性を示すが、この場合には、入力音声信号にレベル
アップ係数を掛けたレベルをスレッシュホールド係数T
/Hと比較し、スレッシュホールド係数T/Hを越える
こときは、直線性を崩して歪みを発生させてレベル圧縮
するところが、図4の特性と異なるが、他は同じであ
る。
Next, another example of the characteristic control means 9 of the DSP 8 will be described. FIG. 5 shows a characteristic of another example of the characteristic control means 9 of the DSP 8, which is an AG whose characteristic is similar to FIG.
In this case, the level obtained by multiplying the input audio signal by the level-up coefficient is a threshold coefficient T.
When the threshold coefficient T / H is exceeded as compared with / H, the linearity is lost to generate distortion and the level is compressed, but the characteristics are different from those in FIG.

【0052】図5の特性の場合の入出力音声信号の波形
を、図6A、Bにそれぞれ示す。図6Bの出力音声信号
は、図6Aの入力音声信号に比べて、絶対値レベルがス
レッシュホールド係数T/Hを越える部分ではレベル圧
縮され、スレッシュホールド係数T/H以下では、レベ
ル伸長されていることが分かる。
FIGS. 6A and 6B show waveforms of the input and output audio signals in the case of the characteristic shown in FIG. The output audio signal of FIG. 6B is level-compressed in a portion where the absolute value level exceeds the threshold coefficient T / H, and is level-expanded in a portion below the threshold coefficient T / H, as compared with the input audio signal of FIG. 6A. You can see that.

【0053】上述したDSP8の特性制御手段9は、レ
ベル制御を行って、音量感を高くするようにした場合で
あるが、レベル制御を行って、低レベル時のノイズ圧縮
を行うことも可能である。その場合の例を図7及び図8
を参照して説明する。
The above-described characteristic control means 9 of the DSP 8 is a case in which the level control is performed to increase the sense of volume. However, it is also possible to perform the level control to perform noise compression at a low level. is there. FIGS. 7 and 8 show examples of such cases.
This will be described with reference to FIG.

【0054】図7は、DSP8の特性制御手段9による
特性制御が、ノイズ低減のためのレベル制御を説明する
ためのもので、Aは入出力音声信号の特性、Bは入力音
声信号の波形、Cは出力音声信号の波形をそれぞれ示
す。この場合は、入力音声信号のレベルの絶対値がスレ
ッシュホールド値T/H以下のとき、出力音声信号のレ
ベルを0にするようにして、ノイズを低減を行ってい
る。
FIG. 7 is a diagram for explaining the level control for noise reduction in the characteristic control by the characteristic control means 9 of the DSP 8, wherein A is the characteristic of the input / output audio signal, B is the waveform of the input audio signal, C indicates the waveform of the output audio signal. In this case, when the absolute value of the level of the input audio signal is equal to or lower than the threshold value T / H, the level of the output audio signal is set to 0 to reduce noise.

【0055】図8も、DSP8の特性制御手段9による
特性制御が、ノイズ低減のためのレベル制御を説明する
ためのもので、Aは入出力音声信号の特性、Bは入力音
声信号の波形、Cは出力音声信号の波形をそれぞれ示
す。この場合は、入力音声信号のレベルの絶対値がスレ
ッシュホールド値T/H以下のとき、出力音声信号の入
力音声信号に対する比(増幅率)を小さくし、スレッシ
ュホールド値T/Hを越えるとき、出力音声信号の入力
音声信号に対する比(増幅率)を大きくするようにし
て、ノイズ低減を行っている。
FIG. 8 also illustrates the characteristic control by the characteristic control means 9 of the DSP 8 for explaining the level control for noise reduction, where A is the characteristic of the input / output audio signal, B is the waveform of the input audio signal, C indicates the waveform of the output audio signal. In this case, when the absolute value of the level of the input audio signal is equal to or less than the threshold value T / H, the ratio (amplification factor) of the output audio signal to the input audio signal is reduced, and when the absolute value exceeds the threshold value T / H, Noise is reduced by increasing the ratio (amplification factor) of the output audio signal to the input audio signal.

【0056】上述したDSP8の特性制御手段9は、入
力デジタル音声信号のレベル制御を行う場合であった
が、その他に次のような制御も可能である。即ち、遅延
メモリに、マイクロフォンからの音声信号のデジタル化
した信号を供給して、所定時間遅延した出力デジタル音
声信号を得、この出力デジタル音声信号のアナログ化し
た信号をスピーカに供給することによって、ハウリング
を防止する。又、遅延メモリに、マイクロフォンからの
音声信号のデジタル化した信号を供給して、所定時間遅
延した出力デジタル音声信号を得、この出力デジタル音
声信号のアナログ化した信号をスピーカに供給し、スピ
ーカから放声される音をマイクロフォンに戻すことによ
って、エコーを実現できる。
The above-described characteristic control means 9 of the DSP 8 controls the level of the input digital audio signal. However, the following control is also possible. That is, by supplying a digitized signal of the audio signal from the microphone to the delay memory to obtain an output digital audio signal delayed for a predetermined time and supplying the analogized signal of the output digital audio signal to the speaker, Prevents howling. Further, a digitized signal of the audio signal from the microphone is supplied to the delay memory, an output digital audio signal delayed by a predetermined time is obtained, and an analog signal of the output digital audio signal is supplied to the speaker. An echo can be realized by returning the sound to be heard to the microphone.

【0057】入力デジタル音声信号のピッチ(音程)は
変えずに、テンポだけを変えた(又は、ピッチをも変え
た)出力デジタル音声信号を得るようにして、音の聞き
易さを向上させる。磁気テープよりスロー再生、又は、
倍速再生した音声信号(入力音声信号)のデジタル化し
た信号を、テンポは変えずに、ピッチだけを変えた出力
デジタル音声信号を得るようにして、その音の聞き易さ
を向上させる。磁気テープより倍速再生した音声信号の
デジタル化された信号をピッチを変えずに、テンポを遅
くした出力デジタル音声信号を得るようにして、その音
の聞き易さを向上させる。マイクロフォンよりの音声信
号(入力音声信号)のデジタル化した信号から、人の声
の音声信号成分を(又は、人の声の音声信号成分以外の
音声信号成分)のデジタル化した信号を減算した出力デ
ジタル音声信号を得るようにして、人の声、又は、人の
声以外の音声の聞き易さを向上させる。
The output digital audio signal whose tempo is changed (or the pitch is also changed) is obtained without changing the pitch (pitch) of the input digital audio signal, thereby improving the audibility of the sound. Slow playback from magnetic tape, or
A digitalized signal of an audio signal (input audio signal) reproduced at double speed is obtained as an output digital audio signal in which only the pitch is changed without changing the tempo, thereby improving the audibility of the sound. A digital signal of an audio signal reproduced at double speed from a magnetic tape is obtained without changing the pitch, and an output digital audio signal with a reduced tempo is obtained, thereby improving the audibility of the sound. An output obtained by subtracting the digitized signal of the voice signal component of the human voice (or the voice signal component other than the voice signal component of the human voice) from the digitized signal of the audio signal (input audio signal) from the microphone. A digital voice signal is obtained to improve the audibility of human voices or voices other than human voices.

【0058】小型スピーカを内蔵する携帯型電子機器と
しては、ビデオカメラ一体型デジタルVTRの他に、カ
メラ一体型アナログVTR、ビデオカメラの付属してい
ないデジタル、又は、アナログVTR、携帯用テレビ受
像機、携帯型通信端末等も可能である。
As portable electronic devices incorporating a small speaker, in addition to a digital VTR integrated with a video camera, an analog VTR integrated with a camera, a digital or analog VTR without a video camera, and a portable television receiver A portable communication terminal or the like is also possible.

【0059】上述の実施の形態では、小型スピーカを内
蔵する携帯型電子機器において、入力デジタル音声信号
をDSP8の特性制御手段9に供給して、スピーカの特
性に応じて入力デジタル音声信号の特性が制御された出
力デジタル音声信号をその小型スピーカに供給するよう
にした場合を説明したが、一般的には、スピーカ(大型
スピーカを含む)を内蔵する電子機器ににおいて、入力
デジタル音声信号をDSP8の特性制御手段9に供給し
て、スピーカの特性に応じて入力デジタル音声信号の特
性が制御された出力デジタル音声信号をそのスピーカに
供給するようにして、その音質を一層高くすることがで
きる。
In the above-described embodiment, in a portable electronic device incorporating a small speaker, an input digital audio signal is supplied to the characteristic control means 9 of the DSP 8 so that the characteristic of the input digital audio signal is changed according to the characteristic of the speaker. Although the case where the controlled output digital audio signal is supplied to the small speaker has been described, generally, in an electronic device having a built-in speaker (including a large speaker), the input digital audio signal is supplied to the DSP 8. By supplying the output digital audio signal whose characteristics are controlled in accordance with the characteristics of the loudspeaker to the loudspeaker, the output digital audio signal is supplied to the loudspeaker, whereby the sound quality can be further improved.

【0060】スピーカ(大型スピーカを含む)を内蔵す
る電子機器としては、それぞれ据え置き型アナログ、又
は、デジタルVTR、テレビ受像機、通信端末等が可能
である。
As the electronic device incorporating a speaker (including a large speaker), a stationary analog or digital VTR, a television receiver, a communication terminal, and the like can be used.

【0061】[0061]

【発明の効果】第1の本発明によれば、音声信号が供給
されるスピーカを内蔵する電子機器において、音声信号
のデジタル化音声信号を、スピーカの特性に応じた所定
の特性に制御するデジタルシグナルプロセッサを設け、
そのデジタルシグナルプロセッサより得られたデジタル
化音声信号をアナログ化して、スピーカに供給するよう
にしたので、スピーカの音質を向上することのできる、
スピーカを内蔵する電子機器を得ることができる。スピ
ーカが大型スピーカである場合は、その音質を一層高く
するこができ、又、スピーカが小型スピーカである場合
は、その音質の悪さを改善することができる。
According to the first aspect of the present invention, in an electronic device incorporating a speaker to which an audio signal is supplied, a digital signal for controlling a digitized audio signal of the audio signal to a predetermined characteristic according to the characteristic of the speaker. Set up a signal processor,
Since the digitized audio signal obtained from the digital signal processor is converted into an analog signal and supplied to the speaker, the sound quality of the speaker can be improved.
An electronic device with a built-in speaker can be obtained. When the speaker is a large speaker, the sound quality can be further improved. When the speaker is a small speaker, the poor sound quality can be improved.

【0062】第2の本発明によれば、音声信号が供給さ
れる小型スピーカを内蔵する携帯型電子機器において、
音声信号のデジタル化音声信号を、小型スピーカの特性
に応じた所定の特性に制御するデジタルシグナルプロセ
ッサを設け、そのデジタルシグナルプロセッサより得ら
れたデジタル化音声信号をアナログ化して、小型スピー
カに供給するようにしたので、小型スピーカの音質の悪
さを、改善することのできる、小型スピーカを内蔵する
携帯型電子機器を得ることができる。
According to the second aspect of the present invention, in a portable electronic device incorporating a small speaker to which an audio signal is supplied,
Digitized audio signal A digital signal processor for controlling the audio signal to a predetermined characteristic according to the characteristics of the small speaker is provided, and the digitized audio signal obtained from the digital signal processor is converted into an analog signal and supplied to the small speaker. As a result, it is possible to obtain a portable electronic device having a built-in small speaker, which can improve poor sound quality of the small speaker.

【0063】第3の本発明によれば、第2の本発明の小
型スピーカを内蔵する携帯型電子機器において、所定の
特性の制御は、自動利得制御であるので、第2の本発明
と同様の効果が得られると共に、音量増大感、又は、ノ
イズ低減効果のある、小型スピーカを内蔵する携帯型電
子機器を得ることができる。
According to the third aspect of the present invention, in a portable electronic device incorporating the small loudspeaker of the second aspect of the present invention, the control of the predetermined characteristic is automatic gain control. And a portable electronic device with a built-in small loudspeaker, which has the effect of increasing volume or reducing noise.

【0064】第4の本発明によれば、第3の本発明の小
型スピーカを内蔵する携帯型電子機器において、自動利
得制御は、入力デジタル音声信号のレベルの絶対値が所
定レベル以下の時、レベル伸長された出力デジタル音声
信号を得、所定レベルを越えるとき、レベル圧縮された
出力デジタル音声信号を得るようにしたので、第2の本
発明の効果に加えて、音量増大感のある、小型スピーカ
を内蔵する携帯型電子機器を得ることができる。
According to a fourth aspect of the present invention, in a portable electronic device incorporating the small loudspeaker of the third aspect of the present invention, automatic gain control is performed when the absolute value of the level of the input digital audio signal is less than a predetermined level. An output digital audio signal whose level has been expanded is obtained, and when the output digital audio signal exceeds a predetermined level, a level-compressed output digital audio signal is obtained. A portable electronic device having a built-in speaker can be obtained.

【0065】第5の本発明によれば、第3の本発明の小
型スピーカを内蔵する携帯型電子機器において、自動利
得制御は、入力デジタル音声信号のレベルの絶対値が所
定レベル以上の時、レベル圧縮された出力デジタル音声
信号を得、所定レベルを越えるとき、レベルが入力デジ
タル音声信号と同じか、又は、レベル伸長された出力デ
ジタル音声信号を得るようにしたので、第2の本発明と
同様の効果があると共に、ノイズ低減効果のある、小型
スピーカを内蔵する携帯型電子機器を得ることができ
る。
According to the fifth aspect of the present invention, in a portable electronic device incorporating the small loudspeaker of the third aspect of the present invention, automatic gain control is performed when the absolute value of the level of the input digital audio signal is higher than a predetermined level. A level-compressed output digital audio signal is obtained. When the level exceeds a predetermined level, an output digital audio signal having the same level as the input digital audio signal or a level-expanded output digital audio signal is obtained. A portable electronic device with a built-in small speaker, which has the same effect and has a noise reduction effect, can be obtained.

【0066】第6の本発明によれば、第4の本発明の小
型スピーカを内蔵する携帯型電子機器において、自動利
得制御手段は、A〔n〕をnサンプル減衰係数、Ak
(但し、AkはAk>1)をレベルアップ係数とすると
き、入力デジタル音声信号Pに対し、 P×A〔n〕×Ak≡M の演算を行い、その演算結果として、nサンプルのモノ
ーラルデジタル音声信号Mを得る第1の演算手段と、そ
の第1の演算手段の演算結果を、 |P×A〔n〕×Ak|≡|S| の如く絶対値化して|S|を得る第2の演算手段と、T
/H(但し、T/H>0)をスレッシュホールド係数と
するとき、|S|が |S|>T/H であるか否かを比較する第1の比較手段と、その第1の
比較手段の比較結果が、|S|>T/Hのときは、Ka
(但し、KaはKa≦1)をアタック係数とするとき、 A〔n〕×Ka→A〔n+1〕 の演算を行ってダイナミックレンジを圧縮して、(n+
1)サンプル減衰係数A〔n+1〕を得る第3の演算手
段と、第1の比較手段の比較結果が、|S|≦T/Hの
ときは、Kcをリカバリーカウンタ係数、αを増分とす
るとき、 Kc+α→Kc として、新たなリカバリーカウンタ係数Kcを得る第1
のカウンタ手段と、その第1のカウンタ手段による計数
の後、Krをリカバリー係数とするとき、リカバリーカ
ウンタ係数Kcが、 Kr>Kc であるか否かを比較する第2の比較手段と、その第2の
比較手段の比較結果が、Kr>Kcのときは、 A〔n〕→A〔n+1〕 の演算を行って、(n+1)サンプル減衰係数A〔n+
1〕を得る第4の演算手段と、第2の比較手段の比較結
果が、Kr≦Kcのときは、リカバリーカウンタ係数K
cを Kc=0 にする第5の演算手段と、その第5の演算手段の演算の
後、 A〔n〕+α→A〔n+1〕 として、(n+1)サンプル減衰係数A〔n+1〕を得
る第2のカウンタ手段とを有し、第3の演算手段、第4
の演算手段、又は、第2のカウンタ手段より得た(n+
1)サンプル減衰係数A〔n+1〕を用いて、第1の演
算手段、第2の演算手段、第1の比較手段、第3の演算
手段、第1のカウンタ手段、第2の比較手段、第4の演
算手段、第5の演算手段及び第2のカウンタ手段におい
て、各nに(n+1)を代入して、それぞれ(n+1)
サンプルの動作を行わせるようにしたので、第4の本発
明と同様の効果があると共に、入力デジタル音声信号に
レベルアップ係数を掛けた音声信号のレベルをスレッシ
ュホールド係数T/Hと比較し、スレッシュホールド係
数T/Hより大のときは、アタック係数Kaを掛けてレ
ベル圧縮し、スレッシュホールド係数T/Hより小のと
きは、アタック係数及びリカバリ係数を用いて、徐々に
レベル伸長しているので、信号に歪みが生じない小型ス
ピーカを内蔵する携帯型電子機器を得ることができる。
According to the sixth aspect of the present invention, in the portable electronic device incorporating the small speaker according to the fourth aspect of the present invention, the automatic gain control means sets A [n] to n-sample attenuation coefficient, Ak
When (Ak>Ak> 1) is used as a level-up coefficient, an operation of P × A [n] × Ak≡M is performed on the input digital audio signal P, and as a result of the operation, an n-sample monaural digital signal is obtained. The first arithmetic means for obtaining the audio signal M and the second arithmetic means for obtaining the | S | by converting the arithmetic result of the first arithmetic means into an absolute value as | P × A [n] × Ak | ≡ | S | Calculation means and T
When / H (where T / H> 0) is a threshold coefficient, first comparing means for comparing whether | S | is | S |> T / H, and the first comparing means When the comparison result of the means is | S |> T / H, Ka
(Where Ka is Ka ≦ 1) as an attack coefficient, the dynamic range is compressed by performing the calculation of A [n] × Ka → A [n + 1], and (n +
1) When the comparison result of the third calculation means for obtaining the sample attenuation coefficient A [n + 1] and the first comparison means is | S | ≤T / H, Kc is a recovery counter coefficient and α is an increment. At this time, a first recovery counter coefficient Kc is obtained as Kc + α → Kc.
And Kr as a recovery coefficient after counting by the first counter means and the second comparing means for comparing whether or not the recovery counter coefficient Kc satisfies Kr> Kc. When the comparison result of the second comparison means satisfies Kr> Kc, the operation of A [n] → A [n + 1] is performed, and the (n + 1) sample attenuation coefficient A [n +
1], the result of the comparison between the fourth calculating means and the second comparing means is Kr ≦ Kc, the recovery counter coefficient K
A fifth calculating means for setting c to Kc = 0, and after calculating by the fifth calculating means, A [n] + α → A [n + 1] is obtained to obtain (n + 1) sample attenuation coefficient A [n + 1]. A third calculating means, a fourth calculating means,
(N +) obtained from the calculating means or the second counter means.
1) Using a sample attenuation coefficient A [n + 1], a first calculating means, a second calculating means, a first comparing means, a third calculating means, a first counter means, a second comparing means, In the arithmetic means 4, the fifth arithmetic means and the second counter means, (n + 1) is substituted for each n, and (n + 1)
Since the sample operation is performed, the same effect as that of the fourth aspect of the present invention is obtained, and the level of the audio signal obtained by multiplying the input digital audio signal by the level-up coefficient is compared with a threshold coefficient T / H. When the threshold coefficient T / H is larger than the threshold coefficient T / H, the level is multiplied by the attack coefficient Ka to compress the level. When the threshold coefficient T / H is smaller than the threshold coefficient T / H, the level is gradually expanded using the attack coefficient and the recovery coefficient. Therefore, it is possible to obtain a portable electronic device that incorporates a small speaker that does not cause distortion in a signal.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態を示すブロック線図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の他の実施の形態を示すブロック線図で
ある。
FIG. 2 is a block diagram showing another embodiment of the present invention.

【図3】本発明の実施の形態のデジタルシグナルプロセ
ッサによるAGCの過程を示すフローチャートである。
FIG. 3 is a flowchart illustrating a process of AGC performed by the digital signal processor according to the embodiment of the present invention.

【図4】図3のAGCの場合の入出力特性を示す特性曲
線図である。
FIG. 4 is a characteristic curve diagram showing input / output characteristics in the case of the AGC of FIG.

【図5】他のAGCの場合の入出力特性を示す特性曲線
図である。
FIG. 5 is a characteristic curve diagram showing input / output characteristics in the case of another AGC.

【図6】図5のAGCの場合の入出力信号の波形を比較
して示す波形図である。 A 入力信号の波形 B 出力信号の波形
FIG. 6 is a waveform diagram showing a comparison of input / output signal waveforms in the case of the AGC of FIG. 5; A Waveform of input signal B Waveform of output signal

【図7】更に他のAGCの場合の入出力特性及び入出力
信号の波形を示す特性曲線図及び波形図である。 A 入出力特性 B 入力信号 C 出力信号
FIG. 7 is a characteristic curve diagram and a waveform diagram showing input / output characteristics and a waveform of an input / output signal in still another AGC. A Input / output characteristics B Input signal C Output signal

【図8】更に他のAGCの場合の入出力特性及び入出力
信号の波形を示す特性曲線図及び波形図である。 A 入出力特性 B 入力信号 C 出力信号
FIG. 8 is a characteristic curve diagram and a waveform diagram showing input / output characteristics and waveforms of input / output signals in still another AGC. A Input / output characteristics B Input signal C Output signal

【符号の説明】[Explanation of symbols]

4 A/D変換器、8 DSP、9 特性制御手段、1
0、11 D/A変換器、 12、13 低周波増幅
器、14ライン出力端子、15 スピーカ。
4 A / D converter, 8 DSP, 9 Characteristic control means, 1
0, 11 D / A converter, 12, 13 Low frequency amplifier, 14 line output terminal, 15 speaker.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 音声信号が供給されるスピーカを内蔵す
る電子機器において、 上記音声信号のデジタル化音声信号を、上記スピーカの
特性に応じた所定の特性に制御するデジタルシグナルプ
ロセッサを設け、該デジタルシグナルプロセッサより得
られたデジタル化音声信号をアナログ化して、上記スピ
ーカに供給するようにしたことを特徴とするスピーカを
内蔵する電子機器。
1. An electronic device incorporating a speaker to which an audio signal is supplied, comprising: a digital signal processor for controlling a digitized audio signal of the audio signal to a predetermined characteristic according to the characteristic of the speaker; An electronic device having a built-in speaker, wherein a digitized audio signal obtained from a signal processor is converted into an analog signal and supplied to the speaker.
【請求項2】 音声信号が供給される小型スピーカを内
蔵する携帯型電子機器において、 上記音声信号のデジタル化音声信号を、上記小型スピー
カの特性に応じた所定の特性に制御するデジタルシグナ
ルプロセッサを設け、該デジタルシグナルプロセッサよ
り得られたデジタル化音声信号をアナログ化して、上記
小型スピーカに供給するようにしたことを特徴とする小
型スピーカを内蔵する携帯型電子機器。
2. A portable electronic device having a built-in small speaker to which an audio signal is supplied, comprising: a digital signal processor that controls a digitized audio signal of the audio signal to a predetermined characteristic according to the characteristic of the small speaker. A portable electronic device having a built-in small speaker, wherein the digitalized audio signal obtained by the digital signal processor is converted into an analog signal and supplied to the small speaker.
【請求項3】 請求項2に記載の小型スピーカを内蔵す
る携帯型電子機器において、 上記所定の特性の制御は、自動利得制御であることを特
徴とする小型スピーカを内蔵する携帯型電子機器。
3. A portable electronic device having a built-in small speaker according to claim 2, wherein the control of the predetermined characteristic is an automatic gain control.
【請求項4】 請求項3に記載の小型スピーカを内蔵す
る携帯型電子機器において、 上記自動利得制御は、入力デジタル音声信号のレベルの
絶対値が所定レベル以下の時、レベル伸長された出力デ
ジタル音声信号を得、上記所定レベルを越えるとき、レ
ベル圧縮された出力デジタル音声信号を得ることを特徴
とする小型スピーカを内蔵する携帯型電子機器。
4. The portable electronic device having a built-in small speaker according to claim 3, wherein the automatic gain control is performed when the absolute value of the level of the input digital audio signal is equal to or less than a predetermined level. A portable electronic device having a built-in small speaker, wherein an audio signal is obtained and an output digital audio signal whose level is compressed when the level exceeds the predetermined level is obtained.
【請求項5】 請求項3に記載の小型スピーカを内蔵す
る携帯型電子機器において、 上記自動利得制御は、入力デジタル音声信号のレベルの
絶対値が所定レベル以上の時、レベル圧縮された出力デ
ジタル音声信号を得、上記所定レベルを越えるとき、レ
ベルが上記入力デジタル音声信号と同じか、又は、レベ
ル伸長された出力デジタル音声信号を得ることを特徴と
する小型スピーカを内蔵する携帯型電子機器。
5. The portable electronic device incorporating a small speaker according to claim 3, wherein the automatic gain control is performed when the absolute value of the level of the input digital audio signal is equal to or greater than a predetermined level. A portable electronic device having a built-in miniature speaker, wherein an audio signal is obtained, and when the level exceeds the predetermined level, an output digital audio signal having the same level as the input digital audio signal or having an extended level is obtained.
【請求項6】 請求項4に記載の小型スピーカを内蔵す
る携帯型電子機器において、 上記自動利得制御手段は、 A〔n〕をnサンプル減衰係数、Ak(但し、AkはA
k>1)をレベルアップ係数とするとき、入力デジタル
音声信号Pに対し、 P×A〔n〕×Ak≡M の演算を行い、その演算結果として、nサンプルのモノ
ーラルデジタル音声信号Mを得る第1の演算手段と、 該第1の演算手段の演算結果を、 |P×A〔n〕×Ak|≡|S| の如く絶対値化して|S|を得る第2の演算手段と、 T/H(但し、T/HはT/H>0)をスレッシュホー
ルド係数とするとき、上記|S|が |S|>T/H であるか否かを比較する第1の比較手段と、 該第1の比較手段の比較結果が、|S|>T/Hのとき
は、Ka(但し、KaはKa≦1)をアタック係数とす
るとき、 A〔n〕×Ka→A〔n+1〕 の演算を行ってダイナミックレンジを圧縮して、(n+
1)サンプル減衰係数A〔n+1〕を得る第3の演算手
段と、 上記第1の比較手段の比較結果が、|S|≦T/Hのと
きは、Kcをリカバリーカウンタ係数、αを増分とする
とき、 Kc+α→Kc として、新たなリカバリーカウンタ係数Kcを得る第1
のカウンタ手段と、 該第1のカウンタ手段による計数の後、Krをリカバリ
ー係数とするとき、上記リカバリーカウンタ係数Kc
が、 Kr>Kc であるか否かを比較する第2の比較手段と、 該第2の比較手段の比較結果が、Kr>Kcのときは、 A〔n〕→A〔n+1〕 の演算を行って、(n+1)サンプル減衰係数A〔n+
1〕を得る第4の演算手段と、 上記第2の比較手段の比較結果が、Kr≦Kcのとき
は、リカバリーカウンタ係数Kcを Kc=0 にする第5の演算手段と、 該第5の演算手段の演算の後、 A〔n〕+α→A〔n+1〕 として、(n+1)サンプル減衰係数A〔n+1〕を得
る第2のカウンタ手段とを有し、 上記第3の演算手段、上記第4の演算手段、又は、上記
第2のカウンタ手段より得た(n+1)サンプル減衰係
数A〔n+1〕を用いて、上記第1の演算手段、上記第
2の演算手段、上記第1の比較手段、上記第3の演算手
段、上記第1のカウンタ手段、上記第2の比較手段、上
記第4の演算手段、上記第5の演算手段及び上記第2の
カウンタ手段において、上記各nに(n+1)を代入し
て、それぞれ(n+1)サンプルの動作を行わせること
を特徴とする小型スピーカを内蔵する携帯型電子機器。
6. The portable electronic device having a built-in small speaker according to claim 4, wherein the automatic gain control means comprises: A [n] is an n-sample attenuation coefficient, and Ak (where Ak is A
When k> 1) is a level-up coefficient, an operation of P × A [n] × Ak≡M is performed on the input digital audio signal P, and an n-sample monaural digital audio signal M is obtained as the operation result. A first calculating means; and a second calculating means for obtaining an | S | by converting an operation result of the first calculating means into an absolute value as | P × A [n] × Ak | ≡ | S | When T / H (where T / H is T / H> 0) is used as a threshold coefficient, first comparing means for comparing whether or not | S | is | S |> T / H When the comparison result of the first comparing means is | S |> T / H, when Ka (where Ka is Ka ≦ 1) is used as an attack coefficient, A [n] × Ka → A [n + 1 ] To reduce the dynamic range, and (n +
1) When the comparison result of the third calculation means for obtaining the sample attenuation coefficient A [n + 1] and the first comparison means is | S | ≦ T / H, Kc is a recovery counter coefficient, and α is an increment. In this case, a first recovery counter coefficient Kc is obtained as Kc + α → Kc.
When Kr is a recovery coefficient after counting by the first counter means, the recovery counter coefficient Kc
Is compared with Kr> Kc. When the comparison result of the second comparison means is Kr> Kc, the operation of A [n] → A [n + 1] is performed. Then, the (n + 1) sample attenuation coefficient A [n +
1], a fifth calculating means for setting the recovery counter coefficient Kc to Kc = 0 when the result of comparison of the second comparing means is Kr ≦ Kc, After the operation of the arithmetic means, there is provided second counter means for obtaining (n + 1) sample attenuation coefficient A [n + 1] as A [n] + α → A [n + 1]. Using the (n + 1) sample attenuation coefficient A [n + 1] obtained from the second calculating means or the second counter means, the first calculating means, the second calculating means, and the first comparing means. In the third calculating means, the first counter means, the second comparing means, the fourth calculating means, the fifth calculating means and the second counter means, each of the n is (n + 1) ), And perform the operation of (n + 1) samples, respectively. Portable electronic device having a built-in miniature loudspeaker, characterized in that cause I.
JP23689096A 1996-09-06 1996-09-06 Method for recovering isdn d channel without losing signaling or packet data and its device Pending JPH1084595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23689096A JPH1084595A (en) 1996-09-06 1996-09-06 Method for recovering isdn d channel without losing signaling or packet data and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23689096A JPH1084595A (en) 1996-09-06 1996-09-06 Method for recovering isdn d channel without losing signaling or packet data and its device

Publications (1)

Publication Number Publication Date
JPH1084595A true JPH1084595A (en) 1998-03-31

Family

ID=17007296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23689096A Pending JPH1084595A (en) 1996-09-06 1996-09-06 Method for recovering isdn d channel without losing signaling or packet data and its device

Country Status (1)

Country Link
JP (1) JPH1084595A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157829A (en) * 2004-12-01 2006-06-15 Sony Corp Audio signal processing method and apparatus
JP2006174084A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174082A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174079A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174078A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174080A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2008167345A (en) * 2007-01-04 2008-07-17 Nec Saitama Ltd Output method of sound signal, speaker system, portable device, and computer program
JP2019020676A (en) * 2017-07-21 2019-02-07 オリンパス株式会社 Sound recorder, sound recording method and sound recording program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157829A (en) * 2004-12-01 2006-06-15 Sony Corp Audio signal processing method and apparatus
US8059832B2 (en) 2004-12-01 2011-11-15 Sony Corporation Audio signal processing method and apparatus
JP2006174084A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174082A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174079A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174078A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
JP2006174080A (en) * 2004-12-15 2006-06-29 Sony Corp Audio signal processing method and apparatus
US7965852B2 (en) 2004-12-15 2011-06-21 Sony Corporation Audio signal processing method and apparatus
JP2008167345A (en) * 2007-01-04 2008-07-17 Nec Saitama Ltd Output method of sound signal, speaker system, portable device, and computer program
JP2019020676A (en) * 2017-07-21 2019-02-07 オリンパス株式会社 Sound recorder, sound recording method and sound recording program

Similar Documents

Publication Publication Date Title
US6993480B1 (en) Voice intelligibility enhancement system
US4825305A (en) Apparatus for recording and reproducing digital using dynamic range compression
JP2003068013A (en) Processing of digital audio signal
JP3630609B2 (en) Audio information reproducing method and apparatus
JPH1084595A (en) Method for recovering isdn d channel without losing signaling or packet data and its device
JP3578461B2 (en) Method and apparatus for processing block-coded speech signal in speech communication system
JP3308567B2 (en) Digital voice processing apparatus and digital voice processing method
JP3284176B2 (en) Audio equipment
JPH07212890A (en) Automatically correcting system for sound field inside vehicle
JP3627189B2 (en) Volume control method for acoustic electronic circuit
JP2965788B2 (en) Audio gain control device and audio recording / reproducing device
JPH0965496A (en) Acoustic controller
JPH0981198A (en) Recording and reproducing device for audio signal
JP4921191B2 (en) Digital amplifier and television receiver
JP3024502B2 (en) Audio equipment
JP2000349893A (en) Voice reproduction method and voice reproduction device
JP3263484B2 (en) Voice band division decoding device
JP3008640B2 (en) Digital audio processing unit
JPH01251900A (en) Acoustic system
JP3277435B2 (en) Audio signal processing device
JPS62166698A (en) Automatic sound field correcting device
JP3767108B2 (en) Audio signal recording apparatus and audio signal recording / reproducing apparatus
JP2007053661A (en) Volume control device and method therefor
JP4229041B2 (en) Signal reproducing apparatus and method
JP4411725B2 (en) Transceiver, receiver, and transmitter