JPS6334475B2 - - Google Patents

Info

Publication number
JPS6334475B2
JPS6334475B2 JP52011422A JP1142277A JPS6334475B2 JP S6334475 B2 JPS6334475 B2 JP S6334475B2 JP 52011422 A JP52011422 A JP 52011422A JP 1142277 A JP1142277 A JP 1142277A JP S6334475 B2 JPS6334475 B2 JP S6334475B2
Authority
JP
Japan
Prior art keywords
harmonic
envelope
gate
circuit
shift register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP52011422A
Other languages
Japanese (ja)
Other versions
JPS5397414A (en
Inventor
Toshio Kugisawa
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP1142277A priority Critical patent/JPS5397414A/en
Publication of JPS5397414A publication Critical patent/JPS5397414A/en
Publication of JPS6334475B2 publication Critical patent/JPS6334475B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は正弦波を加算して楽音波形を合成する
楽音合成回路においてオクターブが異なりノート
が同一の楽音の高調波係数を同一周波数成分毎に
まとめて対応する正弦波と乗算することにより構
成を簡単化した電子楽器に関するものである。 近年デジタル技術を利用した電子楽器が各種提
案されている。これは従来のアナログ技術を利用
構成された電子楽器に比べると、楽音波形、エン
ベロープ波形、周波数制御の任意性においてすぐ
れ、またデジタル技術に適する時分割多重化や集
積回路化等の技術の利用により構成の簡単化、信
頼性の向上が図られるという利点がある。このよ
うなデジタル方式の電子楽器においては、鍵スイ
ツチのオンオフ状態をたとえば時分割で検出しこ
れにエンベロープを与え、さらにタブレツトまた
はドローバースイツチ等の音色スイツチのオンオ
フ状態を時分割に検出し、これから楽音波形を得
て楽音合成回路に入れる。 楽音合成回路では楽音波形の各オクターブのノ
ートに対応する正弦波を正弦波記憶回路から読み
出して加算するが、楽音波形はその基本周波数に
対して高調波成分をもつから非常に多数の高調波
列を処理しなければならず、従つて楽音合成回路
の構成が複雑化する。 これに対し本発明者は各ノートの高調波列にお
いて同一周波数成分が存在することを利用して同
一周波数成分の高調波係数をまとめて加算して変
換処理することによりたとえば正弦波を選択する
のに必要な高調波列を3分の1程度に減少しうる
ことが分つた。 本発明の目的は正弦波を加算して楽音波形を合
成する方式の楽音合成回路の構成を簡単化した電
子楽器を提供することである。 前記目的を達成するため、本発明の電子楽器は
正弦波を加算して楽音波形を合成する楽音合成回
路を有する電子楽器において、押鍵に対応して発
生される楽音のエンベロープを形成するエンベロ
ープ形成手段と、発生される楽音の音色を選択す
る音色選択手段と、楽音の音色を決定する高調波
係数を記憶する高調波係数記憶手段と、前記音色
選択手段によつて選択された音色の高調波係数を
前記高調波係数記憶手段より読出す高調波係数読
出し手段と、前記高調波係数読出し手段からの高
調波係数に前記エンベロープ形成手段からのエン
ベロープを乗算する第1の乗算手段と、発音され
るべき音でオクターブが異なりノートが同一の関
係にある楽音の各高調波成分のうち同一周波数の
成分に対応する前記乗算手段からの乗算値を累算
する累算手段と、前記各高調波成分の周波数に対
応する正弦波を発生する正弦波発生手段と、前記
正弦波発生手段からの正弦波と前記累算手段の累
算値を乗算する第2乗算手段よりなる楽音合成回
路を各音名毎に具えたことを特徴とするものであ
る。 以下本発明を実施例につき詳述する。 まず本発明を適用する電子楽器の全体構成の概
略につき説明した後、本発明の要部である楽音合
成回路とこれと関連する前段の鍵スイツチ、シフ
トレジスタを含むエンベロープ発生回路とタブレ
ツトおよびドローバー等の音色検出回路の詳細を
説明する。 本発明の電子楽器は全鍵スイツチのオン状態を
時分割多重化信号として取り出し、該時分割多重
化信号により各鍵のエンベロープを計算した後、
高調波係数と乗算し、同一周波数に対する乗算値
をまとめ正弦波を乗じ、加算して楽音波形を得る
ものである。 第1図は本発明を適用する電子楽器の構成を示
す全体説明図である。 同図において、鍵盤の鍵(キー)スイツチ1の
オンオフ状態はシフトレジスタ2にサンプリング
され、各鍵のオン状態を時分割多重化(TDM)
信号としてエンベロープ発生回路3に与える。該
回路3ま各鍵毎のエンベロープ信号を計算し、時
分割して乗算回路12と乗算回路13に与える。
一方音色選択用のタブレツトスイツチ4のオンオ
フ状態もキースイツチと同様にしてシフトレジス
タ5にサンプリングされ、各スイツチのオン状態
が時分割され、高調波係数メモリ6の出力を各タ
ブレツトスイツチ4に応じてゲート選択する。選
択された高調波係数のみが係数シフトレジスタ7
に書き込まれ、乗算回路12に与えられる。さら
に一方の音色制御用のドローバースイツチ8のレ
ベル状態はアナログシフトレジスタ9にサンプリ
ングして書き込まれた後、AD変換器10でデジ
タル信号化され、係数シフトレジスタ11に書き
込まれた後、乗算回路13に与えられる。乗算回
路12,13において高調波係数およびレベル係
数とエンベロープ信号が乗算された後、乗算値は
タブレツトの高調波次数とドローバーのフイート
律の周波数が一致するようにタイミングを合わせ
るために、デコーダ15によつて制御されるゲー
ト回路14において選択され、加算器16で加算
される。 このようにして得られる時分割高調波エンベロ
ープ(THE)係数は破線で囲まれた楽音合成回
路25内のノート毎に設けた12個のノートブロツ
ク18C〜18Bに与えられる。また各ノートブ
ロツク18は音階クロツク発生回路17から各ノ
ートのクロツクが与えられる。ノートブロツク1
8においてTHE係数はオクターブと高調波次数
に応じて指定されたアドレスのランダムアクセス
メモリ(RAM)に一時記憶され、次に同じ周波
数毎の倍音が加算され記憶する。記憶内容は時分
割して乗算回路に与えられる。一方音階クロツク
は倍音分周回路で分周され各倍音の正弦波を読み
出すべく、分周値は選択されシフトされ時分割ア
ドレス信号に変換される。該アドレス信号により
正弦波メモリは読み出され乗算回路において前記
記憶内容と乗算される。該乗算値は時分割された
状態であり、アキユームレータ19で累算された
後D/A変換器20でアナログ信号化され音響装
置21に与えられる。 第2図は第1図のエンベロープ発生回路3と前
段の鍵スイツチ1とシフトレジスタ2を含む実施
例回路である。同図において、鍵盤は61個のキー
スイツチ311〜3161より構成され、各々一端
をサンプリングシフトレジスタ32に接続され
る。クロツク発生器33のクロツクφ1はサンプ
リングシフトレジスタ32を直列シフトする。ま
た分周回路34により分周されクロツクφ1の64
個毎に1個生じるサンプリングクロツクによりキ
ースイツチのオンオフ状態をオンを“H”レベ
ル、オフを“L”レベルでサンプリングシフトレ
ジスタ32に書き込む。該シフトレジスタ32の
64固の入力のうち64−61=3の3個に該当する鍵
スイツチはないが、該キースイツチに対応するタ
イムスロツトは設けられており、このうち1つの
タイムスロツトをサンプリングクロツクのタイム
スロツトに割り当てる。こうしてサンプリングシ
フトレジスタ32は各鍵のオンオフ状態を時分割
多重化(TDM)信号として出力する。 先ず第3図aに示すような第1のエンベロープ
波形E1の発生回路につき説明する。エンベロー
プシフトレジスタ35は64段8ビツトで構成さ
れ、クロツクφ1で直列シフトする。該エンベロ
ープシフトレジスタ35にはキースイツチのエン
ベロープ信号が記憶され加算器36、または減算
器37、ゲート回路38,39,40およびOR
ゲート41を介してループを構成する。該レジス
タ35はφ1のシフトクロツクでシフトしながら
各鍵のエンベロープを64個の時分割でφ1のタイ
ムスロツト幅で出力する。エンベロープは0〜
255の値を2進符号をもつて示し、その値は比較
器42で判別され、エンベロープE1が最大の255
の時をM信号、1〜254の時S信号、0の時0信
号を出力する。全てキースイツチがオフ状態にあ
つた後、新たにキースイツチ31がオン状態にな
ると、初期状態でエンベロープ値E1は0でORゲ
ート43の出力は“H”レベル、またデイケイの
途中ではないのでANDゲート44の出力は“L”
レベルである。時分割多重化信号によりオン状態
のキースイツチ31のタイムスロツトでANDゲ
ート45の出力は“H”レベルとなり、ゲート回
路38を開き、エンベロープ値E1はシフトレジ
スタ35、加算器36、ゲート回路38、ORゲ
ート41のアタツクループを循環しながらアタツ
ク部のエンベロープを計算する。エンベロープ値
E1は1ループにつきα1づつ加算され、ループを
繰り返しながら最大値255に近づく。エンベロー
プ値E1が255に達するとORゲート43の出力は
“L”レベルになり、ANDゲート45の出力も
“L”レベルとなり、ゲート回路38を閉じアタ
ツクループは閉じられる。またANDゲート49
の出力は“H”レベル、ORゲート50の出力も
“H”レベルでゲート回路39を開き、シフトレ
ジスタ35、ゲート回路39、ORゲート41の
ループが開かれ、エンベロープ値E1は加減算さ
れることなく255の値を保持しながら循環を繰り
返す。次に該キースイツチ31がオフ状態になる
と、該キースイツチに対応するタイムスロツトの
時分割多重化信号は“L”レベルになり、AND
ゲート49の出力は“L”レベル、ORゲート5
0の出力も“L”レベルとなり、ゲート回路39
を閉じる。またORゲート46の出力は“H”レ
ベルであり、ORゲート56の出力は“H”レベ
ルでANDゲート47の出力も“H”レベルとな
り、ゲート回路40を開き、シフトレジスタ3
5、減算器37、ゲート回路40、ORゲート4
1のデイケイループが開かれる。エンベロープは
1ループにつきd1づつ減算され、循環を繰返すに
つれてエンベロープ値E1は0に近付きながらデ
イケイ部エンベロープを計算する。エンベロープ
値E1が0に達すると、ORゲート46の出力は
“L”レベル、ANDゲート47は“L”レベルで
ゲート回路40は閉じられデイケイループは閉じ
られる。またANDゲート48の出力は“H”レ
ベル、ORゲート50の出力は“H”レベルでゲ
ート回路39を開き、エンベロープが255の時と
同様のループを開き、エンベロープ値E1は0の
値を保持しながら循環を繰り返す。 以上が通常のキースイツチ31のオンオフに対
する動作であるが、これ以外のキースイツチの状
態について説明する。アタツクエンベロープ計算
時、すなわちアタツクループが開いている時にキ
ースイツチ31がオフになつた場合は、ただちに
ANDゲート45の出力が“L”レベルとなり、
アタツクループを閉じORゲート56の出力が
“H”レベルとなり、ANDゲート47の出力が
“H”レベルとなり、デイケイループが開きデイ
ケイエンベロープ計算に移る。またデイケイエン
ベロープ計算時にキースイツチがオンになつた場
合、高速デイケイ動作が行なわれる。デイケイシ
フトレジスタ53は64段1ビツトより構成されエ
ンベロープシフトレジスタ35と同期してクロツ
クφ1でシフトする。時分割多重化信号はキース
イツチはオフになつた時“1”レベルになりOR
ゲート51、ANDゲート52を介しエンベロー
プが0でない時に限りデイケイシフトレジスタ5
3にデイケイ信号を書き込む。デイケイ信号は該
シフトレジスタ53、ANDゲート52により循
環が行なわれる。すなわち、該デイケイ信号はエ
ンベロープがデイケイ状態にあることを示す信号
であり、エンベロープが0になつた時にはAND
ゲート52を閉じデイケイ信号を消去する。高速
デイケイの場合はデイケイエンベロープ形成時に
キースイツチ31がオンされるから、ANDゲー
ト54の出力は“H”レベル、ORゲート56、
ANDゲート47の出力は“H”レベルのままで、
ANDゲート54の出力によりANDゲート43の
出力は“H”レベルでANDゲート45を閉じ、
アタツクループは開かれない。すなわちデイケイ
ループの状態のままでデイケイコントロール回路
55により、d1の値をd′1に変える(d′1>d1)。こ
のためデイケイ速度は速くなり、デイケイが早く
終了した後エンベロープが0になるとデイケイ信
号はなくなり、ORゲート56が閉じられデイケ
イループが閉じられ、ANDゲート44が閉じら
れANDゲート45が開きアタツクループが開き
アタツクエンベロープ計算が始まる。以上のよう
にして、アタツク、デイケイ各部のエンベロープ
E1が計算される。アタツク、デイケイのスピー
ドはa、dの値により設定される。 次に第3図bに示すような第2のエンベロープ
波形E2の発生回路につき説明する。エンベロー
プシフトレジスタ57は64ワード9ビツトで構成
され、9ビツト中1ビツトはサインビツトとして
使用される。該シフトレジスタ57はエンベロー
プ信号が記憶されクロツクφ1でシフトする。キ
ーオン検出シフトレジスタ71、発音シフトレジ
スタ72、高速デイケイシフトレジスタ73はそ
れぞれ64ワード1ビツトで構成されクロツクφ1
で直列シフトする。時分割多重化信号はシフトレ
ジスタ71において1サンプリングクロツク間隔
64φ1だけ遅延され、ANDゲート64の論理条
件によりキースイツチ31がオンされる毎に一度
だけANDゲート64が該キースイツチのタイム
スロツトで出力が“H”レベルになる。該出力は
ORゲート65を介しシフトレジスタ72に発音
信号として書き込まれる。発音信号はANDゲー
ト69、ORゲート65を介して循環する。そし
てエンベロープE′2値が0になつた時に比較器6
3の出力によりANDゲート69が閉じられ、該
信号は消去される。また発音信号はANDゲート
76を開く。エンベロープE2のサインビツトは
2進符号の9ビツト目であり、E′2が256〜511で
1となる。キースイツチがオンされていない状態
で新たにオンされた場合、エンベロープE2′は初
期状態で0であり、ゲート回路58を開きエンベ
ロープシフトレジスタ57、加算器61、ゲート
回路58、ORゲート60、ANDゲート76のア
タツクループが開かれ、エンベロープE2′に加算
回路61において該ループが1ループする毎にa2
づつ加算され、0、a2、2a2、3a2、4a2、5a2、…
と増加し、排他的OR回路70を介しE2′=E2とし
て出力する。そしてエンベロープE2′が256に達す
るとサインビツトは1となり、エンベロープシフ
トレジスタ57、加算回路62、ゲート回路5
9、ORゲート60、ANDゲート76のデイケイ
ループが開かれ、アタツクループは閉じられる。
加算回路62ではデイケイループが1循環する毎
にd2づつ加算される。そうしてエンベロープ
E2′は256から次第に増加し511に近付く。排他的
OR回路70において、エンベロープE2′のサイン
ビツト(9ビツト目)で反転されたエンベロープ
E2はこの時255から減少し、次第に0に近付いて
いく。 前述のように、第3図a,bはこのようにして
得られたE1,E2を示したものであるが、E2′が511
になり、エンベロープE2が0になると比較回路
63によりANDゲート69が閉じられ、発音信
号は消去される。これは通常のキースイツチの操
作に伴なう動作であるが、前記以外について述べ
ると、エンベロープ波形のアタツク形成時にキー
スイツチがアフされてもエンベロープはそのまま
計算を続行する。またデイケイ形成時にキースイ
ツチがオンされた場合はサインビツトが“1”な
のでANDゲート66が開き、ORゲート67、
ANDゲート68を介し高速デイケイ信号として
シフトレジスタ73に書き込まれる。該信号は高
速デイケイシフトレジスタ73、ORゲート6
7、ANDゲート68を介し循環する。また該信
号はデイケイコントロール回路75に与えられ、
該信号のタイムスロツトにおけるd2をd2′に変化
する。この場合d2′>d2とする。すなわち、d2
値を変えることによりデイケイ速度を速め早くデ
イケイを終了させる。そしてエンベロープが0に
なると比較器63の出力によりANDゲート68
を閉じ、高速デイケイ信号は消去される。 第3図のエンベロープE3はE1とE2を合成しE3
=E1+E2/2を算出する合成回路を付加することに より容易に得られる。またこれらのエンベロープ
波形E1,E2,E3は前述のd1,d2,a1,a2の値を適
宜設定することにより各種のエンベロープが得ら
れる。 第4図は第1図のタブレツトスイツチ4、シフ
トレジスタ5、高調波係数メモリ6、係数シフト
レジスタ7、乗算回路12より成る音色検出回路
に用いる高調波係数メモリ6のアドレスと記憶内
容を示す説明図である。すなわち音色数8個とし
て、アドレス0〜7に基本音(1倍音)、アドレ
ス8〜15に2倍音、アドレス16〜23に3倍音、ア
ドレス24〜31に4倍音、…と16倍音まで区分す
る。ただし後述するように11倍音、13倍音、15倍
音に相当する区分はなく13区分となり、各区分内
に音色毎に高調波係数が記憶されている。 第5図は第4図の高調波係数メモリ6を含む第
1図のタブレツトスイツチ4から乗算回路12に
至る音色検出回路の詳細な実施例説明図である。
同図において、クロツク発生器81からの128K
Hzのクロツクφ2はサンプリングシフトレジスタ
861〜863(第1図の5に相当)のシフトクロ
ツクとして与えられ該シフトレジスタを直列シフ
トする。またクロツクφ28個に1個生じるサンプ
リングクロツクφ2′はタブレツトスイツチ4のオ
ンオフ状態をオンを“H”レベル、オフを“L”
レベルでサンプリングシフトレジスタ861〜8
3に書き込む。該シフトレジスタ81の出力は
タブレツトスイツチ4のオンオフ状態が時分割多
重化(TDM)信号として得られ、ゲート回路8
1〜883において、前述の高調波係数メモリ8
1〜873(第1図の6に相当)からの出力をゲ
ート選択する。また該メモリ871〜873はそれ
ぞれ8進カウンタ82、13進カウンタ83からの
タブレツトコード、倍音コードによりアドレス指
定される。第6図は上述の高調波係数メモリ87
の連続して出力される音色数8個の1倍音から6
倍音までの同図eのメモリ出力に対し、タブレツ
ト2とタブレツト5をオン状態とした例につい
て、それぞれ同図a〜dのクロツクφ2、サンプ
リングクロツクφ2′、TDM信号、メモリアドレス
のタイムチヤートを示したものである。すなわち
ゲート回路881〜883でメモリ871〜873
内容はTDM信号によりゲート選択され、同図e
に示すようにタブレツト2とタブレツト5の各高
調波の倍音がアキユームレータ891〜893に入
力される。アキユームレータ891〜893は同図
fに示すようにクロツクφ2により各高調波毎に
累算され、累算結果は同図gに示すようにサンプ
リングクロツク、φ2′でラツチ回路901〜903
に記憶させられ、同時にアキユームレータ891
〜893はリセツトさせられる。次にクロツクφ3
(976KHz)を13進カウンタ85が計数した計数値
と倍音コードを比較器84で比較し、一致した時
に一致信号をセレクタゲート911〜913に入
れ、ラツチ回路901〜903の内容を高調波係数
シフトレジスタ921〜923(第1図の7に相当)
に選択入力する。係数シフトレジスタ921〜9
3は13段より構成され各段が各倍音に対応して
おり、記憶内容はクロツクφ3でシフトL、セレ
クタゲート911〜913を介してループを構成す
る。該高調波係数シフトレジスタ921〜923
高調波係数は乗算回路931〜933(第1図の1
2に相当)に与えられ、ここで各種のエンベロー
プ波形E1,E2,E3とそれぞれ乗算された後、加
算回路94で加算される。この段階での加算回路
出力は各鍵のエンベロープと高調波係数や乗算さ
れた値である。 第7図は第1図のドローバースイツチ8、シフ
トレジスタ9、AD変換器10、係数シフトレジ
スタ11、乗算回路13より成る音色検出回路の
詳細な実施例説明図である。 同図において、ドローバースイツチ8の各バー
の音量は+Vと接地(GND)間に接続された抵
抗1011〜10113の可変位置タツプからアナ
ログ量信号として取出され、サンプリングクロツ
SD(これは第6図のサンプリングクロツク
φ2′の13倍の周期クロツク)によりアナログシフ
トレジスタ102に書き込まれ、シフトクロツク
ST(φ2′)で直列シフトされる。該シフトレジス
タ102からの時分割ドローバー信号はAD変換
器103によりデジタル符号に変換され、シフト
クロツクによりラツチ回路104にラツチされ
る。セレクタゲート105、ドローバー係数シフ
トレジスタ106は前記セレクタゲート91、高
調波係数シフトレジスタ92と同じタイミングで
選択しシフトする。 ドローバー係数はシフトレジスタ106、セレ
クタゲート105によりループを構成する。また
該シフトレジスタ106の出力は乗算回路107
でエンベロープ波形EDと乗算される。この段階
での乗算回路107の出力は各鍵のエンベロープ
とドローバー乗算された値である。シフトレジス
タ106は13段より構成され各段がドローバーか
らのレベル量に対応しており、記憶内容はクロツ
クφ3でシフトし、セレクタゲート105を介し
てループを構成する。このようにして加算回路9
4(第1図の加算器16に相当)の出力はタブレ
ツトおよびドローバーの係数の和をクロツクφ3
のタイムスロツト毎に1倍音から16倍音迄の13個
のタイムスロツトで繰り返し、次段の本電子楽器
の特徴となつているこれに対応する13個のノート
ブロツクに供給される。 第8図は本発明の要部である第1図の楽音合成
回路25に含まれるノートブロツク18の高調波
係数を同一周波数成分毎にまとめる部分181
示す。既述のように、ドローバー係数とタブレツ
ト高調波係数は加算器94で加算される。一般に
ドローバーを13種をもつことは少ないので、タブ
レツト高調波次数に対応するドローバーがないタ
イミングにおいてゲート回路108は閉じる。該
ゲート回路108のタイミングをデコーダ109
で制御し、クロツクφ3で動作する。デコータ1
09は論理回路で容易に構成することができる。 加算器94の出力はタブレツトおよびドローバ
ーの高調波係数の和をクロツクφ3のタイムスロ
ツト毎に1倍音から16倍音まで13個のタイムスロ
ツトで繰り返す信号である。以下本発明の原理を
説明する。楽音波形は基本周波数(以下第1高調
波成分と称する)、第2高調波成分、第3高調波
成分、第4高調波成分、…の和として表わせるこ
とは一般によく知られており、低次の高調波成分
はその量が多く、楽音波形の決定に重要な成分で
あり、逆に高次の高調波成分はその量が少なく楽
音波形の決定に重要な成分ではない。そこで第1
〜第10、第12、第14、第16の13個の高調波成分に
より楽音波形を合成しようとするものである。こ
こで省略された第11、第13、第15の高調波成分は
各々その成分量を半分づつ隣次の高調波成分量に
加算すれば全体として高調波成分は減少しない。 いま約65.23HzのC音の周波数を0とおく、C65
(小文字は基本周波数)の楽音とC131の楽音を比
較すると、C65の第2高調波とC131の第1高調波
とはその周波数が一致する。このようにC音の系
列(C65、C131、C261、C523、C1045、C2093)にお
いて示すと第1表のようになる。
The present invention simplifies the configuration by combining the harmonic coefficients of musical tones with different octaves and the same note for each same frequency component and multiplying them by the corresponding sine wave in a musical tone synthesis circuit that adds sine waves to synthesize a musical sound waveform. This is about electronic musical instruments that have become popular. In recent years, various electronic musical instruments using digital technology have been proposed. Compared to electronic musical instruments constructed using conventional analog technology, this instrument is superior in terms of arbitrariness in musical sound waveforms, envelope waveforms, and frequency control, and it also utilizes technologies such as time division multiplexing and integrated circuits that are suitable for digital technology. This has the advantage of simplifying the configuration and improving reliability. In such a digital electronic musical instrument, the on/off state of a key switch is detected in a time-division manner, an envelope is applied to this, and the on/off state of a tone switch such as a tablet or drawbar switch is detected in a time-division manner, and musical tones are then output. Obtain the waveform and input it into the musical tone synthesis circuit. The musical tone synthesis circuit reads out the sine waves corresponding to the notes of each octave of the musical sound waveform from the sine wave storage circuit and adds them. However, since the musical sound waveform has harmonic components relative to its fundamental frequency, a very large number of harmonic sequences are generated. must be processed, thus complicating the configuration of the musical tone synthesis circuit. On the other hand, the inventor of the present invention utilizes the fact that the same frequency components exist in the harmonic series of each note, adds together the harmonic coefficients of the same frequency components, and performs a conversion process to select, for example, a sine wave. It has been found that the harmonic series required for this can be reduced to about one-third. SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic musical instrument with a simplified configuration of a tone synthesis circuit that synthesizes tone waveforms by adding sine waves. In order to achieve the above object, the electronic musical instrument of the present invention is an electronic musical instrument having a musical tone synthesis circuit that adds sine waves to synthesize a musical sound waveform. timbre selection means for selecting the timbre of the musical sound to be generated; harmonic coefficient storage means for storing harmonic coefficients that determine the timbre of the musical sound; and harmonics of the timbre selected by the timbre selection means. harmonic coefficient reading means for reading a coefficient from the harmonic coefficient storage means; first multiplication means for multiplying the harmonic coefficient from the harmonic coefficient reading means by an envelope from the envelope forming means; an accumulation means for accumulating multiplication values from the multiplication means corresponding to components of the same frequency among harmonic components of musical tones having different octaves and the same notes; A musical tone synthesis circuit is provided for each note name, comprising a sine wave generating means for generating a sine wave corresponding to the frequency, and a second multiplier for multiplying the sine wave from the sine wave generating means by the accumulated value of the accumulating means. It is characterized by the following. The present invention will be described in detail below with reference to examples. First, we will explain the outline of the overall configuration of an electronic musical instrument to which the present invention is applied, and then explain the main parts of the present invention, such as a musical tone synthesis circuit, a related front-stage key switch, an envelope generating circuit including a shift register, a tablet, a drawbar, etc. The details of the timbre detection circuit will be explained below. The electronic musical instrument of the present invention extracts the on state of all key switches as a time division multiplexed signal, calculates the envelope of each key using the time division multiplexed signal, and then calculates the envelope of each key.
A musical sound waveform is obtained by multiplying by a harmonic coefficient, collecting the multiplied values for the same frequency, multiplying by a sine wave, and adding them. FIG. 1 is an overall explanatory diagram showing the configuration of an electronic musical instrument to which the present invention is applied. In the figure, the on/off state of key switch 1 on the keyboard is sampled into shift register 2, and the on/off state of each key is time-division multiplexed (TDM).
It is given to the envelope generation circuit 3 as a signal. The circuit 3 calculates an envelope signal for each key, and provides it to the multiplication circuits 12 and 13 in a time-division manner.
On the other hand, the on/off states of the tablet switches 4 for tone selection are also sampled into the shift register 5 in the same way as the key switches, and the on states of each switch are time-divided, and the output of the harmonic coefficient memory 6 is adjusted according to each tablet switch 4. Select the gate. Only the selected harmonic coefficients are transferred to the coefficient shift register 7.
, and is applied to the multiplication circuit 12. Furthermore, the level state of one of the drawbar switches 8 for tone control is sampled and written to an analog shift register 9, converted into a digital signal by an AD converter 10, written to a coefficient shift register 11, and then transferred to a multiplier circuit 13. given to. After the harmonic coefficients and level coefficients are multiplied by the envelope signal in the multiplier circuits 12 and 13, the multiplied value is sent to the decoder 15 in order to adjust the timing so that the harmonic order of the tablet and the frequency of the drawbar's foot law match. are selected by the gate circuit 14 controlled by the above-mentioned method, and added by the adder 16. The time-division harmonic envelope (THE) coefficients obtained in this manner are applied to 12 note blocks 18C to 18B provided for each note in the tone synthesis circuit 25 surrounded by broken lines. Further, each note block 18 is supplied with a clock for each note from the scale clock generation circuit 17. Note block 1
8, the THE coefficient is temporarily stored in a random access memory (RAM) at an address specified according to the octave and harmonic order, and then the overtones for each same frequency are added and stored. The stored contents are time-divided and given to the multiplication circuit. On the other hand, the scale clock is frequency-divided by a harmonic frequency divider circuit, and in order to read out the sine wave of each harmonic, the frequency division value is selected, shifted, and converted into a time-division address signal. The sine wave memory is read out by the address signal and multiplied by the stored contents in the multiplication circuit. The multiplied value is in a time-divided state, and after being accumulated by an accumulator 19, it is converted into an analog signal by a D/A converter 20 and is provided to an audio device 21. FIG. 2 shows an embodiment circuit including the envelope generating circuit 3 shown in FIG. 1, the key switch 1 in the preceding stage, and the shift register 2. In the figure, the keyboard is composed of 61 key switches 31 1 to 31 61 , each having one end connected to a sampling shift register 32 . Clock φ 1 of clock generator 33 shifts sampling shift register 32 serially. In addition, the frequency is divided by the frequency dividing circuit 34 and the clock φ1 is 64
The on/off state of the key switch is written in the sampling shift register 32 with "H" level for on and "L" level for off by a sampling clock generated for each key switch. of the shift register 32
Although there is no key switch that corresponds to 3 of the 64 fixed inputs, 64 - 61 = 3, time slots corresponding to the key switches are provided, and one of these time slots is set to the sampling clock time slot. assign. In this way, the sampling shift register 32 outputs the on/off state of each key as a time division multiplexed (TDM) signal. First, a circuit for generating the first envelope waveform E1 as shown in FIG. 3a will be explained. The envelope shift register 35 is composed of 64 stages and 8 bits, and is serially shifted by clock φ1 . The envelope shift register 35 stores the envelope signal of the key switch, and is connected to the adder 36 or subtracter 37, gate circuits 38, 39, 40, and OR.
A loop is formed through the gate 41. The register 35 outputs the envelope of each key in 64 time divisions with a time slot width of φ1 while being shifted by a shift clock of φ1 . Envelope is 0~
The value of 255 is indicated with a binary code, and the value is determined by the comparator 42, and the envelope E 1 is the maximum 255
When the value is 1, the M signal is output, when the value is 1 to 254, the S signal is output, and when the value is 0, the 0 signal is output. When the key switch 31 is newly turned on after all the key switches are in the off state, the envelope value E1 is initially 0 and the output of the OR gate 43 is "H" level, and since it is not in the middle of decay, the AND gate is activated. 44 output is “L”
level. At the time slot of the key switch 31 which is turned on by the time division multiplexed signal, the output of the AND gate 45 becomes "H" level, opens the gate circuit 38, and the envelope value E1 is transferred to the shift register 35, adder 36, gate circuit 38, The envelope of the attack part is calculated while circulating through the attack loop of the OR gate 41. envelope value
E 1 is added by α 1 for each loop, and approaches the maximum value of 255 as the loop is repeated. When the envelope value E1 reaches 255, the output of the OR gate 43 becomes "L" level, and the output of the AND gate 45 also becomes "L" level, closing the gate circuit 38 and closing the attack loop. Also AND gate 49
The output of the OR gate 50 is also at the "H" level, opening the gate circuit 39, opening the loop of the shift register 35, the gate circuit 39, and the OR gate 41, and adding and subtracting the envelope value E1. Repeat the cycle while holding the value of 255 without any trouble. Next, when the key switch 31 is turned off, the time division multiplexed signal of the time slot corresponding to the key switch becomes "L" level, and the AND
The output of gate 49 is “L” level, OR gate 5
0 output also becomes “L” level, and the gate circuit 39
Close. Further, the output of the OR gate 46 is at the "H" level, the output of the OR gate 56 is at the "H" level, and the output of the AND gate 47 is also at the "H" level, opening the gate circuit 40 and opening the shift register 3.
5, subtracter 37, gate circuit 40, OR gate 4
1 day key loop is opened. The envelope is subtracted by d 1 for each loop, and as the circulation is repeated, the envelope value E 1 approaches 0 while calculating the decay part envelope. When the envelope value E1 reaches 0, the output of the OR gate 46 is at the "L" level, the AND gate 47 is at the "L" level, the gate circuit 40 is closed, and the decay loop is closed. Furthermore, the output of the AND gate 48 is at the "H" level, and the output of the OR gate 50 is at the "H" level, opening the gate circuit 39 and opening the same loop as when the envelope is 255, and the envelope value E 1 is set to the value 0. Repeat the cycle while holding. The above is the normal on/off operation of the key switch 31, but other states of the key switch will be explained. If key switch 31 is turned off when calculating the attack envelope, i.e. when the attack loop is open, immediately
The output of AND gate 45 becomes "L" level,
The attack loop is closed and the output of the OR gate 56 becomes "H" level, the output of the AND gate 47 becomes "H" level, the decay loop is opened, and the calculation of the decay envelope is started. Also, if the key switch is turned on during decay envelope calculation, a high speed decay operation is performed. Decay shift register 53 is composed of 64 stages of 1 bit, and is shifted in synchronization with envelope shift register 35 at clock φ1 . The time division multiplexed signal goes to the “1” level when the key switch is turned off.OR
The decay shift register 5 is sent through the gate 51 and the AND gate 52 only when the envelope is not 0.
Write the Decay signal to 3. The Decay signal is circulated through the shift register 53 and AND gate 52. In other words, the decay signal is a signal indicating that the envelope is in the decay state, and when the envelope becomes 0, the AND
Gate 52 is closed to eliminate the decay signal. In the case of high-speed decay, the key switch 31 is turned on when forming the decay envelope, so the output of the AND gate 54 is "H" level, and the OR gate 56,
The output of AND gate 47 remains at "H" level,
Due to the output of the AND gate 54, the output of the AND gate 43 is at "H" level, which closes the AND gate 45.
The Atatsu Group will not be opened. That is, the value of d 1 is changed to d' 1 by the decay control circuit 55 while the decay loop remains in place (d' 1 >d 1 ). Therefore, the decay speed increases, and when the envelope reaches 0 after decay ends early, the decay signal disappears, the OR gate 56 is closed, the decay loop is closed, the AND gate 44 is closed, the AND gate 45 is opened, and the attack loop is opened. Tsuku envelope calculation begins. As described above, the envelope of each part of attack and daylight is created.
E 1 is calculated. The attack and decay speeds are set by the values of a and d. Next, a circuit for generating the second envelope waveform E2 as shown in FIG. 3b will be explained. The envelope shift register 57 is composed of 64 words and 9 bits, and 1 bit among the 9 bits is used as a sign bit. The shift register 57 stores an envelope signal and shifts it at clock φ1 . The key-on detection shift register 71, sound generation shift register 72, and high-speed decay shift register 73 each consist of 64 words and 1 bit.
Shift in series. The time division multiplexed signal is delayed by one sampling clock interval 64φ1 in the shift register 71, and according to the logic condition of the AND gate 64, the AND gate 64 outputs only once every time the key switch 31 is turned on. It becomes “H” level. The output is
It is written into the shift register 72 via the OR gate 65 as a sound generation signal. The sound signal is circulated through an AND gate 69 and an OR gate 65. And when the envelope E'2 value becomes 0, the comparator 6
The output of 3 closes the AND gate 69 and erases the signal. Further, the sound generation signal opens the AND gate 76. The sign bit of envelope E2 is the 9th bit of the binary code, and becomes 1 when E'2 is between 256 and 511. When the key switch is turned on without being turned on, the envelope E 2 ' is initially 0, and the gate circuit 58 is opened and the envelope shift register 57, adder 61, gate circuit 58, OR gate 60, AND The attack loop of the gate 76 is opened, and the envelope E 2 ' is added a 2 each time the loop is looped once in the adder circuit 61.
0, a 2 , 2a 2 , 3a 2 , 4a 2 , 5a 2 ,...
and is output via the exclusive OR circuit 70 as E 2 ′=E 2 . When the envelope E 2 ' reaches 256, the sign bit becomes 1, and the envelope shift register 57, adder circuit 62, and gate circuit 5
9. The decay loop of OR gate 60 and AND gate 76 is opened, and the attack loop is closed.
The adder circuit 62 adds d2 each time the decay loop completes one cycle. Then the envelope
E 2 ' gradually increases from 256 and approaches 511. Exclusive
In the OR circuit 70, the envelope inverted at the sign bit (9th bit) of the envelope E2 '
At this time, E 2 decreases from 255 and gradually approaches 0. As mentioned above, Figures 3a and b show E 1 and E 2 obtained in this way, but when E 2 ' is 511
When the envelope E 2 becomes 0, the comparison circuit 63 closes the AND gate 69 and the sound generation signal is erased. This is an operation that accompanies normal key switch operation, but in addition to the above, even if the key switch is turned off during attack formation of the envelope waveform, the envelope continues calculation as it is. Also, if the key switch is turned on during decay formation, the sign bit is "1", so the AND gate 66 opens, and the OR gate 67 and
It is written into the shift register 73 via the AND gate 68 as a high speed decay signal. The signal is passed through a high-speed decay shift register 73 and an OR gate 6.
7. Cycle through AND gate 68. The signal is also given to the Decay control circuit 75,
d 2 in the time slot of the signal is changed to d 2 '. In this case, d 2 ′>d 2 . That is, by changing the value of d 2 , the decay speed is increased and the decay is terminated earlier. When the envelope becomes 0, the output of the comparator 63 causes the AND gate 68 to
is closed and the fast decay signal is erased. Envelope E 3 in Figure 3 is the result of combining E 1 and E 2 .
This can be easily obtained by adding a synthesis circuit that calculates =E 1 +E 2 /2. Furthermore, various envelopes can be obtained from these envelope waveforms E 1 , E 2 , and E 3 by appropriately setting the values of d 1 , d 2 , a 1 , and a 2 described above. FIG. 4 shows the addresses and storage contents of the harmonic coefficient memory 6 used in the timbre detection circuit consisting of the tablet switch 4, shift register 5, harmonic coefficient memory 6, coefficient shift register 7, and multiplication circuit 12 shown in FIG. It is an explanatory diagram. In other words, assuming that there are 8 tones, the basic tone (1st overtone) is divided into addresses 0-7, 2nd overtone at addresses 8-15, 3rd overtone at addresses 16-23, 4th overtone at addresses 24-31, and so on up to the 16th overtone. . However, as will be described later, there are no sections corresponding to 11th, 13th, and 15th overtones, and there are 13 sections, and harmonic coefficients are stored for each timbre within each section. FIG. 5 is a detailed illustration of an embodiment of the timbre detection circuit from the tablet switch 4 of FIG. 1 to the multiplication circuit 12, including the harmonic coefficient memory 6 of FIG. 4.
In the same figure, 128K from clock generator 81
The Hz clock φ 2 is applied as a shift clock to sampling shift registers 86 1 to 86 3 (corresponding to 5 in FIG. 1) and serially shifts the shift registers. In addition, the sampling clock φ 2 ' generated once every 8 clocks φ 2 indicates the on/off state of the tablet switch 4, with "H" level when on and "L" level when off.
Level sampling shift register 86 1 to 8
6 Write in 3 . The output of the shift register 81 is obtained as a time division multiplexed (TDM) signal indicating the on/off state of the tablet switch 4, and is sent to the gate circuit 8.
8 1 to 88 3 , the harmonic coefficient memory 8 described above
Outputs from 7 1 to 87 3 (corresponding to 6 in FIG. 1) are gate-selected. The memories 87 1 to 87 3 are addressed by the tablet code and overtone code from the octal counter 82 and the hexadecimal counter 83, respectively. FIG. 6 shows the harmonic coefficient memory 87 mentioned above.
6 from the 1st harmonic of the 8 consecutive tones of
For the example in which tablets 2 and 5 are turned on for the memory output up to the overtones shown in figure e, the clock φ 2 , sampling clock φ 2 ', TDM signal, and memory address times in figures a to d are respectively This shows the chart. That is, the contents of the memories 87 1 to 87 3 are gate-selected by the TDM signal in the gate circuits 88 1 to 88 3 , and
As shown in FIG. 3, the harmonics of tablets 2 and 5 are input to accumulators 89 1 to 89 3 . The accumulators 89 1 to 89 3 are accumulated for each harmonic by the clock φ 2 as shown in FIG . 90 1 ~ 90 3
and at the same time the accumulator 89 1
~ 893 is reset. Next, clock φ3
The comparator 84 compares the count value (976KHz) counted by the hexadecimal counter 85 and the overtone code, and when they match, inputs the coincidence signal to the selector gates 91 1 to 91 3 and reads the contents of the latch circuits 90 1 to 90 3 . Harmonic coefficient shift registers 92 1 to 92 3 (corresponding to 7 in Figure 1)
Select and input. Coefficient shift register 92 1 to 9
23 is composed of 13 stages, each stage corresponding to each overtone, and the stored contents are shifted L by clock φ3 and form a loop via selector gates 911 to 913 . The harmonic coefficients of the harmonic coefficient shift registers 92 1 to 92 3 are transferred to multiplication circuits 93 1 to 93 3 (1 in FIG.
2), where they are multiplied by various envelope waveforms E 1 , E 2 , and E 3 , respectively, and then added in an adder circuit 94 . The output of the adder circuit at this stage is the envelope, harmonic coefficient, and multiplied value of each key. FIG. 7 is a detailed illustration of an embodiment of the timbre detection circuit comprising the drawbar switch 8, shift register 9, AD converter 10, coefficient shift register 11, and multiplication circuit 13 shown in FIG. In the figure, the volume of each bar of the drawbar switch 8 is taken out as an analog quantity signal from the variable position taps of resistors 1011 to 10113 connected between +V and ground ( GND ), The clock is written to the analog shift register 102 by a clock with a period 13 times that of the sampling clock φ 2 ' in Figure 6), and the shift clock
It is serially shifted by ST2 ′). The time division drawbar signal from the shift register 102 is converted into a digital code by an AD converter 103, and latched into a latch circuit 104 by a shift clock. The selector gate 105 and the drawbar coefficient shift register 106 are selected and shifted at the same timing as the selector gate 91 and the harmonic coefficient shift register 92. The drawbar coefficients form a loop with a shift register 106 and a selector gate 105. Further, the output of the shift register 106 is transmitted to a multiplier circuit 107.
is multiplied by the envelope waveform E D. The output of the multiplication circuit 107 at this stage is a value obtained by multiplying the envelope of each key by the drawbar. The shift register 106 is composed of 13 stages, each stage corresponding to the level amount from the drawbar, and the stored contents are shifted by the clock φ 3 and form a loop via the selector gate 105. In this way, the adder circuit 9
The output of adder 4 (corresponding to adder 16 in FIG. 1) clocks the sum of the tablet and drawbar coefficients .
It is repeated in 13 time slots from the 1st harmonic to the 16th harmonic for each time slot, and is supplied to the corresponding 13 note blocks, which are the characteristics of this next-stage electronic musical instrument. FIG. 8 shows a section 181 in which the harmonic coefficients of the note block 18 included in the musical tone synthesis circuit 25 of FIG. 1, which is the main part of the present invention, are grouped into the same frequency components. As previously mentioned, the drawbar coefficients and tablet harmonic coefficients are added in adder 94. Generally, it is rare to have 13 types of drawbars, so the gate circuit 108 closes at the timing when there is no drawbar corresponding to the tablet harmonic order. The timing of the gate circuit 108 is determined by a decoder 109.
It is controlled by φ3 clock. Decoder 1
09 can be easily configured with a logic circuit. The output of adder 94 is a signal that repeats the sum of the harmonic coefficients of the tablet and drawbar in 13 time slots from the 1st harmonic to the 16th harmonic every time slot of clock φ3 . The principle of the present invention will be explained below. It is generally well known that a musical sound waveform can be expressed as the sum of a fundamental frequency (hereinafter referred to as the first harmonic component), a second harmonic component, a third harmonic component, a fourth harmonic component, etc. The next harmonic component has a large amount and is an important component in determining the tone waveform. Conversely, the higher harmonic component has a small amount and is not an important component in determining the tone waveform. Therefore, the first
This is an attempt to synthesize a musical sound waveform using 13 harmonic components: the 10th, 12th, 14th, and 16th harmonic components. For the 11th, 13th, and 15th harmonic components omitted here, if half of each component amount is added to the amount of the next harmonic component, the harmonic components as a whole will not decrease. Now let's set the frequency of the C sound at approximately 65.23Hz as 0 , C 65
(lowercase letters represent the fundamental frequency) When comparing the musical tone of C 131 with the musical tone of C 131, the second harmonic of C 65 and the first harmonic of C 131 match in frequency. Table 1 shows the series of C sounds (C 65 , C 131 , C 261 , C 523 , C 1045 , C 2093 ).

