JPS60260998A - Musical sound generation circuit - Google Patents

Musical sound generation circuit

Info

Publication number
JPS60260998A
JPS60260998A JP59116647A JP11664784A JPS60260998A JP S60260998 A JPS60260998 A JP S60260998A JP 59116647 A JP59116647 A JP 59116647A JP 11664784 A JP11664784 A JP 11664784A JP S60260998 A JPS60260998 A JP S60260998A
Authority
JP
Japan
Prior art keywords
data
output
clock signal
gate
duty ratio
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
JP59116647A
Other languages
Japanese (ja)
Inventor
智久 石川
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59116647A priority Critical patent/JPS60260998A/en
Publication of JPS60260998A publication Critical patent/JPS60260998A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は打楽器音等の楽音を生成する楽音発生回路に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a musical sound generation circuit that generates musical sounds such as percussion instrument sounds.

〔従来の技術〕[Conventional technology]

従来、打楽器音等を生成する装置としては、減衰形移相
発振器を用いてこれにトリガパルスを与えて発振させ、
時定数によって決定される周波数とエンベロープをもっ
た波形を出力させるようにし、上記時定数を変えてアタ
ック部を形成することにより打楽器音を出力するという
ように、アナログ回路で実現したものが考えられている
Conventionally, as a device for generating percussion instrument sounds, etc., an attenuated phase-shifted oscillator is used, and a trigger pulse is applied to the oscillator to cause it to oscillate.
An analog circuit could be used to output a waveform with a frequency and envelope determined by a time constant, and output a percussion instrument sound by changing the time constant and forming an attack section. ing.

〔従来技術の問題点〕[Problems with conventional technology]

しかしながら、このようなものでは打楽器音をアナログ
回路で発生させるようにしているから、製品のばらつき
や温度変化等の影響を受けて発生音が変化し易く、その
ため調整回路が余分に必要となるほか、LSI(大規模
集積回路)化ができず、その結果部品点数が多くなった
り実装面積が大きくなってしまう等の問題があった。
However, in such devices, the percussion instrument sounds are generated by analog circuits, so the generated sounds tend to change due to product variations, temperature changes, etc., which requires an extra adjustment circuit. However, it is not possible to implement LSI (Large Scale Integrated Circuit), resulting in problems such as an increase in the number of parts and an increase in the mounting area.

〔発明の目的〕[Purpose of the invention]

そこで、本発明はLSI化が可能で、部品数を少なくし
て小型化に適し、より安価に製造できて、単一の装置で
多種多様の音色が得られる打楽器音等の発生に適した楽
音発生回路を提供することを目的としている。
Therefore, the present invention provides musical tones that can be implemented in LSI, are suitable for miniaturization by reducing the number of parts, can be manufactured at lower cost, and are suitable for generating percussion instrument sounds that can produce a wide variety of tones with a single device. The purpose is to provide a generation circuit.

〔発明の要点〕[Key points of the invention]

この目的を達成するため、本発明はクロック信号から所
定のデューティ比の出力を得てこれをノイズデータに変
換してエンベロープをかけるようにしたことを要点とす
るものである。
In order to achieve this object, the main feature of the present invention is to obtain an output with a predetermined duty ratio from a clock signal, convert this into noise data, and apply an envelope to the noise data.

〔発明の概略〕[Summary of the invention]

この発明の概略を第1図に基づいて説明する。 The outline of this invention will be explained based on FIG.

