JPH06180595A - Sound and image processor - Google Patents

Sound and image processor

Info

Publication number
JPH06180595A
JPH06180595A JP4293768A JP29376892A JPH06180595A JP H06180595 A JPH06180595 A JP H06180595A JP 4293768 A JP4293768 A JP 4293768A JP 29376892 A JP29376892 A JP 29376892A JP H06180595 A JPH06180595 A JP H06180595A
Authority
JP
Japan
Prior art keywords
register
attenuation
volume
sound
data
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
JP4293768A
Other languages
Japanese (ja)
Inventor
Katsunori Takahashi
克昇 高橋
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.)
Seiko Epson Corp
Hudson Soft Co Ltd
Original Assignee
Seiko Epson Corp
Hudson Soft Co 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 Seiko Epson Corp, Hudson Soft Co Ltd filed Critical Seiko Epson Corp
Priority to JP4293768A priority Critical patent/JPH06180595A/en
Priority to TW082107347A priority patent/TW230247B/zh
Priority to CA002106442A priority patent/CA2106442C/en
Priority to CA 2343560 priority patent/CA2343560A1/en
Priority to CA 2337605 priority patent/CA2337605C/en
Priority to DE69330080T priority patent/DE69330080T2/en
Priority to EP93307402A priority patent/EP0590838B1/en
Priority to US08/122,942 priority patent/US5548655A/en
Publication of JPH06180595A publication Critical patent/JPH06180595A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To sensuously grasp sound volume control by applying register values according to attenuation widths of a variable resistor circuit incorporated in the sound and image processor and setting them so that the attenuation widths and register values correspond fixedly to each other. CONSTITUTION:The attenuation characteristics of the variable resistor circuit have the attenuation width sectioned by 1dB for four steps from the maximum sound volume and then by 2dB for following four steps and the maximum attenuation quantity is 12dB. In this case, more register values are provided and a register value 1 is applied to attenuation width of 1dB. In the four steps of the low order, the attenuation width is 2dB, so the two register values are made to correspond to the attenuation widths. Consequently, attenuation quantities can easily be known from the set values of registers. Further, the circuit constitution is sometimes varied in attenuation quantity from -10dB and -12dB to -10dB and -11dB. In this case, register values 3 and 2 are made to correspond to -10dB and a register value 1 is made to correspond to -11dB, thereby facilitating adjustments.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音声データ出力機能を
備える音声画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice image processing apparatus having a voice data output function.

【0002】[0002]

【従来の技術】現在、音源としてはデジタル方式が主流
を成している。デジタル方式では、音声信号はすべて数
値として得られ、加減乗除の演算で用意に波形の合成を
行うことが出来る。演算で波形の合成を行うには、高速
のデータ処理能力が必要であるため、コンピュータが用
いられている。音源を得るには、プログラミングにより
波形を作り出して音声を発生させる方法もあるが、高音
質の音源を得るには、目的とするアナログ音を、デジタ
ル信号に変換することが多い。
2. Description of the Related Art Currently, a digital system is predominant as a sound source. In the digital method, all audio signals are obtained as numerical values, and waveforms can be easily prepared by adding, subtracting, multiplying, and dividing. Computers are used because high-speed data processing capability is required to perform waveform synthesis by calculation. To obtain a sound source, there is also a method of generating a sound by creating a waveform by programming, but in order to obtain a sound source with high sound quality, an intended analog sound is often converted into a digital signal.

【0003】音声信号のデジタル化には、アナログ信号
一般のA/D変換方法であるパルス符号変調方式(PC
M)が利用されている。PCMはアナログ信号を一定の
時間間隔で標本化し、測定値を量子化して得られた数値
を二進数に変換することによりデジタルデータを得る方
法である。
To digitize a voice signal, a pulse code modulation method (PC
M) is used. PCM is a method for obtaining digital data by sampling an analog signal at regular time intervals, quantizing a measured value, and converting the obtained numerical value into a binary number.

【0004】PCMを改良した差分PCM(DPCM)
は、隣接するサンプルの値の差をとって量子化し、デー
タ量を減少させた方法である。適応差分PCM(ADP
CM)は、さらに、差分が大きいときは標本化のピッチ
を小さくし、差分が小さいときはピッチを大きくするこ
とによって、さらにデータを圧縮し、音質の損傷を最小
限に、より少ないデータ量で音を再現するものである。
PCMデータは、スケールレベルvsスケール値換算
と、ADPCMデータvs変化量vsレベル増減値換算
で行われる圧縮・伸張によって、データ量の少ないAD
PCMデータと相互変換される。
Differential PCM (DPCM) improved from PCM
Is a method in which the amount of data is reduced by taking the difference between the values of adjacent samples and performing quantization. Adaptive difference PCM (ADP
CM) further compresses the data by reducing the sampling pitch when the difference is large and increasing the pitch when the difference is small, thereby minimizing sound quality damage and using a smaller amount of data. It reproduces the sound.
The PCM data has a small data amount due to compression / expansion performed by conversion of scale level vs. scale value and conversion of ADPCM data vs change amount vs level increase / decrease value.
Interconverted with PCM data.