【表】【table】

【表】 第1表において横列の同じ欄の倍音、たとえば
C65の16倍音、O131の8倍音、C261の4倍音、C523
の2倍音、C1045の1倍音は周波数が一致する。
このため、C65からC2093のC音系列の楽音は0
ら1920までの31個の周波数成分で表わすことが
できる。ただし、C1045の楽音は12倍音までC2093
の楽音は6倍音までである。なおここで1920
約12.6KHzとする。以上のことはC音系列に限ら
ずC#,D,D#,…,Bの各系列について同様
のことが言える。ノートブロツク18C〜18B
では同じノートの音の16倍音(第11、第13、第15
は除く)の高調波係数とそのオクターブにより振
り分け、同じ周波数毎に加算して31個の高調波列
を得る。これらの高調波列を前記高調波と区別す
るため以下スペクトラム列と称する。第8図の1
11C〜111Bはアドレス31個を有するランダ
ムアクセスメモリ(RAM)である。各アドレス
は第1表に示すようなスペクトラム列に対応す
る。以下第9図aのノートブロツクのタイムチヤ
ートを参照しつつ説明する。各タイムスロツト
1,2,3,…,61は各々第11図でクロツク
φ1,φ3の相互関係で表わされるクロツクφ1のタ
イムスロツトをもつ。C音を例にして説明する
と、アドレス指定コントロール回路110はタイ
ムスロツト1,13,25,37,49,61に
おいて書き込みパルスWcを与え、同時にアドレ
ス信号ADRcを第2表の順序で与え、スペクトラ
ム列を31アドレスRAM111Cに書き込む。各
タイムスロツト1,2,3,…,61内に第11
図に示すように各々13個のクロツクφ3をもちア
ドレス信号はクロツクφ3のタイムスロツトによ
り与えられる。
[Table] Overtones in the same column in the horizontal row in Table 1, for example
16th harmonic of C 65 , 8th harmonic of O 131 , 4th harmonic of C 261 , C 523
The second harmonic of C 1045 and the first harmonic of C 1045 match in frequency.
Therefore, musical tones of the C tone series from C65 to C2093 can be represented by 31 frequency components from 0 to 1920 . However, the musical tone of C 1045 is C 2093 up to the 12th overtone.
The musical tones are up to 6th overtone. Note that 1920 is approximately 12.6KHz here. The above can be said not only to the C note series but also to each of the C#, D, D#, . . . , B series. Note block 18C-18B
Now, the 16th harmonics (11th, 13th, 15th) of the same note.
) and its octave, and add them for each same frequency to obtain 31 harmonics. These harmonic sequences are hereinafter referred to as spectrum sequences to distinguish them from the harmonics described above. Figure 8 1
11C to 111B are random access memories (RAM) having 31 addresses. Each address corresponds to a spectrum column as shown in Table 1. This will be explained below with reference to the time chart of the note block shown in FIG. 9a. Each time slot 1 , 2, 3 , . Taking C sound as an example, the addressing control circuit 110 applies write pulses W c in time slots 1, 13, 25, 37, 49, and 61, and simultaneously applies address signals ADR c in the order shown in Table 2. Write the spectrum string to 31 address RAM 111C. In each time slot 1, 2, 3, ..., 61, the 11th
As shown in the figure, each clock has 13 clocks φ3 , and the address signals are provided by the time slots of the clocks φ3 .