周波数発生回路1からは周期の長い周波数クロックと周
期の短い周波数クロックとを合わせたシリアルなりロッ
ク信号(a)が出力してデューティ比制御回路2に与え
られ、デューティ比制御回路2ではクロック信号(1)
から50%又はそれ以外のデューティ比のクロック信号
(C)(d)又は(i)(j)が出力される。ここでデ
ューティ比とは、クロック信号の1周期に対する1”(
2値論理レベルのhigh状態)の出力時間の割合を示
すもので、デューティ比50%といえば1″の状態と’
0”(2値論理レベルのlOW状態)の状態とが同じ割
合であることを示す。
The frequency generation circuit 1 outputs a serial lock signal (a) that is a combination of a long-cycle frequency clock and a short-cycle frequency clock, and provides it to the duty ratio control circuit 2. The duty ratio control circuit 2 generates a clock signal ( 1)
A clock signal (C), (d) or (i), (j) with a duty ratio of 50% or other is output from the clock signal. Here, the duty ratio is 1"(1") for one period of the clock signal.
It shows the percentage of the output time (high state of binary logic level), and if the duty ratio is 50%, it is the state of 1''.
0'' (binary logic level lOW state) state is the same ratio.

このデューティ化の制御されたクロック信号(C)(d
)又は(i)(j)は排他的オアゲート3でノイズデー
タ(f)に変換され、ランダムな出カバターンで種々の
周波数スペクトルをもつデータとしてゲート回路4に与
えられる。ゲート回路4にはエンベロープ発生回路5よ
りエンベロープデータE。〜E、が与えられており、上
記メイズデータ(f)にエンベロープが付与されて楽音
データAo〜Aeが生成され、D/A(デジタル/アナ
ログ)変換器6を経てスピーカ7より楽音が放音される
This duty-controlled clock signal (C) (d
) or (i) (j) is converted into noise data (f) by the exclusive OR gate 3 and is given to the gate circuit 4 as data having various frequency spectra with random output patterns. The gate circuit 4 receives envelope data E from the envelope generation circuit 5. ~E is given, an envelope is added to the maze data (f) to generate musical tone data Ao~Ae, and the musical tone is emitted from the speaker 7 via the D/A (digital/analog) converter 6. be done.

〔第1実施例の構成〕 以下本発明の第1実施例の構成につき第2図〜第8図を
参照して詳述する。
[Configuration of First Embodiment] The configuration of the first embodiment of the present invention will be described in detail below with reference to FIGS. 2 to 8.

〈周波数発生回路の構成〉 第2図は周波数発生回路1の回路構成を示し、この周波
数発生回路1内の半加算器8はa。−a。
<Configuration of Frequency Generating Circuit> FIG. 2 shows the circuit configuration of the frequency generating circuit 1, in which the half adder 8 is a. -a.

端子に入力されるデータに対しす。端子に常時与えられ
ている・1″を加算してSo〜S3端子より出力するも
ので、このS。−S,端子からの加算データはそれぞれ
アンドゲートA1−A4を介し2ビットのシフトレジス
タ9.10.11.12に入力される。このシフトレジ
スタ9〜12の各ビットは、第3図上段に示すクロック
信号φ1印加時に加算データを取り入れ、次のクロック
信号φ2印加時に取り入れたデータを出力するもので、
クロック信号φ2はφ1と同じ周期でφ、より半周期ず
れたものとなっているため、各シフトレジスタ9〜12
は信号φ1印加で加算データを取り入れた後、次の信号
φ1印加で加算データをシフトし、その直後の信号φ2
印加で加算データを出力する。
For data input to the terminal. It adds 1", which is always given to the terminals, and outputs it from the So to S3 terminals. The added data from the S.-S and terminals is sent to a 2-bit shift register 9 through AND gates A1 to A4, respectively. .10, 11, and 12. Each bit of this shift register 9 to 12 takes in the added data when the clock signal φ1 shown in the upper part of FIG. 3 is applied, and outputs the data that was taken in when the next clock signal φ2 is applied. to do,
Since the clock signal φ2 has the same period as φ1 but is shifted by half a period from φ, each shift register 9 to 12
takes in the added data by applying the signal φ1, shifts the added data by applying the next signal φ1, and then shifts the added data by applying the next signal φ1.
Outputs added data when applied.