【0005】音声出力を行う音声画像処理装置としてゲ
ーム機を挙げると、小型でデータ量の小さいプログラマ
ブルサウンドジェネレータ(PSG)が、最初に用いら
れるようになった。PSGは中央処理装置(CPU)の
制御で与えられる一定周期分の波形データから演算で振
幅変更、周波数変調を行って作りだした音声波形を発生
させている。直接単純な波形を発生させて、ノイズを作
る場合もある。PSG音声出力は、制御やすい反面、自
在な音を得ることは難しい。
When a game machine is cited as an audio image processing apparatus for outputting a sound, a small-sized programmable sound generator (PSG) having a small amount of data is first used. The PSG generates a voice waveform created by performing amplitude change and frequency modulation by calculation from waveform data of a certain period given by control of a central processing unit (CPU). In some cases, noise is created by directly generating a simple waveform. PSG audio output is easy to control, but it is difficult to obtain a free sound.

【0006】自在な音を得るための音源としては、高音
質の音声が得られるADPCM方式が採用されている。
付属の記憶装置に予めADPCMデータの形式で書き込
まれている音声データをCPUによって読み出し、AD
PCMデコーダがスケールレベルからスケール値を参照
してデータ伸張を行い、音を再現している。音声発生機
構内のADPCMデコーダは、同期信号発生回路を内蔵
し、音源製作時のサンプリングレートに等しい転送レー
トを作り出している。同期信号によりセットされる転送
レートにあわせて、PCMデータを再生し、音声として
出力している。
As a sound source for obtaining a free sound, the ADPCM system which can obtain a high quality sound is adopted.
The CPU reads the audio data that is written in advance in the form of ADPCM data in the attached storage device, and AD
The PCM decoder refers to the scale value from the scale level, expands the data, and reproduces the sound. The ADPCM decoder in the voice generation mechanism has a built-in synchronization signal generation circuit and produces a transfer rate equal to the sampling rate at the time of sound source production. The PCM data is reproduced according to the transfer rate set by the synchronization signal and output as voice.

【0007】音声画像処理装置ではPSG、ADPCM
といったCPU等で出力制御をおこなう音源の他、外部
音響装置と接続し、高音質の出力を得ている。例えば、
ゲームソフトの記憶媒体にコンパクトディスク(CD)
を導入したゲーム装置では、CDプレーヤーを直接PC
M音源とし、高音質の音声を得ている。
In the voice image processing apparatus, PSG, ADPCM
In addition to a sound source whose output is controlled by a CPU or the like, an external sound device is connected to obtain a high-quality sound output. For example,
Compact disc (CD) as a storage medium for game software
In the game device that introduced the
High quality sound is obtained with M sound source.

【0008】音源のボリューム機能には、大きく、アナ
ログ信号のボリュームとデジタル信号のボリュームに分
けることが出来る。アナログ信号のボリュームは、電圧
制御型が一般的である。デジタル信号のボリュームは、
アナログ変換する際に、ビットデータ単位で変換比を変
更する、D/Aコンバータを兼ねていることが多い。
The volume function of the sound source can be roughly divided into an analog signal volume and a digital signal volume. The volume of the analog signal is generally of the voltage control type. The volume of the digital signal is
In many cases, it also serves as a D / A converter that changes the conversion ratio in bit data units during analog conversion.

【0009】各音声データは、ボリューム回路を通じて
音量調整され、アナログ信号の形で、ミキシング回路を
経て出力される。出力の減衰量は、一般的にN(dB)
=20log(I1/I0)で求められる。ここでI1
出力信号の大きさ、I0は入力信号の大きさである。
The volume of each audio data is adjusted through a volume circuit and is output as an analog signal through a mixing circuit. The output attenuation is generally N (dB)
= 20 log (I 1 / I 0 ). Here, I 1 is the magnitude of the output signal, and I 0 is the magnitude of the input signal.

【0010】減衰ゼロの最大音量から最小音量の区間
を、適宜の減衰幅に区切ってボリューム値を設定し、設
定したボリューム値と1対1でレジスタ値を対応させて
いる。図10は従来のボリュームレジスタの一例を示す
説明図である。この例では、減衰幅を最大音量から4ス
テップは1dBずつ、以下の4ステップは2dBずつに
区切り、最大減衰量が12dBとなっている。図のよう
に8つのボリューム値にレジスタ値0〜7を対応させて
いる。
A volume value is set by dividing an interval from the maximum volume to the minimum volume of zero attenuation into an appropriate attenuation width, and the set volume value corresponds to the register value in a one-to-one correspondence. FIG. 10 is an explanatory diagram showing an example of a conventional volume register. In this example, the attenuation width is divided from the maximum volume by 1 dB in 4 steps and by 2 dB in the following 4 steps, and the maximum attenuation amount is 12 dB. As shown in the figure, register values 0 to 7 are associated with eight volume values.