【表】【table】

【表】 このようにして31アドレスRAM111Cに書
き込まれたスペクトラム列は読出し信号をタイム
スロツト2と3、14と15、26と27、38
と39、50と51、62と63においてクロツ
クφ3によりアドレス1,2,3,4,5,…,
31の順序でそれぞれ読み出され、加算回路11
2Cを介しシフトレジスタ(A)113Cに書き込ま
れる。スペクトラム列は該シフトレジスタ(A)11
3Cをクロツクφ3でシフトし加算回路112C
を介して循環しながら加算回路112Cにおい
て、タイムスロツト14と15、26と27、3
8と39、50と51、62と63で各スペクト
ラム列が加算される。換言すれば、第1表の横列
に示す成分が加算されることになる。C音系列で
全て加算されたスペクトラム列は64個のタイムス
ロツトのうち第6、第7のタイムスロツトにシフ
トレジスタ(A)113Cから転送ゲート114Cを
介しシフトレジスタ(B)115Cに転送される。転
送ゲート114Cは第9図aに示すような転送信
号TRCにより開かれる。第9図aの信号S1は31ア
ドレスRAM111CへのタイムスロツトWCにお
ける書き込みパルスである。これに対し信号S2
シフトレジスタ(A)113CのタイムスロツトRC
におけるシフトクロツクである。シフトレジスタ
(B)115Cは転送区間を除いて記憶内容は常に循
環し続ける。該循環ループは31φ3の周期をもつ
ている。 以上はC音のノートブロツク18Cの系列につ
いて説明したが、他のC#,D,D#,E,F,
…,B音のノートブロツク18C#〜18Bの系
列に関しても第9図のC#,D,D#,Eのグル
ープb,c,d,eに示すようにタイムスロツト
の位置が異なるだけで同じ機能動作を行なう。ア
ドレス指定コントロール回路110はクロツク
φ3とオクターブコードを入力し、第2表に示す
アドレスおよび第9図a〜eに示す書き込み信号
WC、読み出し信号RC、シフトクロツクS2等を発
生するものである。 第10図は第1図の楽音合成回路25に含まれ
る音階クロツク発生器17の詳細説明図である。 同図において、発振器121からのマスタクロ
ツク2.1699MHzを分周器122に入れ、分周比
506、478、451、426、402、…、268で分周し、そ
れぞれC,C#,D,D#,E,…,B音の音階
クロツクを得る。これらの音階クロツクを位相同
期ループ(PLL)123C〜123Bに入れ周
波数を100逓倍することにより204.87を得る。こ
こでは7はC2093〜B3951の音階周波数クロツクと
し、図に1例周波数を示す。 第11図は前述のクロツクφ3,φ1と後述の第
12図のクロツクφ4,φ5のタイミングを示した
ものである。クロツクφ1はクロツクφ3を13分の
1に分周したものであり、クロツクφ4,φ5はク
ロツクφ3からプログラム選択して得られるパル
ス列であり、1周期のみを記している。 第12図は第1図の楽音合成回路25に含まれ
るノートブロツク18の楽音合成部182を示す。 第10図の音階クロツク発生器17の各位相同
期ループ123C〜123Bの出力204.8(ここ
では前述のように=7とする)を同図の複数の
周波数変換回路131〜135に共通入力する。
周波数変換回路131〜135はそれぞれ40/64、
60/64、50/64、35/64、45/64に周波数を変える回
路であり、レートマルチプライヤで構成される。
すなわち該回路へ入力204.87はそれぞれ1287
1927、1607、1127、1447として高調波カウン
タ136,137,138,139,140に与
えられ、該カウンタを計数する。それぞれビツト
数は12、11、10、9、9である。 クロツク発生器143,144は第11図に示
したタイミングでクロツクφ4,φ5を出力する。
クロツクφ5はデコーダ142において復号され
マルチプレクサ141に入れ、マルチプレクサ1
41に入入力される前記高調波カウンタ136〜
140の計数値のうちの1組を選択し、アドレス
シフトレジスタ145に与える。該アドレスシフ
トレジスタ145はクロツクφ5によつて計数値
が書き込まれ、クロツクφ5の間にクロツクφ4
より右シフトされる。該アドレスシフトレジスタ
145の佐端入力は接地され“0”である。まず
最初に高調波カウンタ136の計数値12ビツトが
アドレスシフトレジスタ145に書き込まれ、上
位9ビツトが512ワードで記憶される正弦波記憶
回路146へのアドレスコードとなる。C音系列
を例にとると、上位9ビツトは0のアドレスコー
ドであり、次にクロツクφ4によりアドレスシフ
トレジスタ145が右へ1ビツトシフトすると
20のアドレスコードとなる。次に右へ1ビツト
シフトすると40のアドレスコードとなる。同様
にして80、160、320、640、1280のアドレス
コードが9ビツトで出力する。次にクロツクφ5
により高調波カウンタ137の計数値が該アドレ
スシフトレジスタ145に書き込まれ、前記と同
様にして30、60、120、240、480、960
1920の順にアドレスコードを出力する。以下同
様にして50、100、200、400、800、1600
70、140、280、560、1120および90、180