このシフトレジスタ9〜12の出力は再び半加算器8の
a。−a3端子に入力されbo端子からの1″か加算さ
れてアントゲートA1−A4を介してシフトレジスタ9
〜12に入力されるから、シフトレジスタ9〜12の出
力はクロック信号φ1の2倍の周期でカウントアップし
ていくことになる。
The outputs of the shift registers 9 to 12 are again sent to a of the half adder 8. - input to the a3 terminal, 1'' from the bo terminal is added to the shift register 9 via the ant gates A1-A4.
12, the outputs of the shift registers 9 to 12 count up at twice the period of the clock signal φ1.

そしてこのシフトレジスタ9〜12からのカウント出力
はそのまま及びインバータ■、〜I、を介してデコーダ
D1に与えられる。このデコーダD1には、上記クロッ
ク信号φ2の′1″信号のタイミングで立上り、下落を
繰り返すクロック信号Gがそのまま及びインバータ■、
を介して与えられている。当該デコーダD1は、複数の
ナントゲート(図中丸印で示す)を有しており、クロッ
ク信号Gが”1”でシフトレジスタ9〜12の出力が「
1000(8)」になるごとにラインAを選択して”0
”信号を出力し、クロック信号Gが”0”でシフトレジ
スタ9.10の出力が「11(3)」となるごとにライ
ンBを選択して”0”信号を出力し、デコーダD2に与
える。デコーダD2は上記ラインA、Bいずれかを通じ
て″0″信号が入力されるとナントゲート(図中丸印で
示す)を通じて°”1”信号を出力し、この゛1″信号
をノアゲートN1、インバータ■、を通じてクロック信
号(a)としてデューティ比制御回路2に与える。この
クロック信号(a)は、シフトレジスタ9〜12が「1
000(8)」となるごとに1”となる周期の長い周波
数クロック(第2図の(a)中斜線を振っていないもの
)と、シフトレジスタ9.10が「11(3)」となる
ごとに”1″となる周期の短い周波数クロック(第2図
の(a)中斜線を振ったもの)とを合わせたシリアルな
りロック信号となる。なお、上記ノアゲートN1にはリ
セット信号が与えられている。
The count outputs from the shift registers 9 to 12 are applied directly to the decoder D1 via the inverters 1, .about.I. The decoder D1 receives the clock signal G, which repeatedly rises and falls at the timing of the '1'' signal of the clock signal φ2, as it is, and the inverter (2).
is given through. The decoder D1 has a plurality of Nant gates (indicated by circles in the figure), and when the clock signal G is "1", the outputs of the shift registers 9 to 12 are "1".
Select line A every time it reaches 1000 (8) and set it to 0.
"Output the signal, and every time the clock signal G is "0" and the output of the shift register 9.10 becomes "11 (3)", select line B, output the "0" signal, and give it to the decoder D2. . When the decoder D2 receives a "0" signal through either line A or B, it outputs a "1" signal through the Nant gate (indicated by a circle in the figure), and this "1" signal is sent to the NOR gate N1, the inverter is applied to the duty ratio control circuit 2 as a clock signal (a) through the shift registers 9 to 12.
000 (8)'' and a long frequency clock (the one without the diagonal line in Figure 2 (a)) and the shift register 9.10 change to 11 (3). A serial lock signal is obtained by combining a short frequency clock (hatched in FIG. 2(a)) with a short period of "1" every time. Note that a reset signal is applied to the NOR gate N1.

〈デューティ比制御回路の構成〉 上記クロック信号(a)はデューティ比制御回路2の排
他的ノアゲートE1、ノアゲートN2を経て、ラッチ1
3.14を介して再び排他的ノアゲートE1に与える。
<Configuration of duty ratio control circuit> The above clock signal (a) passes through the exclusive NOR gate E1 and NOR gate N2 of the duty ratio control circuit 2, and then enters the latch 1.
3.14 to the exclusive NOR gate E1 again.