【0011】[0011]

【発明が解決しようとする課題】このように、音声画像
処理装置の音声データ出力ユニットでは、ボリューム回
路にレジスタを設け、レジスタに設定した値によってボ
リュームコントロールを行うように設計されている。減
衰量の算出式からわかるように、音量は音信号の強さに
対して対数的に変化する。
As described above, in the audio data output unit of the audio image processing apparatus, the volume circuit is provided with a register, and the volume is controlled by the value set in the register. As can be seen from the expression for calculating the amount of attenuation, the volume changes logarithmically with the strength of the sound signal.

【0012】ユーザーがボリュームコントロールを行い
やすいボリューム回路は、対数曲線によって一定のdB
単位で等分割されるような増幅ないし減衰幅を得られる
ものである。各ボリューム値にレジスタ値を定めること
により、等分割された減衰幅にレジスタ値が対応する。
減衰幅にレジスタ値が相対するようなボリューム回路は
音量を把握しやすく、ボリュームコントロールが容易で
ある。
The volume circuit, which makes it easy for the user to control the volume, has a constant dB by the logarithmic curve.
It is possible to obtain an amplification or attenuation width that is equally divided in units. By setting the register value for each volume value, the register value corresponds to the equally divided attenuation width.
The volume circuit, in which the register value is relative to the attenuation width, makes it easy to grasp the volume and control the volume easily.

【0013】しかし、ボリューム回路の特性によって
は、対数曲線で等分割されるような減衰幅を持たない。
最大音量、最小音量付近では減衰幅を一定に設けること
が難しい。図10で示したように、減衰幅が一定でない
場合もレジスタ値は各ボリューム値に合わせて1対1で
定められ、レジスタの設定値と減衰量の関係は直線的に
はならない。そのため、ユーザーが、レジスタの設定値
から、感覚的に減衰量を知ることが難しくなっている。
However, depending on the characteristics of the volume circuit, it does not have an attenuation width that is equally divided by a logarithmic curve.
It is difficult to provide a constant attenuation width near the maximum and minimum volumes. As shown in FIG. 10, even when the attenuation width is not constant, the register value is determined on a one-to-one basis according to each volume value, and the relationship between the register setting value and the attenuation amount is not linear. Therefore, it is difficult for the user to intuitively know the attenuation amount from the set value of the register.

【0014】本発明は、音声画像処理装置においてレジ
スタ値と減衰量の関係が直線的となるようなボリューム
制御レジスタを得て、音量制御を感覚的に把握しやすい
ボリューム回路を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a volume control register in a sound and image processing apparatus in which the relationship between the register value and the attenuation amount is linear, and to provide a volume circuit in which the volume control can be grasped intuitively. And

【0015】[0015]

【課題を解決するための手段】上記の課題を解決するた
めに、本発明では、音声画像処理装置内蔵のボリューム
回路の減衰幅に応じて、レジスタ値を当てはめ、減衰幅
とレジスタ値が一定に対応するように設定する。減衰幅
とレジスタ値の変化が一定になることにより、レジスタ
の設定値と減衰量が直線的な関係となる。レジスタの設
定値から感覚的に減衰量を把握することが容易となる。
In order to solve the above problems, according to the present invention, a register value is applied according to the attenuation width of a volume circuit incorporated in an audio image processing apparatus so that the attenuation width and the register value are constant. Set to correspond. Since the change of the attenuation width and the register value becomes constant, the set value of the register and the attenuation amount have a linear relationship. It becomes easy to intuitively grasp the attenuation amount from the set value of the register.

【0016】本発明のボリューム回路について、一例と
共に説明する。図1は、本発明のボリュームレジスタの
一例を示す説明図である。ボリューム回路そのものの減
衰特性は、図に挙げた従来のものと同じように、減衰幅
を最大音量から4ステップは1dBずつ、以下の4ステ
ップは2dBずつに区切り、最大減衰量が12dBとな
っている。本発明では、レジスタ値をより多く持ち、1
dBの減衰幅にレジスタ値1を当てはめている。下位の
4ステップは、減衰幅が2dBずつであるため、2つの
レジスタ値を対応させている。
The volume circuit of the present invention will be described with an example. FIG. 1 is an explanatory diagram showing an example of a volume register of the present invention. The attenuation characteristic of the volume circuit itself is the same as that of the conventional one shown in the figure, and the attenuation width is divided into 1 dB by 4 dB from the maximum volume and 2 dB by the following 4 steps, and the maximum attenuation amount is 12 dB. There is. The present invention has more register values, 1
A register value of 1 is applied to the attenuation width of dB. The lower four steps correspond to two register values because the attenuation width is 2 dB each.

