JPH022154B2 - - Google Patents

Info

Publication number
JPH022154B2
JPH022154B2 JP52073633A JP7363377A JPH022154B2 JP H022154 B2 JPH022154 B2 JP H022154B2 JP 52073633 A JP52073633 A JP 52073633A JP 7363377 A JP7363377 A JP 7363377A JP H022154 B2 JPH022154 B2 JP H022154B2
Authority
JP
Japan
Prior art keywords
key
data
signal
counter
output
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 - Lifetime
Application number
JP52073633A
Other languages
Japanese (ja)
Other versions
JPS547918A (en
Inventor
Kinji Kawamoto
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7363377A priority Critical patent/JPS547918A/en
Publication of JPS547918A publication Critical patent/JPS547918A/en
Publication of JPH022154B2 publication Critical patent/JPH022154B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 本発明はミユージツクシンセサイザの音源部に
関し、とくに、デイジタル化したミユージツクシ
ンセイザに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sound source section of a music synthesizer, and more particularly to a digital music synthesizer.

従来、ミユージツクシンセサイザはアナログ方
式でつくられている。これは、鍵盤の各鍵に対応
した鍵電圧を発生させ、鍵電圧にビブラート信号
などの変調信号電圧を加算し、この信号を逆対数
変換器によつて等比間隔の尺度にもとづく電圧に
変換し、この電圧によつて電圧制御発振器を制御
して音階信号を発生させるものである。そしてこ
の音源信号を電圧制御波器に加えて所望の音色
づけを行ない楽音信号をつくり出す。電圧制御
波器の周波数特性を制御するためには上記鍵電圧
や別に設けたエンベロープ信号(一般にADSR信
号という)を使う。電圧制御波器の出力は電圧
制御増幅器に印加される。電圧制御増幅器には別
のエンベロープ信号が増幅度制御用に印加され
て、楽音信号の音量変化が付与される。
Conventionally, music synthesizers have been made using analog methods. This generates a key voltage corresponding to each key on the keyboard, adds a modulation signal voltage such as a vibrato signal to the key voltage, and converts this signal to a voltage based on a geometric interval scale using an anti-logarithm converter. This voltage controls a voltage controlled oscillator to generate a scale signal. This sound source signal is then applied to a voltage controlled wave generator to impart desired timbre to create a musical tone signal. In order to control the frequency characteristics of the voltage-controlled waveform, the above-mentioned key voltage and a separately provided envelope signal (generally called an ADSR signal) are used. The output of the voltage controlled waver is applied to a voltage controlled amplifier. Another envelope signal is applied to the voltage controlled amplifier for amplification control, thereby imparting volume changes to the musical tone signal.

このようなアナログ電圧制御技術による従来の
ミユージツクシンセイザは、動作が不安定で長時
間の連続使用に耐えないものである。とくに楽器
の生命であるピツチの安定度や音階の正確さの点
に、改良が望まれていた。本発明は、このような
従来の欠点を改良することを目的としている。
Conventional music synthesizers using such analog voltage control technology operate unstablely and cannot withstand continuous use for long periods of time. In particular, improvements were desired in terms of the stability of the pitch, which is the lifeblood of an instrument, and the accuracy of the scale. The present invention aims to improve these conventional drawbacks.

本発明は、電子楽器とくにその移調装置をデイ
ジタル化し、動作を確実たらしめるものである。
すなわち、本発明は、複数の鍵によつて駆動され
るスイツチを含む鍵スイツチと上記鍵スイツチの
うち押鍵された鍵スイツチの位置に応じた数値情
報を出力するキーアサイナと、移調用のデイジタ
ル形式の移調データが設定でき、かつこれを出力
する移調装置を備え、上記のの数値情報と上記移
調データとを加算または減算し得た和または差デ
ータを、上記押鍵された鍵スイツチの位置に応じ
たキーデータとして用い、上記キーデータによつ
て所定の音階音を出力するようにした電子楽器を
提供するものである。上記のキーアサイナは各鍵
スイツチを走査して鍵スイツチの開閉を検出する
デコーダやデータセレクタから成る走査装置と、
走査した鍵の数を計数するカウンタをもつてお
り、そのカウンタの初期値として上記移調データ
を用いている。また別の方法として、キーアサイ
ナは上記鍵スイツチの複数個を一群として複数群
にわけ各群ごとに一括して開閉を検出する走査装
置と、上記検出結果に応じて数値情報に変換する
装置と、上記数値情報と上記移調データとの加減
算を行なつてキーデータを得る加減算装置とも持
つように構成している。
The present invention digitizes an electronic musical instrument, particularly its transposing device, to ensure reliable operation.
That is, the present invention provides a key switch including a switch driven by a plurality of keys, a key assigner that outputs numerical information according to the position of a depressed key switch among the key switches, and a digital format for transposing. It is equipped with a transposing device that can set and output transposition data, and adds or subtracts the numerical information of above and the transposition data, and adds or subtracts the sum or difference data to the position of the pressed key switch. The present invention provides an electronic musical instrument that outputs predetermined scale tones based on the key data. The above-mentioned key assigner includes a scanning device consisting of a decoder and a data selector that scans each key switch to detect whether the key switch is open or closed;
It has a counter that counts the number of scanned keys, and uses the above transposition data as the initial value of the counter. As another method, the key assigner includes a scanning device that divides the plurality of key switches into a plurality of groups and detects opening/closing of each group at once, and a device that converts into numerical information according to the detection result. It is configured to also have an addition/subtraction device that adds and subtracts the numerical information and the transposition data to obtain key data.

以下図面と共に説明する。以下の説明、及び、
図面において、LDはロードを意味し、カウンタ
やラツチに外からデータを入力するものである。
CKはカウンタのクロツク端子である。CLはカウ
ンタやレジスタの内容をOにするクリア端子であ
る。Dは遅延器で一般にはDフリツプフロツプを
用い、適当なクロツクによつて、約1クロツク分
入力を遅らせる。各カウンタやレジスタ、ラツチ
などは、現在、TTLやCMOSなどの集積回路と
して入手できるものであるから、いたずらに詳し
い説明はしていない。また、説明および理解のし
やすいように、すべて正論理によつて説明してい
る。
This will be explained below with reference to the drawings. The following explanation, and
In the drawings, LD means load, which inputs data into counters and latches from the outside.
CK is the clock terminal of the counter. CL is a clear terminal that sets the contents of counters and registers to O. D is a delay device, generally a D flip-flop, which delays the input by about one clock using a suitable clock. Each counter, register, latch, etc. is currently available as an integrated circuit such as TTL or CMOS, so I will not explain it in detail. Also, to make it easier to explain and understand, everything is explained using positive logic.

第1図は本発明のブロツク図である。1は鍵盤
の各鍵によつて開閉操作される鍵スイツチであ
る。2はキーアサイナであつて、鍵スイツチ1の
うちどの鍵スイツチが選択されているかを調べ、
選択された鍵スイツチに対応したキーデータ(一
般に2進コード形式)を出力する。14は移調装
置であつて、12半音階のハ調、ニ調などの12種
類の調に対応した移調データTPSをキーアサイ
ナ2に供給する。上記キーデータKDTには移調
データKPSが加算されて含まれている。11は
デイジタル表現されたキーデータKDTをアナロ
グのキー電圧に変換するためのDA変換器であ
る。9は変調装置であつて、ビブラート効果のよ
うな周波数変調のための変調データMDTを出力
する。ビブラート効果を三角波状にかける場合、
変調データMDTは、2進コード形式でその値が
ほぼ一定量ずつ増減するようなコードにする。1
0は粗調装置であつて、最終的に音階信号の周波
数を可聴周波数範囲の任意の領域に設定するため
に、粗調データCDTを出力する。粗調データ
CDTは、後述する音階信号の構成方法によつて
異なるが、本実施例では11ビツトの2進コードを
用いる。4はノート演算装置であつて、キーデー
タKDTと粗調データCDTと変調データMDTと
を加算(または一部減算)し、後述するmodulo
演算を行なつて、ノートアドレスとオクターブア
ドレスの2つのコードを出力する。ノートアドレ
スは1オクターブ内のどのような音高であるかを
指定するコードであり、オクターブアドレスは、
上記1オクターブ内の音高を1オクターブ間隔で
分周する際のオクターブ数を指定するコードであ
る。
FIG. 1 is a block diagram of the present invention. Reference numeral 1 denotes a key switch that is opened and closed by each key on the keyboard. 2 is a key assigner, which checks which key switch is selected among key switches 1;
Key data (generally in binary code format) corresponding to the selected key switch is output. Reference numeral 14 denotes a transposing device that supplies transposition data TPS corresponding to 12 types of keys such as C and D of the 12 chromatic scale to the key assigner 2. The key data KDT includes transposition data KPS added thereto. 11 is a DA converter for converting digitally expressed key data KDT into an analog key voltage. Reference numeral 9 is a modulation device that outputs modulation data MDT for frequency modulation such as vibrato effect. When applying a vibrato effect in a triangular waveform,
The modulation data MDT is a binary code whose value increases or decreases by a substantially constant amount. 1
0 is a coarse adjustment device which outputs coarse adjustment data CDT in order to finally set the frequency of the scale signal to an arbitrary range of the audible frequency range. Coarse data
The CDT differs depending on the method of configuring the scale signal, which will be described later, but in this embodiment, an 11-bit binary code is used. 4 is a note calculation device that adds (or partially subtracts) key data KDT, coarse adjustment data CDT, and modulation data MDT,
It performs calculations and outputs two codes: a note address and an octave address. Note address is a code that specifies the pitch within one octave, and octave address is
This is a code that specifies the number of octaves when frequency-dividing the above-mentioned pitch within one octave at intervals of one octave.

音階信号は、クロツク発振器12、クロツク処
理装置8、微調装置13、プログラムデバイタ
6、オクターブデバイダ7によつてつくり出され
る。クロツク発振器12は周波数fc(fc=約8M
Hz)のトーンクロツク信号TCKを発生するもの
で、発振周波数が安定なもの、たとえば、水晶発
振器のようなもので構成されている。微調装置1
3は微調パルスFINを出力する発振器で、その周
波数はトーンクロツク信号TCKの周波数より低
く、一般に800KHz以下であり、かつ、その周波
数が可変抵抗器やスイツチなどによつて変化でき
るようなものである。クロツク処理装置8は、上
記トーンクロツク信号TCKのパルス列から、上
記微調パルスFINにしたがつて、パルスを抜取る
ことによつて、上記トーンクロツク信号TCKの
パルス列の密度を下げ、その結果、周波数を下げ
るものである。この周波数をαfcとする。クロツ
ク処理装置8の出力パルスはプログラムデバイダ
6に加えられ、第8図に示すような所定の分周数
Nにしたがつて分周される。プログラムデバイダ
6の出力の周波数は、αfc/Nになる。この出力信
号はオクターブデバイダ7に加えられて、2のべ
き乗の分周が行なわれる。したがつて、音階信号
の周波数は、αfc/N・2n(n=0、1、2、…)
になる。
The scale signal is generated by a clock oscillator 12, a clock processing device 8, a fine adjustment device 13, a program divider 6, and an octave divider 7. The clock oscillator 12 has a frequency fc (fc = approximately 8M
It generates a tone clock signal TCK (Hz), and consists of something with a stable oscillation frequency, such as a crystal oscillator. Fine adjustment device 1
3 is an oscillator that outputs a fine adjustment pulse FIN, whose frequency is lower than the frequency of the tone clock signal TCK, generally 800 KHz or less, and whose frequency can be changed by a variable resistor, a switch, etc. The clock processing device 8 lowers the density of the pulse train of the tone clock signal TCK by extracting pulses from the pulse train of the tone clock signal TCK in accordance with the fine adjustment pulse FIN, thereby lowering the frequency. It is. Let this frequency be αfc. The output pulses of the clock processor 8 are applied to the program divider 6 and are divided according to a predetermined frequency division number N as shown in FIG. The frequency of the output of the program divider 6 is αfc/N. This output signal is applied to an octave divider 7 to perform frequency division by a power of two. Therefore, the frequency of the scale signal is αfc/N・2 n (n=0, 1, 2,...)
become.

プログラムデバイダ6の分周数Nはノートテー
ブル5により与えられる。ノートテーブル5はノ
ートアドレスにしたがつて、所定の分周数Nに対
応するコードを出力するROM(リードオンリー
メモリ)で構成されている。オクターブデバイダ
7の分周数2nのnはオクターブアドレスにしたが
つて決められる。
The frequency division number N of the program divider 6 is given by the note table 5. The note table 5 is composed of a ROM (read only memory) that outputs a code corresponding to a predetermined frequency division number N according to a note address. The frequency division number 2n of the octave divider 7 is determined according to the octave address.

キーオンパルス発生器3は、鍵スイツチ1のう
ち1つでも押さえられていると“1”になり、鍵
スイツチが押されていないと、“0”になるよう
なキーオンパルスを出力する。
The key-on pulse generator 3 outputs a key-on pulse that becomes "1" when any one of the key switches 1 is pressed, and becomes "0" when no key switch is pressed.

これらの各部分は、タイミングパルス発生器1
6が出力するさまざまなタイミングパルスによつ
て動作する。
Each of these parts is connected to a timing pulse generator 1.
6 outputs various timing pulses.

以下、第1図の各部分のさらに詳細な構成とそ
の動作について、第7図のタイミングチヤートと
共に説明する。
Hereinafter, the detailed structure and operation of each part shown in FIG. 1 will be explained together with the timing chart shown in FIG. 7.

〔鍵スイツチ、キーアサイナ〕[Key switch, key assigner]

第2図は鍵スイツチ1、キーアサイナ2の一実
施例の図である。第2図の下部にはノート演算装
置4の一部も示されている。キーアサイナ2やそ
の他の本実施例における各部分は、すべて、第7
図に示すように、1周期を単位とする繰返し動作
を行なうが、説明の都合上、キースタート信号
KSTから説明する。
FIG. 2 is a diagram of an embodiment of the key switch 1 and key assigner 2. A part of the note calculation device 4 is also shown in the lower part of FIG. The key assigner 2 and other parts in this embodiment are all
As shown in the figure, the operation is repeated in units of one cycle, but for the sake of explanation, the key start signal is
I will explain from KST.

キースタート信号KSTは6進カウンタ2−3
と8進カウンタ2−4とのCL端子に加わり、両
カウンタ2−3と2−4をクリアすると共に遅延
器2−5を介しててRSフリツプフロツプ2−6
をセツトする。キークロツク信号KCKは、主ク
ロツク信号ACKを1/16に分周した信号であつて、
アンドゲート2−7に印加されている。RSフリ
ツプフロツプ2−6がセツトされた後、キーエネ
ーブル信号KENがアンドゲート2−7に入ると、
キークロツク信号KCKはアンドゲート2−7を
通過して6進カウンタ2−3のCK端子に入り、
カウントを開始する。6進カウンタ2−3の桁上
げ出力は8進カウンタ2−4のCK端子に入り、
8進カウンタ2−4を駆動動する。6進カウンタ
2−3の3ビツトの出力はデータセレクタ2−2
のアドレス入力端子A0,A1,A2に加えられ、デ
ータ入力端子D0〜D5に加えられるデータのうち
の1つだけを選択して出力端子に出力する。この
出力信号をキー出力信号KOTを呼ぶ。8進カウ
ンタ2−4の3ビツトの出力はデコーダ2−1の
入力端子A0,A1,A2に加えられ、(A2、A1、
A0)の3ビツトのコードにしたがつて、出力端
子Q0〜Q7のうちの1つを選択し、そこに出力を
出す。
Key start signal KST is hexadecimal counter 2-3
and the CL terminal of the octal counter 2-4, clearing both counters 2-3 and 2-4, and passing through the delay device 2-5 to the RS flip-flop 2-6.
Set. The key clock signal KCK is a signal obtained by dividing the main clock signal ACK by 1/16.
It is applied to AND gate 2-7. After the RS flip-flop 2-6 is set, when the key enable signal KEN enters the AND gate 2-7,
The key clock signal KCK passes through the AND gate 2-7 and enters the CK terminal of the hexadecimal counter 2-3.
Start counting. The carry output of the hexadecimal counter 2-3 enters the CK terminal of the octal counter 2-4,
The octal counter 2-4 is driven. The 3-bit output of the hexadecimal counter 2-3 is sent to the data selector 2-2.
Selects only one of the data applied to the address input terminals A 0 , A 1 , A 2 and data input terminals D 0 to D 5 and outputs it to the output terminal. This output signal is called the key output signal KOT. The 3-bit output of the octal counter 2-4 is added to the input terminals A 0 , A 1 , A 2 of the decoder 2-1, and (A 2 , A 1 ,
According to the 3-bit code of A 0 ), one of the output terminals Q 0 to Q 7 is selected and the output is sent there.

鍵スイツチ1は、データセレクタ2−2の入力
D0〜D5を各行とし、デコーダ2−1の出力Q0〜
Q7を各列とするマトリツクスの交点に、ダイオ
ードと直列に配置されたスイツチ1−1により構
成成されている。マトリツクスの交点(Q0,D0)
に最低音の鍵スイツチを配し、(Q0,D1)、(Q0,
D2)、……、(Q0,D5)、(Q1,D0)、……の順に、
より高音の鍵スイツチを配するようにする。ま
た、6進カウンタ2−3の計数によつて、D0、
D1、D2、……、D5の順にデータが選択され、か
つ、8進カウンタ2−4の計数によつて、Q0、
Q1、Q2、……、Q7の順に出力が走査信号とし出
るものとすれば、上記マトリツクスの交点が低音
の鍵スイツチから高音の鍵スイツチへ順にスキヤ
ンされる。鍵スイツチが押されているときには、
その鍵スイツチに対応するスキヤン時点におい
て、キー出力信号KOTが“1”になり、その鍵
スイツチが押されていなければ、キー出力信号
KOTは“0”になる。
Key switch 1 inputs data selector 2-2.
D 0 to D 5 are each row, and the output of decoder 2-1 is Q 0 to
It consists of a switch 1-1 placed in series with a diode at the intersection of a matrix with Q7 as each column. Intersection of the matrix (Q 0 , D 0 )
The lowest pitch key switch is placed at (Q 0 , D 1 ), (Q 0 ,
D 2 ), ..., (Q 0 , D 5 ), (Q 1 , D 0 ), ... in order,
Arrange a key switch with a higher pitch. Also, by the count of the hexadecimal counter 2-3, D 0 ,
The data are selected in the order of D 1 , D 2 , ..., D 5 , and by the count of the octal counter 2-4, Q 0 ,
If the outputs are output as scanning signals in the order of Q 1 , Q 2 , . When the key switch is pressed,
At the time of scanning corresponding to that key switch, the key output signal KOT becomes "1" and if that key switch is not pressed, the key output signal KOT becomes "1".
KOT becomes “0”.

6進カウンタ2−3と8進カウンタ2−4とが
計数開始し、上記マトリツクスをスキヤンしてゆ
き、鍵スイツチがONの交点にくるとキー出力信
号KOTが現われる。最初に現われたキー出力信
号KOTが、押鍵されている鍵のうちの最低音の
鍵に対応することになる。
The hexadecimal counter 2-3 and the octal counter 2-4 start counting, scan the matrix, and when the key switch comes to the ON intersection, the key output signal KOT appears. The key output signal KOT that appears first corresponds to the lowest note of the pressed keys.

先に説明したキースタート信号KSTは、プリ
セツタブルカウンタ2−8のLD端子にも印加さ
れており、キースタート信号KSTによつて、プ
リセツタブルカウンタ2−8のプリセツト入力端
子D0,D1,D2,D3に加えられた移調データTPS
が、プリセツトされる。先に説明したアンドゲー
ト2−7の出力がプリセツタブルカウンタ2−8
のCK端子に印加されるので、6進カウンタ2−
3とプリセツタブルカウンタ2−8は同期して計
数を行なう。したがつて、プリセツタブルカウン
タ2−8の計数値は移調データPSを初期値とし
て、以後、CK端子に加えられるクロツク信号の
パルス数だけ増加してゆく。
The key start signal KST described above is also applied to the LD terminal of the presettable counter 2-8, and the key start signal KST causes the preset input terminals D 0 and D of the presettable counter 2-8 to be input. Transposition data TPS added to 1 , D 2 , D 3
is preset. The output of the AND gate 2-7 explained earlier is the presettable counter 2-8.
Since the voltage is applied to the CK terminal of the hexadecimal counter 2-
3 and the presettable counter 2-8 perform counting in synchronization. Therefore, the count value of the presettable counter 2-8 uses the transposition data PS as an initial value, and thereafter increases by the number of pulses of the clock signal applied to the CK terminal.

データセレクタ2−2から、先に述べたよう
に、キー出力信号KOTが出力されると、このキ
ー出力信号KOTはRSフリツプフロツプ2−6の
R端子に加わつてリセツトし、その出力Qを
“0”にするのでアンドゲート2−7は禁止とな
り、キークロツク信号KCKはアンドゲート2−
7において阻止され、6進カウンタ2−3、8進
カウンタ2−4とプリセツタブルカウンタ2−8
は計数を停止する。キー出力信号KOTは6ビツ
トのラツチ2−9のLD端子に印加され、プリセ
ツタブルカウンタ2−8の最終計数値Q0〜Q5は
ラツチ2−9の入力端子D0〜D5に加えられて記
憶され、このデータはキーデータKDTとしてDA
変換器11とノート演算処理装置4とに印加され
る。このキーデータKDTはラツチ2−9のLD端
子に新たにパルスが印加されるまで記憶されつづ
ける。
As mentioned above, when the key output signal KOT is output from the data selector 2-2, this key output signal KOT is applied to the R terminal of the RS flip-flop 2-6 to reset its output Q to "0". ”, AND gate 2-7 is disabled, and key clock signal KCK is disabled from AND gate 2-7.
7, hexadecimal counter 2-3, octal counter 2-4 and presettable counter 2-8
stops counting. The key output signal KOT is applied to the LD terminal of the 6-bit latch 2-9, and the final count value Q 0 to Q 5 of the presettable counter 2-8 is applied to the input terminal D 0 to D 5 of the latch 2-9. This data is stored in the DA as key data KDT.
The signal is applied to the converter 11 and the note arithmetic processing device 4. This key data KDT continues to be stored until a new pulse is applied to the LD terminal of latch 2-9.

6進カウンタ2−3やプリセツタブルカウンタ
2−8が計数したキークロツク信号KCKのパル
ス数は、鍵スイツチのマトリツクスの(Q0、D0)
から始めて、最初にONになつている鍵スイツチ
の交点までの、交点の数、いいかえると、最低音
の鍵から数え始めてONにならている最初の鍵ま
での鍵数に等しい。また別の表現をすると、低音
優先方式によつて、押されている鍵中の最低音の
鍵を表わしているとも云える。プリセツタブルカ
ウンタ2−8の初期値は移調データTPSであつ
た。したがつて、キーデータKDTは上記押鍵中
の最低音鍵の番号と移調データTPSとを加算し
たデータになる。移調データTPSが0、すなわ
ち2進数で0000であれば、キーデータKDTは、
鍵の番号に一致する。移調データが1であれば、
キーデータKDTは、実際に押鍵された鍵の番号
より1鍵高い鍵を指示することになる。これは半
音だけ高音側に移調したのと等価である。したが
つて移調データTPSをサムウイールスイツチの
ようなデイジタルスイツチを使つて0〜11の12通
り用意すれば、12均律各調への移調が可能にな
る。
The number of pulses of the key clock signal KCK counted by the hexadecimal counter 2-3 and the presettable counter 2-8 is the (Q 0 , D 0 ) of the key switch matrix.
Starting from , it is the number of intersections to the intersection of the first key switch that is turned on. In other words, it is equal to the number of keys starting from the lowest key and counting to the first key that is turned on. In other words, it can be said that the lowest note among the keys being pressed is represented by the bass priority method. The initial value of the presettable counter 2-8 was the transposition data TPS. Therefore, the key data KDT is the sum of the number of the lowest key being pressed and the transposition data TPS. If the transposition data TPS is 0, that is, 0000 in binary, the key data KDT is
Matches the key number. If the transposition data is 1,
The key data KDT indicates a key that is one key higher than the key number actually pressed. This is equivalent to transposing the pitch one semitone higher. Therefore, if you prepare the transposition data TPS in 12 ways from 0 to 11 using a digital switch such as a thumbwheel switch, it becomes possible to transpose to each of the 12 equally tempered keys.

上記マトリツクスの交点は、6×8=48あるか
ら、最大48鍵の鍵盤まで使用可能である。48鍵の
うち、どの鍵も押されていなければ、キー出力信
号KOTは出力されない。後述するようにシステ
ムの拡張ができるように、キークロツク信号
KCKはマトリツクスを2回スキヤンする。すな
わち、キークロツク信号KCKが48個のパルスを
出力すると、再び、キースタート信号KSTを発
生させて、6進カウンタ2−3、8進カウンタ2
−4およびプリセツタブルカウンタ2−8をクリ
ア、またはロードの状態にし、再び48個のキーク
ロツク信号KCKにより、マトリツクスをスキヤ
ンする。合計96個(=48×2個)のキークロツク
信号KCKにより、上記マトリツクスを2回スキ
ヤンし終ると、キーエネーブル信号KENが“0”
になりゲート2−7を禁止し、6進カウンタ2−
3とプリセツタブルカウンタ2−8の計数は停止
する。上記2回のマトリツクスのスキヤン中に、
押鍵がなくてキー出力信号KOTが発生しなけれ
ば、ラツチ2−9はそれ以前のキーデータKDT
を出力しつづけるので、離鍵したときも、離鍵前
のキーデータKDTが記されることになる。
Since there are 6×8=48 intersections in the above matrix, a keyboard with up to 48 keys can be used. If none of the 48 keys is pressed, the key output signal KOT is not output. A key clock signal is provided to allow system expansion as described below.
KCK scans the matrix twice. That is, when the key clock signal KCK outputs 48 pulses, the key start signal KST is generated again, and the hexadecimal counter 2-3 and the octal counter 2
-4 and presettable counter 2-8 are cleared or loaded, and the matrix is scanned again using the 48 key clock signals KCK. When the above matrix is scanned twice using a total of 96 (=48 x 2) key clock signals KCK, the key enable signal KEN becomes "0".
, inhibits gate 2-7, and inputs hexadecimal counter 2-
3 and the counting of the presettable counter 2-8 is stopped. During the above two matrix scans,
If no key is pressed and the key output signal KOT is not generated, latches 2-9 will output the previous key data KDT.
continues to be output, so even when the key is released, the key data KDT before the key was released will be recorded.

以上の説明により、鍵スイツチ1とキーアサイ
ナ2は、低音優先方式で、押鍵された鍵の番号と
移調データTPSの和に等しいキーデータKDTを
押鍵中および離鍵後も出力する動作をすることが
理解されるであろう。
According to the above explanation, the key switch 1 and the key assigner 2 operate to output key data KDT equal to the sum of the pressed key number and the transposition data TPS during the key depression and after the key is released, in a bass priority method. That will be understood.

上記説明において、キーエネーブル信号KEN
は、48×2=96のキークロツク信号KCK分用意
され、鍵スイツチ1のマトリツクスは2回スキヤ
ンされるようにした。鍵スイツチ1が48鍵以内の
場合には、1回スキヤンするように、タイミング
信号をつくつてもよい。上記実施例のようにして
おけば、少々の論理回路を追加するだけで、電子
オルガンで一般的である49鍵や61鍵に拡張するこ
とができる。この場合の実施例を、第2−a図に
示す。
In the above explanation, the key enable signal KEN
48×2=96 key clock signals KCK are prepared, and the matrix of key switch 1 is scanned twice. If the key switch 1 has 48 keys or less, a timing signal may be generated to scan once. If the above embodiment is used, it is possible to expand the number of keys to 49 keys or 61 keys, which are common in electronic organs, by simply adding a small amount of logic circuitry. An example in this case is shown in FIG. 2-a.

第2−a図において、デコーダ2−1の出力
Q0〜Q7のうち、最初にパルスを出すQ0の立上り
で単安定マルチバイブレータ2−10をトリガす
る。単安定マルチバイブレータ2−10はポジテ
イブエツジトリガで再トリガされない形式とす
る。単安定マルチバイブレータ2−10の出力す
るパルス幅は、デコーダ2−1の出力Q0〜Q7の
全パルス幅より少し大きいものとする。したがつ
て、単安定マルチバイブレータ2−10はQ0の
第1回目のパルスによつてトリガされるが、第2
回目のパルスではトリガされない。単安定マルチ
バイブレータ2−10の出力とデコーダ2−1
のQ7出力がアンドゲート2−11に加えられる。
したがつて、2回のスキヤンのうちの第1回目の
デコーダ2−1のQ7出力はアンドゲート2−1
1において禁止され、第2回目のQ7がTフリツ
プフロツプ2−12のCL端子に加わりリセツト
する。したがつて、Tフリツプフロツプ2−12
のT端子に加わるデコーダ2−1のQ0のうち、
第1回目のスキヤンに対応するものがTフリツプ
フロツプ2−12のQ出力を“1”にし、第2回
目のスキヤンに対応するものが“0”にする。そ
して、その後、上記第2回目のQ7がクリアし、
以下この動作をくり返す。なお、上記動作は本装
置の電源をONにした後の最初のシーケンスでは
成立しないが、2回目以降のシーケンスからは、
くり返して起きる。
In Figure 2-a, the output of decoder 2-1
Among Q 0 to Q 7 , the monostable multivibrator 2-10 is triggered at the rising edge of Q 0 which outputs a pulse first. The monostable multivibrator 2-10 is of a type that cannot be retriggered by a positive edge trigger. It is assumed that the pulse width output by the monostable multivibrator 2-10 is slightly larger than the total pulse width of the outputs Q0 to Q7 of the decoder 2-1. Therefore, the monostable multivibrator 2-10 is triggered by the first pulse of Q 0 , but not by the second pulse.
It is not triggered on the second pulse. Output of monostable multivibrator 2-10 and decoder 2-1
The Q7 output of is applied to AND gate 2-11.
Therefore, the Q7 output of the decoder 2-1 in the first of the two scans is the AND gate 2-1.
1, and the second Q7 is applied to the CL terminal of the T flip-flop 2-12 to reset it. Therefore, T flip-flop 2-12
Of the Q 0 of decoder 2-1 that is applied to the T terminal of
The one corresponding to the first scan sets the Q output of the T flip-flop 2-12 to "1", and the one corresponding to the second scan sets it to "0". And after that, the second Q 7 above was cleared,
Repeat this action below. Note that the above operation does not work in the first sequence after turning on the power of this device, but from the second and subsequent sequences,
Wake up repeatedly.

Tフリツプフロツプ2−12のQ出力は、8個
の2入力のアンド群2−13の各一方の入力端子
に加わつている。残りの各入力端子には、デコー
ダ2−1の出力Q0〜〜Q7がそれぞれ加わつてい
る。Tフリツプフロツプ2−12の出力は、ア
ンドゲート群2−14に加わつている。アンドゲ
ート群2−14の8個の各アンドゲート群2−1
4の8個の各アンドゲートの残りの各入力端子に
は、デコーダ2−1の出力Q0〜Q7がそれぞれ加
わつている。第1回目のスキヤンではアンドゲー
ト群2−13が選択され、これらに対応する鍵ス
イツチ1のうちの右半分のマトリツクスがスキヤ
ンされる。第2回目のスキヤンではアンドゲート
群2−14が選択されて、残りのマトリツクスが
スキヤンされる。鍵スイツチ1の左半分のマトリ
ツクスの各交点に、右半分のマトリツクスの各交
点の鍵スイツチにつづく高音側の鍵スイツチを順
次配列すれば、先に述べたように、低音優先機能
をもたせたまま、49鍵以上、最高96鍵までの鍵ス
イツチのスキヤンができることになる。なお、96
鍵のスキヤンをするときには、第2回のプリセツ
タブルカウンタ2−8、ラツチ2−9などを7ビ
ツトのものにしておく必要があることは云うまで
もない。
The Q output of the T flip-flop 2-12 is applied to one input terminal of each of eight two-input AND groups 2-13. Outputs Q 0 to Q 7 of the decoder 2-1 are respectively applied to the remaining input terminals. The output of T flip-flop 2-12 is applied to AND gate group 2-14. Each of the eight AND gate groups 2-1 of AND gate group 2-14
Outputs Q 0 to Q 7 of the decoder 2-1 are applied to the remaining input terminals of each of the eight AND gates of FIG. In the first scan, AND gate group 2-13 is selected, and the right half matrix of key switch 1 corresponding to these is scanned. In the second scan, AND gate group 2-14 is selected and the remaining matrices are scanned. By sequentially arranging the treble side key switches following the key switches at each intersection of the right half matrix at each intersection of the matrix on the left half of key switch 1, it is possible to maintain the bass priority function as described above. , it will be possible to scan key switches of 49 keys or more, up to a maximum of 96 keys. In addition, 96
Needless to say, when scanning a key, the second presettable counter 2-8, latch 2-9, etc. must be 7-bit.

このように、あらかじめ、タイミングのとり方
として、システム制御シーケンス時間内に複数の
走査時間区間を設けておき、第1の走査時間区間
と第2の走査時間区間とを別々のマトリツクスの
走査に用いるようにしておけば、種々の大きさの
鍵盤を用いることができる。このことは、本発明
を大規模な集積回路にする場合、その用途を拡大
することができることになるから非常に有利であ
る。とくに、集積回路のパツケージの端子数に制
約のある場合、通常は48鍵以下で使えるようにし
て端子数を減らしておきながら、必要な場合には
96鍵まで拡張できることになる。
In this way, the timing is set in advance by providing a plurality of scanning time intervals within the system control sequence time, and using the first scanning time interval and the second scanning time interval to scan different matrices. If you set it to 1, you can use keyboards of various sizes. This is very advantageous as it allows the application of the present invention to be expanded if it is made into a large scale integrated circuit. In particular, when the number of terminals on an integrated circuit package is limited, it is usually possible to use 48 keys or less to reduce the number of terminals, and if necessary,
This means that it can be expanded to 96 keys.

なお、上記第2−a図において、システム制御
シーケンス全体に対して同期した別の同期パルス
を用いてTフリツプフロツプ2−12の出力Qと
Qをつくるようにしてもよいことは云うまでもな
い。
It goes without saying that in FIG. 2-a, the outputs Q and Q of the T flip-flop 2-12 may be generated using another synchronizing pulse synchronized with the entire system control sequence.

上記説明において、移調装置14を省くには、
プリセツタブルカウンタ2−8の代りに、簡単な
カウンタを用いればよいことは云うまでもない。
また、上記6進と8進のカウンタ2−3と2−4
の内容をキーデータとして使つてもよい。
In the above description, in order to omit the transposing device 14,
It goes without saying that a simple counter may be used instead of the presettable counter 2-8.
In addition, the hexadecimal and octal counters 2-3 and 2-4
You may use the contents of as key data.

上記説明においては、低音の鍵スイツチよりス
キヤンをするようにして低音優先としたが、高音
優先で検出するには、鍵スイツチの配列をマトリ
ツクス上で変更して、高音の鍵スイツチほど早く
スキヤンされるようにすればよい。ただし、この
ときは、高音鍵ほどキーデータKDTは小さい数
となるので、後述するノート演算において、加減
算を変更する必要が生じる。また移調装置14の
出力する移調データTPSの値も大小逆にしなけ
ればならない。
In the above explanation, priority was given to low tones by scanning over low key switches, but in order to detect high tones with priority, change the arrangement of the key switches on the matrix so that the higher the key switch, the faster the key switches are scanned. All you have to do is make it so. However, in this case, the higher the key, the smaller the key data KDT becomes, so it is necessary to change the addition and subtraction in the note calculation described later. Further, the value of the transposing data TPS outputted from the transposing device 14 must also be reversed in magnitude.

上記説明においては、キーデータKDTをDA変
換器11によりアナログ電圧に変換するようにし
ているが、キーデータKDTをそのまま並列のデ
イジタル信号として出力してもよいし、出力端子
数を減らすために、直列データに変更してから出
力するようにしてもよい。このような並直列のデ
ータ変換は周知の技術であるから説明を省く。
In the above explanation, the key data KDT is converted into an analog voltage by the DA converter 11, but the key data KDT may be output as is as a parallel digital signal, or in order to reduce the number of output terminals, It is also possible to output the data after converting it to serial data. Since such parallel-serial data conversion is a well-known technique, its explanation will be omitted.

また、上記鍵スイツチ1を走査する走査装置と
してのデータセレクタ2−2、デコーダ2−1、
カウンタ2−3,2−4などは、鍵スイツチを順
次1個ずつ走査したが、電子卓上計算機などで知
られているように、鍵スイツチのグループごとに
走査して、そのグループの中の鍵スイツチの
ON,OFFを検出するようにしてもよい。また、
これらを、マイクロプロセツサ、マイクロコンピ
ユータのようにプログラム制御で走査し、上記移
調データの演算は、上記マイクロプロセツサなど
の演算装置によつて行なうようにしてもよい。
Further, a data selector 2-2 as a scanning device for scanning the key switch 1, a decoder 2-1,
Counters 2-3, 2-4, etc. scan the key switches one by one in sequence, but as is known in electronic desktop calculators, they scan each group of key switches and select the keys in that group. switch's
It is also possible to detect ON and OFF. Also,
These may be scanned under program control, such as by a microprocessor or microcomputer, and the calculation of the transposition data may be performed by an arithmetic device such as the microprocessor.

〔キーオンパルス発生器3〕 キーオンパルス発生器3は、鍵スイツチ1の48
個の各鍵スイツチのうち1個以上がONになつて
いるとき、キーオンパルスKONを発生させ、鍵
スイツチがすべてOFFになると、キーオンパル
スKONを出力させないようにする働きをもつて
いる。このキーオンパルスKONは、本発明のミ
ユージツクシンセサイザの音源部の出力を受けて
楽音信号をつくりだす際に使用される。
[Key-on pulse generator 3] The key-on pulse generator 3 is
When one or more of the key switches are turned on, a key-on pulse KON is generated, and when all the key switches are turned off, the key-on pulse KON is not output. This key-on pulse KON is used when receiving the output of the sound source section of the music synthesizer of the present invention and creating a musical tone signal.

第3図はキーオンパルス発生器3の実施例であ
る。第2図で説明したキー出力信号KOTは、遅
延器3−2と2ビツトのカウンタ3−1のCL端
子に印加される。遅延器3−2は、たとえばDフ
リツプフロツプで構成される。遅延器3−2の出
力はRSフリツプロツプ3−3のS(セツト)端子
に印加されている。カウンタ3−1の最上位ビツ
ト出力MSBはRSフリツプフロツプ3−3のR
(リセツト)端子に印加されている。RSフリツプ
フロツプ3−3の出力Qが“1”のとき、遅延器
3−5とアンドゲート3−6を介して、キーオン
パルスKONは“1”になり、かつ、アンドゲー
ト3−4を介して、キーロード信号KLDがカウ
ンタ3−1のCK端子にクロツク信号として供給
される。カウンタ3−1は2ビツトしかないか
ら、すぐにMSB出力は1になり、RSフリツプフ
ロツプ3−3をリセツトし、出力Qは“0”にな
り、アンドゲート3−6と3−4は禁止になり、
キーオンパルスKONは“0”になり、カウンタ
3−1のMSBは“1”のままになる。以上の状
態は、鍵スイツチ1が押されず、したがつて、キ
ー出力信号KOTがない場合、ずつと続く。鍵ス
イツチ1が押され、キー出力信号KOTが現われ
ると、まずカウンタ3−1がクリアされて、
MSBが“0”になり、そのあと、遅延器3−2
を介してRSフリツプフロツプがセツトされ、そ
の出力Qは“1”になる。遅延器3−5のCK端
子に第7図に示すようなキーロード信号KLDが
加わると遅延器3−5の出力が“1”になり、ア
ンドゲート3−6よりキーオンパルスKONが出
力される。また、アンドゲート3−4が開いて、
キーロード信号KLDがカウンタ3−1に加わる。
鍵スイツチ1が押されつづけたままのときには、
キーロード信号KLDが加わつたあとで、必ずキ
ー出力信号KOTが加わり、カウンタ3−1をク
リアしてしまうから、カウンタ3−1のMSB出
力は“0”のままである。したがつて、キーオン
パルスKONは“1”のままである。鍵スイツチ
1が離されて、キー出力信号KOTが来なくなる
と、カウンタ3−1のクリアが行なわれなくな
り、MSB出力が“1”になるまで、カウントア
ツプし、そこで、MSB出力がRSフリツプフロツ
プ3−3をリセツトし、その後最初に発生するキ
ーロード信号KLDのタイミングより、キーオン
パルスKONは“0”にもどる。
FIG. 3 shows an embodiment of the key-on pulse generator 3. The key output signal KOT explained in FIG. 2 is applied to the delay device 3-2 and the CL terminal of the 2-bit counter 3-1. The delay device 3-2 is composed of, for example, a D flip-flop. The output of the delay device 3-2 is applied to the S (set) terminal of the RS flip-flop 3-3. The most significant bit output MSB of the counter 3-1 is the R of the RS flip-flop 3-3.
(reset) terminal. When the output Q of the RS flip-flop 3-3 is "1", the key-on pulse KON becomes "1" through the delay device 3-5 and the AND gate 3-6, and the key-on pulse KON becomes "1" through the AND gate 3-4. , the key load signal KLD is supplied to the CK terminal of the counter 3-1 as a clock signal. Since counter 3-1 has only 2 bits, the MSB output immediately becomes 1, which resets RS flip-flop 3-3, output Q becomes "0", and AND gates 3-6 and 3-4 are disabled. Become,
The key-on pulse KON becomes "0" and the MSB of the counter 3-1 remains "1". The above state continues one by one if the key switch 1 is not pressed and therefore there is no key output signal KOT. When key switch 1 is pressed and key output signal KOT appears, counter 3-1 is first cleared,
MSB becomes “0”, then delay device 3-2
The RS flip-flop is set via , and its output Q becomes "1". When the key load signal KLD as shown in Fig. 7 is applied to the CK terminal of the delay device 3-5, the output of the delay device 3-5 becomes “1” and the key-on pulse KON is output from the AND gate 3-6. . Also, AND gate 3-4 opens,
The key load signal KLD is applied to the counter 3-1.
If key switch 1 remains pressed,
After the key load signal KLD is applied, the key output signal KOT is always applied and the counter 3-1 is cleared, so the MSB output of the counter 3-1 remains at "0". Therefore, the key-on pulse KON remains at "1". When the key switch 1 is released and the key output signal KOT no longer comes, the counter 3-1 is no longer cleared and the counter 3-1 counts up until the MSB output becomes "1". -3 is reset, and then the key-on pulse KON returns to "0" at the timing of the first key load signal KLD.

以上がキーオンパルス発生器3の動作である。
カウンタ3−1のビツト数は、鍵スイツチ1が離
されてから、キーオンパルスKONが“0”にな
るまでの時間に関係すものであるから、ビツト数
を増やして、鍵スイツチ1の離鍵時のチヤタリン
グやバウンシングに応答しないようにすることが
できる。
The above is the operation of the key-on pulse generator 3.
The number of bits in the counter 3-1 is related to the time from when the key switch 1 is released until the key-on pulse KON becomes "0", so increase the number of bits so that when the key switch 1 is released, You can prevent it from responding to chattering or bouncing at times.

第3図においてキーロード信号KLDよりも高
い周波数の信号を用いる場合には、それに応じて
カウンタ3−1のビツト数を増加させればよい。
In FIG. 3, if a signal with a higher frequency than the key load signal KLD is used, the number of bits in the counter 3-1 may be increased accordingly.

〔変調装置〕[Modulation device]

変調装置9は、ビブラート効果やグライド効果
などの周波数変調を実現するためのものである。
The modulation device 9 is for realizing frequency modulation such as vibrato effect and glide effect.

本発明において用いる変調の方法は、従来公知
のアナログ信号形式のビブラート信号やグライド
信号を、アナログ−デイジタル変換によつて、デ
イジタル量に変換し、これを、変調データMDT
として用いるものである。したがつて、ノート演
算装置4の受け入れるデータ形式に合致した変調
データMDTが得られるものであれば、上記のア
ナログ−デイジタル変換器としては、どんなもの
でもよいことになる。
The modulation method used in the present invention is to convert a vibrato signal or glide signal in a conventionally known analog signal format into a digital amount by analog-to-digital conversion, and convert this into a digital amount as modulation data MDT.
It is used as a. Therefore, any type of analog-to-digital converter may be used as long as it can obtain modulated data MDT that conforms to the data format accepted by the note processing device 4.

第4図は、変調信号源と電圧−周波数変換方式
によるアナログ−デイジタル変換器のアナログ部
を示している。これと組合わせて使うデイジタル
部は、第5図の右側に示してある。
FIG. 4 shows an analog section of an analog-to-digital converter using a modulation signal source and voltage-frequency conversion method. The digital section used in conjunction with this is shown on the right side of FIG.

第4図の9−10は、ビブラート信号とグライ
ド信号をつくる変調信号源である。ビブラート発
振器9−11は、端子9−13,9−14,9−
15にそれぞれ正波、三角波、方形波のビブラー
ト信号を出力する。スイツチにより選択されたビ
ブラート周波数は可変抵抗器9−12によつて調
節できる。ビブラート効果の深さは可変抵抗器9
−16により調節される。9−17はグライド信
号発生器であつて、キーオンパルスKONに同期
したトリガが印加されると立下り、そのあと徐々
に立上る波形を発生する。立上りの時定数は可変
抵抗器9−18により調節され、グライド効果の
深さは可変抵抗器9−19により調節される。ビ
ブラート信号VIBとグライド信号GLはつぎに説
明する絶対値回路に印加される。
Reference numeral 9-10 in FIG. 4 is a modulation signal source that generates a vibrato signal and a glide signal. The vibrato oscillator 9-11 has terminals 9-13, 9-14, 9-
15, a positive wave, a triangular wave, and a square wave vibrato signal are output, respectively. The vibrato frequency selected by the switch can be adjusted by variable resistors 9-12. The depth of the vibrato effect is determined by variable resistor 9.
-16. A glide signal generator 9-17 generates a waveform that falls when a trigger synchronized with the key-on pulse KON is applied and then gradually rises. The rise time constant is adjusted by a variable resistor 9-18, and the depth of the glide effect is adjusted by a variable resistor 9-19. The vibrato signal VIB and glide signal GL are applied to an absolute value circuit described below.

第4図において、演算増幅器9−7、抵抗R1,
R3,R8、ダイオードD1,D2は、入力VIBの正の
半波のみを反転して出力し、負の半波をクリツプ
して点Aに出力するクリツパを構成している。演
算増幅器9−8、抵抗R4,R5,R6は反転加算器
を構成している。ここでR1=R2=R3=R5=R6=
R7=2R4の関係にすると、クリツパの出力(点
A)に対する加算利得が2倍、入力信号(点B)
に対する利得(抵抗R6,R7の経路)が−1にな
るので、正入力に対して利得1、負入力に対して
利得−1となり、絶対値回路になる。トランジス
タQ1,Q2と抵抗R8およびキヤパシタCはサンプ
ルホールド回路であつて、上記絶対値回路の出力
信号をサンプルホールドする。サンプル信号に
は、リセツト信号RSTによつてトリガされる単
安定マルチバイブレータ9−4の出力信号を用い
る。クリツパの出力は、インバータ9−3により
反転増幅され、D−フリツプフロツプ9−6によ
り記憶されて、符号信号SGNになる。抵抗R2と
R7は、上記絶対値回路にグライド信号GLを加算
するために設けている。トランジスタQ2のソー
ス端子に現われる絶対値回路の出力信号のサンプ
ル値は、VFC(電圧周波数変換器)9−5に加え
られる。したがつて、ビブラート信号VIBとグラ
イド信号GLの絶対値の和のサンプル電圧に比例
した周波数をもつた変調クロツク信号MCKが、
VCF9−5の出力端子に得られる。
In FIG. 4, an operational amplifier 9-7, a resistor R 1 ,
R 3 , R 8 and diodes D 1 and D 2 constitute a clipper that inverts and outputs only the positive half wave of the input VIB and clips the negative half wave and outputs it to point A. The operational amplifier 9-8 and resistors R 4 , R 5 , and R 6 constitute an inverting adder. Here R 1 = R 2 = R 3 = R 5 = R 6 =
If we set the relationship R 7 = 2R 4 , the additional gain for the clipper output (point A) is doubled, and the input signal (point B)
Since the gain (path of resistors R 6 and R 7 ) for the circuit becomes -1, the gain is 1 for positive input and -1 for negative input, making it an absolute value circuit. Transistors Q 1 and Q 2 , resistor R 8 and capacitor C constitute a sample and hold circuit that samples and holds the output signal of the absolute value circuit. The output signal of the monostable multivibrator 9-4 triggered by the reset signal RST is used as the sample signal. The output of the clipper is inverted and amplified by an inverter 9-3, stored by a D-flip-flop 9-6, and becomes a code signal SGN. with resistance R 2
R7 is provided to add the glide signal GL to the absolute value circuit. The sample value of the output signal of the absolute value circuit appearing at the source terminal of transistor Q2 is applied to a VFC (voltage frequency converter) 9-5. Therefore, the modulation clock signal MCK having a frequency proportional to the sample voltage of the sum of the absolute values of the vibrato signal VIB and the glide signal GL is:
Obtained at the output terminal of VCF9-5.

つぎに、変調クロツク信号MCKの周波数をデ
イジタル値に変換する手順について説明する。第
5図の右端の9−1は、8ビツトのカウンタで、
9−2はアンドゲートである。まず、タイミング
パルス発生器16より発生する変調クリア信号
MCLがカウンタ9−1のCL端子に加わり、カウ
ンタ9−1の内容を消去する。ひきつづいて、同
じくタイミングパルス発生器16より発生する変
調ゲート信号MGTは“1”になる。この変調ゲ
ート信号MGTはアンドゲート9−2を開くと共
に、端子RSTを介して、第4図の単安定マルチ
バイブレータをトリガする。すると、第4図のサ
ンプルホールド回路が新たな変調信号のサンプル
値をサンプルし、ホールドする。この新たなサン
プル値に比例した周波数の変調クロツク信号
MCKは、第5図のアンドゲート9−2を介して、
カウンタ9−1のCK端子に加わり、計数を開始
する。計数は、変調ゲート信号MGTが“0”に
なるまで続けられる。変調ゲート信号MGTが
“0”になり、計数が終了したとき、カウンタ9
−1の内部には、変調クロツク信号MCKの周波
数に比例した2進の変調データMDTが記憶され
る。カウンタ9−1の出力端子は、変調信号に対
するデイジタル端子とみなし得る。
Next, a procedure for converting the frequency of modulated clock signal MCK into a digital value will be explained. 9-1 on the right end of Figure 5 is an 8-bit counter.
9-2 is an AND gate. First, a modulation clear signal generated from the timing pulse generator 16
MCL is applied to the CL terminal of counter 9-1, erasing the contents of counter 9-1. Subsequently, the modulation gate signal MGT also generated by the timing pulse generator 16 becomes "1". This modulation gate signal MGT opens the AND gate 9-2 and triggers the monostable multivibrator shown in FIG. 4 via the terminal RST. Then, the sample and hold circuit shown in FIG. 4 samples and holds the sample value of the new modulation signal. A modulated clock signal with a frequency proportional to this new sample value.
MCK passes through AND gate 9-2 in FIG.
It is applied to the CK terminal of counter 9-1 and starts counting. Counting continues until the modulation gate signal MGT becomes "0". When the modulation gate signal MGT becomes “0” and counting ends, counter 9
-1 stores binary modulation data MDT proportional to the frequency of the modulation clock signal MCK. The output terminal of counter 9-1 can be considered as a digital terminal for the modulated signal.

以上の動作によつて、ビブラート信号とグライ
ド信号の和信号の符号ビツトと振幅ビツトのデイ
ジタル形式の変調データMDTが得られたことに
なる。なお、カウンタ9−1の変調データMDT
は、変調ロード信号MLDがダウンカウンタ4−
13のLD端子に入つたときに、ダウンカウンタ
4−13にプリセツトされる。
Through the above operations, digital modulation data MDT of the sign bit and amplitude bit of the sum signal of the vibrato signal and glide signal is obtained. In addition, the modulation data MDT of counter 9-1
In this case, the modulated load signal MLD is sent to the down counter 4-
13, it is preset to the down counter 4-13.

上記の説明においては、電圧一周波数変換方式
のアナログ−デイジタル変換器により、符号ビツ
トと振幅ビツト(絶対値)のデイジタル形式の変
調データを得たが、この他に、パルス幅変調方式
のアナログ−デイジタル変調器を用いることもで
きる。また、2重積分型や、遂次比較型を用い
て、オフセツトバイナリ形式のデータを得るよう
にしてもよい。この場合は、符号ビツトがなく、
すべてのデータが2進符号上では正になるから、
後述するノート演算において、減算は不要にな
る。遂次比較型のように高速のアナログ−デイジ
タル変換器を用いるなら、これを時分割で使用
し、後述するノート演算に必要なタイミングのみ
で変調データMDTをつくり、空いた時間を別の
信号の変換に用いるようはしてもよい。これらの
変更は、周知の技術の組み合わせにすぎないの
で、詳細な説明は省略する。
In the above explanation, modulation data in digital format of sign bits and amplitude bits (absolute value) was obtained using an analog-to-digital converter using a voltage-to-frequency conversion method. Digital modulators can also be used. Further, data in an offset binary format may be obtained using a double integral type or a sequential comparison type. In this case, there is no sign bit,
Since all data is positive in binary code,
In the note operation described later, subtraction becomes unnecessary. If you use a high-speed analog-to-digital converter such as a sequential comparison type, you can use it in a time-division manner to create modulated data MDT only with the timing required for the note calculation described later, and use the free time to convert other signals. It may be used for conversion. Since these changes are merely a combination of well-known techniques, detailed explanations will be omitted.

以上の説明よりわかるように、本発明では、変
調信号としてはアナログ波形を用いている。これ
らの変調信号はすべて時間的変動を伴うものであ
る。そして、ビブラート信号、グライド信号、エ
ンベロープ信号などの波形、たとえば繰返し周波
数や立上り、立下りの時定数などは、第4図に示
したようにアナログ可変素子、たとえば可変抵抗
器のようなものによつて自由自在に可変設定でき
るようにしている。また、ビブラート信号の波形
としては正弦波や三角波などが用意され、これら
を切換えて選択し得るようにしている。しかも、
それぞれの信号の振幅も可変抵抗器で設定できる
ようにしている。このように、本発明では、安価
で使いやすい可変抵抗器に代表されるアナログの
可変素子を用いることによつて、種々の変調効果
の調節と設定をできるようにしながら、しかも、
楽音信号の処理を内部ではデイジタル的に行なえ
るようにしている。したがつて、調整や変更の自
由度が大きく、人間にとつてなじみやすいという
アナログ分野の特長と、動作が安定で再現性に優
れているデイジタル分野の特長とが生かされてい
る一方、変更に対する自由度の小さいデイジタル
分野の短所が解消されていることになる。また、
ビブラートやグライドの信号、あるいは、エンベ
ロープなどに対応した波形の変更や、さらに別の
新しい変調効果と実現する際には、アナログ入力
波形を変更すればよいので、自由度が大きくなる
利点がある。また、すでに、波形や周波数の決ま
つている効果に対しては、上記アナログ入力によ
らず、内部にデイジタル方式の正弦波発生器を設
けるようにしてもよいことはいうまでもない。
As can be seen from the above explanation, in the present invention, an analog waveform is used as a modulation signal. All of these modulation signals are accompanied by temporal fluctuations. The waveforms of the vibrato signal, glide signal, envelope signal, etc., such as repetition frequency and rise and fall time constants, are controlled by analog variable elements such as variable resistors, as shown in Figure 4. This makes it possible to freely change the settings. Further, as the waveform of the vibrato signal, a sine wave, a triangular wave, etc. are prepared, and these can be selected by switching. Moreover,
The amplitude of each signal can also be set using variable resistors. As described above, in the present invention, by using an analog variable element represented by an inexpensive and easy-to-use variable resistor, various modulation effects can be adjusted and set.
Musical tone signals can be processed internally digitally. Therefore, while the advantages of the analog field, such as a high degree of freedom for adjustments and changes and ease of familiarity to humans, and the characteristics of the digital field, which have stable operation and excellent reproducibility, are utilized, it is difficult to adapt to changes. This means that the disadvantages of the digital field, which has a small degree of freedom, have been resolved. Also,
When changing the waveform to accommodate vibrato or glide signals, envelopes, etc., or creating new modulation effects, you only need to change the analog input waveform, which has the advantage of increasing the degree of freedom. Furthermore, for effects whose waveforms and frequencies are already determined, it goes without saying that an internal digital sine wave generator may be provided instead of relying on the analog input.

上記説明では、楽音の周波数変調の場合につい
て説明したが、この他に、楽音の周波数スペクト
ルや、波形の変動など、種々の楽音の属性の制御
信号に用いてもよいことはいうまでもない。
In the above explanation, the case of frequency modulation of musical tones has been explained, but it goes without saying that the present invention may be used for control signals of various attributes of musical tones, such as the frequency spectrum of musical tones and fluctuations in waveforms.

〔粗調装置〕[Coarse adjustment device]

粗調装置10は、先に述べたように、音階信号
の周波数を可聴領域内で広範囲にわたり可変設定
するものであつて、本実施例では、11ビツトの2
進数の粗調データCDTを得るものである。
As mentioned above, the coarse adjustment device 10 is for variably setting the frequency of the scale signal over a wide range within the audible range.
It is used to obtain coarse scale data CDT.

粗調装置10の実施例は、第5図の左下部に示
されている。端子10−5には、粗調クロツク信
号CCKは図示していないが次のようにしてつく
られる。すなわち、アナログ可変素子の1つであ
る可変抵抗器を手動で調節して、粗調電圧を発生
させ、この粗調電圧をVFC(電圧周波数変換器)
に印加することにより、粗調電圧に比例した周波
数の信号すなわち粗調クロツク信号CCKを得る。
この粗調クロツク信号CCKの周波数は、アツプ
ダウンカウンタ4−15と11入力ナンドゲート
10−1、アンドゲート10−2と10−4、イ
ンバータ10−3、オアゲート4−18によつ
て、2進11ビツトのデイジタル形式の粗調データ
CDTに変換される。その動作についてつぎに説
明する。まず、アツプダウンカウンタ4−15の
初期値が0であるとする。このときナンドゲート
10−1の出力は“1”である。粗調ゲート信号
CGTは変調ゲート信号と同様に発生されるが、
この粗調ゲート信号CGTが“1”になると、ア
ンドゲート10−2は、粗調クロツク信号CCK
を通過させる。このとき、粗調タイムスロツト
CTSは“0”としているので、アツプダウンカ
ウンタ4−15のD/D端子には“1”が加わり、
アツプカウント状態になる。この状態で粗調クロ
ツク信号CCKはアンドゲート10−4を通り、
オアゲート4−18を介して、アツプダウンカウ
ンタ4−15のCK端子に加わり、アツプカウン
トの計数を開始する。粗調ゲート信号CGTが
“0”になるとアンドゲート10−2が閉じて、
計数は停止し、それまでの計数値が、アツプダウ
ンカウンタ4−15に記憶される。このデータ
が、粗調データCDTになる。ナンドゲート10
−1は、アツプダウンカウンタ4−15がオーバ
フローするのを防止するものであつて、粗調ゲー
ト信号CGTが“1”の間に、計数値が2047すな
わちアツプダウンカウンタ4−15の出力が全部
“1”になると、ナンドゲート10−1の出力は
“0”になり、計数を停止させて、粗調データ
CDTを2047に保持する。オアゲート4−16と
アンドゲート4−17は、ノート演算処理用であ
るので、後で説明する。以上の動作により、粗調
クロツク信号CCKの周波数に比例した2進11ビ
ツト形式の粗調データCDTが、アツプダウンカ
ウンタ4−15の内部に得られたことになる。
An embodiment of the coarse adjustment device 10 is shown in the lower left part of FIG. Although not shown, a coarse clock signal CCK is generated at the terminal 10-5 in the following manner. In other words, a variable resistor, which is one of the analog variable elements, is manually adjusted to generate a coarsely adjusted voltage, and this coarsely adjusted voltage is converted to a VFC (voltage frequency converter).
A signal with a frequency proportional to the coarse adjustment voltage, that is, a coarse adjustment clock signal CCK, is obtained.
The frequency of this coarse adjustment clock signal CCK is determined by the binary 11 BIT digital format rough adjustment data
Converted to CDT. The operation will be explained next. First, assume that the initial value of the up-down counter 4-15 is 0. At this time, the output of the NAND gate 10-1 is "1". Coarse gate signal
CGT is generated similarly to the modulation gate signal, but
When this coarse adjustment gate signal CGT becomes "1", the AND gate 10-2 outputs the coarse adjustment clock signal CCK.
pass. At this time, the coarse adjustment time slot
Since CTS is set to "0", "1" is added to the D/D terminal of up-down counter 4-15,
It becomes up count state. In this state, the coarse adjustment clock signal CCK passes through the AND gate 10-4,
It is applied to the CK terminal of the up-down counter 4-15 via the OR gate 4-18, and starts up-counting. When the coarse adjustment gate signal CGT becomes "0", the AND gate 10-2 closes,
Counting is stopped and the count value up to that point is stored in the up-down counter 4-15. This data becomes coarse adjustment data CDT. nand gate 10
-1 is to prevent the up-down counter 4-15 from overflowing, and while the coarse adjustment gate signal CGT is "1", the count value is 2047, that is, the output of the up-down counter 4-15 is all When it becomes "1", the output of NAND gate 10-1 becomes "0", the counting is stopped, and the rough adjustment data is
Hold CDT at 2047. The OR gate 4-16 and the AND gate 4-17 are used for note calculation processing, and will be explained later. Through the above operations, the coarse adjustment data CDT in binary 11-bit format proportional to the frequency of the coarse adjustment clock signal CCK is obtained inside the up-down counter 4-15.

端子10−5に粗調クロツク信号CCKを印加
しなければ、アツプダウンカウンタ4−15は常
に0である。本発明を電子オルガンのように粗調
の必要がないものに応用する場合には、端子10
−5を接地しておけばよい。
If the coarse clock signal CCK is not applied to the terminal 10-5, the up-down counter 4-15 is always 0. When the present invention is applied to something that does not require coarse adjustment, such as an electronic organ, the terminal 10
-5 should be grounded.

粗調装置10は、本質的に、アナログ的あるい
は連続的に設定される粗調クロツクCCKの周波
数をデイジタル形式の粗調データに変換するアナ
ログ−デイジタル変換である。したがつて、上記
以外のアナログ情報をデイジタルデータに変換す
る方法や各種のアナログ−デイジタル変換器を採
用することができる。アナログ情報としては、上
記周波数の他にパルスの幅でもよいし、周知の電
圧でもよい。パルス幅を採用するには、単安定マ
ルチバイブレータのように集積回路化の可能な回
路と可変抵抗とを使えばよい。これらのアナログ
情報の場合、時間の計測技術やデイジタル式電圧
計の術のような公知の技術を活用すればよい。
The coarse adjustment device 10 is essentially an analog-to-digital converter that converts the frequency of the analog or continuously set coarse adjustment clock CCK into coarse adjustment data in digital form. Therefore, methods for converting analog information into digital data other than those described above and various analog-to-digital converters can be employed. In addition to the above frequency, the analog information may be a pulse width or a well-known voltage. To adopt the pulse width, a circuit that can be integrated into an integrated circuit such as a monostable multivibrator and a variable resistor can be used. In the case of these analog information, known techniques such as time measurement techniques and digital voltmeter techniques may be utilized.

一般にアナログ−デイジタル変換においては、
量子化誤差が発生する。とくに、デイジタル量が
ある値から他の値に変化する境界に対応するアナ
ログ入力が加わると、そのアナログ入力に対する
デイジタル量は、上記ある値と他の値とのどちら
でもよいことになり、それらのうちのどちらにな
るかは、確率的に決まることになる。このような
不定の状態をさけて常にどちらか一方のデイジタ
ル量になるようにすることが望ましい。
Generally, in analog-to-digital conversion,
Quantization error occurs. In particular, when an analog input is added that corresponds to a boundary where a digital quantity changes from one value to another, the digital quantity for that analog input can be either the above-mentioned value or the other value, and these values are Which one will be chosen will be determined by probability. It is desirable to avoid such an undefined state and always set one of the digital quantities.

第5−a図は、上記問題点を解決する便宜的で
あるが簡便な方法を示している。4−15aは、
粗調データ演算用のダウンカウンタであつて、第
5図のアツプダウンカウンタ4−15のダウンカ
ウントの働きのみを行なう。10−7は粗調デー
タを計数記憶するカウンタである。第5−a図で
は、粗調時には新たにタイミング信号として、粗
調スタート信号CST、粗調ロード信号CLDと粗
調禁止信号CDLが用意されるものとする。以下
に動作を説明する。
Figure 5-a shows a convenient but simple method for solving the above problem. 4-15a is
This is a down counter for rough adjustment data calculation, and performs only the down counting function of the up/down counter 4-15 in FIG. 10-7 is a counter that counts and stores rough adjustment data. In FIG. 5-a, it is assumed that a coarse adjustment start signal CST, a coarse adjustment load signal CLD, and a coarse adjustment inhibition signal CDL are newly prepared as timing signals during rough adjustment. The operation will be explained below.

粗調を実行するときは、外部より粗調禁止信号
CDLとして“1”を加えておく。粗調スタート
信号CSTが発生しアンドゲート10−6を介し
てカウンタ10−7をクリアする。その後で粗調
ゲート信号CGTが“1”になり、アンドゲート
10−2は粗調クロツク信号CCKを通過させ、
カウンタ10−7をカウントアツプさせる。粗調
ゲート信号CGTが“0”になるとカウンタ10
−7はカウント動作を停止し、粗調データCDT
を記憶する。その後粗調ロード信号CLDが“1”
になり、粗調データCDTをダウンカウンタ4−
15aにロードする。そして、ロードが済むと、
粗調タイムスロツト信号CTSが“1”になり、
このときにはアンドゲート4−17を介して和ク
ロツク信号ACKがダウンカウンタ4−15aの
CK端子に加わるのでダウンカウントが行なわれ
る。なお、このダウンカウンタ4−15aの機能
と動作は、本質的に、第5図のアツプダウンカウ
ンタ4−15のそれと同じである。その、詳しい
動作についてはノート演算装置4の項で説明す
る。以上のようにして、カウンタ10−7は、粗
調データCDTをとり込み記憶する。粗調の必要
がなくなれば、粗調禁止信号CDLを“0”にし
て、カウンタ10−7の内容がクリアされないよ
うにする。第5−a図のようにすれば、一担記憶
された粗調データCDTは以後安定に記憶される
から、粗調クロツク信号CCKの長期的な安定度
は悪くても短時間安定度さえよければよいことに
なる。
When performing coarse adjustment, use an external coarse adjustment prohibition signal.
Add “1” as CDL. A coarse adjustment start signal CST is generated and clears the counter 10-7 via the AND gate 10-6. After that, the coarse adjustment gate signal CGT becomes "1", and the AND gate 10-2 passes the coarse adjustment clock signal CCK.
Counter 10-7 is counted up. When the rough adjustment gate signal CGT becomes “0”, the counter 10
-7 stops counting operation and coarse adjustment data CDT
remember. After that, the coarse adjustment load signal CLD becomes “1”
, and the rough adjustment data CDT is down counter 4-
15a. And once it's loaded,
The coarse adjustment time slot signal CTS becomes “1”,
At this time, the sum clock signal ACK is applied to the down counter 4-15a via the AND gate 4-17.
Since it is applied to the CK pin, a down count is performed. The function and operation of this down counter 4-15a are essentially the same as those of the up-down counter 4-15 in FIG. The detailed operation will be explained in the section regarding the note calculation device 4. In the manner described above, the counter 10-7 takes in and stores the rough adjustment data CDT. When coarse adjustment is no longer necessary, the coarse adjustment inhibition signal CDL is set to "0" to prevent the contents of the counter 10-7 from being cleared. If it is done as shown in Figure 5-a, the coarse adjustment data CDT that has been stored once will be stored stably from now on, so even if the long-term stability of the coarse adjustment clock signal CCK is bad, even the short-term stability is good. It's a good thing.

別の粗調データ取り入れ方について説明する。
第5−a図のカウンタ10−7をアツプダウンカ
ウンタにし、アツプカウントとダウンカウントの
切り換えを外部に設けたスイツチによつて行な
う。カウンタのクロツクは内部で用意しておく。
アツプカウンント用のスイツチを設け、これを押
さえると、アツプカウントになり、かつ、クロツ
ク信号がカウンタに加わつてアツプカウントす
る。ダウンカウント用のスイツチを別に設け、こ
れを押えると、ダウンカウントになり、かつ、ダ
ウンカウントの計数を行なうようにする。このよ
うな粗調装置は、上記アツプダウンカウンタと若
干のアンドゲートと上記スイツチとによつて容易
に構成できる。
Another method of importing rough adjustment data will be explained.
The counter 10-7 in FIG. 5-a is used as an up-down counter, and switching between up-counting and down-counting is performed by an external switch. The counter clock is provided internally.
A switch for up-counting is provided, and when it is pressed, it becomes up-counting, and a clock signal is added to the counter to start up-counting. A down-counting switch is provided separately, and when this switch is pressed, the down-count starts and the down-counting is performed. Such a rough adjustment device can be easily constructed using the above-mentioned up-down counter, some AND gates, and the above-mentioned switches.

〔クロツク処理装置〕[Clock processing device]

クロツク処理装置8は、先に述べたように、ト
ーンクロツク信号TCKのパルス列から、微調パ
ルスFINにしたがつて、パルスを抜取ることによ
り、トーンクロツク信号TCKの周波数fcを、αfc
に引き下げる動作をする。第6図において、トー
ンクロツク信号TCKは、Dフリツプフロツプ8
−1,8−2のCK端子に印加されている。微調
パルスFINはDフリツプフロツプ8−1のD端子
に印加され、CK端子のトーンクロツク信号TCK
に同期化されたのち、端子Qに現われる。Dフリ
ツプフロツプ8−1のQ出力はDフリツプフロツ
プ8−2のD入力に印加されるので、Dフリツプ
フロツプ8−2の出力は、その入力よりも、ト
ーンクロツク信号TCKの1パルス分遅延されて
おり、しかも、極性は反転している。したがつ
て、ナンドゲート8−3の出力には、微調パルス
FINが“0”から“1”に立ち上がつた時点以後
の最初のトーンクロツク信号TCKのパルスの1
周期分だけのパルス幅をもつた負のパルスが得ら
れる。アンドゲート8−4の出力はトーンクロツ
ク信号TCKのパルス列から上記負のパルスの部
分だけ、パルスが1本抜き取られたものになる。
微調パルスFINが立下るときには、Dフリツプフ
ロツプ8−1出力Qが“0”になつたあとDフリ
ツプフロツプ8−2の出力が“1”になるので
アンドゲート8−3の出力は“1”のままにな
る。したがつて、微調パルスFINの立上り時にの
み、トーンクロツク信号TCKのパルス列から1
本のパルスが抜取られることになる。微調パルス
FINの周波数をFとすると、Fの1周期1/Fの期
間中に、トーンクロツク信号のパルスC/F個が
発生し、そのうち、1個を消去するので、クロツ
ク処理装置8の出力信号の周波数αCはつぎのよ
うになる。
As described above, the clock processing device 8 extracts pulses from the pulse train of the tone clock signal TCK according to the fine adjustment pulse FIN, thereby changing the frequency fc of the tone clock signal TCK to αfc.
Make a movement to pull it down. In FIG. 6, the tone clock signal TCK is applied to the D flip-flop 8.
It is applied to the CK terminals -1 and 8-2. The fine adjustment pulse FIN is applied to the D terminal of the D flip-flop 8-1, and the tone clock signal TCK of the CK terminal is applied to the D flip-flop 8-1.
appears on terminal Q after being synchronized with . Since the Q output of D flip-flop 8-1 is applied to the D input of D flip-flop 8-2, the output of D flip-flop 8-2 is delayed by one pulse of tone clock signal TCK with respect to its input. , the polarity is reversed. Therefore, the output of the NAND gate 8-3 contains a fine adjustment pulse.
1 of the first pulse of the tone clock signal TCK after the time when FIN rises from “0” to “1”
A negative pulse with a pulse width equal to the period is obtained. The output of the AND gate 8-4 is one pulse extracted from the pulse train of the tone clock signal TCK, corresponding to the negative pulse portion.
When the fine adjustment pulse FIN falls, the output Q of the D flip-flop 8-1 becomes "0" and then the output of the D flip-flop 8-2 becomes "1", so the output of the AND gate 8-3 remains "1". become. Therefore, only at the rising edge of the fine adjustment pulse FIN, one pulse is removed from the pulse train of the tone clock signal TCK.
The pulse of the book will be extracted. fine pulse
If the frequency of FIN is F , then C / F pulses of the tone clock signal are generated during a period of 1/ F of F , and one of them is erased, so the frequency of the output signal of the clock processing device 8 is α C becomes as follows.

αC=C−F=(1−F/C)C (1) ∴ α=1−F/C (2) したがつて、たとえばF=0.001・Cとすると、
0.1%だけピツチを下げることができることにな
る。微調パルスFINは、発振周波数が可変できる
方形波発振器を用いればよい。
α C = C − F = (1− F / C ) C (1) ∴ α = 1− F / C (2) Therefore, for example, if F = 0.001・C ,
This means that the pitch can be lowered by 0.1%. For the fine adjustment pulse FIN, a square wave oscillator whose oscillation frequency can be varied may be used.

上記微調パルスFINの発生器として、電圧制御
式の発振器を用いて、その周波数を可変にすれ
ば、ビブラートやグライド効果をかけることが可
能になる。
If a voltage-controlled oscillator is used as the generator of the fine adjustment pulse FIN and its frequency is made variable, it becomes possible to apply a vibrato or glide effect.

第6−a図は、クロツク処理装置8の別の実施
例である。8−5は3ビツトのカウンタで、微調
パルスFINによりクリアされ、トーンクロツク信
号TCKにより計数される。カウンタ8−5の3
つの出力Q0,Q1,Q2はナンドゲート8−6に加
わる。したがつて、8個のクロツク中1個のクロ
ツクの期間のみ(すなわちQ0,Q1,Q2全部が
“1”の期間のみ)“0”になる出力Aが、アンド
ゲート8−7の一方の入力端子に加わる。残る1
つの入力端子にはトーンクロツク信号TCKが加
えられる。したがつて、微調パルスFINが“0”
であつてクリアが働かないときには、トーンクロ
ツク信号TCKは8個に1個間引かれ、8個中7
個のパルスBが次段のプログラムバイタ6に加わ
る。一方、微調パルスFINが“1”で、クリアが
行なわれると、カウンタ8−5の出力は“0”で
あるから、アンドゲート8−7は開き、すべての
トーンクロツク信号のパルスが通過する。すなわ
ち、アンドゲート8−7の出力周波数は、(7/8)
C、あるいはCになる。微調パルスFINとして、
一定周波数で、デユーテイサイクルの変更設定で
きるような信号を用いる。デユーテイサイクルを
β、すなわち、“1”の区間が周期に対してβの
割り合いであるとき、アンドゲート8−7の出力
の平均周波数αCはつぎのようになる。
FIG. 6-a shows another embodiment of the clock processing device 8. 8-5 is a 3-bit counter which is cleared by the fine adjustment pulse FIN and counted by the tone clock signal TCK. Counter 8-5-3
The three outputs Q 0 , Q 1 , Q 2 are applied to a NAND gate 8-6. Therefore, the output A that becomes "0" only during the period of one clock out of eight clocks (that is, only during the period when all of Q 0 , Q 1 , and Q 2 are "1") is the output of the AND gate 8-7. Added to one input terminal. 1 remaining
A tone clock signal TCK is applied to one input terminal. Therefore, the fine adjustment pulse FIN is “0”
When the clear function does not work, the tone clock signal TCK is thinned out to one out of eight, and seven out of eight are thinned out.
pulses B are applied to the program biter 6 at the next stage. On the other hand, when the fine adjustment pulse FIN is "1" and clearing is performed, the output of the counter 8-5 is "0", so the AND gate 8-7 is opened and all tone clock signal pulses pass through. In other words, the output frequency of AND gate 8-7 is (7/8)
C or become C. As a fine pulse FIN,
Use a signal with a constant frequency that allows you to change the duty cycle. When the duty cycle is β, that is, the period of “1” is at a ratio of β to the period, the average frequency α C of the output of the AND gate 8-7 is as follows.

αC=βC+(1−β)7/8C =7+β/8C (0≦β≦1)(3) すなわち、βを0から1まで変化させると、α
は0.875〜1.0までの約2%変化する。たとえば、
中央値をβ=0.5とすると、αは0.9375を中心に
0.875〜1.0まで変わる。すなわち、−6.67%〜+
6.67%変化させることができる。微調パルスFIN
の周期が小さいと、上記±6.67%の微調の分解能
が小さくなつて荒い設定しかできなくなり、周期
が大きいと、より細かい単位で設定できることに
なる。これを具体例で説明する。Cを8MHzとし、
微調パルスFINの周波数を10KHzとすると、1周
期中に800個のトーンクロツク信号のパルスが存
在し得る。そして、その周期中に最低700個、最
大800個の間で任意にパルス数を設定できること
になる。したがつて、701個と700個の場合の調整
が、もつとも分解能の悪い場合であり、そのとき
の周波数比は (701−700)÷700=0.00143 になる。これは、0.143%にあたる。
α C = β C + (1-β)7/8 C = 7 + β/8 C (0≦β≦1) (3) In other words, when β is changed from 0 to 1, α
changes by about 2% from 0.875 to 1.0. for example,
If the median value is β = 0.5, α is centered around 0.9375.
It changes from 0.875 to 1.0. That is, −6.67% to +
It can be changed by 6.67%. Fine adjustment pulse FIN
If the cycle is small, the resolution of the above-mentioned ±6.67% fine adjustment becomes small and only rough settings can be made, whereas if the cycle is large, settings can be made in finer units. This will be explained using a specific example. C is 8MHz,
If the frequency of the fine adjustment pulse FIN is 10 KHz, there can be 800 pulses of the tone clock signal in one period. Then, the number of pulses can be set arbitrarily between a minimum of 700 and a maximum of 800 during that cycle. Therefore, the adjustment for 701 and 700 items is a case of poor resolution, and the frequency ratio in that case is (701-700)÷700=0.00143. This corresponds to 0.143%.

上記説明では、1種類のトーンクロツク信号
TCKによつて微調するようにしたが、同一の基
本原理にもとづいて、他の方法も実施できる。た
とえば、2つのトーンクロツク信号を用意する。
これらのトーンクロツク信号の周波数をずらして
おく。そして、この2つの信号のうち1方を上記
微調パルスFINが“0”か“1”かにしたがつて
選択する。このようにすれば、2つの信号の周波
数の中間の周波数の信号が得られる。微調パルス
FINのデユーテイサイクルを変えると、出力周波
数が変化する。
In the above explanation, one type of tone clock signal is used.
Although fine tuning is performed using TCK, other methods can be implemented based on the same basic principle. For example, prepare two tone clock signals.
The frequencies of these tone clock signals are shifted. Then, one of these two signals is selected depending on whether the fine adjustment pulse FIN is "0" or "1". In this way, a signal with a frequency intermediate between the frequencies of the two signals can be obtained. fine pulse
Changing the FIN duty cycle changes the output frequency.

これらの微調方法において、微調パルスFINの
デユーテイサイクルを電気的に可変すれば、ビブ
ラートやグライド効果をかけることが可能になる
ので、変調装置9と変調データMDTの演算を省
略することもできる。デユーテイサイクルを電気
的に可変にするには、三角波や鋸歯状波あるいは
正弦波をスライスしてパルス波をつくり、そのス
ライスレベルを電圧比較器などによつて可変決定
するようにすればよい。
In these fine adjustment methods, if the duty cycle of the fine adjustment pulse FIN is electrically varied, vibrato and glide effects can be applied, so the calculation of the modulation device 9 and modulation data MDT can be omitted. . To make the duty cycle electrically variable, create a pulse wave by slicing a triangular wave, sawtooth wave, or sine wave, and then variably determine the slice level using a voltage comparator, etc. .

〔プログラムデバイダ〕[Program divider]

プログラムデバイダ6は第6図に示すように、
D0,D1,D2,……,D9の10ビツトの分周数にし
たがつて、分周数Nを変化することのできるデバ
イダであつて、フリツプフロツプとゲートの組み
合わせによりつくることができる。また、市販の
8ビツトのプログラムデバイダ(たとえば、モト
ロラ社MC14569BとMC14526B)を2個使えば簡
単に構成できる。10ビツトのプログラムデバイダ
6では、分周数Nとしては、一般に最大1024まで
の整数をとることができる。
The program divider 6, as shown in FIG.
This is a divider that can change the frequency division number N according to the 10-bit frequency division number of D 0 , D 1 , D 2 , ..., D 9 , and can be made by a combination of a flip-flop and a gate. can. Furthermore, it can be easily constructed by using two commercially available 8-bit program dividers (for example, Motorola's MC14569B and MC14526B). In the 10-bit program divider 6, the frequency division number N can generally take an integer up to 1024.

本発明での分周数Nの一例を第8図に示す。プ
ログラムデバイダ6は、1オクターブの範囲内の
所定の周波数を発生させなければならない。本発
明では、まず1オクターブを12半音階に分け、そ
れぞれの半音階の間をさらにLの等比間隔に分割
する。以下、L=16とする。すなわち半音階を1/
16半音階に分割することになる。したがつて1オ
クターブは、192(=16×12)個の16分の1半音階
によつて構成される。1オクターブは、1200セン
トであり、半音は100セントであるから、16分の
1半音は6.25セントになる。以上のように、625
セント間隔の192個の音の名称を、第8図では、
C(0)、C(1)、C(2)、………、C(15)、B(0)
、
B(1)、B(2)、………、B(15)、………、C#
(0)、C# (1)、………、C# (15)と記してい
る。それぞれの音名に付する分周数は本来、非整
数とくに無理数により構成されるが、これを、で
きるだけ誤差を小さくして整数におきかえると、
第8図の分周数Nのようになる。C(0)の分周
数Nを512とし、これを誤差0とすると、C(1)で
は分周数=514、セントエラー=0.499となり、C
# (15)では分周数1020、セントエラー=−
0.526となる。本来の各音の間隔6.25セントに対
して、最小間隔は3.35セントになり、最大間隔は
9.29セントになる。また、C(i)、B(i)、A#
(i)、………、C# (i)(ただしi=0〜15)
は、12平均律音階の1オクターブを構成するが、
その本来の半音の間隔100セントに対する最大誤
差は2.73セントになる。以上のように、第8図の
分周数Nの組を使えば、12平均律音階として、音
階間隔誤差2.73セント以下であり、かつ、平均
6.25セント、最悪9.29セントのステツプで、擬似
連続的にピツチ変化を与えることのできる1オク
ターブの音源系をつくることが可能になる。試聴
実験によれば、9.29セント以下の不連続な周波数
変化は、クリツクなどの不連続感が殆どなく、実
用上、連続に周波数が変化したように聞える。
An example of the frequency division number N in the present invention is shown in FIG. The program divider 6 must generate a predetermined frequency within one octave. In the present invention, one octave is first divided into 12 chromatic scales, and the space between each chromatic scale is further divided into L geometric intervals. Hereinafter, L=16. In other words, the chromatic scale is 1/
It is divided into 16 chromatic scales. Therefore, one octave is made up of 192 (=16 x 12) 1/16th chromatic scales. One octave is 1200 cents, and a semitone is 100 cents, so 1/16 semitone is 6.25 cents. As above, 625
The names of the 192 notes at cent intervals are shown in Figure 8.
C(0), C(1), C(2), ......, C(15), B(0)
,
B(1), B(2), ……, B(15), ……, C#
(0), C# (1), ......, C# (15). The frequency dividing number attached to each note name is originally composed of non-integers, especially irrational numbers, but if we replace this with an integer with the error as small as possible, we get
The frequency division number N shown in FIG. 8 is obtained. If the frequency division number N of C(0) is 512 and the error is 0, then in C(1) the frequency division number = 514 and cent error = 0.499, and C
# In (15), frequency division number is 1020, cent error = -
It becomes 0.526. Instead of the original 6.25 cents between each note, the minimum interval is now 3.35 cents, and the maximum interval is
That's 9.29 cents. Also, C(i), B(i), A#
(i), ......, C# (i) (however, i = 0 to 15)
constitutes one octave of the 12 equal-tempered scale,
The maximum error from the original semitone interval of 100 cents is 2.73 cents. As described above, if the set of frequency division numbers N in Figure 8 is used, the scale interval error is 2.73 cents or less as a 12-equal-tempered scale, and the average
It is possible to create a one-octave sound source system that can provide pseudo-continuous pitch changes in steps of 6.25 cents, or 9.29 cents at worst. According to listening experiments, discontinuous frequency changes of 9.29 cents or less have almost no sense of discontinuity, such as clicks, and in practical terms, it sounds like the frequency has changed continuously.

つぎに、周波数αCについて計算を試みる。音
名C(0)(N=512)のとき、αC/Nが、 C9=16.744KHz (4) になるような音階信号を出力するには、 αCN・C9 =8.5729(MHz) (5) であればよい。微調の範囲をα=0.99を中心に α=0.98〜1.00 (6) すなわち、約±1%とすると C=8.6595 (MHz) (7) であればよい。
Next, we will try to calculate the frequency α C. When the pitch name is C(0) (N=512), to output a scale signal such that α C /N becomes C 9 = 16.744KHz (4), α C N・C 9 = 8.5729 (MHz ) (5) is sufficient. If the fine adjustment range is α=0.98 to 1.00 (6) with α=0.99 as the center, that is, approximately ±1%, C = 8.6595 (MHz) (7) is sufficient.

分周数Nは第8図に示した組以外のものが採用
できることはいうまでもない。それは、必要なピ
ツチの精度によつて決定され問題である。
It goes without saying that a frequency division number N other than the set shown in FIG. 8 can be adopted. It is a matter of determining the required pitch accuracy.

プログラムデバイダ6の出力信号のデユーテイ
サイクルは、50%、30%などで、できるだけ一定
の方がよい。ほぼ50%に保つようにしたプログラ
ムデバイダは公知であるので、それらを使用すれ
ばよい。
The duty cycle of the output signal of the program divider 6 should preferably be as constant as possible, such as 50% or 30%. Program dividers that maintain the ratio at approximately 50% are well known, so they can be used.

〔ノートテーブル〕[Note table]

ノートテーブル5は、第6図に示すように、
ROM5−1とアドレスラツチ5−2より構成さ
れる。ノートアドレスは後述するように、ノート
演算装置4の出力する8ビツトの2進コードであ
り、第8図の192個の各音名を指定する。したが
つて、ノートアドレスは、0〜191の大きさの2
進コードと考えてよい。ノートアドレスは、後述
するように、アンドゲート4−30の出力が
“1”になると、アドレスラツチ5−2のD0、D1
……、D7端子より書き込まれて記憶される。こ
のノートアドレスは、ROM5−1が記憶してい
る10ビツト×192ワード構成の第8図の192通り分
周数Nのうちの単一のワードを指定して、10ビツ
トのデータを、ROM5−1の出力端子D0、D1、
D2、……、D9より出力する。この出力データは、
第8図の分周数Nに対応する2進数であつてプロ
グラムデバイダ6に与えられる。
The note table 5, as shown in FIG.
It consists of a ROM 5-1 and an address latch 5-2. As will be described later, the note address is an 8-bit binary code output from the note arithmetic unit 4, and specifies each of the 192 note names shown in FIG. Therefore, the note address is 2 with a size between 0 and 191.
You can think of it as a hexadecimal code. As will be described later, when the output of the AND gate 4-30 becomes "1", the note address is set to D 0 and D 1 of the address latch 5-2.
..., is written and stored from the D7 terminal. This note address specifies a single word of the 192-way frequency division number N shown in FIG. 1 output terminal D 0 , D 1 ,
Output from D 2 , ..., D 9 . This output data is
This is a binary number corresponding to the frequency division number N in FIG. 8 and is applied to the program divider 6.

〔オクターブデバイダ〕[Octave divider]

プログラムデバイダ6の出力の周波数は、 αC/N である。この信号は、1オクターブの範囲で変化
する。これを、いわゆる、1/2n分周して、可聴範
囲に拡張するのがオクターブデバイダ7である。
オクターブデバイダ7は、第6図に示すようにプ
ログラムデバイダ6の出力(αC/N)を受けてこれ
を分周して各オクターブの音階信号Q1,Q2,Q3,
……,Q9をつくるデバイダチエーン7−1と、
各音階信号Q1,Q2,Q3,……,Q8とデバイスチ
エーン7−1への入力Q0の合計9個の音階信号
のうちから1個選択するデータセレクタ7−2お
よびアドレスラツチ7−3により構成される。ア
ドレスラツチ7−3の入力端子D0,D1,D2,D3
には、後述するノート演算装置4の出力するオク
ターブアドレスが印加されている。アンドゲート
4−30の出力が“1”になるとアドレスラツチ
7−3にオクターブアドレスが入力され記憶され
る。アドレスラツチ7−3の出力はデータセレク
タ7−2の入力端子A0,A1,A2,A4に印加され
る。データセレクタ7−2は、オクターブアドレ
スA0,A1,A2,A3の4ビツトのコードにしたが
つて、上記Q0,Q1,……,Q8の9個の音階信号
のうちの1つを選択するもであつて、市販の集積
回路素子の組み合わせ(たとえば、モトロラ社
MC14512や、同社MC14614Bと若干のアンドゲ
ートの組み合わせ)によつて実現できる。
The frequency of the output of the program divider 6 is α C /N. This signal varies over a one octave range. The octave divider 7 divides this frequency into so-called 1/2 n and extends it into the audible range.
As shown in FIG. 6, the octave divider 7 receives the output (α C /N) of the program divider 6, divides it, and generates scale signals Q 1 , Q 2 , Q 3 ,
..., divider chain 7-1 that creates Q 9 ,
Data selector 7-2 and address latch select one out of a total of nine scale signals, each scale signal Q 1 , Q 2 , Q 3 , ..., Q 8 and input Q 0 to device chain 7-1. 7-3. Input terminals D 0 , D 1 , D 2 , D 3 of address latch 7-3
is applied with an octave address output from a note calculation device 4, which will be described later. When the output of AND gate 4-30 becomes "1", the octave address is input to address latch 7-3 and stored. The output of address latch 7-3 is applied to input terminals A 0 , A 1 , A 2 and A 4 of data selector 7-2. The data selector 7-2 selects one of the nine scale signals Q 0 , Q 1 , ..., Q 8 according to the 4-bit code of octave addresses A 0 , A 1 , A 2 , A 3 . a combination of commercially available integrated circuit devices (e.g., Motorola
This can be achieved by using the MC14512 or the company's MC14614B with some AND gates.

つぎに、出力端子15に得られる音階信号の周
波数putについて述べる。オクターブデバイダ7
−1の入力信号Q0は、前述のトーンクロツク信
号TCKの周波数を8.6596MHz、α=0.99とする
と、分周数N=512のとき out=16.744KHz であり、これは音楽でいう音名C9に相当する。
また、オクターブデバイダ7−1の出力Q8は、
1/2分周を8回繰り返すので、全体で1/256にな
り、 put=16.744KHz/256=65.406Hz になる。つぎに分周数をN=1020にすると、 out=8.8698KHz/256=34.647Hz になる。したがつて、可聴周波数領域のほぼ全領
域の周波数を発生することができる。
Next, the frequency put of the scale signal obtained at the output terminal 15 will be described. Octave divider 7
If the frequency of the tone clock signal TCK mentioned above is 8.6596MHz and α=0.99, the input signal Q0 of -1 is out=16.744KHz when the frequency division number N=512, which is the pitch name C9 in music. corresponds to
Also, the output Q 8 of the octave divider 7-1 is
Since 1/2 frequency division is repeated 8 times, the total becomes 1/256, and put = 16.744KHz/256 = 65.406Hz. Next, if the frequency division number is set to N=1020, out=8.8698KHz/256=34.647Hz. Therefore, frequencies in almost the entire audible frequency range can be generated.

〔ノート演算装置〕[Note calculation device]

ノート演算装置4は、先に説明したように、キ
ーデータKDTと変調データMDTと粗調データ
CDTの3つのデータを加算し、かつ、modulo演
算を行なつて、ノートアドレスとオクターブアド
レスとを出力する。
As explained earlier, the note calculation device 4 inputs the key data KDT, modulation data MDT, and rough adjustment data.
The three CDT data are added together, a modulo operation is performed, and a note address and an octave address are output.

前述したように、1オクターブは、L=16のと
きには、192の量子化された分周数の組により成
り立つている。キーデータKDTは、12平均律で
演奏することを前提とする鍵盤と鍵スイツチ1に
よつて得られたものであるから、上記192個の分
周数のすべてに対応するのでなく、16個おき、す
なわち、C(i)、B(i)、A# (i)、…………、
D(i)、C# (i)(i=0、1、2……、15)
の12個に対応する。したがつて、キーデータ
KDTの表わす数値をDKとすると、その16倍の
16DKがノートアドレスに対応する。
As mentioned above, one octave is made up of 192 sets of quantized frequency division numbers when L=16. The key data KDT is obtained using a keyboard and key switch 1 that are assumed to be played in 12 equal temperament, so it does not correspond to all of the above 192 frequency division numbers, but every 16th division number. , that is, C(i), B(i), A# (i), ......
D(i), C# (i) (i=0, 1, 2..., 15)
Corresponds to 12 pieces. Therefore, the key data
If the value expressed by KDT is D K , then 16 times that
16D K corresponds to note address.

変調データMDTは、たとえば、ビブラートの
場合、あるノートアドレスを中心に、時間的にノ
ートアドレスを増減することにより、平均6.25セ
ントステツプを最小ステツプとする周波数変化も
与えるものである。変調データMDTは、先に説
明したように、符号ビツトと8ビツトの振幅ビツ
トより成立つているので、0〜±256のノートア
ドレスの増減ができる。これは、±1594セント
(±256×6.25セント)に対応し、約±1.5オク
ターブということになる。
For example, in the case of vibrato, the modulation data MDT also provides a frequency change with an average of 6.25 cent steps as the minimum step by temporally increasing or decreasing the note address around a certain note address. As explained above, the modulation data MDT is composed of a sign bit and 8 amplitude bits, so that the note address can be increased or decreased from 0 to ±256. This corresponds to ±1594 cents (±256 x 6.25 cents), which is approximately ±1.5 octaves.

粗調データCDTは、先に説明したように、11
ビツトの2進数である。したがつて、その大きさ
は、10進表現では、0〜2047になる。すなわち、
平均6.25セントステツプの2048個の粗調設定がで
きることになる。別の表現をすると 2048×6.25=12800セント であるから、約10オクターブ余りの粗調ができる
ことになる。
As explained earlier, the coarse adjustment data CDT is 11
It is a binary number of bits. Therefore, its size is 0 to 2047 in decimal representation. That is,
This means that you can make 2048 coarse adjustment settings with an average of 6.25 cent steps. Expressed in another way, it is 2048 x 6.25 = 12800 cents, which means that a rough pitch of about 10 octaves is possible.

変調データMDTの表わす数値をDM、粗調デー
タCDTの表わす数値をDCとする。これらDM、DC
とさらに先に述べたキーデータKDTのノートア
ドレスに対応する数値16DKとの和DSが、平均
6.25セントステツプで構成される音階のうちの所
定の音名を指示できる。すわわち、和DSは次式
のようになる。
Let D M be the numerical value represented by the modulation data MDT, and D C be the numerical value represented by the coarse adjustment data CDT. These D M , D C
The sum D S of the value 16D K corresponding to the note address of the key data KDT mentioned earlier is the average
Can indicate the name of a given note in a scale consisting of 6.25 cent steps. In other words, the sum D S is as shown in the following equation.

DS=16DK+DM+DC 和DSは、ノートアドレスの最大値191を越える
ことがある。これは、1オクターブの範囲を越え
たことを意味する。たとえば和DSが、数0、
192、384、………のように、192ずつ増加する数
に対応する音は、それぞれ同音名で互いにオクタ
ーブの関係になる。和DSを192で割り、その商を
AOCT、余りをANOTEとすると次式のようになる。
D S = 16 D K + D M + D C sum D S may exceed the maximum value of the note address, 191. This means that the range of one octave has been exceeded. For example, the sum D S is the number 0,
The sounds corresponding to numbers increasing by 192, such as 192, 384, etc., have homophone names and are in an octave relationship with each other. Divide the sum D S by 192 and take the quotient
If A OCT and the remainder are A NOTE , the following equation is obtained.

DS=192×AOCT+ANOTE (8) ANOTEは、第8図の分周数に対応するノートア
ドレスになり、AOCTはオクターブアドレスにな
る。たとえば、AOCT=0のとき、ANOHEは0〜191
の値をとり、これは、第8図の192個の分周数の
何番目にあたるかに対応する。AOCT=0のときに
は、第6図のオクターブデバイダ7のデータセレ
クタ7−2は、信号Q0を選択する。AOCT=1の
ときには、信号Qを選択する。以上の説明によ
り、和Dから、ノートアドレスとオクターブアド
レスを求めるにはmodulo192を求めるか、192の
割り算を行なえばよいことがわかる。
D S = 192×A OCT +A NOTE (8) A NOTE becomes the note address corresponding to the frequency division number in Figure 8, and A OCT becomes the octave address. For example, when A OCT = 0, A NOHE is 0 to 191
This value corresponds to the number of the 192 frequency division numbers shown in FIG. When A OCT =0, the data selector 7-2 of the octave divider 7 in FIG. 6 selects the signal Q0 . When A OCT =1, signal Q is selected. From the above explanation, it can be seen that in order to obtain the note address and octave address from the sum D, it is sufficient to obtain modulo192 or perform division by 192.

192の割り算は、公知のデイジタルの演算装置
を用いてもよいが、本実施例では、カウンタを用
いて、和DSを求め、かつ、同時に、割り算の答
を求めるようにしている。
Although a known digital arithmetic device may be used for the division of 192, in this embodiment, a counter is used to obtain the sum D S and at the same time to obtain the answer to the division.

第5図にノート演算装置4の主要部分を示し、
第2図の下端に残りの部分を示している。以下、
その動作を、第7回のタイミングチヤートと共に
説明する。
FIG. 5 shows the main parts of the notebook computing device 4,
The remaining portion is shown at the bottom of FIG. below,
The operation will be explained along with the seventh timing chart.

4−5は192進のアツプダウンカウンタである。
4−6は4ビツトのバイナリのアツプダウンカウ
ンタである。まず、和クリア信号ACLが、アツ
プダウンカウンタ4−5と4−6の各CL端子に
加わり、アツプダウンカウンタ4−5と4−6の
内容は、0になる。アツプダウンカウンタ4−
5,4−6の各U/D端子は、アツプカウントと
ダウンカウントとを切り換えるもので、アツプカ
ウントのときには加算が、ダウンカウントのとき
には減算が行なわわれる。和クリア信号ACLの
つぎに、変調タイムスロツト信号MTSがアンド
ゲート4−9と4−12に加わる。アンドゲート
4−9の他の入力端子には符号信号SGNが加わ
つている。符号信号SGNはアンドゲート4−9
オアゲート4−10を介して、アツプダウンカウ
ンタ4−5,4−6のU/D端子に加わる。した
がつて、符号SGNが“1”のときには、アツプ
カウントになり、“0”のときにはダウンカウン
トになる。なおオアゲート4−10の残りの2つ
の端子には、このとき“0”が加わつている。ア
ンドゲート4−12には、和クロツク信号ACK
と、オアゲート4−14の出力も印加されてお
り、アンドゲート4−12の出力は、ダウンカウ
ンタ4−13のCK端子とオアゲート4−11の
1入力端子MDT*として加わつている。先に述
べたように、ダウンカウンタ4−13には、すで
に変調データMDTがプリセツトされている。こ
の変調データMDTが0でなければ、オアゲート
4−14の出力は“1”であるから、アンドゲー
ト4−12は、和クロツク信号ACKをダウンカ
ウンタ4−13に供給し、ダウンカウントを行な
う。また同時に、その和クロツク信号ACK
(MDT*)はオアゲート4−11を介して、アツ
プダウンカウンタ4−5のCK端子にも印加され、
符号信号SGNが“1”か“0”かに応じて、ア
ツプカウントもしくはダウンカウントをさせる。
なお、このとき、すなわち、変調タイムスロツト
信号MTSが“1”のときには、オアゲート4−
11の他の入力端子は“0”である。ダウンカウ
ンタ4−13がダウンカウントしてゆき、その内
容が0になると、オアゲート4−14の出力が
“0”になりアンドゲート4−12の出力してい
たMDT*はなくなり、アツプダウンカウンタ4
−5,4−6は計数を終了する。ダウンカウンタ
4−13とアツプダウンカウン4−5,4−6と
では、この間に数えられた双方のクロツク信号
(CL端子の信号)の数が等しい。数はプリセツト
された変調データMDTに一致する。したがつ
て、アツプダウンカウンタ4−5,4−6の初期
値が0であると、符号信号SGNが“1”のとき
は、初期値の0からこの数すなわち変調データ
MDT分だけカウントアツプされることになる。
すなわち、初期値に変調データMDTが加えられ
たことになる。他方、符号信号SGNが“0”の
ときには、アツプダウンカウンタ4−5,4−6
は初期値から上記数すなわち変調データMDT分
だけカウントダウンされるので、初期値から変調
データMDTを引算したことになる。以上で、変
調データMDTの加減算が終了した。
4-5 is a 192-decimal up-down counter.
4-6 is a 4-bit binary up-down counter. First, the sum clear signal ACL is applied to each CL terminal of the up-down counters 4-5 and 4-6, and the contents of the up-down counters 4-5 and 4-6 become zero. Updown counter 4-
Each U/D terminal 5, 4-6 is used to switch between up-counting and down-counting, and when up-counting, addition is performed, and when down-counting, subtraction is performed. Next to the sum clear signal ACL, a modulated time slot signal MTS is applied to AND gates 4-9 and 4-12. A code signal SGN is applied to the other input terminal of the AND gate 4-9. Code signal SGN is AND gate 4-9
It is applied to the U/D terminals of up-down counters 4-5 and 4-6 via OR gate 4-10. Therefore, when the code SGN is "1", it is an up count, and when it is "0", it is a down count. Note that "0" is added to the remaining two terminals of the OR gate 4-10 at this time. AND gate 4-12 has a sum clock signal ACK
The output of the OR gate 4-14 is also applied, and the output of the AND gate 4-12 is added to the CK terminal of the down counter 4-13 and one input terminal MDT * of the OR gate 4-11. As mentioned earlier, modulation data MDT has already been preset in the down counter 4-13. If this modulated data MDT is not 0, the output of the OR gate 4-14 is "1", so the AND gate 4-12 supplies the sum clock signal ACK to the down counter 4-13 to perform down counting. At the same time, the sum clock signal ACK
(MDT * ) is also applied to the CK terminal of the up-down counter 4-5 via the OR gate 4-11,
Depending on whether the code signal SGN is "1" or "0", up-counting or down-counting is performed.
Note that at this time, that is, when the modulation time slot signal MTS is "1", the OR gate 4-
The other input terminals of 11 are "0". When the down counter 4-13 counts down and its contents become 0, the output of the OR gate 4-14 becomes "0", the MDT * output from the AND gate 4-12 disappears, and the up-down counter 4
-5, 4-6 ends counting. The number of clock signals (signals at the CL terminal) counted by the down counter 4-13 and the up/down counters 4-5 and 4-6 is the same. The number corresponds to the preset modulation data MDT. Therefore, if the initial value of the up-down counters 4-5 and 4-6 is 0, when the code signal SGN is "1", this number, that is, the modulation data
The amount will be counted up by the amount of MDT.
That is, the modulation data MDT is added to the initial value. On the other hand, when the code signal SGN is "0", the up/down counters 4-5, 4-6
is counted down from the initial value by the above number, that is, the modulation data MDT, so the modulation data MDT is subtracted from the initial value. This completes the addition and subtraction of the modulation data MDT.

つぎに、キーデータKDTの加減算演算が行な
われる。先に説明したキーアサイナ2では、低音
優先方式であつた。すなわち、キーデータKDT
が小さいほど、低音の鍵を指示していることにな
る。一方、ノートアドレスは、和DSが大きいほ
ど低音になるようにした。したがつて、キーデー
タKDT(16DK)は加算されるのでなく、減算さ
れなければならない。このために、優先端子
PRYを“0”にする。
Next, addition and subtraction operations are performed on the key data KDT. The Key Assigner 2 described above was based on a bass priority system. i.e. key data KDT
The smaller the value, the lower the key. On the other hand, the note address was made such that the higher the sum D S , the lower the note. Therefore, the key data KDT (16D K ) must be subtracted rather than added. For this, the preferred terminal
Set PRY to “0”.

第2図において、ラツチ2−9はキーデータ
KDTを出力している。先に述べたキーエネーブ
ル信号KENが“0”になつた後、キーロード信
号KLDが発生して、第2図のプリセツタブルの
ダウンカウンタ4−1のLD端子に加わり、キー
データKDTをプリセツトする。その後、キータ
イムスロツト信号KTSが発生して、アンドゲー
ト4−3と4−4に加わる。アンドゲート4−3
には、Lクロツク信号LCKとオアゲート4−2
の出力とが加わつている。アンドゲート4−4に
は、和クロツク信号ACKとオアゲート4−2の
出力とが加わつている。第2図に示したLクロツ
ク信号LCKは、和クロツク信号ACKを1/16に分
周した信号である。キータイムスロツト信号
KTSが“1”の間に、Lクロツク信号LCKはア
ンドゲート4−3を介してダウンカウンタ4−1
のCK端子に加わり、ダウンカウントさせ、ダウ
ンカウンタ4−1の内容が0になるとオアゲート
4−2の出力が“0”になつて、計数を終了す
る。一方この間に、和クロツク信号ACKはアン
ドゲート4−4、第6図のオアゲート4−11を
介してアツプダウンカウンタ4−5,4−6に加
わり、計数する。ダウンカンタ4−1が1回計数
する間に、アツプダウンカウンタ4−5,4−6
は16回計数する。したがつて、ダウンカウンタ4
−1の初期値の6倍だけ、アツプダウンカウンタ
4−5,4−6が計数することになる。この計数
の間は、アンドゲート4−8、オアゲート4−1
0を介して、“0”が、アツプダウンカウンタ4
−5と4−6のU/D端子に印加されているので、
アツプダウンカウンタ4−5と4−6は、変調デ
ータMDT(DM)から、キーデータKDT(16DK)
を減算することになる。すなわち、アツプダウン
カウンタ4−5,4−6の和データDSはDS=DM
−16DKとなる。
In Figure 2, latch 2-9 is the key data
Outputting KDT. After the previously mentioned key enable signal KEN becomes "0", a key load signal KLD is generated and applied to the LD terminal of the presettable down counter 4-1 in FIG. 2 to preset the key data KDT. Thereafter, a key time slot signal KTS is generated and applied to AND gates 4-3 and 4-4. and gate 4-3
In this case, the L clock signal LCK and the OR gate 4-2 are connected.
The output of is added. The sum clock signal ACK and the output of the OR gate 4-2 are applied to the AND gate 4-4. The L clock signal LCK shown in FIG. 2 is a signal obtained by dividing the sum clock signal ACK by 1/16. Key time slot signal
While KTS is "1", the L clock signal LCK is passed through the AND gate 4-3 to the down counter 4-1.
When the contents of the down counter 4-1 reach 0, the output of the OR gate 4-2 becomes "0" and the counting ends. Meanwhile, during this period, the sum clock signal ACK is applied to the up/down counters 4-5, 4-6 via the AND gate 4-4 and the OR gate 4-11 in FIG. 6 for counting. While the down counter 4-1 counts once, the up-down counters 4-5 and 4-6
is counted 16 times. Therefore, down counter 4
The up-down counters 4-5 and 4-6 count six times the initial value of -1. During this counting, AND gate 4-8, OR gate 4-1
0, “0” is the up-down counter 4
Since it is applied to the U/D terminals of -5 and 4-6,
Up-down counters 4-5 and 4-6 convert key data KDT (16D K ) from modulation data MDT ( DM ).
will be subtracted. In other words, the sum data D S of up-down counters 4-5 and 4-6 is D S =D M
−16D K.

つぎに、粗調データCDT(DC)の加算演算につ
いて説明する。先に述べたように、アツプダウン
カウンタ4−15には、粗調ゲート信号CGTの
立下りと共に、粗調データCDTが得られた。こ
のあとで、粗調タイムスロツト信号CTSが現わ
れ、オアゲート4−10、インバータ10−3お
よびアンドゲート4−17に加わる。オアゲート
4−10の出力が“1”になるから、アツプダウ
ンカウンタ4−5,4−6はアツプカウントすな
わち加算状態になる。インバータ10−3の出力
は(0)になり、アツプダウンカウンタ4−15
はダウンカウントに切り換わる。アンドゲート1
0−4の出力は“0”になる。アツプダウンカウ
ンタ4−15の内容が0でないときオアゲート4
−16の出力は“1”であるのでアンドゲート4
−17が開いて、和クロツク信号ACKが通過し、
オアゲート4−18を介してアツプダウンカウン
タ4−15のCK端子に加わり、ダウンカウント
の計数を実行する。粗調タイムスロツト信号
CTSが“1”の間にアツプダウンカウンタ4−
15の出力が0になるとオアゲート4−16の出
力が“0”になりアンドゲート4−17は閉じ
る。したがつて、アツプダウンカウンタ4−16
のカウントダウン数は、その初期値である粗調デ
ータCDTに等しい。またこのカウント数に等し
い数の和クロツク信号ACK(CDT*)はアンドゲ
ート4−17からオアゲート4−11を介してア
ツプダウンカウンタ4−5,4−6に加わる。ア
ツプダウンカウンタ4−5,4−6はアツプカウ
ントするから、粗調データCDT(DC)が、さらに
加算される。
Next, the addition operation of the rough adjustment data CDT (D C ) will be explained. As mentioned above, the up-down counter 4-15 receives the coarse adjustment data CDT at the fall of the coarse adjustment gate signal CGT. After this, the coarse adjustment time slot signal CTS appears and is applied to OR gate 4-10, inverter 10-3 and AND gate 4-17. Since the output of the OR gate 4-10 becomes "1", the up-down counters 4-5 and 4-6 enter an up-counting state, that is, an addition state. The output of the inverter 10-3 becomes (0), and the up-down counter 4-15
switches to a down count. and gate 1
The output of 0-4 becomes "0". OR gate 4 when the content of up-down counter 4-15 is not 0
Since the output of −16 is “1”, the AND gate 4
-17 opens, the sum clock signal ACK passes,
It is applied to the CK terminal of the up-down counter 4-15 via the OR gate 4-18, and performs down counting. Coarse adjustment time slot signal
Up-down counter 4- while CTS is “1”
When the output of 15 becomes 0, the output of OR gate 4-16 becomes 0, and AND gate 4-17 is closed. Therefore, up-down counter 4-16
The countdown number is equal to the coarse adjustment data CDT, which is its initial value. Further, a sum clock signal ACK (CDT * ) equal to this count number is applied from the AND gate 4-17 to the up-down counters 4-5 and 4-6 via the OR gate 4-11. Since the up-down counters 4-5 and 4-6 count up, the rough adjustment data CDT (D C ) is further added.

したがつて、結局、粗調タイムスロツト信号の
立下り時には、和データ DS=DM−16×DK+DC (9) がアツプダウンカウンタ4−5と4−6に記憶さ
れることになる。
Therefore, in the end, at the falling edge of the coarse adjustment time slot signal, the sum data D S =D M -16×D K +D C (9) is stored in the up-down counters 4-5 and 4-6. Become.

アツプダウンカウンタ4−5は192進構成であ
る。したがつて、アツプダウンカウンタ4−5の
計数値は、和データDSを192で割つた余りANOTEに
なり、アツプダウンカウンタ4−6の計数値は商
AOCTになる。粗調タイムスロツトCTSの終了後
に和ロード信号SLDが、第6図のアンドゲート
4−30を介してアドレスラツチ5−2と7−3
のLD端子に加わり、ノートアドレスとオクター
ブアドレスとをそれぞれラツチし記憶する。4−
7(第5図)はオーバフロー検出ゲートであつ
て、和データDSが負または所定値DSMAXを越えた
ときに、“0”を出力し、その他の場合に、“1”
を出力するものである。オーバフロー検出ゲート
4−7が“0”になると、第6図のアンドゲート
4−30が禁止され、和ロード信号SLDが阻止
され、和データDSはアドレスラツチ5−2,7
−3に記憶されない。したがつて前回のノートア
ドレスとオクターブアドレスがそのまゝ代りに用
いられる。
The up/down counter 4-5 has a 192-decimal configuration. Therefore, the count value of up-down counter 4-5 is the remainder A NOTE when sum data D S is divided by 192, and the count value of up-down counter 4-6 is the quotient.
A becomes OCT . After the coarse adjustment time slot CTS ends, the sum load signal SLD is applied to the address latches 5-2 and 7-3 via the AND gate 4-30 in FIG.
LD terminal, and latches and stores the note address and octave address respectively. 4-
7 (Fig. 5) is an overflow detection gate, which outputs "0" when the sum data D S is negative or exceeds a predetermined value D SMAX , and outputs "1" in other cases.
This outputs the following. When the overflow detection gate 4-7 becomes "0", the AND gate 4-30 in FIG .
-3 is not stored. Therefore, the previous note address and octave address are used instead.

以上の説明よりわかるように、キーデータ
KDT、変調データMDT、粗調データCDTの3
種のデータは、それぞれのタイムスロツトにおい
て、3つのカウンタ4−1,4−13,4−15
とアツプダウンカウンタ4−5,4−6とが協同
で動作することにより、順次、加減算処理され
る。また、アツプダウンカウンタ4−5を192進
構成にしておくことにより、192の割り算処理が
自動的に実施されてしまう。
As you can see from the above explanation, the key data
KDT, modulation data MDT, coarse adjustment data CDT
The seed data is stored in three counters 4-1, 4-13, 4-15 in each time slot.
The up-down counters 4-5 and 4-6 work together to sequentially perform addition and subtraction processing. Furthermore, by setting the up-down counter 4-5 to have a 192-decimal configuration, division processing by 192 is automatically performed.

上記説明においては、L=16とした。このよう
にすれば、16は2進数で10000であり、扱いやす
い。しかし、分周数Nの組として、第8図以外の
ものを使う場合、Lとして他の値を用いる方がよ
い場合もある。
In the above description, L=16. In this way, 16 is 10000 in binary, which is easy to handle. However, when using a set of frequency division numbers N other than those shown in FIG. 8, it may be better to use another value for L.

上記説明の加減算は、カウンタを用いて行なつ
たが、周知の直列演算式の加減算器や、並列演算
式の加減算器を用いてもよいことはもちろんであ
る。これらの加減算器を用いる際、キーデータ
KDT、変調データMDT、粗調データCDTを加
減算器に供給するためのデータレジスタの形式は
上記カウンタの場合と異なる場合があるのはもち
ろんであるが、これらの変更は、デイジタル技術
分野では設計的な事項にすぎないので説明を省略
する。
Although the addition and subtraction in the above description was performed using a counter, it is of course possible to use a well-known serial operation type adder/subtractor or a parallel operation type adder/subtractor. When using these adders/subtractors, key data
Of course, the format of the data register for supplying the KDT, modulation data MDT, and coarse adjustment data CDT to the adder/subtractor may be different from that of the above counter, but these changes are due to design considerations in the field of digital technology. Since this is only a minor matter, the explanation will be omitted.

つぎに、これらの直列演算や並列演算を行なう
場合に、その後必要になる192の割り算は、非常
に複雑な構成になるのが普通一般の状況である。
この割り算を、ほぼ省略する方法について、以下
第9図の図面と共に説明する。
Next, when performing these serial operations or parallel operations, the division by 192 that is required afterward is usually a very complex structure.
A method for substantially omitting this division will be described below with reference to FIG. 9.

第9図は、並列演算器を用いた場合に、上記割
り算を不要にする構成である。4−40は第1の
データレジスタであつて下位の桁より、4ビツト
のレジスタ4−41、2ビツトのレジスタ4−4
22ビツトのレジスタ4−43、4ビツトのレジ
スタ4−44に分けられる。4−50は第2のデ
ータレジスタであつて同じく、4ビツト、2ビツ
ト、2ビツト、4ビツトの各レジスタ4−51、
4−52、4−53、4−54に分けられる。4
−60はフルアダーであつて、やはり、下位の桁
から4−61,4−62,4−63,4−64の
4つの部分に分けられる。4−61は4ビツト2
進、4−62は2ビツト1桁の2進化3進、4−
63は2ビツト2進、4−64は4ビツト2進の
加算器である。ここで、4−62は2進化3進演
算を行なうもので、2つの数A、Bと下位の4−
61の加算器からのキヤリーCの和を演算すると
2ビツトの出力と1ビツトのキヤリー出力を出
す。その演算の真理値表は、当然のことながら、
第10図のようになる。4−70は演算結果をた
くわえる第3のレジスタで、上記データのビツト
構成にしたがつて、各レジスタ4−71,4−7
2,4−73,4−74に分けることができる。
FIG. 9 shows a configuration that makes the above division unnecessary when a parallel arithmetic unit is used. 4-40 is the first data register, and from the lower digit, 4-bit register 4-41, 2-bit register 4-4
It is divided into a 22-bit register 4-43 and a 4-bit register 4-44. 4-50 is the second data register, which also has 4-bit, 2-bit, 2-bit, and 4-bit registers 4-51,
It is divided into 4-52, 4-53, and 4-54. 4
-60 is a full adder, which is also divided into four parts, 4-61, 4-62, 4-63, and 4-64, starting from the lowest digit. 4-61 is 4 bits 2
decimal, 4-62 is 2-bit 1-digit binary coded ternary, 4-
63 is a 2-bit binary adder, and 4-64 is a 4-bit binary adder. Here, 4-62 performs binary coded ternary operation, and consists of two numbers A, B and the lower 4-62.
When the sum of the carries C from the 61 adders is calculated, a 2-bit output and a 1-bit carry output are produced. The truth table for that operation is, of course,
It will look like Figure 10. Reference numeral 4-70 is a third register that stores the calculation results, and each register 4-71, 4-7 according to the bit configuration of the above data.
It can be divided into 2, 4-73, and 4-74.

第1のレジスタ4−40にキーデータKDTを
入れ、第2のレジスタ4−50に変調データ
MDTを入れ、和を求める場合を考える。キーデ
ータKDTは、上記のように、下位より4ビツト
2進、2ビツト3進、2ビツト2進、4ビツト2
進で表現されていなければならない。このために
は、キーアサイナ2のカウンタ2−8を下位3進
カウンタと上位2進4ビツト以上のカウンタによ
り構成し、下位3進カウンタのキヤリーで上位2
進4ビツトカウンタを計数するようにすれば、自
動的に、2ビツト3進とそれより上位2進のデー
タが得られる。このデータをレジスタ4−40の
4−42〜4−44に格納し、レジスタ4−41
には0を格納すればよい。
Enter the key data KDT in the first register 4-40, and the modulation data in the second register 4-50.
Consider the case of inserting MDT and calculating the sum. As mentioned above, the key data KDT is 4-bit binary, 2-bit ternary, 2-bit binary, and 4-bit binary from the lowest order.
Must be expressed in digits. To do this, the counters 2-8 of the key assigner 2 are configured with a lower ternary counter and a counter with 4 or more upper binary bits, and the carry of the lower ternary counter is used to calculate the upper 2 bits.
If a 4-bit decimal counter is used for counting, 2-bit ternary data and higher-order binary data can be automatically obtained. This data is stored in registers 4-42 to 4-44 of register 4-40, and
0 may be stored in .

第2のレジスタ4−50には変調データMDT
を入れるが、これも、ビツト構成を加算器に合わ
せる必要がある。このためには、第5図のカウン
タ類9−1と4−13の両方を、下位4ビツトを
2進カウンタで、中間2ビツトを3進カウンタ
で、それより上位を2進カウンタで構成すること
により、そのデータをそのまま、第2のレジスタ
4−50に格納することが可能になる。このよう
にすれば、第3のレジスタ4−70にはキーデー
タKDTと変調データMDTの和が得られるが、こ
の和データのうち、レジスタ4−71,4−7
2,4−73の部分は、16×3×4=192となり、
192進であり、192進の上位桁がレジスタ4−74
の4ビツトに表現される。これらのデータを再
び、第1または第2のレジスタに入れ、第2また
は第1のレジスタに粗調データを入れて加算すれ
ば、最終的に必要なデータが得られる。レジスタ
4−71,4−72,4−73のデータは192進
であるのでノートアドレスに使え、レレジスタ4
−74の出力はオクターブアドレスに使える。し
たがつて、とくに192の割り算を行なう必要はな
い。
The second register 4-50 contains modulation data MDT.
However, this also requires matching the bit configuration to the adder. To do this, both counters 9-1 and 4-13 in Figure 5 are configured with a binary counter for the lower 4 bits, a ternary counter for the middle 2 bits, and a binary counter for the higher order. This allows the data to be stored as is in the second register 4-50. In this way, the sum of the key data KDT and the modulation data MDT can be obtained in the third register 4-70.
The part 2,4-73 becomes 16 x 3 x 4 = 192,
It is 192 decimal, and the upper digit of 192 decimal is register 4-74.
It is expressed in 4 bits. By putting these data into the first or second register again, and putting the rough adjustment data into the second or first register and adding them, the necessary data can finally be obtained. The data in registers 4-71, 4-72, and 4-73 are in 192 decimal, so they can be used as note addresses, and register 4
The -74 output can be used as an octave address. Therefore, there is no need to perform division by 192.

3進演算は加算器4−62と4−63とを入れ
かえて構成し、対応するレジスタやカウンタも同
様に入れかえてもよい。また、L=16以外の値の
ときは、加算器4−61と対応するレジスタやカ
ウンタ類をLに対応するようにすればよい。たと
えば、12平均律のみでL=1の場合は、加算器4
−61と対応するレジスタやカウンタ類は不要に
なる。3進演算以外に3の偶数倍演算でもよいこ
とはいうまでもない。
The ternary operation may be configured by replacing the adders 4-62 and 4-63, and the corresponding registers and counters may also be replaced in the same way. Further, when L=a value other than 16, registers and counters corresponding to the adder 4-61 may be made to correspond to L. For example, if L=1 with only 12 equal temperament, adder 4
-61 and corresponding registers and counters become unnecessary. It goes without saying that in addition to the ternary operation, an even multiple of 3 operation may also be used.

第11図は3進加算器の実施例である。第11
図において4−80は2ビツトのフルアダーで (x,y,z)=(A1,A0)+(B1,B0)+
Co-1 を実行する。zはキヤリーである。x、y、zは
論理回路4−81に加えられ、S0、S1、Coに変
換される。(S1、S0)は2進化3進数、Coはキヤ
リーである。論理回路4−81の論理式は、真理
値表より、求まる。この論理式は、通常の技術で
構成できるものであることはいうまでもない。
FIG. 11 shows an embodiment of a ternary adder. 11th
In the figure, 4-80 is a 2-bit full adder (x, y, z) = (A 1 , A 0 ) + (B 1 , B 0 ) +
Run C o-1 . z is carry. x, y, and z are added to the logic circuit 4-81 and converted into S 0 , S 1 , and Co. (S 1 , S 0 ) are binary coded ternary numbers, and C o is a carry number. The logical formula of the logic circuit 4-81 is determined from the truth table. Needless to say, this logical formula can be constructed using ordinary techniques.

先に説明したノートテーブルの内容やノートア
ドレス、オクターブアドレス、キーデータKDT、
変調データMDT、粗調データCDTなどの形式
は、上記実施例に限られず種々のものがとり得る
ことは云うまでもない。たとえば、ノートアドレ
スが大きいほど分周数を大きくする代りに、逆に
小さくすることもできる。また、各データは負数
を考えず、適切なオフセツトを与えて、オフセツ
トバイナリ形式のようにすることもできる。ま
た、加算のみの処理で和データを得るようにする
ことも各データの形式に注意することによつて可
能である。また、上記加減算の切り換えの代り
に、キーデータKDTのコンプリメントをとるか、
そのままのデータとするかを切り換ええても、大
略、加減算の切り換えができる。
The contents of the note table explained earlier, note addresses, octave addresses, key data KDT,
It goes without saying that the formats of the modulation data MDT, coarse adjustment data CDT, etc. are not limited to those of the above embodiments, and may take various formats. For example, instead of increasing the frequency division number as the note address becomes larger, it can also be made smaller. Furthermore, each data can be set in an offset binary format by giving an appropriate offset without considering negative numbers. Furthermore, it is also possible to obtain sum data by processing only addition by paying attention to the format of each data. Also, instead of switching the addition/subtraction mentioned above, take the complement of the key data KDT, or
Even if you can switch between using the data as is, you can generally switch between addition and subtraction.

先の説明ではPRYを“0”にして低音優先と
した。PRYを“1”とすれば、キーデータKDT
は加算されるので、高音優先になる。なおこの際
キーアサイナの項で説明したように、マトリツク
スの鍵スイツチの配列を高低逆にする必要があ
る。
In the previous explanation, PRY was set to "0" to give priority to bass. If PRY is “1”, key data KDT
are added, so treble is given priority. At this time, as explained in the section on the key assigner, it is necessary to reverse the arrangement of the key switches in the matrix.

これらのノート演算処理は、上記データのフオ
ーマツト(形式)の特徴を利用するようにして、
いわゆるマイクロプロセツサやマイクロコンピユ
ータのようにプログラムによつて制御される演算
方式によつて実現してもよい。この場合にも、上
記の割り算をできるだけさける方法が処理時間を
速くするのに有効である。
These note calculation processes utilize the characteristics of the data format described above.
It may be realized by an arithmetic method controlled by a program such as a so-called microprocessor or microcomputer. In this case as well, it is effective to avoid the above division as much as possible in order to speed up the processing time.

〔タイミングパルス発生器〕[Timing pulse generator]

以上の説明において、種々のタイミングパルス
を使用した。これらのタイミングパルスは、和ク
ロツク信号ACKの最高の周波数として、フリツ
プフロツプを用いたカウンタとゲート群により、
つくることができる。たとえば、Lクロツク信号
LCKは和クロツク信号ACKを1/16に分周したも
のでよい。キーエネーブル信号KENは、和クロ
ツク信号ACKの48×L×2個のパルス分の幅に
なる。キータイムスロツト信号KTSは48×L個
のパルス分の幅をもち、粗調ゲート信号CGTと
粗調タイムスロツト信号CTSは、それぞれ12×
L×7個のパルス分の幅をもち、変調ゲート信号
MGTは12×L×12個のパルス分の幅をもち、変
調タイムスロツト信号MTSは12×L個または256
個のパルス分の幅をもつようにするとよい。な
お、粗調ゲート信号CGTのパルス幅に合わせて、
粗調クロツク信号CCKは約1MHz以下にする必要
がある。また、変調クロツク信号MCKは、変調
ゲート信号MGTのパルス幅間に、最大256カウ
ントまで許されるから、それに見あつた周波数範
囲にすればよい。たとえば、和クロツク信号
ACKを1MHzとすると、Lクロツク信号LCKは
6.25KHzになり、変調ゲート時間は 12×16×12μsec=2304μsec になる。この間に、255カウントするときは、1
カウント約9.04μsecになるので、変調クロツク信
号MCKは、最大111KHzになる。
In the above description, various timing pulses were used. These timing pulses are determined by the flip-flop counter and gate group as the highest frequency of the sum clock signal ACK.
You can make it. For example, L clock signal
LCK may be the sum clock signal ACK divided into 1/16. The key enable signal KEN has a width of 48×L×2 pulses of the sum clock signal ACK. The key time slot signal KTS has a width of 48×L pulses, and the coarse adjustment gate signal CGT and coarse adjustment time slot signal CTS each have a width of 12×L.
The modulation gate signal has a width of L x 7 pulses.
MGT has a width of 12 x L x 12 pulses, and modulation time slot signal MTS has a width of 12 x L or 256 pulses.
It is preferable to have a width of 3 pulses. In addition, according to the pulse width of the coarse adjustment gate signal CGT,
The coarse adjustment clock signal CCK must be approximately 1MHz or less. Further, since the modulation clock signal MCK is allowed to have a maximum of 256 counts during the pulse width of the modulation gate signal MGT, it is sufficient to set the frequency range accordingly. For example, the sum clock signal
When ACK is 1MHz, L clock signal LCK is
The frequency will be 6.25KHz, and the modulation gate time will be 12 x 16 x 12μsec = 2304μsec. During this time, when counting 255, 1
Since the count is approximately 9.04 μsec, the modulation clock signal MCK becomes a maximum of 111 KHz.

また、粗調データについては、粗調クロツク信
号CCKを最大1MHzとすると、粗調ゲート時間12
×L×7の間に、1344カウントできるから、7オ
クターブの間の粗調ができることになる。この場
合、第5回のアツプダウンカウンタ4−15はオ
ーバフローしないから、オーバフロー防止用のオ
アゲート4−16はなくてもよいことになる。他
のカウンタに設けているオーバフロー防止用のゲ
ート類も、タイミングパルスの設計のし方によつ
ては省略することもできる。
Regarding coarse adjustment data, if the coarse adjustment clock signal CCK is set to 1MHz maximum, the coarse adjustment gate time is 12
Since 1344 counts can be made between xL x 7, coarse tuning over 7 octaves is possible. In this case, since the fifth up-down counter 4-15 does not overflow, the OR gate 4-16 for overflow prevention is not necessary. Overflow prevention gates provided in other counters may also be omitted depending on how the timing pulses are designed.

第7図のタイミングチヤートにおいて、和クリ
ア信号ACTが発生してから、和ロード信号SLD
が発生するまでが、全一周期になる。この時間
を、12×L×16個のACKパルスによつてつくる
場合、3.072msecになり、通常の鍵盤演奏に対し
ては十分に速い動作になる。
In the timing chart shown in Figure 7, after the sum clear signal ACT is generated, the sum load signal SLD
The period until this occurs is one full cycle. If this time is created by 12 x L x 16 ACK pulses, it will be 3.072 msec, which is sufficiently fast for normal keyboard performance.

以上説明したように、本発明によれば、鍵スイ
ツチとキーアサイナと移調装置を備えておき、押
鍵された鍵スイツチの位置に応じた数値情報と移
調データとの加減算という単純な処理を行なうこ
とによつて、確実に、移調を行なうことができ
る。
As explained above, according to the present invention, a key switch, a key assigner, and a transposing device are provided, and a simple process of adding and subtracting numerical information and transposition data according to the position of the pressed key switch is performed. This allows for reliable transposition.

なお、本発明は、上記実施例に限らず、本発明
の要旨とする情報処理を行なうものであれば何で
もよく、種々のデイジタル演算処理装置や、マイ
クロコンピユータのようにプログラムによつて処
理するようなものでも実現できることはいうまで
もない。
Note that the present invention is not limited to the above-mentioned embodiments, and may be applied to any device that performs the information processing that is the gist of the present invention, and may be applied to various digital arithmetic processing devices or programs such as microcomputers. It goes without saying that anything can be achieved.

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

第1図は本発明を用いた電子楽器の実施例のブ
ロツク図、第2図はキーアサイナを中心にした詳
細なブロツク図、第2−a図は第2図のキーアサ
イナにおいて鍵数を増大させたときの実施例を示
すブロツク図、第3図はキーオンパルス発生器の
実施例のブロツク図、第4図は変調装置のアナロ
グ部の実施例を示すブロツク図、第5図はノート
演算装置および粗調装置を中心とする部分の詳細
なブロツク図、第5−a図は粗調装置の別の実施
例のブロツク図、第6図は音階信号をつくりだす
プログラムデバイダおよびクロツク処理装置を中
心とする部分のブロツク図、第6−a図、第6−
b図はクロツク処理装置の別の実施例のブロツク
図およびそのタイミングパルスの図、第7図は本
発明を用いた電子楽器のタイミングパルスの図、
第8図は第6図に示したノートテーブルの記憶す
る分周数Nの一例を示す図、第9図はノート演算
装置の別の実施例を示すブロツク図、第10図は
第9図の動作を説明するための図、第11図は3
進加算器の実施例のブロツク図、第11−a図は
第11図の動作を説明するための図である。 1……鍵スイツチ、2……キーアサイナ、3…
…キーオンパルス発生器、4……ノート演算装
置、5……ノートテーブル、6……プログラムデ
バイダ、7……オクターブデバイダ、8……クロ
ツク処理理装置、9……変調装置、10……粗調
装置、11……DA変換器、12……クロツク発
振器、13……微調装置、14……移調装置、1
5……出力端子、16……タイミングパルス発生
器。
Figure 1 is a block diagram of an embodiment of an electronic musical instrument using the present invention, Figure 2 is a detailed block diagram centered on the key assigner, and Figure 2-a is the key assigner of Figure 2 with an increased number of keys. 3 is a block diagram showing an embodiment of the key-on pulse generator, FIG. 4 is a block diagram showing an embodiment of the analog part of the modulation device, and FIG. 5 is a block diagram showing an embodiment of the analog part of the modulation device. Figure 5-a is a detailed block diagram of the part centered on the tuning device, Figure 5-a is a block diagram of another embodiment of the coarse tuning device, and Figure 6 is the part centered on the program divider and clock processing device that generates the scale signal. Block diagram, Figure 6-a, Figure 6-
Figure b is a block diagram of another embodiment of the clock processing device and its timing pulse diagram; Figure 7 is a diagram of the timing pulse of an electronic musical instrument using the present invention;
FIG. 8 is a diagram showing an example of the frequency division number N stored in the note table shown in FIG. 6, FIG. 9 is a block diagram showing another embodiment of the note calculation device, and FIG. A diagram to explain the operation, Figure 11 is 3
FIG. 11-a, a block diagram of an embodiment of the advance adder, is a diagram for explaining the operation of FIG. 11. 1...Key switch, 2...Key assigner, 3...
...Key-on pulse generator, 4...Note calculation device, 5...Note table, 6...Program divider, 7...Octave divider, 8...Clock processing device, 9...Modulation device, 10...Coarse adjustment Device, 11...DA converter, 12...Clock oscillator, 13...Fine adjustment device, 14...Transposition device, 1
5... Output terminal, 16... Timing pulse generator.

Claims (1)

【特許請求の範囲】 1 鍵によつて駆動されるスイツチを含む複数の
鍵スイツチと、上記鍵スイツチのうち押鍵された
鍵スイツチの位置を示す数値情報を出力するキー
アサイナと、移調データを設定し出力する移調装
置とを備え、上記数値情報と上記移調データとを
加算または減算し、得られた和または差データを
上記押鍵された鍵スイツチの位置に応じたキーデ
ータとして用い、上記キーデータにより所定の音
階音を出力するようにした電子楽器。 2 特許請求の範囲第1項の記載において、キー
アサイナは、上記鍵スイツチを走査して鍵スイツ
チの開閉を検出する走査装置と、走査した鍵数を
順次計数し、その計数値を上記数値情報として出
力するカウンタを有し、上記カウンタの初期値と
して、前記移調データを用いるようにした電子楽
器。 3 特許請求の範囲第1項の記載において、キー
アサイナは、上記鍵スイツチの複数個によつて成
る一群ごとに一括して開閉を検出する走査装置
と、上記走査装置の検出情報を検出結果に応じて
数値情報に変換する装置と、上記数値情報と移調
データとの加減算を行なつてキーデータを得る加
減算装置とを有することを特徴とする電子楽器。
[Scope of Claims] 1. A plurality of key switches including a switch driven by a key, a key assigner that outputs numerical information indicating the position of a depressed key switch among the key switches, and setting transposition data. and a transposition device that adds or subtracts the numerical information and the transposition data, uses the obtained sum or difference data as key data corresponding to the position of the pressed key switch, and outputs the key An electronic musical instrument that outputs predetermined scale tones based on data. 2. In the statement of claim 1, the key assigner includes a scanning device that scans the key switch to detect opening/closing of the key switch, and a scanning device that sequentially counts the number of scanned keys and uses the counted value as the numerical information. An electronic musical instrument having a counter for outputting, and using the transposition data as an initial value of the counter. 3. In the statement of claim 1, the key assigner includes a scanning device that detects the opening/closing of each group of key switches at once, and a scanning device that detects the detection information of the scanning device according to the detection result. 1. An electronic musical instrument comprising: a device for converting the key data into numerical information; and an addition and subtraction device for adding and subtracting the numerical information and transposition data to obtain key data.
JP7363377A 1977-06-20 1977-06-20 Electronic instrument Granted JPS547918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7363377A JPS547918A (en) 1977-06-20 1977-06-20 Electronic instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7363377A JPS547918A (en) 1977-06-20 1977-06-20 Electronic instrument

Publications (2)

Publication Number Publication Date
JPS547918A JPS547918A (en) 1979-01-20
JPH022154B2 true JPH022154B2 (en) 1990-01-17

Family

ID=13523899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7363377A Granted JPS547918A (en) 1977-06-20 1977-06-20 Electronic instrument

Country Status (1)

Country Link
JP (1) JPS547918A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55126296A (en) * 1979-03-23 1980-09-29 Nippon Musical Instruments Mfg Electronic musical instrument having tone shift device

Also Published As

Publication number Publication date
JPS547918A (en) 1979-01-20

Similar Documents

Publication Publication Date Title
US3908504A (en) Harmonic modulation and loudness scaling in a computer organ
US4622877A (en) Independently controlled wavetable-modification instrument and method for generating musical sound
JPS6159518B2 (en)
US4184403A (en) Method and apparatus for introducing dynamic transient voices in an electronic musical instrument
JPS60258594A (en) musical tone generator
US4463647A (en) Musical instrument
US4108035A (en) Musical note oscillator
Snell Design of a digital oscillator which will generate up to 256 low distortion sine waves in real time
US5038661A (en) Waveform generator for electronic musical instrument
US4256003A (en) Note frequency generator for an electronic musical instrument
JPS5938593B2 (en) Electronic musical instrument control device
AU570669B2 (en) Wavetable-modification musical instrument
US4677889A (en) Harmonic interpolation for producing time variant tones in an electronic musical instrument
US5264657A (en) Waveform signal generator
JPS604477B2 (en) Electronic musical instrument scale data processing device
JPH0664473B2 (en) Device that produces non-harmonic overtones
JPS6149676B2 (en)
JPS5895790A (en) Musical sound generator
US4450746A (en) Flute chorus generator for a polyphonic tone synthesizer
JPS63100495A (en) Electronic musical instrument that performs automatic semitone gritsando
JPS5939757B2 (en) Electronic musical instrument sound source device
US4446769A (en) Combination tone generator for a musical instrument
JPS5939755B2 (en) Modulation device for electronic musical instruments
JPH0154720B2 (en)
JPS6248239B2 (en)