ランチ13.14はクロック信号φ1の印加でデータを
取り入れ、次のクロック信号φ2印加で取り入れたデー
タを出力し、ラッチ13.14でクロック信号φ11周
期分ずつ遅れが生じ、クロック信号φ1はクロック信号
Gの半分の周期であるから、ラッチ14から排他的ノア
ゲートE1に与えられる信号は、周波数発生回路1から
のクロック信号(a)がクロック信号G1周期分遅れた
ものとなる。そして、ラッチ13の出力信号(c)とラ
ッチ14の出力信号(d)が排他的オアゲート3を介し
てラッチ15を経てノイズデータ(f)としてゲート回
路4のノアゲートN3に与えられる。
The launches 13 and 14 take in data when the clock signal φ1 is applied, and output the data that was taken in when the next clock signal φ2 is applied, and the latch 13 and 14 are delayed by 11 cycles of the clock signal φ1, and the clock signal φ1 is the clock signal. Since the period is half of G, the signal applied from the latch 14 to the exclusive NOR gate E1 is the clock signal (a) from the frequency generating circuit 1 delayed by the period of the clock signal G1. Then, the output signal (c) of the latch 13 and the output signal (d) of the latch 14 are applied to the NOR gate N3 of the gate circuit 4 via the exclusive OR gate 3 and the latch 15 as noise data (f).