【0017】このようにレジスタ値と減衰幅が一定であ
るため、レジスタの設定値から減衰量を感覚的に知るこ
とは容易となる。また、回路構成によっては、減衰幅が
変更されることがある。図1でいえば、減衰量が−10
dB、−12dBであったところが、−10dB、−1
1dBと変更になるような例がある。この場合、−10
dBにはレジスタ値3,2を、−11dBにはレジスタ
値1を対応させることにより、調整が容易である。
Since the register value and the attenuation width are constant as described above, it is easy to intuitively know the attenuation amount from the set value of the register. Further, the attenuation width may be changed depending on the circuit configuration. In FIG. 1, the attenuation amount is −10.
Where it was dB and -12 dB, it was -10 dB and -1.
There is an example that changes to 1 dB. In this case, -10
Adjustment is easy by associating the register values 3 and 2 with dB and the register value 1 with −11 dB.

【0018】[0018]

【実施例】本発明の実施例として、音声データ出力ユニ
ットを用いた音声画像処理装置について説明する。図2
に本発明の実施例として、音声画像処理装置のブロック
図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS As an embodiment of the present invention, an audio image processing apparatus using an audio data output unit will be described. Figure 2
FIG. 1 shows a block diagram of an audio image processing apparatus as an embodiment of the present invention.

【0019】CDーROM等のゲームソフト記録媒体、
32ビットCPU、画像・音声データ転送制御と各装置
のインターフェースを主とするコントロールユニット、
画像データ伸張変換ユニット、画像データ出力ユニッ
ト、音声データ出力ユニット、ビデオエンコーダユニッ
ト、VDPユニットなどで構成されている。各ユニット
専用にK−RAM、M−RAM、R−RAM、V−RA
Mといったメモリを保有している。
A game software recording medium such as a CD-ROM,
32-bit CPU, control unit mainly for image / sound data transfer control and interface of each device,
The image data expansion / conversion unit, the image data output unit, the audio data output unit, the video encoder unit, the VDP unit, and the like. K-RAM, M-RAM, R-RAM, V-RA dedicated to each unit
It has a memory such as M.

【0020】図3に本発明の実施例として、音声画像処
理装置を構成する音声データ出力ユニットのブロック図
を示す。この音声データ出力ユニットは、6チャンネル
プログラマブルサウンドジェネレータ(PSG)と左右
2チャンネルのADPCMデコーダ#1、#2、外部音
響機器としてコンパクトディスク音源からの音声データ
出力部を内蔵している。実施例においては、ADPCM
デコーダ出力およびPSG出力を制御するボリューム回
路で、減衰幅とレジスタ値を直線的に対応させている。
FIG. 3 shows a block diagram of an audio data output unit constituting an audio image processing apparatus as an embodiment of the present invention. This audio data output unit incorporates a 6-channel programmable sound generator (PSG), left and right 2-channel ADPCM decoders # 1 and # 2, and an audio data output unit from a compact disc sound source as an external audio device. In the example, ADPCM
A volume circuit that controls the decoder output and the PSG output, and the attenuation width and the register value are made to correspond linearly.

【0021】ADPCM音声データは、コントロールユ
ニットがK−RAMでバッファリング後、転送を行って
いる。ADPCMデコーダの基本サンプリング周波数は
31.47kHzで、15.73kHz、7.87kH
z、3.93kHzのサンプリング周波数を選択するこ
ともできる。データセットは4ビット(うち最上位1ビ
ットが符号)で、転送単位は1バイトである。
ADPCM audio data is transferred after the control unit buffers it in K-RAM. The basic sampling frequency of the ADPCM decoder is 31.47 kHz, 15.73 kHz, 7.87 kHz
It is also possible to choose a sampling frequency of z, 3.93 kHz. The data set is 4 bits (the most significant 1 bit is a code), and the transfer unit is 1 byte.

【0022】本発明の実施例の音声画像処理装置では、
ADPCMデコーダの動作のうちの音声ボリュームとサ
ンプリング周波数、ソフトリセット、およびPSGの動
作全般は、CPUが各レジスタに書き込みを行うことに
より設定している。
In the audio image processing apparatus of the embodiment of the present invention,
Among the operations of the ADPCM decoder, the audio volume and sampling frequency, soft reset, and overall PSG operations are set by the CPU writing to each register.

【0023】以下にADPCMデコーダ内部にあるレジ
スタについて説明する。図4はADPCMデコーダ動作
を指定するレジスタの説明図である。2ビットでサンプ
リング周波数を設定する。
The registers inside the ADPCM decoder will be described below. FIG. 4 is an explanatory diagram of a register that specifies an ADPCM decoder operation. Set the sampling frequency with 2 bits.