360、720、1440の順にアドレスコードを出力
する。この順序は第8図のシフトレジスタ(B)11
5C〜115Bから乗算回路147へ与えられる
スペクトラム列の倍音列と一致する。該アドレス
コードにより読み出された正弦波情報は乗算回路
147でスペクトラム列と乗算される。この段階
では各倍音、20、30、…、1920毎にクロツ
クφ1で時分割されており、次にアキユームレー
タ148(第1図の19に相当)により31タイム
スロツト分づつ累算される。累算結果はラツチ回
路149に保持されデジタルアナログ変換器
(DAC)150(第1図の20に相当)でアナロ
グ信号化される。各ノート毎のアナログ信号は音
響装置21において楽音として発音される。 以上説明したように、本発明によれば、正弦波
を加算して楽音波形を合成する電子楽器におい
て、オクターブが異なりノートが同一な楽音の高
調波係数を同一周波数成分毎に加算してまとめ、
一方該周波数成分毎に各高調波に対応する正弦波
を発生して正弦波記憶回路に記憶させた後、加算
された高調波係数をタイミングを合せて記憶回路
より読出した対応する正弦波振幅値と乗算するこ
とにより、楽音合成部を簡単化することができ
る。すなわち本発明の場合高調波係数を同一周波
数成分毎にまとめて整列させることにより、90程
度必要なスペクトラム列を前述のように31のスペ
クトラム列に減少することができる。従つてこれ
に対応する楽音合成部の構成を格段に簡単化する
ことができる。また楽音合成部においては複数の
高調波カウンタと正弦波記憶回路に前置するアド
レスシフトレジスタの利用によりさらに構成を簡
単化することができるものである。 本発明の電子楽器の場合、たとえば鍵スイツチ
とともにタブレツト、ドローバー等音色スイツチ
の全部が時分割多重化信号で動作し、後段の楽音
合成回路に亘つて処理が行なわれるから余り大規
模の電子楽器では不適であるが、小規模の電子楽
器には有利に適用される。
[Table] The spectrum string written in the 31-address RAM 111C in this way sends read signals to time slots 2 and 3, 14 and 15, 26 and 27, and 38.
and 39, 50 and 51, 62 and 63, address 1, 2, 3, 4, 5,..., by clock φ 3 .
31, respectively, and the adder circuit 11
It is written to the shift register (A) 113C via 2C. The spectrum column is the shift register (A) 11
3C is shifted by clock φ3 and the adder circuit 112C
In the adder circuit 112C, the time slots 14 and 15, 26 and 27, 3
Each spectrum string is added at 8 and 39, 50 and 51, and 62 and 63. In other words, the components shown in the horizontal rows of Table 1 are added. The spectrum strings that have been added together in the C tone sequence are transferred from the shift register (A) 113C to the shift register (B) 115C via the transfer gate 114C in the sixth and seventh time slots of the 64 time slots. The transfer gate 114C is opened by a transfer signal TRC as shown in FIG. 9a. Signal S1 in FIG. 9a is a write pulse at time slot W C to 31 address RAM 111C. On the other hand, the signal S2 is the time slot R C of the shift register (A) 113C.
This is the shift clock. shift register
(B) The storage contents of 115C continue to circulate at all times except during the transfer period. The circulation loop has a period of 31φ3 . Above, we have explained the series of C note block 18C, but other C#, D, D#, E, F,
..., the series of note blocks 18C# to 18B of note B have the same function and operation as shown in groups b, c, d, and e of C#, D, D#, and E in Fig. 9, except that the time slot positions are different. Do this. The addressing control circuit 110 inputs the clock φ3 and the octave code, and receives the addresses shown in Table 2 and the write signals shown in FIGS. 9a to 9e.
It generates W C , read signal R C , shift clock S 2 , etc. FIG. 10 is a detailed explanatory diagram of the scale clock generator 17 included in the musical tone synthesis circuit 25 of FIG. In the same figure, a master clock of 2.1699MHz from an oscillator 121 is input to a frequency divider 122, and the frequency division ratio is
The frequency is divided by 506, 478, 451, 426, 402, ..., 268 to obtain scale clocks of C, C#, D, D#, E, ..., B notes, respectively. By putting these scale clocks into phase locked loops (PLL) 123C and 123B and multiplying the frequency by 100, 204.87 is obtained. Here, 7 is a scale frequency clock of C 2093 to B 3951 , and an example frequency is shown in the figure. FIG. 11 shows the timing of the aforementioned clocks φ 3 and φ 1 and the clocks φ 4 and φ 5 of FIG. 12, which will be described later. Clock φ 1 is the frequency of clock φ 3 divided by 1/13, and clocks φ 4 and φ 5 are pulse trains obtained by program selection from clock φ 3 , and only one cycle is shown. FIG. 12 shows the tone synthesis section 182 of the note block 18 included in the tone synthesis circuit 25 of FIG. The outputs 204.8 (here, = 7 as described above) of the phase locked loops 123C to 123B of the scale clock generator 17 in FIG. 10 are commonly input to a plurality of frequency conversion circuits 131 to 135 in the same figure.
Frequency conversion circuits 131 to 135 are respectively 40/64,
This is a circuit that changes the frequency to 60/64, 50/64, 35/64, and 45/64, and consists of a rate multiplier.
In other words, the inputs 204.8 7 to the circuit are 128 7 and
192 7 , 160 7 , 112 7 , 144 7 are applied to harmonic counters 136, 137, 138, 139, 140 for counting. The number of bits is 12, 11, 10, 9, and 9, respectively. Clock generators 143 and 144 output clocks φ 4 and φ 5 at the timing shown in FIG.
The clock φ 5 is decoded by the decoder 142 and inputted to the multiplexer 141.
The harmonic counters 136 to 41 input to the harmonic counters 136-
One set of the 140 count values is selected and applied to the address shift register 145. A count value is written into the address shift register 145 by the clock φ5 , and is shifted to the right by the clock φ4 during the clock φ5 . The Send input of the address shift register 145 is grounded and is "0". First, the 12-bit count value of the harmonic counter 136 is written into the address shift register 145, and the upper 9 bits become an address code to the sine wave storage circuit 146, which is stored in 512 words. Taking the C tone series as an example, the upper 9 bits are an address code of 0 , and then when the address shift register 145 is shifted one bit to the right by clock φ4 ,
The address code will be 2 0 . Next, shift one bit to the right and you will get an address code of 40 . Similarly, address codes of 80 , 160 , 320 , 640 , and 1280 are output in 9 bits. Next, clock φ5
The count value of the harmonic counter 137 is written to the address shift register 145, and in the same way as above, 3 0 , 6 0 , 12 0 , 24 0 , 48 0 , 96 0 ,
Outputs address codes in the order of 192 0 . Similarly, 5 0 , 10 0 , 20 0 , 40 0 , 80 0 , 160 0 ,
70 , 140 , 280 , 560 , 1120 and 90 , 180
,
Outputs address codes in the order of 36 0 , 72 0 , 144 0 . This order is shown in shift register (B) 11 in Figure 8.
This matches the overtone series of the spectrum series given to the multiplication circuit 147 from 5C to 115B. The sine wave information read out using the address code is multiplied by a spectrum string in a multiplier circuit 147. At this stage, each overtone, 2 0 , 3 0 , ..., 192 0 , is time-divided by the clock φ 1 , and then the accumulator 148 (corresponding to 19 in Figure 1) accumulates each harmonic for 31 time slots. calculated. The cumulative result is held in a latch circuit 149 and converted into an analog signal by a digital-to-analog converter (DAC) 150 (corresponding to 20 in FIG. 1). The analog signal for each note is produced as a musical tone by the acoustic device 21. As explained above, according to the present invention, in an electronic musical instrument that synthesizes a musical sound waveform by adding sine waves, the harmonic coefficients of musical tones with different octaves and the same note are added for each same frequency component and summarized.
On the other hand, after generating a sine wave corresponding to each harmonic for each frequency component and storing it in a sine wave storage circuit, the added harmonic coefficient is read out from the storage circuit at the same timing as the corresponding sine wave amplitude value. By multiplying by , the musical tone synthesis section can be simplified. That is, in the case of the present invention, by arranging the harmonic coefficients for each same frequency component, the required 90 or so spectrum strings can be reduced to 31 spectrum strings as described above. Therefore, the configuration of the corresponding musical tone synthesis section can be greatly simplified. Furthermore, the structure of the musical tone synthesis section can be further simplified by using a plurality of harmonic counters and an address shift register provided in front of the sine wave storage circuit. In the case of the electronic musical instrument of the present invention, for example, the key switch, tablet, drawbar, and other timbre switches all operate on time-division multiplexed signals, and the processing is performed in the subsequent musical tone synthesis circuit, so it is not suitable for large-scale electronic musical instruments. Although not suitable, it can be advantageously applied to small-scale electronic musical instruments.

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