また、上記信号(c)(d)はそれぞれ説明のために仮
に設けるラッチ16.17を介して信号(C′a)(d
′a)として取り出され、この信号(C;)(直)はデ
ューティ比50%であることがわかる。
Further, the signals (c) and (d) are passed through latches 16 and 17, which are provided temporarily for explanation, respectively, to the signals (C'a) and (d).
It can be seen that this signal (C;) (direct) has a duty ratio of 50%.

上記ラッチ15.16.17はクロック信号φS印加で
データを取り入れ、次のクロック信号φ2印加で取り入
れたデータを出力するものである。
The latches 15, 16, and 17 take in data when the clock signal φS is applied, and output the taken data when the next clock signal φ2 is applied.

なお上記ノアゲートN2にはリセット信号が与えられて
いる。
Note that a reset signal is applied to the NOR gate N2.

くゲート回路の構成〉 上記ノイズデータ(f)はノアゲートN3で反転されて
排他的オアゲートE2〜E7に与えられ、ノイズデータ
(f)が゛1”のときはノアゲートN3の出力が゛O”
となってエンベロープデータEo−E、が当該排他的オ
アゲートE2〜E7を介してそのまま出力楽音データA
。〜A、として出力され、ノイズデータ(f)がN0”
のときはノアゲートN3の出力が”1”となってエンベ
ロープデータEo〜Eaが反転されて楽音データA。
Gate circuit configuration> The above noise data (f) is inverted by NOR gate N3 and given to exclusive OR gates E2 to E7, and when noise data (f) is ``1'', the output of NOR gate N3 is ``O''.
Therefore, the envelope data Eo-E is directly outputted as the musical sound data A via the exclusive OR gates E2 to E7.
. ~A, and the noise data (f) is N0”
In this case, the output of NOR gate N3 becomes "1", and the envelope data Eo to Ea are inverted and become musical tone data A.

〜A5として出力され、第6図に示すエンベロープデー
タEo−E5は第7図に示す楽音データA。
The envelope data Eo-E5 outputted as ~A5 and shown in FIG. 6 is musical tone data A shown in FIG.

〜A、に変換されることになる。また、ノアゲートN3
を経たノイズデータ(f)はインバータ■6を介して反
転され、楽音データが第5図に示すように正極性又は負
極性を示すデータ八6として出力される。上記エンベロ
ープデータEo−E、はノアゲートN4を介して上記ノ
アゲートN3に入力されて、このノアゲートN4の出力
は上記ノアゲートN3に入力され、エンベロープデータ
E。
~A, will be converted. Also, Noah Gate N3
The noise data (f) that has passed through is inverted via an inverter 6, and musical tone data is output as data 86 indicating positive polarity or negative polarity, as shown in FIG. The envelope data Eo-E is inputted to the NOR gate N3 via the NOR gate N4, and the output of this NOR gate N4 is inputted to the NOR gate N3, and the envelope data Eo-E is inputted to the NOR gate N3.

〜E、がすべて0″のときノアゲートN4の出力が1″
となってノアゲートN3の出力をノイズデータ(f)の
値いかんにかかわらず”0″としてエンベロープデータ
E。−E、の「00・・・0」から「11・・・1」へ
の反転を防止している。
When ~E, are all 0'', the output of Noah gate N4 is 1''
Therefore, the output of NOR gate N3 is set to "0" regardless of the value of noise data (f), and envelope data E is generated. -E, is prevented from being reversed from "00...0" to "11...1".

〔第1実施例の動作〕 次に第1実施例の動作について第3図、第8図等を参照
して説明する。
[Operation of the first embodiment] Next, the operation of the first embodiment will be explained with reference to FIGS. 3, 8, etc.

いま半加算器8がクリアされて、シフトレジスタ9〜1
2の内容もクリアされているものとすると、デコーダD
1のいずれのラインA、Bも選択されずデコーダD2の
出力は0″でノアゲートN1の出力は′1”であるから
、アントゲートA1−A4は開成されている。そして、
半加算器8のす。端子には1″信号が常時与えられてい
るから、シフトレジスタ9〜12の出力「0O00」に
”1”が加算されてシフトレジスタ9〜12に入力され
ていき、クロック信号φ1の2周期後すなワチクロック
信号Gの1周期後に今度は「0001」が半加算器8に
入力されて「0010」が出力され、順次クロック信号
Gと同じテンポでバイナリカウントが行われていく。そ
してデコーダD1のAラインはカウントデータが「10
00(8)」になるごとに選択されBラインは「11(
3)」になるごとに選択され、ノアゲートN1及びイン
バータ■6を介して周期の長いものと短いものをシリア
ルにしたクロック信号(a)が第3図に示すパターンで
出力していくことになる。このクロック信号(a)の出
力時にはノアゲートN1の出力は”0”となるからアン
トゲートA1〜A4は一時的に閉成され、シフトレジス
タ9〜12のデータ入力も一時的に停止されてバイナリ
カウントも一時ストップする。
Half adder 8 is now cleared and shift registers 9-1
Assuming that the contents of 2 are also cleared, decoder D
Since neither line A or B of 1 is selected, the output of decoder D2 is 0'' and the output of NOR gate N1 is ``1'', ant gates A1-A4 are open. and,
Half adder 8. Since the 1" signal is always given to the terminal, "1" is added to the output "0O00" of shift registers 9 to 12 and input to shift registers 9 to 12, and after two cycles of clock signal φ1, That is, after one cycle of the clock signal G, "0001" is input to the half adder 8, and "0010" is output, and binary counting is sequentially performed at the same tempo as the clock signal G. And the A line of decoder D1 has count data of “10”.
00(8)" and the B line is selected every time it becomes "11(8)".
3)", and the clock signal (a) in which the longer cycle and the shorter cycle are serialized via NOR gate N1 and inverter 6 is output in the pattern shown in Figure 3. . When this clock signal (a) is output, the output of the NOR gate N1 becomes "0", so the ant gates A1 to A4 are temporarily closed, and the data input to the shift registers 9 to 12 is also temporarily stopped, resulting in binary counting. It also stops temporarily.

周波数発生回路1からのクロック信号(a)は、デュー
ティ比制御回路2の排他的ノアゲートEl及びノアゲー
トN2を介しく信号(b)となる込ラッチ13.14で
ディレィがかかり再び排他的ノアゲートElに入力され
、ラッチ13及び14の出力信号(C)(d)は排他的
オアゲート3を介しく信号(e)となる)、ラッチ15
を経て、ノイズデータ(f)が出力される。
The clock signal (a) from the frequency generation circuit 1 becomes the signal (b) via the exclusive NOR gate El and the NOR gate N2 of the duty ratio control circuit 2, and is delayed by the latch 13 and 14, and then becomes the exclusive NOR gate El again. and the output signals (C) and (d) of the latches 13 and 14 become the signal (e) via the exclusive OR gate 3), the latch 15
After that, noise data (f) is output.