【0024】図5はADPCMデコーダの音声のボリュ
ームを設定するレジスタの説明図である。ADPCMデ
コーダ1チャンネルに左右二つのボリューム制御があ
り、レジスタD5〜D0に3F(16進)をセットする
と最大出力となる。レジスタ値が1に対して−1.5d
Bの減衰幅を持ち、レジスタ値1C(16進)で最大減
衰量−52.5dBを得ることが出来る。レジスタ値1
B(16進)での減衰量−54dB以下は出力が−∞と
なるため、レジスタ値1B〜00では無音状態となる。
FIG. 5 is an explanatory diagram of a register for setting the audio volume of the ADPCM decoder. One channel of the ADPCM decoder has two volume controls on the left and right, and the maximum output is obtained when 3F (hexadecimal) is set in the registers D5 to D0. -1.5d for register value 1
With the attenuation width of B, the maximum attenuation amount of -52.5 dB can be obtained with the register value 1C (hexadecimal). Register value 1
When the attenuation amount in B (hexadecimal) is −54 dB or less, the output is −∞, and therefore the register values 1B to 00 are silent.

【0025】その他のADPCMデコーダ制御用のレジ
スタはコントロールユニットにある。図6に本発明の実
施例におけるADPCMデコーダ制御用のレジスタの説
明図を示す。図6(1)のADPCMデコーダ再生モー
ドレジスタは、サンプリング周波数の指定とデータ転送
開始を指定する。
The other registers for controlling the ADPCM decoder are in the control unit. FIG. 6 is an explanatory diagram of a register for controlling the ADPCM decoder in the embodiment of the present invention. The ADPCM decoder reproduction mode register of FIG. 6A specifies the sampling frequency and the data transfer start.

【0026】図6(2)のADPCMデータバッファ制
御レジスタは、ADPCMデコーダ#1、#2に転送さ
れるべき音声データが読み込まれているメモリの状態と
割り込み発生の指定をする。
The ADPCM data buffer control register of FIG. 6 (2) specifies the state of the memory in which the audio data to be transferred to the ADPCM decoders # 1 and # 2 is read and the interrupt generation.

【0027】図6(3)のADPCMスタートアドレス
レジスタはメモリ読み出しのスタートアドレスを指定す
る。
The ADPCM start address register of FIG. 6 (3) designates the start address of memory reading.

【0028】図6(4)のADPCMエンドアドレスレ
ジスタはメモリ読み出しのエンドアドレスを指定する。
The ADPCM end address register of FIG. 6 (4) designates the end address of memory reading.

【0029】図6(5)のADPCMハーフアドレスレ
ジスタは、データバッファ制御レジスタで指定した割り
込みを発生させるアドレスの指示を行う。
The ADPCM half address register of FIG. 6 (5) gives an instruction of an address for generating an interrupt designated by the data buffer control register.

【0030】図6(6)のADPCMステータスレジス
タは、ADPCMのデータ転送状態を示す。
The ADPCM status register of FIG. 6 (6) indicates the data transfer state of ADPCM.

【0031】本実施例ではPSGの音源に波形メモリ方
式を採用し、各チャンネルごとに波形レジスタ(5bi
t×32wordで一周期分の波形を形成)の内容に従
って波形を発生する。図7はPSGの動作を設定する各
レジスタの説明図である。以下、各レジスタについて説
明する。
In this embodiment, a waveform memory system is adopted for the PSG sound source, and a waveform register (5bi) is provided for each channel.
A waveform is generated in accordance with the contents of (T × 32 words form one cycle of waveform). FIG. 7 is an explanatory diagram of each register that sets the operation of the PSG. Each register will be described below.

【0032】図7(1)にチャンネル選択レジスタR0
の説明図を示す。R0にチャンネルアドレスをセット後
にA0〜A3でR2〜R7を指定する。
FIG. 7A shows the channel selection register R0.
FIG. After setting the channel address in R0, R2 to R7 are designated by A0 to A3.

【0033】図7(2)にメイン音量レジスタR1の説
明図を示す。R1は各チャンネルの音をミックスした後
の全体音の音量を制御する。LMALは左側出力(LO
UT)を、RMALは右側出力(ROUT)を調整す
る。LMAL,RMALともに4bitデータで、各々
F(16進)をセットしたときが最大音量となる。レジ
スタ値1に対して−3dBの減衰幅を持つ。
FIG. 7B shows an explanatory diagram of the main volume register R1. R1 controls the volume of the whole sound after mixing the sounds of each channel. LMAL is the left output (LO
UT) and RMAL adjusts the right output (ROUT). Both LMAL and RMAL are 4-bit data, and the maximum volume is obtained when F (hexadecimal) is set for each. It has an attenuation width of -3 dB with respect to the register value 1.