第1図は本発明を適用する電子楽器の構成を示
す説明図、第2図〜第7図は第1図の各構成のう
ち本発明の要部に関連する回路の詳細説明図、第
8図と第10図と第12図は本発明の要部の実施
例の構成を示す説明図、第9図は第8図の動作説
明図、第11図は本発明の実施例に用いるクロツ
クのタイミングチヤートであり、図中、1は鍵ス
イツチ、2はシフトレジスタ、3はエンベロープ
発生回路、4はタブレツトスイツチ、5,9はシ
フトレジスタ、6は高調波係数メモリ、7,11
は係数シフトレジスタ、8はドローバースイツ
チ、10はAD変換器、12,13は乗算回路、
14はゲート、15はデコーダ、16は加算器、
17は音階クロツク発生器、18C,18C#,
…,18Bはノートブロツク、19C,19
C#,…,19Bはアキユームレータ、20C,
20C#,…,20BはD/A変換器、21は音
響装置、25は楽音合成回路、110はアドレス
指定コントロール回路、111C,111C#,
…,111Bは31アドレスRAM、112C,1
12C#,…,112Bは加算回路、113C,
113C#,…,113Bはシフトレジスタ(A)、
114C,114C#,…,114Bは転送ゲー
ト、115C,115C#,…,115Bはシフ
トレジスタ(B)、121は発振器、122は周器、
123B,123A#,…,123Cは位相同期
ループ、131〜135は周波数変換回路、13
6〜140は高調波カウンタ、141はマルチプ
レクサ、142はデコーダ、143,144はク
ロツク発生器、145はアドレスシフトレジス
タ、146は正弦波記憶回路、147は乗算回
路、148はアキユームレータ、149はラツチ
回路、150はD/A変換器を示す。
FIG. 1 is an explanatory diagram showing the configuration of an electronic musical instrument to which the present invention is applied, FIGS. 10 and 12 are explanatory diagrams showing the configuration of an embodiment of the main part of the present invention, FIG. 9 is an explanatory diagram of the operation of FIG. 8, and FIG. 11 is an illustration of the clock used in the embodiment of the present invention. This is a timing chart, in which 1 is a key switch, 2 is a shift register, 3 is an envelope generation circuit, 4 is a tablet switch, 5 and 9 are shift registers, 6 is a harmonic coefficient memory, 7 and 11
is a coefficient shift register, 8 is a drawbar switch, 10 is an AD converter, 12 and 13 are multiplication circuits,
14 is a gate, 15 is a decoder, 16 is an adder,
17 is a scale clock generator, 18C, 18C#,
..., 18B is a notebook block, 19C, 19
C#,..., 19B is an accumulator, 20C,
20C#,..., 20B are D/A converters, 21 is an audio device, 25 is a musical tone synthesis circuit, 110 is an addressing control circuit, 111C, 111C#,
..., 111B is 31 address RAM, 112C, 1
12C#,..., 112B are adder circuits, 113C,
113C#,..., 113B are shift registers (A),
114C, 114C#,..., 114B are transfer gates, 115C, 115C#,..., 115B are shift registers (B), 121 is an oscillator, 122 is a frequency generator,
123B, 123A#,..., 123C are phase locked loops, 131 to 135 are frequency conversion circuits, 13
6 to 140 are harmonic counters, 141 is a multiplexer, 142 is a decoder, 143 and 144 are clock generators, 145 is an address shift register, 146 is a sine wave storage circuit, 147 is a multiplication circuit, 148 is an accumulator, and 149 is a A latch circuit, 150 indicates a D/A converter.