このノイズデータ(f〕は種々の周波数成分を含んだ信
号となる。
This noise data (f) becomes a signal containing various frequency components.

そしてノイズデータ(f)はゲート回路4のノアゲート
N3を介して排他的オアゲートE2〜E7に与えられ、
ノイズデータ(f)が9゛1”でエンベロープデータE
。−E、がそのまま出力され、ノイズデータ(f)力げ
0”でエンベロープデータEo−E、が反転して出力さ
れる。従って第8図上段に示すようにエンベロープデー
タF。−E。
The noise data (f) is then given to the exclusive OR gates E2 to E7 via the NOR gate N3 of the gate circuit 4,
Noise data (f) is 9゛1'' and envelope data E
. -E is output as is, and the envelope data Eo-E is inverted and output with the noise data (f) 0". Therefore, as shown in the upper part of FIG. 8, the envelope data F.-E.

がアタックでインクリメント、ディケイでデクリメント
すると、ノイズデータ(f)の値に応じて第8図下段に
示すように部分的に負極性に反転した楽音データA。〜
A6が出力されていく。このため、第6図に示すように
変化するエンベロープがノイズデータ(f)に付与され
た第7図に示すような楽音が生成され、D/A変換器6
を介してスピーカ7より放音される。
is incremented during attack and decremented during decay, musical tone data A is partially inverted to negative polarity as shown in the lower part of FIG. 8 according to the value of noise data (f). ~
A6 is output. Therefore, a musical tone as shown in FIG. 7 is generated in which a varying envelope as shown in FIG. 6 is added to the noise data (f), and the D/A converter 6
The sound is emitted from the speaker 7 via.

また、クロック信号φ8、φ2、φ8、Gの周期を短く
又は長く変化させれば、それに応じてノイズデータ(f
)のN1”信号の幅が短くなったり長くなったりして、
周波数成分が変化して種々の音色の楽音を出力させるこ
とができる。
Furthermore, if the periods of the clock signals φ8, φ2, φ8, and G are changed to be shorter or longer, the noise data (f
) N1” signal width becomes shorter or longer,
By changing the frequency components, it is possible to output musical tones with various tones.

〔第2実施例〕 第9図、第10図は第2実施例を示すものである。[Second example] FIGS. 9 and 10 show a second embodiment.

本実施例では、デューティ比制御回路2のみを第9図に
示すように、クロック信号(a)をラッチ18.19を
介してN進カウンタ20を経て出力させるとともに、ラ
ッチ21を介してN進カウンタ22を経て出力させ、こ
の出力(iHj)を排他的オアゲート3に入力するよう
にしている。
In this embodiment, as shown in FIG. 9, only the duty ratio control circuit 2 outputs the clock signal (a) through the N-ary counter 20 via the latch 18 and 19, and outputs the clock signal (a) through the N-ary counter 20 via the latch 21. The signal is outputted via the counter 22, and this output (iHj) is input to the exclusive OR gate 3.

ラッチ18は上記ランチ13.14と同じくりpツク信
号φ1印加時にデータを取り入れクロック信号φ2印加
時に取り入れたデータを出力し、ラッチ19.21は上
記ラッチ15〜17と同じくクロック信号φ、印加時に
データを取り入れクロック信号φ2印加時Qこ取り入れ
たデータを出力するものである。
The latch 18, like the above-mentioned launches 13.14, takes in data when the clock signal φ1 is applied, and outputs the data taken in when the clock signal φ2 is applied, and the latches 19.21, like the latches 15 to 17, take in the data when the clock signal φ1 is applied, and output the data when the clock signal φ2 is applied. It takes in data and outputs the data that has been taken in for Q times when the clock signal φ2 is applied.

これにより、本実施例では周波数発生回路1からのクロ
ック信号(a)が第10図に示すようにタイミング別に
2つの信号(り)(h)に分解さね、N進カウンタ20
、N進カウンタ22をそれぞれN=31M=5とすると
、各カウンタ20.22よりそれぞれデューティ比33
%のクロック信号(i)と20%のクロック信号N)が
出力することになり前述の50%のものとはまた異なる
変化のあるノイズデータ(f)を得ることができる。
As a result, in this embodiment, the clock signal (a) from the frequency generating circuit 1 is not decomposed into two signals (ri) and (h) according to timing as shown in FIG.
, N-ary counter 22 is set to N=31M=5, each counter 20.22 has a duty ratio of 33.
% clock signal (i) and 20% clock signal N) are output, so that it is possible to obtain noise data (f) having a variation different from that of 50% described above.