【0034】図7(3)に周波数微調レジスタR2の説
明図を示す。以下の周波数粗調レジスタR3と合わせて
出力周波数を決定する。
FIG. 7C shows an explanatory view of the frequency fine adjustment register R2. The output frequency is determined in combination with the following frequency coarse adjustment register R3.

【0035】図7(4)に周波数粗調レジスタR3の説
明図を示す。下位4bitが周波数粗調データとなり、
R2と合わせて出力周波数を決定する。
FIG. 7 (4) shows an explanatory diagram of the frequency coarse adjustment register R3. The lower 4 bits are the frequency coarse adjustment data,
The output frequency is determined together with R2.

【0036】図7(5)にチャンネルON、ダイレクト
D/A、チャンネル音量レジスタR4の説明図を示す。
最上位bitがそのチャンネルの音の出力制御と波形レ
ジスタへの書き込み制御、上位から2bit目がダイレ
クトD/Aの制御に関する。
FIG. 7 (5) shows an explanatory diagram of channel ON, direct D / A, and channel volume register R4.
The highest bit relates to the output control of the sound of that channel and the write control to the waveform register, and the second bit from the top relates to the control of direct D / A.

【0037】最上位ビットが「1」のときそのチャンネ
ルの音が出力(ミキシング)される。このビットが
「0」となると出力音はオフされるとともに波形レジス
タR6へのデータ書き込みが可能となる。
When the most significant bit is "1", the sound of that channel is output (mixed). When this bit becomes "0", the output sound is turned off and data can be written in the waveform register R6.

【0038】最上位から2ビット目においてダイレクト
D/Aモードの制御を行う。このビットが「1」になる
と波形レジスタのアドレスカウンタをリセットするとと
もにデータ信号をダイレクトにD/A変換器に送るモー
ドになる。
The direct D / A mode is controlled in the second highest bit. When this bit becomes "1", the address counter of the waveform register is reset and the data signal is directly sent to the D / A converter.