Claims (1)

【特許請求の範囲】[Claims] 1 正弦波を加算して楽音波形を合成する楽音合
成回路を有する電子楽器において、押鍵に対応し
て発生される楽音のエンベロープを形成するエン
ベロープ形成手段と、発生される楽音の音色を選
択する音色選択手段と、楽音の音色を決定する高
調波係数を記憶する高調波係数記憶手段と、前記
音色選択手段によつて選択された音色の高調波係
数を前記高調波係数記憶手段より読出す高調波係
数読出し手段と、前記高調波係数読出し手段から
の高調波係数に前記エンベロープ形成手段からの
エンベロープを乗算する第1の乗算手段と、発音
されるべき音でオクターブが異なりノートが同一
の関係にある楽音の各高調波成分のうち同一周波
数の成分に対応する前記乗算手段からの乗算値を
累算する累算手段と、前記各高調波成分の周波数
に対応する正弦波を発生する正弦波発生手段と、
前記正弦波発生手段からの正弦波と前記累算手段
の累算値を乗算する第2の乗算手段より成る楽音
合成回路を各音名毎に具えたことを特徴とする電
子楽器。
1. In an electronic musical instrument having a musical tone synthesis circuit that synthesizes a musical sound waveform by adding sine waves, an envelope forming means that forms an envelope of a musical tone generated in response to a key press and a timbre of the generated musical tone are selected. timbre selection means; harmonic coefficient storage means for storing harmonic coefficients that determine the timbre of musical sounds; and harmonic coefficient storage means for reading harmonic coefficients of the timbre selected by the timbre selection means from the harmonic coefficient storage means. wave coefficient reading means; first multiplication means for multiplying the harmonic coefficient from the harmonic coefficient reading means by the envelope from the envelope forming means; an accumulation means for accumulating multiplication values from the multiplication means corresponding to components of the same frequency among harmonic components of a certain musical tone; and a sine wave generator for generating a sine wave corresponding to the frequency of each harmonic component. means and
An electronic musical instrument comprising a musical tone synthesis circuit for each note name, comprising a second multiplier for multiplying the sine wave from the sine wave generator by the accumulated value of the accumulator.
JP1142277A 1977-02-04 1977-02-04 Electronic musical instrument Granted JPS5397414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1142277A JPS5397414A (en) 1977-02-04 1977-02-04 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1142277A JPS5397414A (en) 1977-02-04 1977-02-04 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS5397414A JPS5397414A (en) 1978-08-25
JPS6334475B2 true JPS6334475B2 (en) 1988-07-11