なお、ノイズデータ(f)は、デコーダD1の出カバタ
ーンやデューティ比制御回路2におけるデューティ比を
エンベロープデータE0〜E、の値に従って時間的に変
化させれば、よりダイナミックな周波数成分をもつ楽音
を得ることができる。
Note that the noise data (f) can be produced by changing the output pattern of the decoder D1 and the duty ratio of the duty ratio control circuit 2 over time according to the values of the envelope data E0 to E, to produce musical sounds with more dynamic frequency components. Obtainable.

また、周波数発生回路1の出力であるクロック信号(a
)は2種類の周波数クロックをシリアルにしたものだけ
でなく、デコーダD1、D2のラインを増加して3種類
以上の周波数クロックをシリアルにしたものでもよい。
In addition, the clock signal (a
) may be one in which two types of frequency clocks are serialized, or three or more types of frequency clocks are serialized by increasing the number of lines of decoders D1 and D2.

さらに、デューティ比制御回路2は上記実施例のゲート
やランチやカウンタを用いたもの以外に、デューティ比
を制御できるものであればどのような回路でもよい。
Further, the duty ratio control circuit 2 may be any circuit other than the one using the gate, launch, or counter of the above embodiments as long as it can control the duty ratio.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明は例えば打楽器音等に適した楽
音を得るのにクロック信号から所定のデユーティ比の出
力を得てこれをノイズデータに変換してエンベロープを
かけるようにしたから、装置全体をデジタル回路で実現
することができ、LSI化して部品点数を減少させると
ともに実装面積も減少させることもでき、装置の小型化
が可能となって装置の低コスト化もできるようになるほ
か、デジタル回路で実現できるほか雑音や温度等の外的
因子の影響を受けにくくクリアな楽音を生成することが
でき、またクロック信号φ1〜φ3の周期等を変えるだ
けで、単一の装置で種々の楽音を発生させることができ
る等の効果を奏する。
As described above, the present invention obtains an output with a predetermined duty ratio from a clock signal, converts it into noise data, and applies an envelope to it to obtain a musical tone suitable for, for example, a percussion instrument. can be realized with digital circuits, and by using LSI, the number of parts and mounting area can be reduced, making it possible to miniaturize the device and lower the cost of the device. In addition to being able to generate clear musical tones that are not affected by external factors such as noise and temperature, it is also possible to generate various musical tones with a single device by simply changing the cycles of clock signals φ1 to φ3. This has effects such as being able to generate .

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