【0039】下位の5bitはそのチャンネル音量の制
御を行うレジスタである。このレジスタに1F(16
進)をセットすると最大出力が得られる。レジスタ値1
に対して−3dBの減衰幅を持つ。
The lower 5 bits are registers for controlling the channel volume. 1F (16
Set to 0 for maximum output. Register value 1
Has an attenuation width of −3 dB.

【0040】図7(6)にLR音量レジスタR5の説明
図を示す。チャンネル音の左右の振り分けを決定するレ
ジスタである。LALは左側出力、RALは右側出力の
音量を制御する。LAL,RALともに4bitデータ
で、各々F(16進)のとき最大音量となり、レジスタ
値1に対して−3dBの減衰幅を持つ。
FIG. 7 (6) shows an explanatory diagram of the LR volume register R5. This is a register that determines the left / right distribution of channel sounds. LAL controls the volume of the left output, and RAL controls the volume of the right output. Both LAL and RAL are 4-bit data, and each has a maximum volume when F (hexadecimal), and has an attenuation width of -3 dB with respect to the register value 1.

【0041】図7(7)は波形レジスタR6の説明図で
ある。1チャンネル当たり5bit/wordデータで
32ワード分の波形データを記憶し、32ワード全体で
波形の1周期分を構成する。
FIG. 7 (7) is an explanatory diagram of the waveform register R6. Waveform data for 32 words is stored with 5 bit / word data for each channel, and the entire 32 words form one cycle of the waveform.

【0042】図7(8)にR7はノイズイネーブル、ノ
イズ周波数レジスタR7の説明図を示す。最上位ビット
でノイズ音と楽音の切換えを制御する。下位5ビットは
ノイズ周波数の制御レジスタで、ノイズ発生器に入力す
るクロック信号を制御する。
FIG. 7 (8) is an explanatory diagram of noise enable and noise frequency register R7. The most significant bit controls switching between noise sound and musical sound. The lower 5 bits are a noise frequency control register, which controls the clock signal input to the noise generator.

【0043】図7(9)に低周波発振器周波数レジスタ
R8の説明図を示す。周波数変調制御用低周波発振器
(LFO)の周波数を制御する。
FIG. 7 (9) shows an explanatory view of the low frequency oscillator frequency register R8. It controls the frequency of the low frequency oscillator (LFO) for frequency modulation control.

【0044】図7(10)にLFO制御レジスタR9の
説明図を示す。LFOのセット/リセット、LFOを用
いた周波数変調の変調度を制御する。
FIG. 7 (10) shows an explanatory view of the LFO control register R9. The LFO is set / reset, and the modulation degree of frequency modulation using the LFO is controlled.

【0045】以上のようなレジスタが各チャンネルごと
に用意されている。レジスタR2〜R7はA0〜A3と
レジスタR0によりアドレスされる。ただし、レジスタ
R0,R1,R8,R9はA0〜A3のみでアドレスさ
れる。図8にアドレスA0〜A3の値とレジスタの関係
の説明図を示しておく。
The registers as described above are prepared for each channel. Registers R2-R7 are addressed by A0-A3 and register R0. However, registers R0, R1, R8 and R9 are addressed only by A0 to A3. FIG. 8 shows an explanatory diagram of the relationship between the values of the addresses A0 to A3 and the registers.

【0046】本発明の実施例で用いたPSGの音量コン
トロールは、ダイナミックレンジが45dBであるた
め、左側出力はレジスタR01(LMAL)+レジスタ
R04(AL)+レジスタR05(LAL)の減衰量の
合計、右側出力はレジスタR01(RMAL)+レジス
タR04(AL)+レジスタR05(RAL)の減衰量
の合計が−45dB以下は出力が−∞となり無音とな
る。
Since the PSG volume control used in the embodiment of the present invention has a dynamic range of 45 dB, the left output is the sum of the attenuation amounts of the register R01 (LMAL) + register R04 (AL) + register R05 (LAL). The output on the right side is silent when the sum of the attenuation amounts of the register R01 (RMAL) + register R04 (AL) + register R05 (RAL) is -45 dB or less and the output is -∞.

【0047】図6、図7のレジスタを設定する際のCP
Uからのデータの書き込みタイミングについて説明す
る。図9は、CPUからの信号を受け付ける音声データ
出力ユニットの各端子の入力電圧の説明図である。−C
SおよびA0〜A4はそれぞれCPUからのチップセレ
クト信号と書き込みアドレス信号、−WRは書き込み信
号、D7〜D0はデータ入力用信号でCPUと音声デー
タ出力装置間のバスを通じている。
CP when setting the registers of FIGS. 6 and 7
The timing of writing data from U will be described. FIG. 9 is an explanatory diagram of the input voltage of each terminal of the audio data output unit that receives a signal from the CPU. -C
S and A0 to A4 are a chip select signal and a write address signal from the CPU, -WR is a write signal, and D7 to D0 are data input signals, which are passed through a bus between the CPU and the audio data output device.

【0048】CPUからのチップセレクト信号とアドレ
ス信号で指定されるレジスタに、書き込み信号−WRが
低レベルの書き込みモードの時にD7〜D0を通じてデ
ータが書き込まれる。書き込み信号−WRが書き込みか
ら復帰して高レベルのリカバリーモードへ立ち上がる毎
(図中の点線のタイミング)にデータラッチされ、この
時に保持されたデータが、直後のサンプリングクロック
のパルスの立ち下がりで有効となる。1サンプリング周
期に2度以上のデータの書き込みがあった場合は、直前
に書き込まれたデータが有効となる。
Data is written to the register designated by the chip select signal and the address signal from the CPU through D7 to D0 when the write signal -WR is in the low level write mode. Data is latched every time the write signal -WR recovers from writing and rises to the high-level recovery mode (the timing of the dotted line in the figure), and the data held at this time is valid at the trailing edge of the sampling clock pulse. Becomes When data is written twice or more in one sampling cycle, the data written immediately before is valid.

【0049】[0049]

【発明の効果】上記のように本発明の音声画像処理装置
におけるボリューム回路によれば、レジスタ値と減衰幅
が直線的な関係を成し、レジスタ値から減衰量を感覚的
に把握することが出来る。プログラミングにより楽音作
製する場合等、レジスタの数値から、音量を把握する必
要があり、本発明のボリューム回路は楽音作製を容易に
する。また等間隔の減衰幅を持たない減衰特性を有する
回路であってもレジスタ値を等しい減衰幅に当てはめて
おくことにより、音量を把握できるばかりでなく、回路
構成によって、減衰特性が変化する場合に、容易に対処
することが出来る等の効果がある。
As described above, according to the volume circuit in the audio image processing apparatus of the present invention, the register value and the attenuation width have a linear relationship, and the attenuation amount can be intuitively grasped from the register value. I can. When producing a musical tone by programming, it is necessary to grasp the volume from the numerical value of the register, and the volume circuit of the present invention facilitates the musical tone production. In addition, even if the circuit has attenuation characteristics that do not have evenly-spaced attenuation widths, by applying register values to equal attenuation widths, not only can the volume be grasped, but also when the attenuation characteristics change due to the circuit configuration. There is an effect that it can be dealt with easily.

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

【図1】本発明のボリュームレジスタの一例を示す説明
図である。
FIG. 1 is an explanatory diagram showing an example of a volume register of the present invention.

【図2】本発明の実施例における音声画像処理装置のブ
ロック図である。
FIG. 2 is a block diagram of an audio image processing apparatus according to an embodiment of the present invention.

【図3】本発明の実施例における音声データ出力ユニッ
トのブロック図を示す。
FIG. 3 is a block diagram of an audio data output unit according to an embodiment of the present invention.

【図4】ADPCMデコーダの動作を指定するレジスタ
の説明図である。
FIG. 4 is an explanatory diagram of a register that specifies an operation of an ADPCM decoder.

【図5】ADPCMデコーダの音声のボリュームを設定
するレジスタの説明図である。
FIG. 5 is an explanatory diagram of a register for setting a sound volume of the ADPCM decoder.

【図6】ADPCMデコーダ制御用のレジスタの説明図
である。
FIG. 6 is an explanatory diagram of a register for controlling an ADPCM decoder.

【図7】PSGの動作を設定する各レジスタの説明図で
ある。
FIG. 7 is an explanatory diagram of each register that sets the PSG operation.

【図8】PSGのアドレスA0〜A3とレジスタの関係
の説明図である。
FIG. 8 is an explanatory diagram of a relationship between PSG addresses A0 to A3 and registers.

【図9】CPUからの信号を受け付ける音声データ出力
ユニットの各端子の入力電圧の説明図である。
FIG. 9 is an explanatory diagram of the input voltage of each terminal of the audio data output unit that receives a signal from the CPU.

【図10】従来のボリュームレジスタの一例を示す説明
図である。
FIG. 10 is an explanatory diagram showing an example of a conventional volume register.

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年11月20日[Submission date] November 20, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図6[Name of item to be corrected] Figure 6

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図6】 [Figure 6]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 音声出力機能を備える音声画像処理装置
において、ボリューム回路の減衰幅を等間隔に区切って
設定してボリューム制御レジスタのレジスタ値と減衰幅
を1対1で対応させる手段を備えたことを特徴とする音
声画像処理装置。
1. An audio image processing apparatus having an audio output function, comprising means for setting attenuation widths of a volume circuit at equal intervals so as to make a one-to-one correspondence between a register value of a volume control register and an attenuation width. An audio image processing device characterized by the above.
JP4293768A 1992-10-01 1992-10-07 Sound and image processor Pending JPH06180595A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP4293768A JPH06180595A (en) 1992-10-07 1992-10-07 Sound and image processor
TW082107347A TW230247B (en) 1992-10-01 1993-09-08
CA002106442A CA2106442C (en) 1992-10-01 1993-09-17 Sound processing apparatus
CA 2343560 CA2343560A1 (en) 1992-10-01 1993-09-17 Sound processing apparatus
CA 2337605 CA2337605C (en) 1992-10-01 1993-09-17 Sound processing apparatus
DE69330080T DE69330080T2 (en) 1992-10-01 1993-09-20 Device for editing the language
EP93307402A EP0590838B1 (en) 1992-10-01 1993-09-20 Sound processing apparatus
US08/122,942 US5548655A (en) 1992-10-01 1993-09-20 Sound processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4293768A JPH06180595A (en) 1992-10-07 1992-10-07 Sound and image processor

Publications (1)

Publication Number Publication Date
JPH06180595A true JPH06180595A (en) 1994-06-28

Family

ID=17798963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4293768A Pending JPH06180595A (en) 1992-10-01 1992-10-07 Sound and image processor

Country Status (1)

Country Link
JP (1) JPH06180595A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63240111A (en) * 1987-03-27 1988-10-05 Toshiba Corp Signal level adjusting circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63240111A (en) * 1987-03-27 1988-10-05 Toshiba Corp Signal level adjusting circuit

Similar Documents

Publication Publication Date Title
EP0690434A2 (en) Digital manipulation of audio samples
JP2584185B2 (en) Method and apparatus for generating audio signal
US6453286B1 (en) Computer system for processing image and sound data using ADPCM stereo coding
US5815583A (en) Audio serial digital interconnect
JPH0413717B2 (en)
CA2106442C (en) Sound processing apparatus
US6710725B1 (en) Acoustic noise suppressing circuit by selective enablement of an interpolator
JPH06180595A (en) Sound and image processor
JP3393608B2 (en) Audio processing device
JP2669267B2 (en) Buffer memory device
JP3152156B2 (en) Music sound generation system, music sound generation apparatus and music sound generation method
JP3518357B2 (en) Music generating method, musical sound generating apparatus and computer readable recording medium storing musical sound generating processing program
JP3006095B2 (en) Musical sound wave generator
JPH02146599A (en) Sound source data compressing and encoding method
JP3193790B2 (en) Audio data playback processing method
JPH06180599A (en) Computer system
CA2337605C (en) Sound processing apparatus
JP3116381B2 (en) Musical sound compression method
JPH063440Y2 (en) Reverberation device
JPH06180597A (en) Adpcm reproducing control device
JP2000066671A5 (en)
JP2698843B2 (en) Electronic musical instrument
JPH06180594A (en) Computer device
JPH06180639A (en) Computer system with intermediate address interruption
JPH02192259A (en) Output device for digital music information