Family

ID=11777610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1142277A Granted JPS5397414A (en) 1977-02-04 1977-02-04 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5397414A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0632542B2 (en) * 1986-05-16 1994-04-27 富士通テン株式会社 Sound reproduction device
JP2007187949A (en) * 2006-01-16 2007-07-26 Casio Comput Co Ltd Musical sound generator and program for musical sound generation processing
JP5142363B2 (en) * 2007-08-22 2013-02-13 株式会社河合楽器製作所 Component sound synthesizer and component sound synthesis method.

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49102332A (en) * 1973-01-31 1974-09-27

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49102332A (en) * 1973-01-31 1974-09-27

Also Published As

Publication number Publication date
JPS5397414A (en) 1978-08-25

Similar Documents

Publication Publication Date Title
US3888153A (en) Anharmonic overtone generation in a computor organ
US4502361A (en) Method and apparatus for dynamic reproduction of transient and steady state voices in an electronic musical instrument
US4641564A (en) Musical tone producing device of waveform memory readout type
US4611522A (en) Tone wave synthesizing apparatus
US4026180A (en) Electronic musical instrument
US4258602A (en) Electronic keyboard musical instrument of wave memory reading type
USRE31653E (en) Electronic musical instrument of the harmonic synthesis type
US4083283A (en) Electronic musical instrument having legato effect
US4166405A (en) Electronic musical instrument
US4186637A (en) Tone generating system for electronic musical instrument
US5038661A (en) Waveform generator for electronic musical instrument
JPS6334475B2 (en)
US3903775A (en) Electronic musical instrument
US4683793A (en) Data reduction for a musical instrument using stored waveforms
US5254805A (en) Electronic musical instrument capable of adding musical effect to musical tones
US4185529A (en) Electronic musical instrument
US4256003A (en) Note frequency generator for an electronic musical instrument
JPS6048760B2 (en) Note clock generator for electronic musical instruments
JPH0664473B2 (en) Device that produces non-harmonic overtones
US4936184A (en) Music generator
JPS6132678B2 (en)
US4526081A (en) Extended harmonics in a polyphonic tone synthesizer
US4716805A (en) Ensemble effect for a musical tone generator using stored waveforms
JPH0583917B2 (en)
JPS5842478B2 (en) Noise removal device for electronic musical instruments