図面は本発明の各実施例を示すもので、第1図は全体構
成概略図、第2図は周波数発生回路1及びデューティ比
制御回路2の回路図、第3図は第2図の各部の信号のタ
イムチャートを示す図、第4図はゲート回路4の回路図
、第5図は楽音データA。−A6の内容を示す図、第6
図はエンベロープデータE。−E5の出力例を示す図、
第7図は楽音データA。−A、の出力例を示す図、第8
図は第4図の各部の信号のタイムチャートを示す図、第
9図は第2実施例のデューティ比制御回路20回路図、
第10図は第9図の各部の信号のタイムチャートを示す
図である。 1・・・・・・周波数発生回路、2・・・・・・デュー
ティ比制御回路、3・・・・・・排他的オアゲート、4
・・・・・・ゲート回路、Dl、D2・・・・・・デコ
ーダ、9〜12・・・・・・シフトレジスタ、13.1
4.19.20.22・・・・・・ラッチ、21・・・
・・・N進カウンタ、23・・・・・・M進カウンタ。 特許出願人 カシオ計算機株式会社 第4図 第5図 第6図
The drawings show each embodiment of the present invention. FIG. 1 is a schematic diagram of the overall configuration, FIG. 2 is a circuit diagram of the frequency generation circuit 1 and duty ratio control circuit 2, and FIG. 3 is a diagram of each part of FIG. 2. FIG. 4 is a circuit diagram of the gate circuit 4, and FIG. 5 is the musical tone data A. - Diagram showing the contents of A6, No. 6
The figure shows envelope data E. - A diagram showing an example of the output of E5,
Figure 7 is musical tone data A. Figure 8 showing an example of the output of -A.
The figure shows a time chart of the signals of each part in FIG. 4, and FIG. 9 is a circuit diagram of the duty ratio control circuit 20 of the second embodiment.
FIG. 10 is a diagram showing a time chart of signals of each part in FIG. 9. DESCRIPTION OF SYMBOLS 1... Frequency generation circuit, 2... Duty ratio control circuit, 3... Exclusive OR gate, 4
...Gate circuit, Dl, D2...Decoder, 9 to 12...Shift register, 13.1
4.19.20.22... Latch, 21...
...N-ary counter, 23...M-ary counter. Patent applicant Casio Computer Co., Ltd. Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] 複数の周波数クロックをシリアル信号として出力する周
波数発生回路と、この周波数発生回路から出力される信
号のデューティ比を制御するデューティ比制御回路と、
このデューティ比制御回路からのデューティ比が制御さ
れた出力クロックをノイズデータに変換する手段と、こ
の変換手段から出力されるノイズデータにエンベロープ
を付与する手段とを有することを特徴とする楽音発生回
路。
a frequency generation circuit that outputs a plurality of frequency clocks as serial signals; a duty ratio control circuit that controls the duty ratio of the signal output from the frequency generation circuit;
A musical tone generation circuit comprising means for converting an output clock whose duty ratio is controlled from the duty ratio control circuit into noise data, and means for adding an envelope to the noise data output from the conversion means. .
JP59116647A 1984-06-08 1984-06-08 Musical sound generation circuit Pending JPS60260998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59116647A JPS60260998A (en) 1984-06-08 1984-06-08 Musical sound generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59116647A JPS60260998A (en) 1984-06-08 1984-06-08 Musical sound generation circuit

Publications (1)

Publication Number Publication Date
JPS60260998A true JPS60260998A (en) 1985-12-24

Family

ID=14692400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59116647A Pending JPS60260998A (en) 1984-06-08 1984-06-08 Musical sound generation circuit

Country Status (1)

Country Link
JP (1) JPS60260998A (en)

Similar Documents

Publication Publication Date Title
US4258602A (en) Electronic keyboard musical instrument of wave memory reading type
JPS60254097A (en) Distorted waveform generator
JPS6230634B2 (en)
JPS60260998A (en) Musical sound generation circuit
US4205580A (en) Ensemble effect in an electronic musical instrument
JPS6141193A (en) Electronic musical instrument
JP2586443B2 (en) Waveform generator
JPS6035077B2 (en) electronic musical instruments
JPS60260999A (en) Percussion instrument sound generator
JP3381284B2 (en) Parameter writing device
JP3187466B2 (en) Electronic musical instrument
KR960008767Y1 (en) Sound generating device for tone color of electronic organ
JPS6230637B2 (en)
JP2689539B2 (en) Divider
JPS6039919Y2 (en) automatic accompaniment device
JPS6232795B2 (en)
JPS59102289A (en) Envelope controlling circuit
JPS6054679B2 (en) Sound source signal generator for electronic musical instruments
JPH01101589A (en) Control signal generator for electronic musical instrument
JPS60261000A (en) Amplitude controlling circuit
JPS6036596B2 (en) Electronic time striking circuit striking signal generator
JPS6010654B2 (en) Timing signal generation circuit
JPS6152477B2 (en)
JPS6260714B2 (en)
JPS61283098A (en) Waveform information reader