JPH0443920Y2 - - Google Patents

Info

Publication number
JPH0443920Y2
JPH0443920Y2 JP8148483U JP8148483U JPH0443920Y2 JP H0443920 Y2 JPH0443920 Y2 JP H0443920Y2 JP 8148483 U JP8148483 U JP 8148483U JP 8148483 U JP8148483 U JP 8148483U JP H0443920 Y2 JPH0443920 Y2 JP H0443920Y2
Authority
JP
Japan
Prior art keywords
converter
melody
circuit
rom
ladder
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.)
Expired
Application number
JP8148483U
Other languages
Japanese (ja)
Other versions
JPS59186898U (en
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 filed Critical
Priority to JP8148483U priority Critical patent/JPS59186898U/en
Publication of JPS59186898U publication Critical patent/JPS59186898U/en
Application granted granted Critical
Publication of JPH0443920Y2 publication Critical patent/JPH0443920Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electromechanical Clocks (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【考案の詳細な説明】 本考案は、デジタル的なメロデイ波形信号にエ
ンベロープを付加する電子音発生回路に関するも
のであり、特に電圧分圧ラダー抵抗型DAコンバ
ータと分圧抵抗選択型DAコンバータとをゲート
回路により切換える第1のDAコンバータと、電
流加算ラダー抵抗型DAコンバータよりなる第2
のDAコンバータとの組合わせによりエンベロー
プを付加する電子音発生回路に関するものであ
る。近年、電子音によりメロデイ、時打音、チヤ
イム音等を発生させる場合に、より自然な音を得
るためにこれらの電子音に種々のエンベロープを
付加することが提案されている。
[Detailed description of the invention] The present invention relates to an electronic sound generation circuit that adds an envelope to a digital melody waveform signal, and in particular, it combines a voltage division ladder resistance type DA converter and a voltage division resistance selection type DA converter. A first DA converter switched by a gate circuit, and a second DA converter consisting of a current addition ladder resistance type DA converter.
This invention relates to an electronic sound generation circuit that adds an envelope when combined with a DA converter. In recent years, it has been proposed to add various envelopes to electronic sounds in order to obtain more natural sounds when generating melodies, ticking sounds, chime sounds, etc., using electronic sounds.

従来のエンベロープは発生するための回路とし
ては、大別してコンデンサと抵抗を用いてコンデ
ンサの充放電波形を用いたアナログ的なものと、
IC内部に組込まれることが可能なデジタル的な
ものとがあつた。
Conventional envelope generation circuits can be roughly divided into analog circuits that use capacitors and resistors and the charge/discharge waveform of the capacitor;
There was a digital version that could be incorporated inside an IC.

これら従来例の一例と欠点を以下に説明する。 An example of these conventional examples and their drawbacks will be explained below.

その一例としては、所望のエンベロープ情報を
記憶した波形ROMからのエンベロープ情報とメ
ロデイ信号とを乗算器にて乗算し、この乗算され
た信号をDAコンバータによりアナログ変換する
方式がある。
One example is a method in which envelope information from a waveform ROM that stores desired envelope information is multiplied by a melody signal using a multiplier, and the multiplied signal is converted into analog by a DA converter.

このように乗算器を使用すると、乗算器の処理
速度が遅いために高い周波数に追随できないとい
う欠点があつた。
Using a multiplier in this manner has the disadvantage that the processing speed of the multiplier is slow and it cannot follow high frequencies.

また、回路自体が大規模になつてしまうため回
路の占有面積が大きくなつてしまい、さらに減衰
音の極小のところまで発生させるためには、DA
コンバータのビツト数を多くしなければならず、
低電圧にて駆動することが困難であつた。
In addition, since the circuit itself becomes large-scale, the area occupied by the circuit becomes large, and in order to generate the minimum attenuation sound, it is necessary to use DA.
The number of bits in the converter must be increased,
It was difficult to drive at low voltage.

一方、IC内に作り込まれた抵抗の値を可変す
ることによりICに外付けされるアンプのゲイン
等を制御してエンベロープを付加するものもあつ
たが、IC内の抵抗とアンプとのマツチングが難
しく、さらにエンベロープのための段数が多い場
合にはIC内の作り込み抵抗の数を増加させなけ
ればならなかつた。
On the other hand, there were some that added an envelope by controlling the gain etc. of an amplifier external to the IC by varying the value of the resistor built into the IC, but it was difficult to match the resistor inside the IC and the amplifier. This is difficult, and if the number of stages for the envelope is large, it is necessary to increase the number of built-in resistors in the IC.

さらにまた、上記方式の欠点を解消することを
目的としてDAコンバータの基準電圧を変えるこ
とによりエンベロープを付加する方式も提案され
ている。その例を第1図を用いて説明する。
Furthermore, a method has been proposed in which an envelope is added by changing the reference voltage of the DA converter in order to eliminate the drawbacks of the above method. An example of this will be explained using FIG.

第1図におけるDAコンバータ2は、電圧分圧
ラダー抵抗型により構成されており、その各スイ
ツチS1〜Soは波形ROM4の各ビツト入力と対応
している。
The DA converter 2 in FIG. 1 is constructed of a voltage division ladder resistor type, and each of its switches S 1 to S o corresponds to each bit input of the waveform ROM 4.

また、このDAコンバータ2の基準入力にはエ
ンベロープ発生回路6が接続されている。
Further, an envelope generation circuit 6 is connected to the reference input of the DA converter 2.

これは、波形ROM4内の波形の記憶値に基い
てDAコンバータ2が波形信号を出力する際に
DAコンバータ2をエンベロープ発生回路6から
のエンベロープ信号により制御してエンベロープ
を波形信号に付加するものである。
This is when the DA converter 2 outputs a waveform signal based on the waveform memory value in the waveform ROM 4.
The DA converter 2 is controlled by an envelope signal from an envelope generating circuit 6 to add an envelope to a waveform signal.

ところが、エンベロープ発生回路6として第2
図に示すようなコンデンサ8、抵抗10、トラン
ジスタ12よりなるCR時定数回路を用いると、
コンデンサ8及び抵抗10がICの外付け部品と
なるために完全な集積化ができずコストも高くな
つてしまう。
However, as the envelope generating circuit 6, the second
When using a CR time constant circuit consisting of a capacitor 8, a resistor 10, and a transistor 12 as shown in the figure,
Since the capacitor 8 and the resistor 10 are external components of the IC, complete integration is not possible and the cost increases.

また、このようなCR時定数回路では減衰波形
が1つしか得ることができないので、楽器音など
の複雑な音量可変には対応させることができなか
つた。このようにCR時定数回路をエンベロープ
発生回路6として使用した場合には、各種の問題
が生じるため、このエンベロープ発生回路6も
ROMとDAコンバータとを組合わせたものとし
て集積化し、さらに該ROM内のデータを複雑な
音量可変に対応できるように設定して構成するこ
とも提案されている。
Further, since such a CR time constant circuit can only obtain one attenuation waveform, it is not possible to cope with complex volume changes such as those of musical instrument sounds. If the CR time constant circuit is used as the envelope generation circuit 6 in this way, various problems will occur, so this envelope generation circuit 6 should also be used.
It has also been proposed to integrate a combination of a ROM and a DA converter, and further configure the data in the ROM so that it can accommodate complex volume changes.

しかしながら、このようにエンベロープ発生回
路6をROMとDAコンバータにより構成した場
合、このエンベロープ発生回路6が接続されてい
る電圧分圧ラダー抵抗型DAコンバータ2の基準
入力側から見た入力抵抗値がスイツチS1〜So
ON・OFFの状態によつて変動するため、エンベ
ロープ発生回路6内のDAコンバータ出力の直線
性が失われ、データどおりの音量可変がえられな
いという問題が生じていた。
However, when the envelope generation circuit 6 is configured with a ROM and a DA converter in this way, the input resistance value seen from the reference input side of the voltage division ladder resistance type DA converter 2 to which the envelope generation circuit 6 is connected is the switch. S 1 ~S o
Since it fluctuates depending on the ON/OFF state, the linearity of the DA converter output in the envelope generating circuit 6 is lost, resulting in a problem that the volume cannot be varied according to the data.

このようなDAコンバータ2の入力抵抗値の影
響を受けず、こらに集積可能なエンベロープ発生
回路6を設けるためには、極めて複雑な回路構成
が必要であるという問題も生じていた。
In order to provide the envelope generating circuit 6 that is not affected by the input resistance value of the DA converter 2 and can be integrated therein, a problem has arisen in that an extremely complicated circuit configuration is required.

本考案はメロデイの音量即ちエンベロープ情報
を記憶する音量ROMからのデジタル信号をアナ
ログ信号に変換する第1のDAコンバータに電圧
分圧ラダー抵抗型DAコンバータと分圧抵抗選択
型DAコンバータとこれらを切換えるゲート回路
を用い、メロデイ波形情報を記憶するメロデイ波
形ROMからのデジタル信号をアナログ信号に変
換する第2のDAコンバータに電流加算ラダー抵
抗型DAコンバータを使用することにより、前記
従来例の欠点及び問題点を解消し、容易に集積化
することが可能であり、かつ複雑なメロデイやそ
のエンベロープにも対応可能で、さらにほぼ電源
電圧から零電圧までの広範囲で変化するエンベロ
ープを付加し得る電子音発生回路を提供すること
を目的とする。
The present invention switches between a voltage division ladder resistor type DA converter and a voltage division resistor selection type DA converter for the first DA converter that converts the digital signal from the volume ROM that stores the volume information of the melody, that is, the envelope information, into an analog signal. By using a gate circuit and using a current addition ladder resistance type DA converter as the second DA converter that converts the digital signal from the melody waveform ROM that stores melody waveform information into an analog signal, the drawbacks and problems of the conventional example can be solved. Electronic sound generation that solves this problem, can be easily integrated, can handle complex melodies and their envelopes, and can also add envelopes that vary over a wide range from almost power supply voltage to zero voltage. The purpose is to provide circuits.

以下図面に基いて本考案の一実施例を説明す
る。
An embodiment of the present invention will be described below based on the drawings.

第3図は本考案の電子音発生回路の一実施例を
電子時計の時打音に応用した場合を示す図であ
る。はじめに本考案の電子音発生回路部分の構成
及びその構成要素の機能と特徴を説明する。
FIG. 3 is a diagram showing a case where an embodiment of the electronic sound generating circuit of the present invention is applied to the ticking sound of an electronic clock. First, the configuration of the electronic sound generation circuit portion of the present invention and the functions and characteristics of its constituent elements will be explained.

14はメロデイ波形ROMであり、予め決めら
れたメロデイの波形データがデジタル信号として
記憶されているものである。
14 is a melody waveform ROM in which predetermined melody waveform data is stored as a digital signal.

16はメロデイ波形ROM14の記憶するデー
タを読み出すためのメロデイアドレスカウンタで
あり、後述する音階分周回路の出力するクロツク
信号により駆動されるものである。
Reference numeral 16 denotes a melody address counter for reading data stored in the melody waveform ROM 14, and is driven by a clock signal output from a scale frequency dividing circuit, which will be described later.

18はメロデイ音量ROMであり、メロデイの
音量データ即ちエンベロープデータがデジタル信
号として記憶されているものである。
18 is a melody volume ROM in which melody volume data, that is, envelope data is stored as a digital signal.

20はメロデイ音量ROM18の記憶するデー
タを読み出すためのエンベロープアドレスカウン
タであり、後述するエンベロープ分周回路の出力
するクロツク信号により駆動されるものである。
Reference numeral 20 denotes an envelope address counter for reading data stored in the melody volume ROM 18, and is driven by a clock signal output from an envelope frequency dividing circuit to be described later.

22はメロデイ音量ROM18の出力信号を切
換出力するゲート回路である。
22 is a gate circuit that switches and outputs the output signal of the melody volume ROM 18.

24は抵抗値がRe、2Reよりなる抵抗器をはし
ご状に接続した電圧分圧ラダー抵抗型DAコンバ
ータ(以電圧ラダーと称す)であり、ゲート回路
22を介したメロデイ音量ROM18からのデジ
タル信号をアナログ信号(電圧)に変換するもの
である。
24 is a voltage division ladder resistance type DA converter (hereinafter referred to as a voltage ladder) in which resistors with resistance values R e and 2R e are connected in a ladder shape, and the digital output from the melody volume ROM 18 via the gate circuit 22 is It converts a signal into an analog signal (voltage).

この電圧ラダー24は、ゲート回路22を介し
てメロデイ音量ROM18の各ビツト入力に各ス
イツチS1〜So-1とが対応するように接続されてお
り、このスイツチS1〜So-1はビツト信号が“0”
のときにはグランドへ、また“1”のときには電
源電圧VDDへ各抵抗器を接続するように作動す
る。この電圧ラダー24は、メロデイ音量ROM
18のビツトパターンには関係なく出力側から見
た抵抗値がRe一定となるものである。
This voltage ladder 24 is connected to each bit input of the melody volume ROM 18 via a gate circuit 22 so that each switch S 1 to S o-1 corresponds to the switch S 1 to S o-1. Bit signal is “0”
When it is "1", it connects each resistor to the ground, and when it is "1", it connects each resistor to the power supply voltage VDD . This voltage ladder 24 is the melody volume ROM
Regardless of the 18 bit patterns, the resistance value seen from the output side is constant Re .

26は、縦列接続された電圧分圧用の抵抗R1
〜Roと、ゲート回路22を介してメロデイ音量
ROM18のビツトパターンにより各抵抗R1〜Ro
を電源電圧VDDと出力端との間に接続するスイツ
チS1〜Soとを有する分圧抵抗選択型DAコンバー
タ(以下抵抗セレクト回路と称す)である。
26 is a voltage dividing resistor R 1 connected in series.
~ R o and the melody volume via the gate circuit 22
Each resistor R 1 to R o depends on the bit pattern of ROM18.
This is a voltage dividing resistor selection type DA converter (hereinafter referred to as a resistor selection circuit) having switches S 1 to S o that connect between the power supply voltage V DD and the output terminal.

この抵抗セレクト回路26のスイツチS1〜So-1
は、ゲート回路22を介してメロデイ音量ROM
18の各ビツト入力b1〜bo-1に対応しており、ビ
ツト信号が“1”のときON状態になり、また
“0”のときOFF状態になる。
Switches S 1 to S o-1 of this resistor selection circuit 26
is the melody volume ROM via the gate circuit 22.
It corresponds to 18 bit inputs b 1 to b o-1 , and is turned on when the bit signal is "1" and turned off when the bit signal is "0".

また、抵抗セレクト回路26のスイツチSoは、
ゲート回路22を介してメロデイ音量ROM18
の全ビツト信号を入力するアンドゲート28の出
力によりON・OFFされるように設定されてい
る。ゲート回路22はメロデイ音量ROM18の
ビツト信号B1〜Bo-1を電圧ラダー24側か、抵
抗セレクト回路26側かに切換えて出力するもの
で、メロデイ音量ROM18の1ビツト信号Bo
より制御されている。
In addition, the switch S o of the resistor selection circuit 26 is
Melody volume ROM 18 via gate circuit 22
It is set to be turned on and off by the output of an AND gate 28 which inputs all bit signals of the bit signal. The gate circuit 22 switches and outputs the bit signals B 1 to Bo -1 of the melody volume ROM 18 to the voltage ladder 24 side or the resistor select circuit 26 side, and is controlled by the 1-bit signal Bo of the melody volume ROM 18. ing.

また、30は電圧ラダー24の出力端に接続さ
れ、メロデイ音量ROM18のビツト信号Boによ
りON・OFFされるスイツチである。
Further, 30 is a switch connected to the output end of the voltage ladder 24 and turned on and off by the bit signal B o of the melody volume ROM 18.

上記構成によりこのスイツチ30がONのとき
には、メロデイ音量ROM18からのビツト信号
はゲート回路22を介して電圧ラダー24にみに
印加され、抵抗セレクト回路26に各スイツチS1
〜SoはすべてOFF状態となるように設定されて
おり、またスイツチ30がOFFのときには、抵
抵抗セレクト回路26にのみビツト信号が印加さ
れるように設定されている。
With the above configuration, when this switch 30 is ON, the bit signal from the melody volume ROM 18 is applied only to the voltage ladder 24 via the gate circuit 22, and the resistor select circuit 26 selects each switch S1.
-S o are all set to be in the OFF state, and also set so that the bit signal is applied only to the resistor select circuit 26 when the switch 30 is OFF.

32は抵抗値がRm、2Rmの抵抗器をはしご状
に接続した電流加算ラダー抵抗型DAコンバータ
(以下電流ラダーと称す)であり、メロデイ波形
ROM14からのデジタル信号をアナログ信号
(電流)に変換するものである。
32 is a current addition ladder resistance type DA converter (hereinafter referred to as current ladder) in which resistors with resistance values of Rm and 2Rm are connected in a ladder shape, and the melody waveform
It converts the digital signal from the ROM 14 into an analog signal (current).

この電流ラダー32は、メロデイ波形ROM1
4の各ビツト入力b1〜bo各スイツチS1〜Soとが対
応するように接続されており、このスイツチS1
Soはビツト信号が“0”のときにはグランドへ、
また“1”のときには電流−電圧変換用の抵抗3
4に各抵抗器を接続するように作動する。
This current ladder 32 has a melody waveform ROM1
4 bit inputs b 1 to b o are connected so as to correspond to each of the switches S 1 to S o .
S o goes to ground when the bit signal is “0”,
Also, when it is “1”, the resistor 3 for current-voltage conversion
4 to connect each resistor.

この電流ラダー24は、基準電圧VEV側から見
た抵値がRm一定となるように設定されているも
のである。
This current ladder 24 is set so that the resistance value viewed from the reference voltage V EV side is constant Rm.

次に、ゲート回路22及びスイツチ30により
切換えられる電圧ラダー24及び抵抗セレクト回
路26と、電流ラダー32との各関係式を用いて
本考案におけるエンベロープの変化する範囲を説
明する。第4図は第3図に示すゲート回路22と
スイツチ30の働きにより、電圧ラダー24が電
流ラダー32の基準電圧入力端に接続されたとき
の等価回路を示す図である。
Next, the range in which the envelope changes in the present invention will be explained using relational expressions between the voltage ladder 24 and the resistance select circuit 26, which are switched by the gate circuit 22 and the switch 30, and the current ladder 32. FIG. 4 is a diagram showing an equivalent circuit when the voltage ladder 24 is connected to the reference voltage input terminal of the current ladder 32 by the functions of the gate circuit 22 and switch 30 shown in FIG.

前述したように電圧ラダー24はその出力側か
ら見た抵抗値がRe一定であり、また電流ラダー
32はその基準電圧入力端より見た抵抗値がRm
一定である。
As mentioned above, the resistance value of the voltage ladder 24 when viewed from its output side is constant Re, and the resistance value of the current ladder 32 when viewed from its reference voltage input end is Rm.
constant.

従つて、本実施例における電圧ラダー24と電
流ラダー32は、本図に示すような等価回路で表
わすことができる。
Therefore, the voltage ladder 24 and current ladder 32 in this embodiment can be represented by an equivalent circuit as shown in this figure.

このときに電流ラダー32に印加される基準電
圧VEVは、 VEV=Rm/Rm+ReVDD(bo-1/2+bo-2+22+……+b1
/2n-1) bi=0 or 1(i=1,……,n−1) bi:メロデイ音量ROM18のビツト信号 となる。
The reference voltage V EV applied to the current ladder 32 at this time is V EV = Rm/Rm + ReV DD (b o-1 /2 + b o-2 +2 2 +...+b 1
/2 n-1 ) bi=0 or 1 (i=1, . . . , n-1) bi: Melody volume ROM 18 bit signal.

上式より、電圧ラダー24と電流ラダー32と
の組合わせにおいて、基準電圧VEVは(Rm/Rm
+Re)VDDから0の範囲で変化することになる。
From the above formula, in the combination of voltage ladder 24 and current ladder 32, the reference voltage V EV is (Rm/Rm
+Re)V It will change in the range from DD to 0.

第5図は第3図に示すゲート回路22とスイツ
チ30の働きにより、抵抗セレクト回路26が電
流ラダー32の基準電圧入力端に接続されたとき
の等価回路を示す図である。
FIG. 5 is a diagram showing an equivalent circuit when the resistor select circuit 26 is connected to the reference voltage input terminal of the current ladder 32 by the functions of the gate circuit 22 and switch 30 shown in FIG.

電流ラダー32は、基準電圧VEV側から見た抵
抗値がRm一定であり、抵抗セレクト回路26は
電源電圧VDDと電流ラダー32との間に接続する
抵抗を抵抗R1〜Roの中から選択するものである
ため、図に示すような等価回路で表わすことがで
きる。
The current ladder 32 has a constant resistance value Rm when viewed from the reference voltage V EV side, and the resistor select circuit 26 selects a resistor connected between the power supply voltage V DD and the current ladder 32 among the resistors R 1 to R o . Since it is selected from the following, it can be represented by an equivalent circuit as shown in the figure.

このように抵抗セレクト回路26と電流ラダー
32が接続されたときの電流ラダーに印加される
基準電圧VEVは、 VEV=Rm/Rm+RiVDD (i=1,2,3,……,n) となり、抵抗R1〜Roから選択された抵抗と電流
ラダー32の抵抗値Rmの単なる分圧で決定され
る。前述したように、電圧ラダー24と電流ラダ
ー32との組合わせにおける基準電圧VEV
(Rm/Rm+Re)VDDから0の範囲で変化するも
のであり、音量をさらに大きくしたいとき即ちこ
の基準電圧VEVを(Rm/Rm+Re)VDDよりも大
きくしたいときには、抵抗セレクト回路26の出
力(Rm/Rm+Ri)VDDをVEVとして与えれば可
能となる。
The reference voltage V EV applied to the current ladder when the resistor select circuit 26 and the current ladder 32 are connected in this way is V EV = Rm/Rm + RiV DD (i = 1, 2, 3, ..., n) It is determined by simply dividing the resistance value Rm of the current ladder 32 and the resistance selected from the resistances R 1 to R o . As mentioned above, the reference voltage V EV in the combination of the voltage ladder 24 and the current ladder 32 changes in the range from (Rm/Rm+Re)V DD to 0, and when you want to make the volume even louder, this reference voltage If it is desired to make V EV larger than (Rm/Rm+Re)V DD , this can be done by giving the output (Rm/Rm+Ri)V DD of the resistor select circuit 26 as V EV .

勿論、このときには、(Rm/Rm+Re)VDD
(Rm/Rm+Ri)VDDとなるように抵抗R1〜Ro
値を設定しておき、電圧ラダー24を接続したと
きよりもさらに電源電圧VDDに近い値の基準電圧
VEVを得るようにしておく必要がある。
Of course, at this time, (Rm/Rm+Re)V DD <
Set the values of the resistors R 1 to R o so that (Rm/Rm + Ri) V DD , and set the reference voltage to a value closer to the power supply voltage V DD than when the voltage ladder 24 is connected.
It is necessary to make sure that V EV is obtained.

従つて、本実施例においては、電圧ラダー24
と電流ラダー32とを組合わせた場合には基準電
圧VEVが0〜(Rm/Rm+Re)VDDの範囲で変化
し、さらに(Rm/Rm+Re)VDDを越える場合
には抵抗セレクト回路26と電流ラダー32とを
組合わせて基準電圧VEVをさらに電源電圧VDD
近づけるように設定している。
Therefore, in this embodiment, the voltage ladder 24
When the current ladder 32 and the reference voltage V EV are combined, the reference voltage V EV changes in the range of 0 to (Rm/Rm+Re)V DD , and when it exceeds (Rm/Rm+Re)V DD , the resistor select circuit 26 and In combination with the current ladder 32, the reference voltage V EV is set to be closer to the power supply voltage V DD .

このように基準電圧VEVを0からほぼ電源電圧
VDDの範囲にて変化させるためには、各抵抗値を Rm≫Re>R1>R2>……Ro となるように設定すればよいことになる。
In this way, the reference voltage V EV is changed from 0 to approximately the power supply voltage.
In order to vary within the range of V DD , each resistance value may be set so that Rm≫R e >R 1 >R 2 >...R o .

一方、このような基準電圧VEVが印加される電
流ラダー32の出力電流Iは、 I=VEV/Rm(bo/2+bo-1/22+……+b2/2n-1+b
1/2n) bi=0 or 1(i=1,2,……,n−1,
n) bi:メロデイ波形ROM14のビツト信号 となり、メロデイ波形ROM14のビツトパター
ンと基準電圧VEVにより決定される。
On the other hand, the output current I of the current ladder 32 to which such a reference voltage V EV is applied is as follows: I=V EV /Rm(b o /2+b o-1 /2 2 +...+b 2 /2 n-1 +b
1 /2 n ) b i =0 or 1 (i=1, 2,..., n-1,
n) b i : Becomes a bit signal of the melody waveform ROM 14, and is determined by the bit pattern of the melody waveform ROM 14 and the reference voltage V EV .

このように、電圧ラダー24及び抵抗セレクト
回路26は電流ラダー32のスイツチS1〜So
ON・OFFの影響を受けず、また電流ラダー32
は安定した基準電圧VEVが印加されるためにDA
コンバータとしての直線性を失なうことはない。
In this way, the voltage ladder 24 and the resistance select circuit 26 are connected to the switches S 1 to S o of the current ladder 32.
It is not affected by ON/OFF, and the current ladder 32
is DA because a stable reference voltage V EV is applied.
It does not lose its linearity as a converter.

従つて、電流ラダー32と電圧ラダー24及び
抵抗セレクト回路26は互いに悪影響を及ぼし合
うことなくエンベロープの付加としてのみ有効な
動作をする。
Therefore, the current ladder 32, the voltage ladder 24, and the resistance select circuit 26 operate effectively only as envelope additions without adversely affecting each other.

次に再び第3図を用いて上記本考案の電子音発
生回路の実施例の各構成要素の動作を電子時打動
作と共に説明する。第3図において、36は水晶
発振器等の基準信号発生器、38は基準信号発生
器36からの基準信号を適宜分周する分周回路、
40は分周回路38からの信号を波形整形する波
形整形回路、42はモータ44を駆動する駆動回
路、46はモータ44により駆動される輪列であ
る。
Next, referring again to FIG. 3, the operation of each component of the embodiment of the electronic sound generating circuit of the present invention will be explained together with the electronic time striking operation. In FIG. 3, 36 is a reference signal generator such as a crystal oscillator, 38 is a frequency dividing circuit that appropriately divides the reference signal from the reference signal generator 36,
40 is a waveform shaping circuit that shapes the signal from the frequency dividing circuit 38; 42 is a drive circuit that drives the motor 44; and 46 is a wheel train driven by the motor 44.

48は目安機構であり、正時になると輪列46
の動きによりON状態になるものである。
48 is a reference mechanism, and on the hour the wheel train 46
It is turned on by the movement of .

50は時打制御回路であり、目安機構48が
ON状態になると前述したメロデイアドレスカウ
ンタ16とエンベロープアドレスカウンタ20を
作動可能な状態にし、さらにエンベロープ分周回
路52と音階分周回路54を作動させるもであ
る。このようにエンベロープ分周回路52と音階
分周回路54が作動すると、エンベロープアドレ
スカウンタ20とメロデイアドレスカウンタ16
は作動し、メロデイ音量ROM18及びメロデイ
波形ROM14からそれぞれエンベロープデータ
と波形データを読み出す。
50 is a timing control circuit, and the reference mechanism 48 is
When turned on, the melody address counter 16 and envelope address counter 20 described above are enabled, and the envelope frequency dividing circuit 52 and scale frequency dividing circuit 54 are also activated. When the envelope frequency dividing circuit 52 and the scale frequency dividing circuit 54 operate in this way, the envelope address counter 20 and the melody address counter 16
is activated and reads envelope data and waveform data from the melody volume ROM 18 and melody waveform ROM 14, respectively.

メロデイ音量ROM18により読み出されたデ
ータは、ゲート回路22に印加される。
The data read by the melody volume ROM 18 is applied to the gate circuit 22.

このゲート回路22は、電圧VEVが0から
(Rm/Rm+Re)VDDまでの範囲で変化するとき
には、電圧ラダー24にメロデイ音量ROM18
からのデータを出力し、また電圧VEVが(Rm/
Rm+Re)VDDまでの範囲を越え、ほぼ基準電圧
VDDまでの範囲で変化するときには抵抗セレクト
回路26にメロデイ音量ROM18からのデータ
を出力する。
This gate circuit 22 outputs a melody volume ROM 18 to the voltage ladder 24 when the voltage V EV changes in the range from 0 to (Rm/Rm+Re)V DD .
outputs the data from , and the voltage V EV is (Rm/
Rm+Re)V DD , almost the reference voltage
When changing in the range up to V DD , data from the melody volume ROM 18 is output to the resistance select circuit 26.

このように、ゲート回路22から電圧ラダー2
4または抵抗セレクト回路26にビツト信号が印
加されると、電圧ラダー24または抵抗セレクト
回路26はこの信号を電圧出力に変換する。
In this way, from the gate circuit 22 to the voltage ladder 2
When a bit signal is applied to the voltage ladder 24 or resistor select circuit 26, the voltage ladder 24 or resistor select circuit 26 converts this signal into a voltage output.

この電圧ラダー24の出力電圧はスイツチ30
を介して電流ラダー32に印加され、また抵抗セ
レクト回路26の出力電圧は直接電流ラダー32
の基準電圧入力に印加される。
The output voltage of this voltage ladder 24 is
The output voltage of the resistor select circuit 26 is directly applied to the current ladder 32 via the current ladder 32.
applied to the reference voltage input of

一方、メロデイ波形ROM14から読み出され
たデータは、電圧ラダー24または抵抗セレクト
回路26からの基準電圧が印加されている電流ラ
ダー32により電流Iに変換される。
On the other hand, data read from the melody waveform ROM 14 is converted into a current I by a current ladder 32 to which a reference voltage from a voltage ladder 24 or a resistor select circuit 26 is applied.

この電圧ラダー32の出力する電流Iは、抵抗
34を介して電流−電圧変換されてアンプ56に
印加され、このアンプ56はスピーカ58を駆動
してエンベロープが付加された時打音を発生させ
る。このようなメロデイ音量ROM18からのデ
ータ読み出しは、1回の時打動作毎に行われるも
のであり、1回の読み出しが行われる度にエンベ
ロープアドレスカウンタ20からパルス信号が打
数カウンタ60に出力される。
The current I output from the voltage ladder 32 is converted into voltage through a resistor 34 and applied to an amplifier 56, which drives a speaker 58 to generate a tapping sound when an envelope is applied. Such data reading from the melody volume ROM 18 is performed for each time-beating operation, and a pulse signal is output from the envelope address counter 20 to the number-of-strokes counter 60 each time reading is performed once. .

打数カウンタ60は、エンベロープアドレスカ
ウンタ20からの信号をカウントし、このカウン
値は一致回路62にて数取りカウンタ64のカウ
ント値と比較される。
The stroke counter 60 counts the signal from the envelope address counter 20, and this count value is compared with the count value of the number counter 64 in a match circuit 62.

この数取りカウンタ64の内容は、数取りスイ
ツチ66を操作することにより数取り制御回路6
8を作動させて予め決定されているものである。
一致回路62が一致信号を出力すると、時打制御
回路50は、メロデイアドレスカウンタ16、エ
ンベロープアドレスカウンタ20、エンベロープ
分周回路52、音階分周回路54をすべて停止さ
せる。
The contents of this counting counter 64 can be changed to the counting control circuit 6 by operating the counting switch 66.
This is determined in advance by activating 8.
When the matching circuit 62 outputs a matching signal, the time striking control circuit 50 stops all of the melody address counter 16, envelope address counter 20, envelope frequency dividing circuit 52, and scale frequency dividing circuit 54.

そして、時打制御回路50は、数取り制御回路
68にパルス信号を出力し、この信号により数取
り制御回路68は数取りカウンタ64の内容に1
をプラスして、次に正時にそなえ、時打動作は終
了する。
Then, the time-taking control circuit 50 outputs a pulse signal to the number-taking control circuit 68, and this signal causes the number-taking control circuit 68 to change the content of the number-taking counter 64 to 1.
is added, and then the hour is reached, and the hour striking operation is completed.

このような動作で得られた時打音は、メロデイ
波形ROM14に記憶されたメロデイ波形に、メ
ロデイ音量ROM18に記憶されたエンベロープ
を、電流ラダー32に印加される電圧をほぼ電源
電圧VDDから0までの範囲で変化させることによ
り付加したものである。
The ticking sound obtained by such an operation changes the melody waveform stored in the melody waveform ROM 14, the envelope stored in the melody volume ROM 18, and the voltage applied to the current ladder 32 from approximately the power supply voltage V DD to 0. This was added by varying the range up to .

尚、このように電子時計に本考案の電子音発生
回路を応用することは単なる一例であり、その他
電子楽器等にも使用することができるもである。
上記本考案によれば、電圧ラダーと抵抗セレクト
回路をゲート回路により切換えて出力させること
により、電流ラダーに印加する電圧をほぼ電源電
圧VDDから0までの広い範囲で変化させることが
でき、極めて広範囲なエンベロープをメロデイ波
形に付加することができる。
It should be noted that the application of the electronic sound generating circuit of the present invention to an electronic watch is merely one example, and it can also be applied to other electronic musical instruments and the like.
According to the present invention, the voltage applied to the current ladder can be varied over a wide range from approximately the power supply voltage V DD to 0 by switching and outputting the voltage ladder and the resistor select circuit using the gate circuit, which is extremely effective. A wide range of envelopes can be added to the melody waveform.

また、IC内部にてエンベロープをメロデイに
付加することができるので、ICの外付け部品を
必要とせず、回路の占有面積を減少させることが
できると共に、部品点数の削減及び組立作業性の
向上によりコストを低減することができる。
In addition, since an envelope can be added to the melody inside the IC, there is no need for external parts to the IC, which reduces the area occupied by the circuit, and also reduces the number of parts and improves assembly workability. Cost can be reduced.

さらに、本考案におけるエンベロープ発生部
は、抵抗網とスイツチ素子の組合わせのみで構成
されているので、1.5Vなどの低電圧でも使用が
可能であり、携帯用の小型機器にも広く使用する
ことかできる。
Furthermore, since the envelope generator of the present invention consists only of a combination of a resistor network and a switch element, it can be used at low voltages such as 1.5V, and can be widely used in small portable devices. I can do it.

また、メモリの記憶内容を変更するだけでエン
ベロープの形を自由に変えることができ、鳥の
声、波の音等の自然界の音からピアノ等の楽器の
音まで広く同一構成の回路で発生させることがで
きる。また、音の立上がりをCR方式より急峻に
できるため、特に打音の感じをよく出すことがで
きる。このように本考案は広範囲なエンベロープ
をメロデイ波形に付加することができる電子音発
生回路である。
In addition, the shape of the envelope can be freely changed simply by changing the stored contents of the memory, and a wide range of sounds from the natural world, such as bird calls and the sound of waves, to the sounds of musical instruments such as the piano, can be generated using the same circuit. be able to. Also, since the rise of the sound can be made steeper than with the CR method, it is possible to produce a particularly good feel of the hitting sound. As described above, the present invention is an electronic sound generation circuit that can add a wide range of envelopes to a melody waveform.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のエンベロープ付加方式による装
置の一例を示す図、第2図は第1図に示すエンベ
ロープ発生回路の従来例を示す図、第3図は本考
案の一実施例を電子時計の時打音に応用した図、
第4図は第3図に示す電圧ラダーと電流ラダーと
を組合わせたときの等価回路、第5図は第3図に
示す抵抗セレクト回路と電流ラダーとを組合わせ
たときの等価回路である。 14……メロデイ波形ROM、16……メロデ
イアドレスカウンタ、18……メロデイ音量
ROM、20……エンベロープアドレスカウン
タ、22……ゲート回路、24……電圧分圧ラダ
ー抵抗型DAコンバータ、26……分圧抵抗選択
型DAコンバータ、30……スイツチ、32……
電流加算ラダー抵抗型DAコンバータ。
Fig. 1 is a diagram showing an example of a device using a conventional envelope addition method, Fig. 2 is a diagram showing a conventional example of the envelope generating circuit shown in Fig. 1, and Fig. 3 is a diagram showing an example of an embodiment of the present invention for an electronic watch. Diagram applied to the beat sound,
Figure 4 is an equivalent circuit when the voltage ladder and current ladder shown in Figure 3 are combined, and Figure 5 is an equivalent circuit when the resistance selection circuit and current ladder shown in Figure 3 are combined. . 14...Melody waveform ROM, 16...Melody address counter, 18...Melody volume
ROM, 20...Envelope address counter, 22...Gate circuit, 24...Voltage division ladder resistance type DA converter, 26...Voltage division resistance selection type DA converter, 30...Switch, 32...
Current addition ladder resistance type DA converter.

Claims (1)

【実用新案登録請求の範囲】 メロデイ波形データがデジタル信号で記憶され
たメロデイ波形ROMと、 メロデイの音量データがデジタル信号で記憶さ
れたメロデイ音量ROMと、 両ROMからデータを読み出すためのアドレス
カウンタと、 メロデイ音量ROMからのデータをアナログ信
号に変換する第1のDAコンバータと、 第1のDAコンバータからの信号を基準入力と
して、メロデイ波形ROMからのデータをアナロ
グ信号に変換する第2のDAコンバータと、 第2のDAコンバータの出力により音を発生す
る発音回路と、 を有する電子音発生回路において: 第1のDAコンバータは、出力抵抗の一定な電
圧分圧ラダー抵抗型DAコンバータと、縦列接続
された複数個の電圧分圧抵抗を有しそのうち少な
くとも1つの抵抗を選択する分圧抵抗選択型DA
コンバータと、前記メロデイ音量ROMからの出
力によつて両DAコンバータの出力のいずれか1
つを選択するゲート回路とから構成され、 第2のDAコンバータは入力抵抗の一定な電流
加算ラダー抵抗型DAコンバータで構成されたこ
とを特徴とする電子音発生回路。
[Scope of claim for utility model registration] A melody waveform ROM in which melody waveform data is stored as a digital signal, a melody volume ROM in which melody volume data is stored in a digital signal, and an address counter for reading data from both ROMs. , a first DA converter that converts data from the melody volume ROM into an analog signal, and a second DA converter that uses the signal from the first DA converter as a reference input to convert data from the melody waveform ROM into an analog signal. and a sound generation circuit that generates sound by the output of the second DA converter, and in an electronic sound generation circuit having the following: The first DA converter is connected in series with a voltage division ladder resistance type DA converter having a constant output resistance. A voltage dividing resistor selection type DA that has a plurality of voltage dividing resistors and selects at least one of them.
Either one of the outputs of both DA converters depends on the output from the converter and the melody volume ROM.
and a gate circuit for selecting one of the electronic sound generators, and the second DA converter is a current addition ladder resistance type DA converter with a constant input resistance.
JP8148483U 1983-05-30 1983-05-30 Electronic sound generation circuit Granted JPS59186898U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8148483U JPS59186898U (en) 1983-05-30 1983-05-30 Electronic sound generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8148483U JPS59186898U (en) 1983-05-30 1983-05-30 Electronic sound generation circuit

Publications (2)

Publication Number Publication Date
JPS59186898U JPS59186898U (en) 1984-12-11
JPH0443920Y2 true JPH0443920Y2 (en) 1992-10-16

Family

ID=30211450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8148483U Granted JPS59186898U (en) 1983-05-30 1983-05-30 Electronic sound generation circuit

Country Status (1)

Country Link
JP (1) JPS59186898U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4843394A (en) * 1988-01-21 1989-06-27 Advanced Micro Devices, Inc. Digital-to-analog converter with no offset-induced errors

Also Published As

Publication number Publication date
JPS59186898U (en) 1984-12-11

Similar Documents

Publication Publication Date Title
US4656428A (en) Distorted waveform signal generator
JPH0443920Y2 (en)
US4478525A (en) Musical envelope control device
US4382251A (en) Envelope control device for piezoelectric buzzer
JPH0420196B2 (en)
JPS5830593B2 (en) Envelope circuit for electronic musical instruments
JPS587440Y2 (en) rhythm sound source circuit
JP3041484B2 (en) Sound signal generator and musical sound generator using the same
JPH06152424A (en) D/a converter
US5070757A (en) Electronic tone generator
JPS6319880B2 (en)
JP2963785B2 (en) Digital sound source circuit
JP3647277B2 (en) Digital / analog converter
JPH044774B2 (en)
JP2598888Y2 (en) Voltage comparator
KR920000705Y1 (en) Speaker volume adjustable circuit using keyboard
GB2126836A (en) Electro-acoustic transducer drive circuit for producing musical notes
JP2963784B2 (en) Digital sound source circuit
KR830000461B1 (en) Electronic pronunciation device
JPS6321920B2 (en)
GB2251971A (en) Sound synthesizer
JPH02134695A (en) Sound generating device
JPS6235115B2 (en)
JPH02116898A (en) Musical sound generating circuit
JPS6210438B2 (en)