JPS6140117B2 - - Google Patents

Info

Publication number
JPS6140117B2
JPS6140117B2 JP53087920A JP8792078A JPS6140117B2 JP S6140117 B2 JPS6140117 B2 JP S6140117B2 JP 53087920 A JP53087920 A JP 53087920A JP 8792078 A JP8792078 A JP 8792078A JP S6140117 B2 JPS6140117 B2 JP S6140117B2
Authority
JP
Japan
Prior art keywords
buffer memory
data
tone
waveform data
calculated
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
JP53087920A
Other languages
Japanese (ja)
Other versions
JPS5515152A (en
Inventor
Kyomi Takauji
Seiji Kameyama
Sadaaki Ezawa
Tatsunori Kondo
Hironori Watanabe
Tooru Aoyama
Hiroshi Kitagawa
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 JP8792078A priority Critical patent/JPS5515152A/en
Publication of JPS5515152A publication Critical patent/JPS5515152A/en
Publication of JPS6140117B2 publication Critical patent/JPS6140117B2/ja
Granted legal-status Critical Current

Links

Description

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

本発明は1組の算出されたデータをバツフアメ
モリに移しバツフアメモリの内容を音楽的音響に
変換する電子楽器に関するものである。 最近のデジタル波形発生方式として、1組の波
形データを算出し、そのデータを音調検出および
割り当て回路のチヤンネル数に対応している読み
出し書き込み可能のバツフアメモリ群に、波形デ
ータを算出する主クロツク周波数とは非同期の周
波数・Nのクロツクによつて伝達する方式が用
いられている。ここでは1つのバツフアメモリ
に割当てられた特定の楽音周波数を示し、Nは楽
音波形の高調波最大次数の2倍の値を示す。 この種の電子楽器として、ラルフ・ドイツチエ
の発明に係る特開昭52−27621号の「複音シンセ
サイザー」では、前述のバツフアメモリである音
調シフトレジスタの出力をD−A変換して楽音と
して発生させている。鍵盤スイツチの開閉を情報
として蓄える音調検出および割り当て回路の検出
情報によつて音調シフトレジスタは音調クロツク
を受けて循環し音調シフトレジスタの内容が出力
される。それと同時に、このシステムは1組の新
しい波形データを算出するように働く。そして波
形データが算出されると、伝達サイクルにおいて
算出された波形データを前記の音調クロツクで音
調シフトレジスタに伝達するが、波形データの該
レジスタへの伝達開始または終了まで時間がかか
り、その時間だけ以前にバツフアメモリに入つて
いたデータがシフトにより直接出力され、不要な
楽音を発生することになり演奏上不都合が起る。 本発明の目的は上述の欠点を改善するものであ
り、その目的は伝達サイクルにおいて、算出され
た波形データを指定されたバツフアメモリへ伝達
し不要な楽音を発生することなく正しい波形デー
タを出力するように制御した電子楽器を提供する
ことである。 前記目的を達成するため、本発明の電子楽器は
押鍵された鍵についての波形データを算出し算出
されたデータをバツフアメモリに伝達し、該バツ
フアメモリに伝達されたデータを楽音周波数に応
じた速度で読み出し、読み出されたデータを音響
システムに送る電子楽器において、バツフアメモ
リ内の押鍵より以前の内容の出力を阻止しておい
て、算出された波形データをバツフアメモリへ伝
達してバツフアメモリから読み出されたデータが
算出された波形データになつた時点でバツフアメ
モリの出力データを音響システムに送るように制
御する手段を具えたことを特徴とするものであ
る。 以下本発明を実施例につき詳述する。 第1図は既提案の特開昭52−27621号「複音シ
ンセサイザー」に本発明を適用した説明図であ
る。以下提案例を概略を述べて本発明の付加部分
を説明する。同図の複音シンセサイザ10は電子
楽器の鍵盤スイツチ12に組合わされている1つ
のスイツチを操作させることにより選択された楽
音を音響システム11より発音させるものであ
る。 波形データは最初に主データのセツトを計算す
ることによつて発生される。すなわち、回路10
により次のような離散的フーリエ級数によつて計
算される主データセツトを合成するように動作す
る。 式(1)においてN=1,2,……,2Wは主デー
タセツトの語数、q=1,2,……,Mは高調波
番号(次数)、M=Wは主データセツトを合成す
るために使用される高調波の個数、そしてCqは
音色No.1に対する高調波係数、dqは音色No.2に
対する高調波係数である。 主データセツトが計算された後、第1図の回路
10はそのデータを鍵盤スイツチ12で操作され
た楽音に対応するように伸長する動作を行なう。
すなわち、鍵盤スイツチ12の1つが操作されて
いる時はいつでも音調検出および割り当て回路1
4により検出され、その検出情報を線59を経て
実行制御回路16へ伝える。実行制御回路16は
このシステムにタイミングを与えて主クロツク1
5により線17を通してクロツク制御されてい
る。クロツク周波数はかなり広い範囲が使用され
るが、1.1352MHzが好適である。 実行制御回路16は制御信号を所定回路に与え
同期的に動作させ、音調検出および割り当て回路
14に対し線18を通して制御信号を与える。 計算サイクルの初めにおいては、語カウンタ1
9と高調波カウンタ20、加算器−アキユムレー
タ21はすべて初期状態から動作が開始される。
すなわち、各回路は数値1を有するようにセツト
される。後述する第1表は計算サイクルに使用さ
れるシステム内の論理ブロツクの内容を示す。 メモリアドレスデコーダ23は、加算器−アキ
ユムレータ21からの数値を受け取り、そして値
sin2π(1×1)/Wを正弦波関数テーブル24
から読み出させる。要するに、第1表は次式 SNq=sinπNq/W (2) を使用し、正弦波関数テーブル24のアドレスは
次式の記号的表示法を用いて略記する。 (N×q)≦πNq/W (3) メモリアドレスデコーダ25は高調波係数メモ
リCq26または高調波係数メモリdq27のどち
らかを選択するために、語カウンタ19の中に含
まれている数値を受け取る。高調波係数メモリを
選択するのに加えて、メモリアドレスデコーダ2
5は第1表に示されているような計算サイクル中
の各ビツト時間に対応する適当な高調波番号をア
ドレスする。 第1表において、システム内の論理ブロツクの
内容を次の記号で示す。 t;計算サイクルにおけるビツト時間 N;語カウンタ19の内容 q:高調波番号、高調波カウンタ20の内容 Nq;加算器−アキユムレータ21の内容 SA;正弦波関数テーブルのアドレス HC;乗算器28への高調波係数入力 ADD;乗算器33への入力 MR;主レジスタへの入力のための語アドレス MRC;アドレスMRにおける主レジスタの内容 (N×q);πNq/W
The present invention relates to an electronic musical instrument that transfers a set of calculated data to a buffer memory and converts the contents of the buffer memory into musical sounds. As a recent digital waveform generation method, a set of waveform data is calculated, and the data is stored in a group of readable and writable buffer memories corresponding to the number of channels of the tone detection and allocation circuit. A method is used in which the signal is transmitted using an asynchronous frequency/N clock. Here, a specific musical tone frequency assigned to one buffer memory is shown, and N indicates a value twice the maximum harmonic order of the musical waveform. As an electronic musical instrument of this kind, the "double-tone synthesizer" disclosed in Japanese Patent Application Laid-Open No. 52-27621, invented by Ralph Deutschier, converts the output of the tone shift register, which is the buffer memory mentioned above, into a D-A converter to generate musical tones. There is. Based on the detection information of the tone detection and assignment circuit which stores the opening and closing of the keyboard switch as information, the tone shift register is circulated in response to the tone clock, and the contents of the tone shift register are output. At the same time, the system operates to calculate a new set of waveform data. When the waveform data is calculated, the waveform data calculated in the transmission cycle is transmitted to the tone shift register using the tone clock, but it takes time to start or finish transmitting the waveform data to the register. Data that had previously been stored in the buffer memory is directly output by the shift, producing unnecessary musical tones and causing inconvenience in performance. The purpose of the present invention is to improve the above-mentioned drawbacks, and the purpose is to transmit calculated waveform data to a designated buffer memory in a transmission cycle so that correct waveform data is output without generating unnecessary musical tones. The purpose of the present invention is to provide a controlled electronic musical instrument. In order to achieve the above object, the electronic musical instrument of the present invention calculates waveform data for a pressed key, transmits the calculated data to a buffer memory, and transmits the data transmitted to the buffer memory at a speed corresponding to the musical tone frequency. In an electronic musical instrument that reads the data and sends the read data to the acoustic system, the output of the content before the key press in the buffer memory is prevented, and the calculated waveform data is transmitted to the buffer memory and read out from the buffer memory. The present invention is characterized by comprising means for controlling the output data of the buffer memory to be sent to the audio system at the point when the calculated data becomes calculated waveform data. The present invention will be described in detail below with reference to examples. FIG. 1 is an explanatory diagram in which the present invention is applied to the previously proposed Japanese Patent Laid-Open Publication No. 52-27621 "Multiphonic Synthesizer". The proposed example will be outlined below to explain additional parts of the present invention. The double-tone synthesizer 10 shown in the figure causes a sound system 11 to produce a musical tone selected by operating one switch connected to a keyboard switch 12 of an electronic musical instrument. Waveform data is generated by first calculating a set of main data. That is, circuit 10
It operates to synthesize the main data set calculated by the following discrete Fourier series. In equation (1), N = 1, 2, ..., 2W is the number of words in the main data set, q = 1, 2, ..., M is the harmonic number (order), and M = W is the number of words to synthesize the main data set. Cq is the harmonic coefficient for timbre No. 1, and dq is the harmonic coefficient for timbre No. 2. After the main data set has been calculated, the circuit 10 of FIG.
That is, whenever one of the keyboard switches 12 is operated, the tone detection and assignment circuit 1
4 and transmits the detection information to the execution control circuit 16 via line 59. Execution control circuit 16 provides timing to the system and clocks main clock 1.
5 through line 17. A fairly wide range of clock frequencies may be used, but 1.1352MHz is preferred. Execution control circuit 16 provides control signals to predetermined circuits to operate synchronously, and provides control signals through line 18 to tone detection and assignment circuit 14. At the beginning of the calculation cycle, word counter 1
9, the harmonic counter 20, and the adder-accumulator 21 all start operating from their initial states.
That is, each circuit is set to have a value of one. Table 1 below shows the contents of logic blocks within the system used in calculation cycles. The memory address decoder 23 receives the numerical value from the adder-accumulator 21 and decodes the value
sin2π(1×1)/W in sine wave function table 24
Read from. In summary, Table 1 uses the following equation: S Nq =sinπNq/W (2), and the address of the sine wave function table 24 is abbreviated using the symbolic notation of the following equation. (N×q)≦πNq/W (3) The memory address decoder 25 uses the numerical value contained in the word counter 19 to select either the harmonic coefficient memory Cq26 or the harmonic coefficient memory dq27 . receive. In addition to selecting the harmonic coefficient memory, the memory address decoder 2
5 addresses the appropriate harmonic number corresponding to each bit time during the calculation cycle as shown in Table 1. In Table 1, the contents of logical blocks in the system are indicated by the following symbols. t: bit time in calculation cycle N: content of word counter 19 q: harmonic number, content of harmonic counter 20 Nq: content of adder-accumulator 21 SA: address of sine wave function table HC: input to multiplier 28 Harmonic coefficient input ADD; input to multiplier 33 MR; word address for input to main register MRC; content of main register at address MR (N×q); πNq/W

【表】 上表に示すように、時間t1においてメモリアド
レスデコーダ25は高調波係数メモリ26から高
調波係数C1を読み出す。乗算器28への入力信
号は線29上のC1と線30上のS1である。従つ
てその乗算器28の出力は数値C1S1である。乗
算器28の出力を後述する位相器32で制御する
補数器31を介して加算器33に入力する。 主レジスタ34は循環シフトレジスタから成る
読み出し書き込みレジスタであり、その内容は計
算サイクルの開始時には0の値で始められ、時間
t1には数値C1S1が語アドレス番地1の中に入れら
る。 時間t2においては、語カウンタ19は数値2に
増加される。高調波カウンタ20は数値1を保
ち、そしてこの値はその計算サイクルの最初の32
ビツト時間の間保たれる。加算器−アキユムレー
タ21は各ビツト時間において、高調波カウンタ
20から数値qを受けとる。従つて時間t2におい
て、加算器−アキユムレータ21はN=2の値を
有する。アドレス(2×1)と一致するS2の値
は、正弦波関数テーブル24から乗算器28へ伝
達される。また時間t2においては、高調波係数C1
が高調波係数メモリ26から読み出される。乗算
器28からの出力信号は数値C1S2であり、それ
は主レジスタ34の語No.2の初期値0に加算さ
れ、その結果C1S2の値が時間t2の語位置に入れら
れる。 計算サイクルの最初のサブルーチンは32ビツト
時間の間繰り返される。このサブルーチンの終り
の主レジスタ34の内容は第1表MRC(主レジ
スタの内容)に示されたt1〜t32の欄に示される値
となる。 時間t33に、計算サイクルの第2のサブルーチ
ンが始まる。時間t33において、語カウンタ19
はモジユロWカウンタでW=32に選択されている
ために初期値1に戻る。該カウンタ19の2巡目
はメモリアドレスデコーダ25によつて検出され
る。この検出により、この計算サイクルにおける
次の連続する32ビツトの時間の間高調波係数メモ
リ27をアドレスするよう、メモリアドレスデコ
ーダ25は動作する。語カウンタ19の2巡目は
加算器−アキユムレータ21によつて検出され、
カウンタ19は0値に戻される。従つて、時間
t33において加算器−アキユムレータ21は高調
波カウンタ20から現在値1を受取る。この値は
次の線30上に数値S1を出現させる。それと同時
に高調波係数d1が線29上に現われる。乗算の
後、数値d1S1は主レジスタ34中の第1語に加算
される、ビツト時間t33に関する第1表の中の
MRC欄に示すように数値C1S1+d1S1を生ずる。 計算サイクルの第2サブルーチンは32ビツト時
間で繰り返され、第2サブルーチンの終りに主レ
ジスタ34の内容は第1表のMRCに示されたt33
〜t64の欄に示される値となる。 以下同様にして第3、第4サブルーチンが第1
表に示すように、それぞれ32ビツト時間繰返さ
れ、時間t65、時間t97における主レジスタ34の
中の第1語の内容はそれぞれ表に示した数値が生
ずる。 この計算サイクルは高調波カウンタ20の中に
含まれる値q=32に関して最後の64ビツト時間が
完了するまでの多数のサブルーチンについて進め
られる。この計算サイクルの終りにおいては、主
レジスタ34の各アドレス番号の値はN=1,
2,……,32が主レジスタアドレス番号に一致さ
せた式(1)によつて与えられる値となる。 しかし、式(1)によつて示されるように、主レジ
スタ34の中に64語の番号をもつ必要はない。正
弦波関数の点対称の特性として、計算サイクルの
期間中半分の値Znを求めると、残りの値は次式
により得られる。 Zn=−Z65N N=33,34,……,64 (4) 計算サイクルは全体として32×U×32ビツト時
間が必要であり、そしてUは複雑な楽音のための
データを合成するため使用される高調波係数の組
の数を示し、ここではU=2である。 正弦波関数テーブル24は数値sin(π/32)
θ(θ=1,2,……,64)を記憶している固定
メモリによつて構成されている。また乗算器28
は乗数および被乗数がともに正である時に動作す
るように構成される。正弦波関数テーブル24は
0≦θ≦32の時は正を示し、33≦θ≦64の時は負
の値をもつているからメモリアドレスデコーダよ
り位相器32に対し前者の場合には“0”信号を
後者の場合には“1”信号を送出し、“1”と
“0”の32個の値が蓄積される。位相器32は乗
算器28の正の入力値だけで動作することを可能
とするとともに、さらに主データセツトのピーク
値を最小にするという働きを有している。そこで
位相器32は補数器31へ送られる制御信号を発
生するために排他的ORゲートを用いてメモリア
ドレスデコーダ23から受け取つた象限データ
と、高調波カウンタ20からのqでアドレスされ
た前述の蓄積位相データとを結合し出力する。 この方法により、乗算器28からの正の積は補
数器31から加算器33へ修正変更されないまま
送られるか、または補数器31によつて入力値の
補数をとり、その代数的符号を実効的に反転させ
る。 以上の計算サイクルが完了した時、実行制御回
路16はデータ伝達サイクルを開始する。データ
伝達サイクルの期間に主レジスタ34の内容は、
注意深く制御された方法で音調シフトレジスタ3
5と36に伝達される。ここでは2つの音調シフ
トレジスタが例示されているが任意の数に拡張可
能である。 最初の鍵が押されて鍵盤スイツチ12が動作し
た時音調クロツク37が音調検出および割り当て
回路14によつて指定される。音調クロツク37
と38には電圧制御発振器VCOを使用すること
が好ましい。この実施例の場合音調クロツクは主
クロツク15によつて規制されず非同期で動作す
る。音調検出および割り当て回路14は鍵スイツ
チが閉じたことを検出して、制御電圧または検出
信号を音調クロツク37,38に与え、押された
鍵に対応する基本周波数の64倍の速度でこれらの
クロツクを動作させるようにする。音調クロツク
37,38はそれらの個々の独立したクロツク速
度で音調シフトレジスタ35,36のデータを循
環的に転送させる。同期ビツトを含み語が音調シ
フトレジスタ35から読み出された時、それは同
期ビツト検出器39によつて検出される。同期ビ
ツトが検出された時、位相時間信号が音調選択器
40へ送られる。音調選択器40は特定の音調シ
フトレジスタを指定してデータ伝達サイクルの第
1のサブサイクルを始めさせる。一度サブサイク
ルが始められると、それは同期ビツト検出器39
によつてもう一つ別の同期ビツトの検出、たとえ
ば音調シフトレジスタ36からのものがあつたと
しても終ることはない。 データ伝達サイクルの第1のサブサイクルの開
始において、音調選択器40は同期ビツト検出器
39からの情報信号41を使用し、主クロツク1
5を音響クロツク37により発生するクロツク速
度に変化させるため、クロツク選択器42からの
出力信号を線43を通し主レジスタ34に送る。 主レジスタ34の語内容は補数器44へ連続的
に移される。主レジスタ34からのデータ転送の
間、加算器33はデータを修正せずに主レジスタ
の一方の端からの他方の端へ単にデータを移すの
みである。そして補数器44によつて修正されず
に音調選択器40へ送られる。最初の32語が主レ
ジスタ34から読み出された後、主レジスタ34
は残りの32語が32,31,30,……,1のように逆
に読み出されるように負荷サイクルの第2のサブ
サイクルの方向を逆転させる。 第2のサブサイクルにおいて、主レジスタの内
容は負荷サイクルの後半で読み出され、補数器4
4は各入力データ語の補数器(負の値)を出力す
るように働く。音調選択器40はデータを負荷選
択器45に送る。負荷選択器45と46はそれぞ
れの音調シフトレジスタ35と36を負荷するた
めに働くか、または対応するデータ転送サブサイ
クルが完了した後に音調シフトレジスタを循環モ
ードで働かせるかのどちらかである。主レジスタ
34は両方向読出し制御を行なうため可逆カウン
タを使用することが好ましい。 以上の構成と動作は提案例のとおりであるが、
前述したように波形データを音調シフトレジスタ
への伝達開始または終了までに時間がかかり、そ
の間以前に音調シフトレジスタに入つていたデー
タが出力されるのを防止するため、本発明では音
調シフトレジスタ35,36とデジタル−アナロ
グ(D−A)変換器47,48の間にそれぞれゲ
ート60,61を設けて制御を行なうようにした
ものである。 音調シフトレジスタ35が音調クロツク37に
よつて決定されるクロツク速度で主レジスタ34
から移される波形データを負荷された後、データ
伝達サイクルの第1のサブサイクルが完了する。
それと同時に実行制御回路16はライン62上に
信号を送り、ゲート60を開いて音調シフトレジ
スタ35の波形データをD−A変換器47に送
る。そして、ゲート60は鍵盤スイツチ12の離
鍵によつて音調検出および割り当て回路14が指
定しなくなつた時に実行制御回路16からのライ
ン62上の信号で閉じられる。 第2のサブサイクルは同期ビツトが音調シフト
レジスタ36から読み出される波形データから同
期ビツト検出器39によつて検出された時に開始
される。第2のサブサイクルの動作は前述のよう
に、主レジスタ34からのデータの転送のタイミ
ングに使用される音調クロツク38を伴ない、第
1のサブサイクルに類似の動作を行ない、この第
2のサブサイクルが終了すると実行制御回路16
はライン63上に信号を送り、ゲート61を開い
て音調シフトレジスタ36の波形データをD−A
変換器48に送る。そして、ゲート61も離鍵に
よつて音調検出および割り当て回路14が指定し
なくなつた時に実行制御回路16からのライン6
3上の信号で閉じられる。 データ伝達サイクルが終了すると実行制御回路
16が新しい計算サイクルを開始させる。その新
しい計算サイクルが行なわれている間、波形デー
タは別々の音調クロツク37と38の制御下で、
音調シフトレジスタ35と36の両方から独立的
に読み出される。今まで述べられた方法によつて
主レジスタ34の中に計算され一時的に蓄積され
た主データセツトは今度は鍵盤操作により動作す
るスイツチと対応する楽音波形となるように伸張
される。 各音調シフトレジスタ35と36から出力され
る波形データは前述により制御されたゲート60
と61を経てD−A変換器47と48によりアナ
ログ電圧に変換される。 以下提案例と同様に、楽音波形は増幅器51と
52の中で増幅され必要とする立上り/リリース
エンベロープ波形が、立上り/リリース発生回路
53と54を用いて与えられる。2個の増幅器か
らの2個の信号は加算器55の中で加算され、そ
の出力信号は音響システム11へ送られる。 計算サイクルとデータ伝達サイクルは互に独立
したものであるが、連動して動作するようにプロ
グラムされている。計算サイクルの間出力楽音は
連続的に発生され中断されることはない。さらに
データ伝達サイクルの間、個々の音は中断されな
いので楽音はもし高調波係数が変化されなければ
いかなる不連続性も示さない。 第2図は本発明の他の実施例の構成を示す説明
図である。第1図と異なる点はゲート60と61
をD−A変換器47と48のそれぞれ後段に設
け、同様に実行制御回路16により制御を行なわ
せたもので、その効果は第1図の場合と同様であ
る。 第1図、第2図の実施例に示す音調シフトレジ
スタ16はシフトレジスタで構成されているけれ
ども、これは読み書き可能メモリRAMで構成す
ることができる。この読み書き可能メモリはデー
タを書き込む時そのデータが出力されるものであ
るから、ゲート60,61は伝達開始時点に実行
制御回路16からの信号で開いてやれば正しいデ
ータが出力されることになる。 以上説明したように、本発明によれば、算出さ
れた波形データをバツフアメモリへ伝達を開始あ
るいは終了した時点でゲートをオンオフ制御して
バツフアメモリの内容を音響システムに送るよう
にすることにより、提案例における転送時間ずれ
による不要音の発生を防止し良質の楽音を発生さ
せることができるものである。
[Table] As shown in the above table, the memory address decoder 25 reads the harmonic coefficient C 1 from the harmonic coefficient memory 26 at time t 1 . The input signals to multiplier 28 are C 1 on line 29 and S 1 on line 30. The output of the multiplier 28 is therefore the number C 1 S 1 . The output of the multiplier 28 is input to an adder 33 via a complementer 31 controlled by a phase shifter 32, which will be described later. The main register 34 is a read/write register consisting of a circular shift register whose contents begin with a value of 0 at the beginning of a calculation cycle and whose contents are
At t 1 , the numerical value C 1 S 1 is placed in word address number 1. At time t2 , word counter 19 is increased to a value of two. The harmonic counter 20 holds the value 1, and this value remains the same for the first 32 cycles of its calculation cycle.
Retained for bit time. Adder-accumulator 21 receives a value q from harmonic counter 20 at each bit time. At time t2 , the adder-accumulator 21 therefore has the value N=2. The value of S 2 that matches address (2×1) is transmitted from sine wave function table 24 to multiplier 28 . Also, at time t 2 , the harmonic coefficient C 1
is read out from the harmonic coefficient memory 26. The output signal from the multiplier 28 is the number C 1 S 2 , which is added to the initial value 0 of word No. 2 in the main register 34, so that the value of C 1 S 2 is placed in the word position at time t 2 . It will be done. The first subroutine of the calculation cycle is repeated for 32 bit times. The contents of the main register 34 at the end of this subroutine are the values shown in the columns t 1 to t 32 of Table 1 MRC (main register contents). At time t33 , the second subroutine of the calculation cycle begins. At time t 33 , word counter 19
returns to the initial value 1 because W=32 is selected by the modulo W counter. The second round of the counter 19 is detected by the memory address decoder 25. This detection causes memory address decoder 25 to operate to address harmonic coefficient memory 27 for the next consecutive 32-bit period in this calculation cycle. The second round of word counter 19 is detected by adder-accumulator 21;
The counter 19 is returned to a zero value. Therefore, time
At t 33 adder-accumulator 21 receives the current value 1 from harmonic counter 20 . This value causes the number S 1 to appear on the next line 30. At the same time, the harmonic coefficient d 1 appears on the line 29. After multiplication, the number d 1 S 1 is added to the first word in the main register 34 according to the first table for bit time t 33 .
This produces the numerical value C 1 S 1 +d 1 S 1 as shown in the MRC column. The second subroutine of the calculation cycle is repeated in 32 bit times, and at the end of the second subroutine the contents of main register 34 are t 33 as shown in MRC in Table 1.
~t The value shown in the column 64 will be obtained. Similarly, the third and fourth subroutines are
As shown in the table, each time is repeated for 32 bits, and the contents of the first word in main register 34 at time t 65 and time t 97 result in the values shown in the table. This calculation cycle proceeds through a number of subroutines until the last 64 bit time is completed for the value q=32 contained in harmonic counter 20. At the end of this calculation cycle, the value of each address number in the main register 34 is N=1,
2, . . . , 32 are the values given by equation (1) that match the main register address number. However, as shown by equation (1), there is no need to have 64 word numbers in main register 34. As a characteristic of point symmetry of a sine wave function, if half value Zn is found during the calculation cycle, the remaining value can be obtained by the following equation. Zn = −Z 65N N = 33, 34, ..., 64 (4) The calculation cycle requires 32 × U × 32 bit times in total, and U synthesizes the data for a complex musical tone. , where U=2. The sine wave function table 24 is the numerical value sin (π/32)
It is composed of a fixed memory that stores θ (θ=1, 2, . . . , 64). Also, the multiplier 28
is configured to operate when the multiplier and multiplicand are both positive. The sine wave function table 24 has a positive value when 0≦θ≦32, and a negative value when 33≦θ≦64, so the memory address decoder tells the phase shifter 32 to indicate “0” in the former case. In the latter case, a "1" signal is sent, and 32 values of "1" and "0" are accumulated. The phase shifter 32 allows operation with only positive input values of the multiplier 28 and also serves to minimize the peak values of the main data set. The phaser 32 then combines the quadrant data received from the memory address decoder 23 with the aforementioned accumulation addressed by q from the harmonic counter 20 using an exclusive OR gate to generate a control signal sent to the complementer 31. Combines with phase data and outputs. In this way, the positive product from multiplier 28 is passed unmodified from complementer 31 to adder 33, or by complementer 31, the input value is complemented and its algebraic sign is effectively invert it. When the above calculation cycle is completed, the execution control circuit 16 starts a data transfer cycle. During a data transfer cycle, the contents of main register 34 are:
Tonal shift register 3 in a carefully controlled manner
5 and 36. Although two tone shift registers are illustrated here, the number can be expanded to any number. Tone clock 37 is designated by tone detection and assignment circuit 14 when the first key is pressed and keyboard switch 12 is actuated. tone clock 37
Preferably, a voltage controlled oscillator VCO is used for and 38. In this embodiment, the tone clock is not regulated by the main clock 15 and operates asynchronously. Tone detection and assignment circuit 14 detects that the key switch is closed and applies a control voltage or detection signal to tone clocks 37, 38, which clocks these clocks at a rate of 64 times the fundamental frequency corresponding to the pressed key. make it work. Tone clocks 37, 38 cause data in tone shift registers 35, 36 to be transferred cyclically at their respective independent clock speeds. When a word containing a sync bit is read from the tone shift register 35, it is detected by the sync bit detector 39. When the sync bit is detected, a phase time signal is sent to tone selector 40. Tone selector 40 designates a particular tone shift register to begin the first subcycle of the data transfer cycle. Once a subcycle is started, it is detected by the synchronization bit detector 39.
The detection of another synchronization bit, such as from tone shift register 36, does not terminate. At the beginning of the first subcycle of the data transfer cycle, the tone selector 40 uses the information signal 41 from the sync bit detector 39 to
The output signal from clock selector 42 is sent over line 43 to main register 34 for varying the clock rate from 5 to the clock rate generated by acoustic clock 37. The word contents of main register 34 are transferred successively to complementer 44. During data transfers from main register 34, adder 33 simply moves the data from one end of the main register to the other without modifying the data. The signal is then sent to the tone selector 40 without being modified by the complementer 44. After the first 32 words are read from main register 34, main register 34
reverses the direction of the second subcycle of the duty cycle so that the remaining 32 words are read back as 32, 31, 30, . . . , 1. In the second subcycle, the contents of the main register are read later in the duty cycle and the complementer 4
4 serves to output the complement (negative value) of each input data word. Tone selector 40 sends data to load selector 45 . Load selectors 45 and 46 either serve to load the respective tone shift registers 35 and 36, or operate the tone shift registers in a circular mode after the corresponding data transfer subcycle is completed. Main register 34 preferably uses a reversible counter to provide bidirectional read control. The above configuration and operation are as in the proposed example, but
As mentioned above, it takes time to start or finish transmitting the waveform data to the tone shift register, and in order to prevent the data previously stored in the tone shift register from being output during that time, the present invention uses the tone shift register. Gates 60 and 61 are provided between 35 and 36 and digital-to-analog (D-A) converters 47 and 48, respectively, for control. Tone shift register 35 shifts main register 34 at a clock rate determined by tone clock 37.
After being loaded with waveform data transferred from the data transfer cycle, the first subcycle of the data transfer cycle is completed.
At the same time, execution control circuit 16 sends a signal on line 62 to open gate 60 and send the waveform data in tone shift register 35 to DA converter 47. The gate 60 is then closed by a signal on line 62 from the execution control circuit 16 when the tone detection and assignment circuit 14 is no longer specified by the release of the keyboard switch 12. The second subcycle begins when a sync bit is detected by sync bit detector 39 from the waveform data read from tone shift register 36. The operation of the second subcycle is similar to that of the first subcycle, with the tone clock 38 used to time the transfer of data from the main register 34, as described above. When the subcycle ends, the execution control circuit 16
sends a signal on line 63, opens gate 61 and transfers the waveform data in tone shift register 36 to D-A.
to converter 48. Then, when the gate 61 is no longer specified by the tone detection and assignment circuit 14 due to key release, the line 6 from the execution control circuit 16 is
Closed at the signal above 3. When a data transfer cycle is completed, execution control circuit 16 initiates a new calculation cycle. While the new calculation cycle is being performed, the waveform data is processed under the control of separate tone clocks 37 and 38.
It is read independently from both tone shift registers 35 and 36. The main data set computed and temporarily stored in the main register 34 in the manner described so far is now expanded into a musical sound waveform corresponding to a switch actuated by a keyboard operation. The waveform data output from each tone shift register 35 and 36 is sent to the gate 60 controlled by the above.
and 61, and is converted into an analog voltage by DA converters 47 and 48. Similarly to the proposed example, the musical sound waveform is amplified in amplifiers 51 and 52, and the necessary rise/release envelope waveform is provided using rise/release generating circuits 53 and 54. The two signals from the two amplifiers are summed in a summer 55 and the output signal is sent to the audio system 11. Although calculation cycles and data transfer cycles are independent of each other, they are programmed to work together. The output tone is generated continuously and without interruption during the calculation cycle. Furthermore, since individual tones are not interrupted during the data transmission cycle, musical tones do not exhibit any discontinuities unless the harmonic coefficients are changed. FIG. 2 is an explanatory diagram showing the configuration of another embodiment of the present invention. The difference from Figure 1 is gates 60 and 61.
are provided after the DA converters 47 and 48, respectively, and similarly controlled by the execution control circuit 16, and the effect is the same as in the case of FIG. Although the tone shift register 16 shown in the embodiments of FIGS. 1 and 2 is comprised of a shift register, it may also be comprised of a read/write memory RAM. Since this read/write memory outputs data when data is written, if the gates 60 and 61 are opened by a signal from the execution control circuit 16 at the start of transmission, correct data will be output. . As explained above, according to the present invention, the proposed example It is possible to prevent the generation of unnecessary sounds due to transfer time lag in the transfer time and generate high-quality musical tones.

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

第1図は本発明の実施例の構成を示す説明図、
第2図は本発明の他の実施例の構成を示す説明図
であり、図中、10は複音シンセサイザ、11は
音響システム、12は鍵盤スイツチ、14は音調
検出および割り当て回路、15は主クロツク、1
6は実行制御回路、19は語カウンタ、20は高
調波カウンタ、21は加算器−アキユムレータ、
22はゲート、23はメモリアドレスデコーダ、
24は正弦波関数テーブル、25はメモリアドレ
スデコーダ、26は高調波係数メモリCq、27
は高調波係数メモリdq、28は乗算器、31は
補数器、32は位相器、33は加算器、34は主
レジスタ、35,36は音調シフトレジスタ、3
7,38は音調クロツク、39は同期ビツト検出
器、40は音調選択器、42はクロツク選択器、
44は補数器、45,46は負荷選択器、47,
48はデジタル−アナログ変換器、51,52は
増幅器、53,54は立上り/リリース発生回
路、55は加算器、60,61はゲートを示す。
FIG. 1 is an explanatory diagram showing the configuration of an embodiment of the present invention,
FIG. 2 is an explanatory diagram showing the configuration of another embodiment of the present invention, in which 10 is a multitone synthesizer, 11 is an audio system, 12 is a keyboard switch, 14 is a tone detection and assignment circuit, and 15 is a main clock. ,1
6 is an execution control circuit, 19 is a word counter, 20 is a harmonic counter, 21 is an adder-accumulator,
22 is a gate, 23 is a memory address decoder,
24 is a sine wave function table, 25 is a memory address decoder, 26 is a harmonic coefficient memory Cq, 27
is a harmonic coefficient memory dq, 28 is a multiplier, 31 is a complementer, 32 is a phaser, 33 is an adder, 34 is a main register, 35 and 36 are tone shift registers, 3
7 and 38 are tone clocks, 39 is a synchronization bit detector, 40 is a tone selector, 42 is a clock selector,
44 is a complementer, 45 and 46 are load selectors, 47,
48 is a digital-to-analog converter, 51 and 52 are amplifiers, 53 and 54 are rise/release generating circuits, 55 is an adder, and 60 and 61 are gates.

Claims (1)

【特許請求の範囲】 1 押鍵された鍵についての波形データを算出し
算出されたデータをバツフアメモリに伝達し、該
バツフアメモリに伝達されたデータを楽音周波数
に応じた速度で読み出し、読み出されたデータを
音響システムに送る電子楽器において、バツフア
メモリ内の押鍵より以前の内容の出力を阻止して
おいて、算出された波形データをバツフアメモリ
へ伝達してバツフアメモリから読み出されたデー
タが算出された波形データになつた時点でバツフ
アメモリの出力データを音響システムに送るよう
に制御する手段を具えたことを特徴とする電子楽
器。 2 前記バツフアメモリをシフトレジスタで構成
し、前記算出された波形データを前記バツフアメ
モリへ伝達を終了した時点から前記バツフアメモ
リの内容を出力するようにしたことを特徴とする
特許請求の範囲第1項記載の電子楽器。 3 前記バツフアメモリを読み書き可能メモリ
RAMで構成し、前記算出された波形データを前
記バツフアメモリへ伝達を開始した時点から前記
バツフアメモリの内容を出力するようにしたこと
を特徴とする特許請求の範囲第1項記載の電子楽
器。
[Claims] 1. Calculating waveform data for a pressed key, transmitting the calculated data to a buffer memory, reading the data transmitted to the buffer memory at a speed corresponding to the musical tone frequency, and In an electronic musical instrument that sends data to a sound system, the output of the content before the key press in the buffer memory is prevented, the calculated waveform data is transmitted to the buffer memory, and the data read from the buffer memory is calculated. An electronic musical instrument characterized by comprising means for controlling output data of a buffer memory to be sent to an acoustic system when it becomes waveform data. 2. The buffer memory according to claim 1, wherein the buffer memory is configured with a shift register, and the contents of the buffer memory are output from the time when transmission of the calculated waveform data to the buffer memory is completed. electronic musical instrument. 3 Memory that can read and write the buffer memory
2. The electronic musical instrument according to claim 1, wherein the electronic musical instrument is comprised of a RAM, and is configured to output the contents of the buffer memory from the time when transmission of the calculated waveform data to the buffer memory is started.
JP8792078A 1978-07-19 1978-07-19 Electronic musical instrument Granted JPS5515152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8792078A JPS5515152A (en) 1978-07-19 1978-07-19 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8792078A JPS5515152A (en) 1978-07-19 1978-07-19 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS5515152A JPS5515152A (en) 1980-02-02
JPS6140117B2 true JPS6140117B2 (en) 1986-09-08

Family

ID=13928347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8792078A Granted JPS5515152A (en) 1978-07-19 1978-07-19 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5515152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63302915A (en) * 1987-06-01 1988-12-09 Nippon Denso Co Ltd Filter element assembly

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0740193B2 (en) * 1985-11-22 1995-05-01 カシオ計算機株式会社 Musical sound generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63302915A (en) * 1987-06-01 1988-12-09 Nippon Denso Co Ltd Filter element assembly

Also Published As

Publication number Publication date
JPS5515152A (en) 1980-02-02

Similar Documents

Publication Publication Date Title
US4085644A (en) Polyphonic tone synthesizer
US4569268A (en) Modulation effect device for use in electronic musical instrument
US4184400A (en) Electronic musical instrument utilizing data processing system
JP2921376B2 (en) Tone generator
US5038661A (en) Waveform generator for electronic musical instrument
JPS6140117B2 (en)
JPS639239B2 (en)
US5590364A (en) Signal processing apparatus
US5710386A (en) Method and apparatus for efficiently controlling access to stored operation control data and tone forming data
JPS6220557B2 (en)
JPH0573031B2 (en)
JPS6229794B2 (en)
US5687105A (en) Processing device performing plural operations for plural tones in response to readout of one program instruction
JPS6048760B2 (en) Note clock generator for electronic musical instruments
JPS6175393A (en) Harmonic expander for hybrid sound synthesizer
JPS61182097A (en) Phased memory address unit for reducing noise for electronicmusical instrument
JPS6335994B2 (en)
JPH0122632B2 (en)
JPH055360B2 (en)
JP3116447B2 (en) Digital signal processor
JPH03174592A (en) Sound source circuit for electronic musical instrument
JPS6113240B2 (en)
JPS6152477B2 (en)
JPS58211790A (en) Electronic musical instrument
JPH08152884A (en) Sound source device